You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
33 KiB
1 lines
33 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-order_list-search"],{"052d":function(t,e,i){"use strict";i.r(e);var a=i("620e"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"1de5":function(t,e,i){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},"1f3e":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticStyle:{"touch-action":"none"},style:t.viewColor},[i("v-uni-view",{staticClass:"home",staticStyle:{position:"fixed"},style:{top:t.top+"px",bottom:t.bottom},attrs:{id:"right-nav"},on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.setTouchMove.apply(void 0,arguments)}}},[t.homeActive?i("v-uni-view",{staticClass:"homeCon",class:!0===t.homeActive?"on":""},[i("v-uni-navigator",{staticClass:"iconfont icon-shouye-xianxing",attrs:{"hover-class":"none",url:"/pages/index/index","open-type":"switchTab"}}),i("v-uni-navigator",{staticClass:"iconfont icon-caigou-xianxing",attrs:{"hover-class":"none",url:"/pages/order_addcart/order_addcart","open-type":"switchTab"}}),i("v-uni-navigator",{staticClass:"iconfont icon-yonghu1",attrs:{"hover-class":"none",url:"/pages/user/index","open-type":"switchTab"}})],1):t._e(),i("v-uni-view",{staticClass:"pictrueBox",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.open.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{staticClass:"image pictruea",attrs:{src:!0===t.homeActive?"/static/images/navbtn_open.gif":"/static/images/navbtn_close.gif"}})],1)],1)],1)],1)},n=[]},"23c8":function(t,e,i){"use strict";i.r(e);var a=i("ae8f0"),n=i("052d");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("c0b5");var r=i("f0c5"),s=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"f324e778",null,!1,a["a"],void 0);e["default"]=s.exports},"32e8":function(t,e,i){"use strict";i.r(e);var a=i("ae5c"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"458b":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".pictrueBox[data-v-6d33dd08]{width:%?130?%;height:%?120?%}\n/*返回主页按钮*/.home[data-v-6d33dd08]{position:fixed;color:#fff;text-align:center;z-index:9999;right:%?15?%;display:flex}.home .homeCon[data-v-6d33dd08]{border-radius:%?50?%;opacity:0;height:0;color:#e93323;width:0}.home .homeCon.on[data-v-6d33dd08]{opacity:1;-webkit-animation:bounceInRight .5s cubic-bezier(.215,.61,.355,1);animation:bounceInRight .5s cubic-bezier(.215,.61,.355,1);width:%?300?%;height:%?86?%;margin-bottom:%?20?%;display:flex;justify-content:center;align-items:center;background:var(--view-theme)}.home .homeCon .iconfont[data-v-6d33dd08]{font-size:%?48?%;color:#fff;display:inline-block;margin:0 auto}.home .pictrue[data-v-6d33dd08]{width:%?86?%;height:%?86?%;border-radius:50%;margin:0 auto;background-color:var(--view-theme);box-shadow:0 %?5?% %?12?% rgba(0,0,0,.5)}.home .pictrue .image[data-v-6d33dd08]{width:100%;height:100%}.pictruea[data-v-6d33dd08]{width:100%;height:100%;display:block;object-fit:cover;vertical-align:middle}",""]),t.exports=e},"620e":function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a434"),i("d401"),i("d3b7"),i("25f0"),i("159b");var n=a(i("5530")),o=i("a60b"),r=i("c6c3"),s=(i("b640"),a(i("baf4"))),c=a(i("a394")),d=i("26cb"),u=a(i("f272")),l=a(i("c61e")),v=i("4f1b"),f=(getApp(),{components:{payment:s.default,emptyPage:l.default,home:c.default,authorize:u.default},data:function(){return{loading:!1,loadend:!1,loadTitle:"加载更多",orderList:[],presellProList:[],presellOrderCount:0,orderData:{},orderStatus:-1,page:1,limit:20,focus:!0,payMode:[{name:"微信支付",icon:"icon-weixinzhifu",value:"wechat",title:"微信快捷支付",payStatus:1},{name:"支付宝支付",icon:"icon-zhifubao",value:"alipay",title:"支付宝支付",payStatus:this.$store.getters.globalData.alipay_open},{name:"余额支付",icon:"icon-yuezhifu",value:"balance",title:"可用余额:",number:0,payStatus:this.$store.getters.globalData.yue_pay_status}],pay_close:!1,pay_order_id:"",totalPrice:"0",isAuto:!1,isShowAuth:!1,isReady:!0,store_name:""}},computed:(0,n.default)((0,n.default)({},(0,d.mapGetters)(["isLogin","viewColor"])),(0,v.configMap)(["hide_mer_status","community_status","alipay_open","yue_pay_status"])),watch:{alipay_open:function(t){this.payMode[1].payStatus=t},yue_pay_status:function(t){this.payMode[2].payStatus=t}},onShow:function(){this.isLogin?(this.page=1,this.loadend=!1,this.loading=!1):(this.isAuto=!0,this.isShowAuth=!0)},onReady:function(){},mounted:function(){},methods:{goMall:function(t){0==this.hide_mer_status&&uni.navigateTo({url:"/pages/store/home/index?id="+t.mer_id})},onLoadFun:function(){this.isShowAuth=!1,this.getOrderData(),this.getOrderList(),this.getUserInfo()},authColse:function(t){this.isShowAuth=t},onChangeFun:function(t){var e=t,i=e.action||null,a=void 0!=e.value?e.value:null;i&&this[i]&&this[i](a)},getUserInfo:function(){var t=this;(0,r.getUserInfo)().then((function(e){t.payMode[2].number=e.data.now_money}))},payClose:function(){this.pay_close=!1},onLoad:function(t){t.status&&(this.orderStatus=t.status)},getOrderData:function(){var t=this;(0,o.orderData)().then((function(e){t.$set(t,"orderData",e.data)}))},cancelOrder:function(t,e){var i=this;if(!e)return i.$util.Tips({title:"缺少订单号无法取消订单"});(0,o.unOrderCancel)(e).then((function(e){return i.$util.Tips({title:e.message,icon:"success"},(function(){i.orderList.splice(t,1),i.$set(i,"orderList",i.orderList),i.$set(i.orderData,"unpaid_count",i.orderData.unpaid_count-1),i.getOrderData()}))})).catch((function(t){return i.$util.Tips({title:t})}))},goPay:function(t,e){this.$set(this,"pay_close",!0),this.order_id=e,this.pay_order_id=e.toString(),this.$set(this,"totalPrice",t)},pay_complete:function(){this.loadend=!1,this.page=1,this.$set(this,"orderList",[]),this.pay_close=!1,this.pay_order_id="",this.getOrderData(),this.getOrderList()},pay_fail:function(){this.pay_close=!1,this.pay_order_id=""},goOrderDetails:function(t){if(!t)return that.$util.Tips({title:"缺少订单号无法查看订单详情"});0==this.orderStatus?uni.navigateTo({url:"/pages/order_details/stay?order_id="+t}):uni.navigateTo({url:"/pages/order_details/index?order_id="+t})},goOrderDetails_Evaluation:function(t){if(!t)return that.$util.Tips({title:"缺少订单号无法查看订单详情和评价"});0==this.orderStatus?uni.navigateTo({url:"/pages/order_details/stay?order_id="+t}):uni.navigateTo({url:"/pages/order_details/index?order_id="+t})},statusClick:function(t){t!=this.orderStatus&&(this.orderStatus=t,this.loadend=!1,this.loading=!1,this.page=1,this.$set(this,"orderList",[]),this.getOrderList())},getOrderList:function(){var t=this;t.loadend||t.loading||(t.loading=!0,t.loadTitle="加载更多",(0,o.getOrderList)({page:t.page,limit:t.limit,store_name:t.store_name}).then((function(e){var i=e.data.list||[],a=i.length<t.limit;t.orderList=1==t.page?i:t.$util.SplitArray(i,t.orderList),t.$set(t,"orderList",t.orderList),t.getProductCount(),t.loadend=a,t.loading=!1,t.loadTitle=a?"我也是有底线的":"加载更多",t.page=t.page+1})).catch((function(e){t.loading=!1,t.loadTitle="加载更多"})))},getpreSellOrderList:function(){var t=this;(0,o.getOrderList)({status:10,page:1,limit:1}).then((function(e){var i=e.data.list||[];t.presellOrderCount=e.data.count,t.$set(t,"presellProList",i)}))},getProductCount:function(){var t=this;0!==this.orderStatus&&this.orderList.forEach((function(e,i){var a=0;e.orderProduct&&(e.orderProduct.forEach((function(t){a+=t.product_num})),t.orderList[i]["orderNum"]=a)}))},delOrder:function(t,e){var i=this;(0,o.orderDel)(t).then((function(t){return i.orderList.splice(e,1),i.$set(i,"orderList",i.orderList),i.$set(i.orderData,"unpaid_count",i.orderData.unpaid_count-1),i.getOrderData(),i.$util.Tips({title:"删除成功",icon:"success"})})).catch((function(t){return i.$util.Tips({title:t})}))},confirmOrder:function(t,e){var i=this;uni.showModal({title:"确认收货",content:"为保障权益,请收到货确认无误后,再确认收货",success:function(a){a.confirm&&(0,o.orderTake)(t.order_id).then((function(t){return i.$util.Tips({title:"操作成功",icon:"success"},(function(){i.orderList.splice(e,1),i.getOrderData()}))})).catch((function(t){return i.$util.Tips({title:t})}))}})},handleSearch:function(){this.loadend=!1,this.page=1,this.orderList=[],this.store_name&&this.getOrderList()}},onReachBottom:function(){this.getOrderList()}});e.default=f},6229:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"empty-box"},[e("v-uni-image",{attrs:{src:"/static/images/empty-box.png"}}),e("v-uni-view",{staticClass:"txt"},[this._v(this._s(this.title))])],1)},n=[]},"657d":function(t,e,i){var a=i("24fb"),n=i("1de5"),o=i("7ea9");e=a(!1);var r=n(o);e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.my-order .header[data-v-f324e778]{padding:%?17?% %?30?%;background-color:var(--view-theme)}.t-color[data-v-f324e778]{color:var(--view-theme)}.p-color[data-v-f324e778]{color:var(--view-priceColor)}.b-color[data-v-f324e778]{background-color:var(--view-theme)}.my-order .header .picTxt[data-v-f324e778]{height:%?190?%}.my-order .header .picTxt .text[data-v-f324e778]{color:hsla(0,0%,100%,.8);font-size:%?26?%}.my-order .header .picTxt .text .name[data-v-f324e778]{font-size:%?34?%;font-weight:700;color:#fff;margin-bottom:%?20?%}.my-order .header .picTxt .pictrue[data-v-f324e778]{width:%?122?%;height:%?109?%}.my-order .header .picTxt .pictrue uni-image[data-v-f324e778]{width:100%;height:100%}.my-order .nav[data-v-f324e778]{background-color:#fff;width:%?690?%;height:%?140?%;border-radius:%?16?%;margin:%?-73?% auto 0 auto}.my-order .nav .item[data-v-f324e778]{text-align:center;font-size:%?26?%;color:#282828;padding:%?29?% 0}.my-order .nav .item.on[data-v-f324e778]{font-weight:700;border-bottom:%?5?% solid var(--view-theme)}.my-order .nav .item .num[data-v-f324e778]{margin-top:%?18?%}.my-order .list[data-v-f324e778]{width:%?690?%;margin:%?14?% auto 0 auto}.my-order .list .item[data-v-f324e778]{background-color:#fff;border-radius:%?16?%;margin-bottom:%?14?%}.my-order .list .item .title[data-v-f324e778]{height:%?84?%;padding:0 %?30?%;border-bottom:1px solid #eee;font-size:%?28?%;color:#282828}.my-order .list .item .title .left-wrapper .iconfont[data-v-f324e778]{margin-top:%?5?%}.my-order .list .item .title .left-wrapper .store-name[data-v-f324e778]{margin:0 %?10?%}.my-order .list .item .title .left-wrapper .icon-xiangyou[data-v-f324e778]{font-size:%?20?%}.my-order .list .item .title .sign[data-v-f324e778]{font-size:%?24?%;padding:0 %?7?%;height:%?36?%;margin-right:%?15?%}.my-order .list .item .item-info[data-v-f324e778]{padding:0 %?30?%;margin-top:%?22?%}.my-order .list .item .item-info .pictrue[data-v-f324e778]{width:%?120?%;height:%?120?%}.my-order .list .item .item-info .pictrue uni-image[data-v-f324e778]{width:100%;height:100%;border-radius:%?6?%}.my-order .list .item .item-info .text[data-v-f324e778]{width:%?486?%;font-size:%?28?%;color:#999;margin-top:%?6?%}.my-order .list .item .item-info .text .name[data-v-f324e778]{width:%?320?%;color:#282828}.event_bg[data-v-f324e778]{background:#ff7f00}.event_color[data-v-f324e778]{color:#ff7f00}.my-order .list .item .event_name[data-v-f324e778]{display:inline-block;margin-right:%?9?%;color:#fff;font-size:%?20?%;padding:0 %?8?%;line-height:%?30?%;text-align:center;border-radius:%?6?%}.my-order .list .item .event_ship[data-v-f324e778]{font-size:%?20?%;margin-top:%?10?%}.my-order .list .event_price[data-v-f324e778]{margin:0 0 %?50?% %?120?%}.my-order .list .item .item-info .text .money[data-v-f324e778]{text-align:right}.my-order .list .item .totalPrice[data-v-f324e778]{font-size:%?26?%;color:#282828;text-align:right;margin:%?27?% 0 0 %?30?%;padding:0 %?30?% %?30?% 0}.my-order .list .item .totalPrice .money[data-v-f324e778]{font-size:%?28?%;font-weight:700}.my-order .list .item .bottom[data-v-f324e778]{height:%?107?%;padding:0 %?30?%;border-top:1px solid #f0f0f0}.my-order .list .item .bottom .bnt[data-v-f324e778]{width:%?176?%;height:%?60?%;text-align:center;line-height:%?60?%;color:#fff;border-radius:%?50?%;font-size:%?27?%}.my-order .list .item .bottom .bnt.cancelBnt[data-v-f324e778]{border:1px solid #ddd;color:#aaa}.my-order .list .item .bottom .bnt.colorBnt[data-v-f324e778]{border:1px solid var(--view-theme);color:var(--view-theme)}.my-order .list .item .bottom .bnt .icon-fabu[data-v-f324e778]{font-size:%?26?%;margin-right:%?10?%}.my-order .list .item .bottom .bnt ~ .bnt[data-v-f324e778]{margin-left:%?17?%}.noCart[data-v-f324e778]{margin-top:%?171?%;padding-top:%?0.1?%}.noCart .pictrue[data-v-f324e778]{width:%?414?%;height:%?336?%;margin:%?78?% auto %?56?% auto}.noCart .pictrue uni-image[data-v-f324e778]{width:100%;height:100%}.event_container[data-v-f324e778]{width:%?690?%;background-image:url('+r+");background-size:cover;background-repeat:no-repeat;margin:%?20?% auto;padding:%?26?% %?30?%;border-radius:%?16?%}.event_container .info[data-v-f324e778]{width:%?420?%}.event_container .info .title[data-v-f324e778]{color:#282828;font-size:%?26?%}.event_container .info .desc[data-v-f324e778]{color:#999;font-size:%?24?%;margin-top:%?30?%}.event_container .photo[data-v-f324e778]{width:%?180?%}.event_container .photo .picture[data-v-f324e778]{width:%?120?%;height:%?120?%}.event_container .photo .picture uni-image[data-v-f324e778]{width:100%;height:100%;border-radius:%?8?%}.event_container .photo .more_btn[data-v-f324e778]{color:#fff;background:#f97e3b;width:%?40?%;height:%?40?%;border-radius:%?40?%;text-align:center;line-height:%?40?%;position:relative;top:%?40?%}.event_container .photo .more_btn uni-text[data-v-f324e778]{font-size:%?20?%}.search[data-v-f324e778]{height:%?60?%;padding:0 %?30?%;border-radius:%?30?%;background-color:#fff;font-size:%?26?%}.search .iconfont[data-v-f324e778]{margin-right:%?10?%;font-size:%?26?%;color:#999}.search .input-placeholder[data-v-f324e778]{font-size:%?26?%;color:#999}.search .input[data-v-f324e778]{flex:1}",""]),t.exports=e},"6cb5":function(t,e,i){var a=i("458b");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("545af455",a,!0,{sourceMap:!1,shadowMode:!1})},"713e":function(t,e,i){"use strict";var a=i("93e4"),n=i.n(a);n.a},"7ea9":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAA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pox0y+Gcja5qNNrRVx6/TURIEi3dmL68MBX83kD4spkxL5z+d+/XF4p35Kk8NQl32vNLZLoYa2qrz590cr94KbhfNk0iPuDSXyGzPqs5y9yLSNoiLnqdnt1b1wW9auTgiMsu/wbalVTM8ym+nMyLLZrflNYvmzyd513aITPMqhS3V/LjqWpFsNpvdllbM71asSHtmZDYuxFQza85zbuWD0zHm8pgrzWa3snh6zfEkU20fOVodlslVXXMtXKrR9K08en7pD13YbrPZTehwwzJNd+hfnuWfXyL6LzmFBpZaAAAAAElFTkSuQmCC"},8669:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.empty-box[data-v-46377bcc]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:%?200?%}.empty-box uni-image[data-v-46377bcc]{width:%?414?%;height:%?240?%}.empty-box .txt[data-v-46377bcc]{font-size:%?26?%;color:#999}',""]),t.exports=e},"92b0":function(t,e,i){"use strict";var a=i("6cb5"),n=i.n(a);n.a},"93e4":function(t,e,i){var a=i("8669");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("172dfd1c",a,!0,{sourceMap:!1,shadowMode:!1})},a394:function(t,e,i){"use strict";i.r(e);var a=i("1f3e"),n=i("32e8");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("92b0");var r=i("f0c5"),s=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"6d33dd08",null,!1,a["a"],void 0);e["default"]=s.exports},ae5c:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i("26cb"),n=i("8342"),o={name:"Home",props:{},data:function(){return{domain:n.HTTP_REQUEST_URL,top:"",bottom:""}},computed:(0,a.mapGetters)(["homeActive","viewColor","keyColor"]),methods:{setTouchMove:function(t){t.touches[0].clientY<545&&t.touches[0].clientY>66&&(this.top=t.touches[0].clientY,this.bottom="auto")},open:function(){this.homeActive?this.$store.commit("CLOSE_HOME"):this.$store.commit("OPEN_HOME")}},created:function(){this.bottom="50px"}};e.default=o},ae8f0:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{style:t.viewColor},[i("v-uni-view",{staticClass:"my-order"},[i("v-uni-view",{staticClass:"header"},[i("v-uni-view",{staticClass:"search acea-row row-middle"},[i("v-uni-text",{staticClass:"iconfont icon-sousuo"}),i("v-uni-input",{staticClass:"input",attrs:{focus:t.focus,"confirm-type":"search",placeholder:"搜索我的订单"},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.handleSearch.apply(void 0,arguments)}},model:{value:t.store_name,callback:function(e){t.store_name=e},expression:"store_name"}})],1)],1),i("v-uni-view",{staticClass:"list"},[t.orderList.length>0?i("v-uni-view",[0==t.orderStatus?t._l(t.orderList,(function(e,a){return i("v-uni-view",{key:a,staticClass:"item"},[i("v-uni-view",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goOrderDetails(e.group_order_id)}}},[i("v-uni-view",{staticClass:"title acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"acea-row row-middle left-wrapper"},[t._v(t._s(e.group_order_sn))]),i("v-uni-view",{staticClass:"t-color"},[t._v(t._s(2===e.orderList[0].activity_type&&2==e.orderList[0].orderProduct[0].cart_info.productPresell.presell_type?"待付定金":"待付款"))])],1),t._l(e.orderList,(function(a,n){return i("v-uni-view",{key:a.order_id+n},[2===a.activity_type?i("v-uni-view",[t._l(a.orderProduct,(function(e,n){return[i("v-uni-view",{staticClass:"item-info acea-row row-between row-top"},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:e.cart_info.productAttr&&e.cart_info.productAttr.image||e.cart_info.product.image}})],1),i("v-uni-view",{staticClass:"text acea-row row-between"},[i("v-uni-view",{staticClass:"name line1"},[i("v-uni-text",{staticClass:"event_name event_bg"},[t._v("预售")]),i("v-uni-text",[t._v(t._s(e.cart_info.product.store_name))]),i("v-uni-view",{staticClass:"event_ship event_color"},[t._v("发货时间:"),1===e.cart_info.productPresell.presell_type?i("v-uni-text",[t._v(t._s(1===e.cart_info.productPresell.delivery_type?"支付成功后":"预售结束后")+t._s(e.cart_info.productPresell.delivery_day)+"天内")]):t._e(),2===e.cart_info.productPresell.presell_type?i("v-uni-text",[t._v(t._s(1===e.cart_info.productPresell.delivery_type?"支付尾款后":"预售结束后")+t._s(e.cart_info.productPresell.delivery_day)+"天内")]):t._e()],1)],1),i("v-uni-view",{staticClass:"money"},[i("v-uni-view",[t._v("¥"+t._s(e.cart_info.productPresellAttr.presell_price))]),i("v-uni-view",[t._v("x"+t._s(e.product_num))])],1)],1),2===e.cart_info.productPresell.presell_type?i("v-uni-view",{staticClass:"event_price"},[t._v("定金待支付"),i("v-uni-text",{staticClass:"t-color"},[t._v("¥"+t._s(a.pay_price))]),t._v("尾款待支付"),i("v-uni-text",{staticClass:"t-color"},[t._v("¥"+t._s(a.presellOrder.pay_price))])],1):t._e()],1)]}))],2):i("v-uni-view",[t._l(a.orderProduct,(function(a,n){return[i("v-uni-view",{staticClass:"item-info acea-row row-between row-top"},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:a.cart_info.productAttr&&a.cart_info.productAttr.image||a.cart_info.product.image}})],1),i("v-uni-view",{staticClass:"text acea-row row-between"},[i("v-uni-view",{staticClass:"name line2"},[t._v(t._s(a.cart_info.product.store_name))]),4==e.orderList[0].activity_type?i("v-uni-view",{staticClass:"money"},[a.cart_info.activeSku?i("v-uni-view",[t._v("¥"+t._s(a.cart_info.activeSku.active_price))]):t._e(),i("v-uni-view",[t._v("x"+t._s(a.product_num))])],1):i("v-uni-view",{staticClass:"money"},[i("v-uni-view",[t._v("¥"+t._s(a.cart_info.productAttr.price))]),i("v-uni-view",[t._v("x"+t._s(a.product_num))])],1)],1)],1)]}))],2)],1)})),2!==e.orderList[0].activity_type?i("v-uni-view",{staticClass:"totalPrice"},[t._v("共"+t._s(e.total_num||0)+"件商品,总金额"),i("v-uni-text",{staticClass:"money p-color"},[t._v("¥"+t._s(e.pay_price))])],1):t._e(),i("v-uni-view",{staticClass:"bottom acea-row row-right row-middle"},[i("v-uni-view",{staticClass:"bnt b-color",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goPay(e.pay_price,e.group_order_id)}}},[t._v("立即付款")])],1)],2)],1)})):t._l(t.orderList,(function(e,a){return i("v-uni-view",{key:a,staticClass:"item"},[i("v-uni-view",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goOrderDetails(e.order_id)}}},[i("v-uni-view",{staticClass:"title acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"acea-row row-middle left-wrapper",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goMall(e)}}},[i("v-uni-text",{staticClass:"iconfont icon-shangjiadingdan"}),i("v-uni-view",{staticClass:"store-name"},[t._v(t._s(e.merchant.mer_name))]),i("v-uni-text",{staticClass:"iconfont icon-xiangyou"})],1),0==e.status?i("v-uni-view",{staticClass:"t-color"},[t._v("待发货")]):t._e(),1==e.status?i("v-uni-view",{staticClass:"t-color"},[t._v("待收货")]):t._e(),2==e.status?i("v-uni-view",{staticClass:"t-color"},[t._v("待评价")]):t._e(),3==e.status?i("v-uni-view",{staticClass:"t-color"},[t._v("已完成")]):t._e(),-1==e.status?i("v-uni-view",{staticClass:"t-color"},[t._v("已退款")]):t._e()],1),2===e.activity_type?i("v-uni-view",t._l(e.orderProduct,(function(a,n){return i("v-uni-view",{key:n,staticClass:"item-info acea-row row-between row-top"},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:a.cart_info.productAttr&&a.cart_info.productAttr.image||a.cart_info.product.image}})],1),i("v-uni-view",{staticClass:"text acea-row row-between"},[i("v-uni-view",{staticClass:"name "},[i("v-uni-view",{staticClass:"name",class:0===e.status?"line1":"line2"},[i("v-uni-text",{staticClass:"event_name event_bg"},[t._v("预售")]),i("v-uni-text",[t._v(t._s(a.cart_info.product.store_name))]),0==e.status?i("v-uni-view",{staticClass:"event_ship event_color"},[t._v("发货时间:"),1===a.cart_info.productPresell.presell_type?i("v-uni-text",[t._v(t._s(1===a.cart_info.productPresell.delivery_type?"支付成功后":"预售结束后")+t._s(a.cart_info.productPresell.delivery_day)+"天内")]):t._e(),2===a.cart_info.productPresell.presell_type?i("v-uni-text",[t._v(t._s(1===a.cart_info.productPresell.delivery_type?"支付尾款后":"预售结束后")+t._s(a.cart_info.productPresell.delivery_day)+"天内")]):t._e()],1):t._e()],1),i("v-uni-view",{staticClass:"t-color",staticStyle:{"margin-top":"10rpx"}},[t._v(t._s(1==a.is_refund?"退款中":2==a.is_refund?"部分退款":3==a.is_refund?"全部退款":""))])],1),i("v-uni-view",{staticClass:"money"},[i("v-uni-view",[t._v("¥"+t._s(a.cart_info.productPresellAttr.presell_price))]),i("v-uni-view",[t._v("x"+t._s(a.product_num))])],1)],1)],1)})),1):i("v-uni-view",t._l(e.orderProduct,(function(a,n){return i("v-uni-view",{key:n,staticClass:"item-info acea-row row-between row-top"},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:a.cart_info.productAttr&&a.cart_info.productAttr.image||a.cart_info.product.image}})],1),i("v-uni-view",{staticClass:"text acea-row row-between"},[i("v-uni-view",{staticClass:"name "},[i("v-uni-view",{staticClass:"name line2"},[i("v-uni-text",[t._v(t._s(a.cart_info.product.store_name))])],1),i("v-uni-view",{staticClass:"t-color",staticStyle:{"margin-top":"10rpx"}},[t._v(t._s(1==a.is_refund?"退款中":2==a.is_refund?"部分退款":3==a.is_refund?"全部退款":""))])],1),3==e.activity_type?i("v-uni-view",{staticClass:"money"},[a.cart_info.productAssistAttr?i("v-uni-view",[t._v("¥"+t._s(a.cart_info.productAssistAttr.assist_price))]):t._e(),i("v-uni-view",[t._v("x"+t._s(a.product_num))])],1):4==e.activity_type?i("v-uni-view",{staticClass:"money"},[a.cart_info.activeSku?i("v-uni-view",[t._v("¥"+t._s(a.cart_info.activeSku.active_price))]):t._e(),i("v-uni-view",[t._v("x"+t._s(a.product_num))])],1):i("v-uni-view",{staticClass:"money"},[i("v-uni-view",[t._v("¥"+t._s(a.cart_info.productAttr.price))]),i("v-uni-view",[t._v("x"+t._s(a.product_num))])],1)],1)],1)})),1),2==e.activity_type?i("v-uni-view",{staticClass:"totalPrice"},[t._v("共"+t._s(e.orderNum||0)+"件商品,总金额"),i("v-uni-text",{staticClass:"money p-color"},[t._v("¥"+t._s(e.presell_price))])],1):i("v-uni-view",{staticClass:"totalPrice"},[t._v("共"+t._s(e.orderNum||0)+"件商品,总金额"),i("v-uni-text",{staticClass:"money p-color"},[t._v("¥"+t._s(e.pay_price))])],1)],1),i("v-uni-view",{staticClass:"bottom acea-row row-right row-middle"},[0==e.status||9==e.status||-1==e.status?[i("v-uni-view",{staticClass:"bnt b-color",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goOrderDetails(e.order_id)}}},[t._v("查看详情")])]:t._e(),1==e.status?[1==e.delivery_type||2==e.delivery_type?i("v-uni-view",{staticClass:"bnt cancelBnt",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goOrderDetails(e.order_id)}}},[t._v("查看物流")]):t._e(),i("v-uni-view",{staticClass:"bnt b-color",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.confirmOrder(e,a)}}},[t._v("确认收货")])]:t._e(),2==e.status?[1!=t.community_status||e.community_id?t._e():i("v-uni-navigator",{staticClass:"bnt colorBnt",attrs:{url:"/pages/plantGrass/plant_release/index?order_id="+e.order_id,"hover-class":"none"}},[i("v-uni-text",{staticClass:"iconfont icon-fabu"}),t._v("发布种草")],1),i("v-uni-view",{staticClass:"bnt b-color",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goOrderDetails_Evaluation(e.order_id)}}},[t._v("去评价")])]:t._e(),3==e.status?[2==e.activity_type||3==e.activity_type||10==e.activity_type?i("v-uni-view",{staticClass:"bnt b-color",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goOrderDetails(e.order_id)}}},[t._v("查看详情")]):t._e(),1!=t.community_status||e.community_id?i("v-uni-view",{staticClass:"bnt b-color",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goOrderDetails(e.order_id)}}},[t._v("再次购买")]):i("v-uni-navigator",{staticClass:"bnt colorBnt",attrs:{url:"/pages/plantGrass/plant_release/index?order_id="+e.order_id,"hover-class":"none"}},[i("v-uni-text",{staticClass:"iconfont icon-fabu"}),t._v("发布种草")],1)]:t._e()],2)],1)}))],2):t._e()],1),t.orderList.length>5?i("v-uni-view",{staticClass:"loadingicon acea-row row-center-wrapper"},[i("v-uni-text",{staticClass:"loading iconfont icon-jiazai",attrs:{hidden:0==t.loading}}),t._v(t._s(t.loadTitle))],1):t._e(),0==t.orderList.length&&t.page>1?i("v-uni-view",[i("emptyPage",{attrs:{title:"暂无订单~"}})],1):t._e()],1),i("home"),i("authorize",{attrs:{isAuto:t.isAuto,isShowAuth:t.isShowAuth},on:{onLoadFun:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoadFun.apply(void 0,arguments)},authColse:function(e){arguments[0]=e=t.$handleEvent(e),t.authColse.apply(void 0,arguments)}}}),i("payment",{attrs:{payMode:t.payMode,pay_close:t.pay_close,order_id:t.pay_order_id,totalPrice:t.totalPrice},on:{onChangeFun:function(e){arguments[0]=e=t.$handleEvent(e),t.onChangeFun.apply(void 0,arguments)}}})],1)},n=[]},b821:function(t,e,i){"use strict";i.r(e);var a=i("d4b0"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},c0b5:function(t,e,i){"use strict";var a=i("dc30"),n=i.n(a);n.a},c61e:function(t,e,i){"use strict";i.r(e);var a=i("6229"),n=i("b821");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("713e");var r=i("f0c5"),s=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"46377bcc",null,!1,a["a"],void 0);e["default"]=s.exports},d4b0:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={props:{title:{type:String,default:"暂无记录"}}};e.default=a},dc30:function(t,e,i){var a=i("657d");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("71f4a282",a,!0,{sourceMap:!1,shadowMode:!1})}}]); |