(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-list"],{"06d2":function(t,a,i){var e=i("24fb");a=e(!1),a.push([t.i,"uni-page-body[data-v-b1a413aa]{background-color:#fff}body.?%PAGE?%[data-v-b1a413aa]{background-color:#fff}.zaiui-sort-grid-box[data-v-b1a413aa]{position:relative;margin:%?27.27?% 0;width:100%}.zaiui-sort-grid-box .scroll-view[data-v-b1a413aa]{position:relative;white-space:nowrap;width:100%}.zaiui-sort-grid-box .scroll-view .scroll-item[data-v-b1a413aa]{display:inline-block;position:relative;text-align:center;margin:0 %?21.81?%;width:%?127.27?%}.zaiui-sort-grid-box .scroll-view .scroll-item[data-v-b1a413aa]:first-child{margin-left:%?18.18?%}.zaiui-sort-grid-box .scroll-view .scroll-item[data-v-b1a413aa]:last-child{margin-right:%?18.18?%}.zaiui-sort-grid-box .scroll-view .scroll-item .cu-avatar[data-v-b1a413aa]{width:%?99.99?%;height:%?99.99?%;border-radius:50%}.zaiui-sort-grid-box .scroll-view .scroll-item .text[data-v-b1a413aa]{position:relative;padding:%?14.54?% %?18.18?% 0;width:100%}.zaiui-nav-tab-view[data-v-b1a413aa]{position:-webkit-sticky;position:sticky;padding:%?2?% 0 %?9.09?%;z-index:999;top:calc(0px + %?101?%);transition:all .25s}.zaiui-nav-tab-view .nav.z .cu-item.select .tab-dot[data-v-b1a413aa]{height:%?5.45?%}.zaiui-order-tab-view[data-v-b1a413aa]{position:relative;margin:0 %?27.27?%;margin-top:%?27.27?%;border-radius:%?9.09?%;padding:%?27.27?% %?18.18?%;box-shadow:0 0 %?14.54?% #f1f1f1}.zaiui-order-tab-view[data-v-b1a413aa]:last-child{margin-bottom:%?27.27?%}.zaiui-order-tab-view .shop-title-view[data-v-b1a413aa]{position:relative;margin-bottom:%?27.27?%}.zaiui-order-tab-view .shop-title-view .cu-avatar[data-v-b1a413aa]{position:absolute}.zaiui-order-tab-view .shop-title-view .shop-name[data-v-b1a413aa]{position:relative;height:%?47.27?%;line-height:%?47.27?%;padding:0 %?199.99?% 0 %?61.81?%}.zaiui-order-tab-view .shop-title-view .text-right[data-v-b1a413aa]{position:absolute;top:%?7.27?%;right:0}.zaiui-order-tab-view .goods-list-view[data-v-b1a413aa]{position:relative;margin-top:%?27.27?%}.zaiui-order-tab-view .goods-list-view .cu-avatar[data-v-b1a413aa]{position:absolute;width:%?158.18?%;height:%?158.18?%}.zaiui-order-tab-view .goods-list-view .goods-info-view[data-v-b1a413aa]{position:relative;padding-left:%?176.36?%;height:%?158.18?%}.zaiui-order-tab-view .goods-list-view .goods-info-view .name[data-v-b1a413aa]{position:relative;height:%?36.36?%}.zaiui-order-tab-view .goods-list-view .goods-info-view .introduce[data-v-b1a413aa]{position:relative;height:%?32.72?%;margin-top:%?9.09?%}.zaiui-order-tab-view .goods-list-view .goods-info-view .tag-view[data-v-b1a413aa]{position:relative;height:%?30.9?%;margin-top:%?9.09?%}.zaiui-order-tab-view .goods-list-view .goods-info-view .tag-view .cu-tag[data-v-b1a413aa]{position:relative;top:%?-3.63?%}.zaiui-order-tab-view .goods-list-view .goods-info-view .text-price[data-v-b1a413aa]{height:%?30.9?%;margin-top:%?9.09?%}.zaiui-order-tab-view .statistics-view[data-v-b1a413aa]{position:relative;padding:%?18.18?% 0;margin-top:%?18.18?%;border-bottom:%?2?% solid #f3f3f3}.zaiui-order-tab-view .zaiui-btn-view[data-v-b1a413aa]{position:relative;text-align:right;margin-top:%?18.18?%}.zaiui-order-tab-view .zaiui-btn-view .cu-btn[data-v-b1a413aa]{background:#fff}.zaiui-order-tab-view .zaiui-btn-view .cu-btn + .cu-btn[data-v-b1a413aa]{margin-left:%?9.09?%}.zaiui-foot-tip-view[data-v-b1a413aa]{position:relative;text-align:center;margin-top:%?72.72?%;margin:%?27.27?% 0}.zaiui-foot-tip-view .img-view[data-v-b1a413aa]{position:relative;margin-bottom:%?9.09?%}.zaiui-foot-tip-view .img-view .cu-avatar[data-v-b1a413aa]{background:#fff;background-size:cover;background-position:50%}.zaiui-null-view[data-v-b1a413aa]{position:relative;text-align:center;margin-top:%?72.72?%}.zaiui-null-view .img-view[data-v-b1a413aa]{position:relative;margin-bottom:%?9.09?%}.zaiui-null-view .img-view .cu-avatar[data-v-b1a413aa]{width:%?363.63?%;height:%?363.63?%;background:#fff;background-size:cover;background-position:50%}",""]),t.exports=a},"0d511":function(t,a,i){"use strict";i("7a82"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0,i("c975");var e={name:"bar-title",props:{bgColor:{type:String,default:""},isBack:{type:Boolean,default:!0},backText:{type:String,default:""},fixed:{type:Boolean,default:!0},shadow:{type:Boolean,default:!1},title:{type:String,default:""}},data:function(){return{isWechatBrowser:!1}},methods:{BackPage:function(){uni.navigateBack()},leftTap:function(){this.$emit("leftTap")},contentTap:function(){this.$emit("contentTap")},rightTap:function(){this.$emit("rightTap")}},created:function(){uni.setNavigationBarTitle({title:this.title}),this.isWechatBrowser=navigator.userAgent.toLocaleLowerCase().indexOf("micromessenger")>0},watch:{title:function(t){uni.setNavigationBarTitle({title:t})}}};a.default=e},"10eb":function(t,a,i){"use strict";i("7a82"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},i("d9e2"),i("d401")},2766:function(t,a,i){"use strict";i.d(a,"b",(function(){return e})),i.d(a,"c",(function(){return o})),i.d(a,"a",(function(){}));var e=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("v-uni-view",[i("bar-title",{attrs:{bgColor:"bg-white",title:"商品订单"},on:{rightTap:function(a){arguments[0]=a=t.$handleEvent(a),t.barEditTap.apply(void 0,arguments)}}},[i("template",{attrs:{slot:"content"},slot:"content"},[t._v("商品订单")])],2),i("v-uni-view",{staticClass:"bg-white zaiui-nav-tab-view"},[i("v-uni-scroll-view",{staticClass:"nav z",attrs:{"scroll-x":!0,"scroll-with-animation":!0,"scroll-left":t.tab_scroll}},[t._l(t.nav_list,(function(a,e){return[i("v-uni-view",{key:e+"_0",staticClass:"cu-item",class:a.status==t.tab_cur?"select":"",attrs:{"data-index":e,"data-status":a.status},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.tabSelect.apply(void 0,arguments)}}},[i("v-uni-view",{class:e==t.tab_cur?"text-black":""},[t._v(t._s(a.name))]),i("v-uni-view",{staticClass:"tab-dot bg-red"})],1)]}))],2)],1),t.order_list.length?[t._l(t.order_list,(function(a,e){return[i("v-uni-view",{key:e+"_0",staticClass:"bg-white zaiui-order-tab-view",attrs:{"data-item":a},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.detailsTap.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"shop-title-view"},[i("v-uni-view",{staticClass:"cu-avatar sm round",style:[{backgroundImage:"url("+a.pic+")"}]}),i("v-uni-view",{staticClass:"text-black text-cut shop-name"},[t._v(t._s(a.order_num))]),i("v-uni-text",{staticClass:"text-right text-gray text-sm"},[t._v(t._s(a.status_name))])],1),t._l(a.detail,(function(a,e){return[e<2?i("v-uni-view",{key:e+"_0",staticClass:"goods-list-view"},[i("v-uni-view",{staticClass:"cu-avatar lg radius",style:[{backgroundImage:"url("+a.pic+")"}]}),i("v-uni-view",{staticClass:"goods-info-view"},[i("v-uni-view",{staticClass:"text-black text-cut name"},[t._v(t._s(a.name))]),i("v-uni-view",{staticClass:"text-gray text-sm text-cut introduce"},[t._v(t._s(a.sku_name))]),i("v-uni-view",{staticClass:"text-cut tag-view"},[t._l(a.tag,(function(a,e){return[i("v-uni-text",{key:e+"_0",staticClass:"cu-tag sm line-blue radius"},[t._v(t._s(a))])]}))],2),i("v-uni-view",{staticClass:"text-red"},[t._v(t._s(a.cash))])],1)],1):t._e()]})),i("v-uni-view",{staticClass:"statistics-view"},[i("v-uni-view",{staticClass:"text-black text-sm text-right"},[i("v-uni-text",[t._v("共"+t._s(a.num)+"件")]),a.status>=1?i("v-uni-text",[t._v("商品 实付:")]):t._e(),0==a.status?i("v-uni-text",[t._v("商品 应付:")]):t._e(),i("v-uni-text",{staticClass:"text-lg"},[t._v(t._s(a.cash))])],1)],1),1==a.type?i("v-uni-view",{staticClass:"zaiui-btn-view"},[i("v-uni-button",{staticClass:"cu-btn line-black sm radius"},[t._v("联系卖家")]),i("v-uni-button",{staticClass:"cu-btn line-black sm radius",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.whereaboutsTap.apply(void 0,arguments)}}},[t._v("查看钱款去向")]),i("v-uni-button",{staticClass:"cu-btn line-red sm radius",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.appraiseTap.apply(void 0,arguments)}}},[t._v("查看评价")])],1):t._e(),0==a.type?i("v-uni-view",{staticClass:"zaiui-btn-view"},[i("v-uni-button",{staticClass:"cu-btn line-black sm radius"},[t._v("联系卖家")])],1):t._e()],2)]}))]:i("v-uni-view",{staticClass:"bg-white zaiui-null-view"},[i("v-uni-view",{staticClass:"img-view"},[i("v-uni-view",{staticClass:"cu-avatar lg round",staticStyle:{"background-image":"url('/static/zaiui/img/aa6.png')"}})],1),i("v-uni-view",{staticClass:"text-sm margin-top-sm"},[t._v("您还没有相关订单哦")])],1)],2)},o=[]},4053:function(t,a,i){"use strict";i("7a82"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(t){if(Array.isArray(t))return(0,e.default)(t)};var e=function(t){return t&&t.__esModule?t:{default:t}}(i("b680"))},4339:function(t,a,i){"use strict";var e=i("d8d5"),o=i.n(e);o.a},"5a30":function(t,a,i){var e=i("7ed5");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var o=i("4f06").default;o("e9abf2d4",e,!0,{sourceMap:!1,shadowMode:!1})},6675:function(t,a,i){"use strict";var e=i("5a30"),o=i.n(e);o.a},"713c":function(t,a,i){"use strict";i.r(a);var e=i("e88e"),o=i("df75a");for(var n in o)["default"].indexOf(n)<0&&function(t){i.d(a,t,(function(){return o[t]}))}(n);i("6675");var s=i("f0c5"),r=Object(s["a"])(o["default"],e["b"],e["c"],!1,null,"1b7fdbfe",null,!1,e["a"],void 0);a["default"]=r.exports},"7ed5":function(t,a,i){var e=i("24fb");a=e(!1),a.push([t.i,".zaiui-bar-title-box .cu-bar[data-v-1b7fdbfe]{padding-top:0;min-height:calc(0px + %?101?%)}.zaiui-bar-title-box .cu-bar .content[data-v-1b7fdbfe]{top:0}.zaiui-bar-title-box .cu-bar .content .cu-tag[data-v-1b7fdbfe]{position:relative;top:%?-2.72?%;padding:0 %?5.45?%}.zaiui-bar-title-box .cu-bar .content .cu-tag uni-text[data-v-1b7fdbfe]{position:relative;top:%?2?%}.zaiui-bar-title-box .cu-bar.fixed.no-shadow[data-v-1b7fdbfe]{box-shadow:inherit}.zaiui-bar-title-box .cu-bar.bg-white[data-v-1b7fdbfe]{color:#333}.zaiui-bar-title-box .zaiui-seat-height[data-v-1b7fdbfe]{width:100%;height:calc(0px + %?101?%)}",""]),t.exports=a},a9e0:function(t,a,i){"use strict";i("7a82"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},i("a4d3"),i("e01a"),i("d3b7"),i("d28b"),i("3ca3"),i("ddb0"),i("a630")},b27f:function(t,a,i){"use strict";i("7a82"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0,i("a9e3"),i("d401"),i("d3b7"),i("25f0"),i("e25e"),i("c975"),i("ac1f"),i("5319");var e={strLeng:function(t){if(t){for(var a=t.length,i=0,e=0;e128?i+=2:i+=1;return i}return 0},getPageNum:function(t,a){var i=Number(t)/Number(a);if(i%1!==0){var e=i.toString(),o=parseInt(e.substring(0,e.indexOf("."))),n=e.replace(/\d+\.(\d*)/,"$1");n>0&&(i=o+1)}return i},setBarColor:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t?uni.setNavigationBarColor({frontColor:"#000000",backgroundColor:"#FAFAFA"}):uni.setNavigationBarColor({frontColor:"#ffffff",backgroundColor:"#FAFAFA"})},zaiui_log:function(t){}},o=e;a.default=o},b492:function(t,a,i){"use strict";i("7a82");var e=i("ee27").default;Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0,i("99af");var o=e(i("d0ff")),n=e(i("713c")),s=e(i("e91a")),r=e(i("b27f")),u={components:{barTitle:n.default},data:function(){return{sort_grid_data:[],nav_list:[],tab_cur:0,tab_scroll:0,order_list:[],goods_checked:!1,status:""}},onLoad:function(t){this.sort_grid_data=s.default.sortGridData(),this.tab_cur=t.type,this.loadInfo()},onReady:function(){r.default.setBarColor(!0),uni.pageScrollTo({scrollTop:0,duration:0})},methods:{loadInfo:function(){var t=this;this.reqByuser({url:"?l=resource.getOrderList",data:{type:3,status:this.tab_cur},success:function(a){1==a.data.status?(t.order_list=a.data.data.list,t.nav_list=[{name:"全部",status:""}].concat((0,o.default)(a.data.data.order))):uni.showToast({icon:"error",title:a.data.msg})}})},tabSelect:function(t){var a=t.currentTarget.dataset.index,i=t.currentTarget.dataset.status;this.tab_scroll=60*(a-1),uni.pageScrollTo({scrollTop:0,duration:0}),this.tab_cur=i,this.loadInfo()},barEditTap:function(){this.goods_checked?this.goods_checked=!1:this.goods_checked=!0},whereaboutsTap:function(){uni.navigateTo({url:"/pages/order/whereabouts"})},appraiseTap:function(){uni.navigateTo({url:"/pages/order/view_appraise"})},detailsTap:function(t){uni.navigateTo({url:"/pages/order/details?id="+t.currentTarget.dataset.item.id})}}};a.default=u},d0ff:function(t,a,i){"use strict";i("7a82"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(t){return(0,e.default)(t)||(0,o.default)(t)||(0,n.default)(t)||(0,s.default)()};var e=r(i("4053")),o=r(i("a9e0")),n=r(i("dde1")),s=r(i("10eb"));function r(t){return t&&t.__esModule?t:{default:t}}},d8d5:function(t,a,i){var e=i("06d2");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var o=i("4f06").default;o("e7efbf68",e,!0,{sourceMap:!1,shadowMode:!1})},df75a:function(t,a,i){"use strict";i.r(a);var e=i("0d511"),o=i.n(e);for(var n in e)["default"].indexOf(n)<0&&function(t){i.d(a,t,(function(){return e[t]}))}(n);a["default"]=o.a},e446:function(t,a,i){"use strict";i.r(a);var e=i("2766"),o=i("f482");for(var n in o)["default"].indexOf(n)<0&&function(t){i.d(a,t,(function(){return o[t]}))}(n);i("4339");var s=i("f0c5"),r=Object(s["a"])(o["default"],e["b"],e["c"],!1,null,"b1a413aa",null,!1,e["a"],void 0);a["default"]=r.exports},e88e:function(t,a,i){"use strict";i.d(a,"b",(function(){return e})),i.d(a,"c",(function(){return o})),i.d(a,"a",(function(){}));var e=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("v-uni-view",{staticClass:"zaiui-bar-title-box",style:t.isWechatBrowser?"display: none;":""},[i("v-uni-view",{staticClass:"cu-bar",class:[t.fixed?"fixed":"",t.shadow?"":"no-shadow",t.bgColor]},[t.isBack?i("v-uni-view",{staticClass:"action",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.BackPage.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"cuIcon-back"}),i("v-uni-text",[t._v(t._s(t.backText))])],1):t._e(),t.isBack?t._e():i("v-uni-view",{staticClass:"action",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.leftTap.apply(void 0,arguments)}}},[t._t("left")],2),i("v-uni-view",{staticClass:"content",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.contentTap.apply(void 0,arguments)}}},[t._t("content")],2),i("v-uni-view",{staticClass:"action",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.rightTap.apply(void 0,arguments)}}},[t._t("right")],2)],1),t.fixed?i("v-uni-view",{staticClass:"zaiui-seat-height"}):t._e()],1)},o=[]},e91a:function(t,a,i){"use strict";i("7a82"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var e={sortGridData:function(){return[{title:"手机保卖",img:"/static/images/home/goods/1.png"},{title:"数码保卖",img:"/static/images/home/goods/2.png"},{title:"欢乐送",img:"/static/images/home/goods/3.png"},{title:"美妆鉴别",img:"/static/images/home/goods/4.png"},{title:"采货节",img:"/static/images/home/goods/5.png"},{title:"测试的",img:"/static/images/home/goods/6.png"},{title:"测试的1",img:"/static/images/home/goods/7.png"},{title:"测试的2",img:"/static/images/home/goods/8.png"}]},navListData:function(){return["全部","待付款","待发货","待收货","待评价","退款","售后"]},orderListData:function(){return[{img:"/static/images/avatar/1.jpg",name:"仔仔的店铺",status:"交易成功",price:"2238.00",num:12,type:1,goods_list:[{img:"/static/images/home/goods/1.png",name:"百度网盘云盘租号在线极速发货 测试个测试的",introduce:"测试副标题的内容",tag:["支持验机","专业质检"],price:"1.00"},{img:"/static/images/home/goods/2.png",name:"苹果x iPhoneX256G无锁99新有 测试个测试的",introduce:"",tag:[],price:"2237.00"}]},{img:"/static/images/avatar/2.jpg",name:"仔仔科技运营部",status:"交易关闭",price:"2199.00",num:1,type:0,goods_list:[{img:"/static/images/home/goods/3.png",name:"商品标题,商品标题,商品标题,商品标题,商品标题,商品标题,商品标题,商品标题,商品标题,商品标题",introduce:"",tag:["支持验机","专业质检"],price:"2199.00"}]}]}};a.default=e},f482:function(t,a,i){"use strict";i.r(a);var e=i("b492"),o=i.n(e);for(var n in e)["default"].indexOf(n)<0&&function(t){i.d(a,t,(function(){return e[t]}))}(n);a["default"]=o.a}}]);