text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-index"],{"05f4":function(e,t,n){var i=n("6995");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var r=n("4f06").default;r("6be7b878",i,!0,{sourceMap:!1,shadowMode:!1})},"07bf":function(e,t,n){e.exports=n.p+"static/img/user_bg.ad6770fd.png"},"1de5":function(e,t,n){"use strict";e.exports=function(e,t){return t||(t={}),e=e&&e.__esModule?e.default:e,"string"!==typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},6995:function(e,t,n){var i=n("24fb"),r=n("1de5"),s=n("07bf");t=i(!1);var a=r(s);t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场（https://ext.dcloud.net.cn）上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者，建议你使用scss预处理，并在插件代码中直接使用这些变量（无需 import 这个文件），方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者（插件使用者），你可以通过修改这些变量来定制自己的插件主题，实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理，你也可以直接在你的 scss 代码中使用如下变量，同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.new-users .head[data-v-087eb003]{background:#fff}.new-users .head .user-card[data-v-087eb003]{position:relative;width:100%;padding:%?35?% 0 %?70?%;background:-webkit-linear-gradient(left,#eb3c3c,#ff5d43);background:linear-gradient(90deg,#eb3c3c,#ff5d43)}.new-users .head .user-card .bg[data-v-087eb003]{position:absolute;left:0;top:0;width:100%;height:100%;background-image:url('+a+");background-size:100% 100%}.new-users .head .user-card .user-info[data-v-087eb003]{z-index:20;position:relative;display:-webkit-box;display:-webkit-flex;display:flex;padding:0 %?28?%}.new-users .head .user-card .user-info .avatar[data-v-087eb003]{width:%?120?%;height:%?120?%;border-radius:50%}.new-users .head .user-card .user-info .info[data-v-087eb003]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;margin-left:%?20?%;padding:%?15?% 0}.new-users .head .user-card .user-info .info .name[data-v-087eb003]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#fff;font-size:%?31?%}.new-users .head .user-card .user-info .info .name .vip[data-v-087eb003]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:%?36?%;padding:0 %?20?%;background:rgba(0,0,0,.2);border-radius:18px;font-size:%?20?%;margin-left:%?12?%}.new-users .head .user-card .user-info .info .name .vip uni-image[data-v-087eb003]{width:%?27?%;height:%?27?%}.new-users .head .user-card .user-info .info .num[data-v-087eb003]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?26?%;color:hsla(0,0%,100%,.6)}.new-users .head .user-card .user-info .info .num uni-image[data-v-087eb003]{width:%?22?%;height:%?23?%;margin-left:%?20?%}.new-users .head .user-card .num-wrapper[data-v-087eb003]{z-index:30;position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;margin-top:%?30?%;color:#fff}.new-users .head .user-card .num-wrapper .num-item[data-v-087eb003]{width:25%;text-align:center}.new-users .head .user-card .num-wrapper .num-item .num[data-v-087eb003]{font-size:%?42?%;font-weight:700}.new-users .head .user-card .num-wrapper .num-item .txt[data-v-087eb003]{margin-top:%?8?%;font-size:%?22?%;color:hsla(0,0%,100%,.6)}.new-users .head .user-card .sign[data-v-087eb003]{z-index:200;position:absolute;right:%?-12?%;top:%?80?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;width:%?120?%;height:%?60?%;background:-webkit-linear-gradient(left,#ffe157,#eec10f);background:linear-gradient(90deg,#ffe157,#eec10f);border-radius:%?29?% %?4?% %?4?% %?29?%;color:#282828;font-size:%?28?%;font-weight:700}.new-users .wrapper[data-v-087eb003]{position:relative;top:%?-44?%;padding:0 %?20?%}.new-users .order-wrapper[data-v-087eb003]{background-color:#fff;border-radius:%?12?%}.new-users .order-wrapper .order-hd[data-v-087eb003]{height:%?80?%;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;border-bottom:1px dashed #ddd;padding:0 %?30?%;font-size:%?30?%;color:#282828}.new-users .order-wrapper .order-hd .right[data-v-087eb003]{-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#666;font-size:%?26?%}.new-users .order-wrapper .order-hd .right .icon-xiangyou[data-v-087eb003]{margin-left:%?5?%;margin-top:%?6?%;font-size:%?26?%}.new-users .order-wrapper .order-bd[data-v-087eb003]{display:-webkit-box;display:-webkit-flex;display:flex}.new-users .order-wrapper .order-bd .order-item[data-v-087eb003]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;width:20%;height:%?160?%}.new-users .order-wrapper .order-bd .order-item .pic[data-v-087eb003]{position:relative;text-align:center}.new-users .order-wrapper .order-bd .order-item .pic uni-image[data-v-087eb003]{width:%?56?%;height:%?56?%}.new-users .order-wrapper .order-bd .order-item .txt[data-v-087eb003]{margin-top:%?15?%;font-size:%?26?%;color:#454545}.new-users .slider-wrapper[data-v-087eb003]{margin:%?20?% 0;height:%?130?%}.new-users .slider-wrapper uni-swiper[data-v-087eb003],\r\n.new-users .slider-wrapper uni-swiper-item[data-v-087eb003]{height:100%}.new-users .slider-wrapper uni-image[data-v-087eb003]{width:100%;height:%?130?%}.new-users .user-menus[data-v-087eb003]{padding-bottom:%?30?%;background-color:#fff}.new-users .user-menus .title[data-v-087eb003]{height:%?80?%;line-height:%?80?%;padding:0 %?30?%;border-bottom:1px dashed #ddd}.new-users .user-menus .item[data-v-087eb003]{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;width:25%;line-height:%?28?%;height:%?90?%;margin-top:%?30?%;text-align:center}.new-users .user-menus .item uni-image[data-v-087eb003]{width:%?52?%;height:%?52?%}.new-users .user-menus .item uni-text[data-v-087eb003]{margin-top:%?10?%;font-size:%?26?%;color:#282828;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:78%}.new-users .user-menus .item[data-v-087eb003]:last-child::before{display:none}.new-users .user-menus uni-button[data-v-087eb003]{font-size:%?28?%}.new-users .phone[data-v-087eb003]{color:#fff}.new-users .order-status-num[data-v-087eb003]{min-width:%?12?%;background-color:#fff;color:#ee5a52;border-radius:15px;position:absolute;right:%?-14?%;top:%?-15?%;font-size:%?20?%;padding:0 %?8?%;border:1px solid #ee5a52}.copy-right[data-v-087eb003]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#ccc;font-size:%?22?%}.copy-right .iconfont[data-v-087eb003]{font-size:%?60?%}.menu-box[data-v-087eb003]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}.right-btn[data-v-087eb003]{z-index:99;position:absolute;right:%?30?%;top:%?65?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#fff}.right-btn .iconfont[data-v-087eb003]{font-size:%?40?%;margin-left:%?33?%}.right-btn .btn[data-v-087eb003]{position:relative}.right-btn .iconnum[data-v-087eb003]{min-width:6px;background-color:#fff;color:#e93323;border-radius:%?15?%;position:absolute;right:%?-10?%;top:%?-10?%;font-size:10px;padding:0 4px}",""]),e.exports=t},"75f9":function(e,t,n){"use strict";var i=n("05f4"),r=n.n(i);r.a},"939e":function(e,t,n){"use strict";n.r(t);var i=n("eca3"),r=n("d240");for(var s in r)"default"!==s&&function(e){n.d(t,e,(function(){return r[e]}))}(s);n("75f9");var a,o=n("f0c5"),u=Object(o["a"])(r["default"],i["b"],i["c"],!1,null,"087eb003",null,!1,i["a"],a);t["default"]=u.exports},cdf4:function(e,t,n){"use strict";var i=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.getCartCounts=s,t.getCartList=a,t.changeCartNum=o,t.cartDel=u,t.getOrderList=c,t.orderProduct=d,t.orderComment=l,t.orderPay=f,t.orderData=p,t.unOrderCancel=g,t.orderDel=v,t.getOrderDetail=b,t.groupOrderDetail=m,t.getPayOrder=w,t.orderAgain=h,t.orderTake=_,t.express=x,t.ordeRefundReason=k,t.orderRefundVerify=y,t.orderConfirm=C,t.getCouponsOrderPrice=I,t.postOrderComputed=M,t.orderCreate=A,t.groupOrderList=z,t.refundBatch=E,t.refundProduct=j,t.refundApply=S,t.refundMessage=O,t.refundList=P,t.refundDetail=L,t.expressList=$,t.refundBackGoods=D,t.refundDel=U,t.refundExpress=T,t.verifyCode=R,t.presellOrderPay=B,t.receiptOrder=N,t.getReceiptOrder=G,t.getCallBackUrlApi=V;var r=i(n("5a6c"));function s(){return r.default.get("user/cart/count")}function a(){return r.default.get("user/cart/lst")}function o(e,t){return r.default.post("user/cart/change/"+e,t)}function u(e){return r.default.post("user/cart/delete",e)}function c(e){return r.default.get("order/list",e)}function d(e){return r.default.get("reply/product/"+e)}function l(e,t){return r.default.post("reply/"+e,t)}function f(e,t){return r.default.post("order/pay/"+e,t)}function p(){return r.default.get("order/number")}function g(e){return r.default.post("order/cancel/"+e)}function v(e){return r.default.post("order/del/"+e)}function b(e){return r.default.get("order/detail/"+e)}function m(e){return r.default.get("order/group_order_detail/"+e)}function w(e){return r.default.get("order/status/"+e)}function h(e){return r.default.post("user/cart/again",e)}function _(e){return r.default.post("order/take/"+e)}function x(e){return r.default.post("order/express/"+e)}function k(){return r.default.get("order/refund/reason")}function y(e){return r.default.post("order/refund/verify",e)}function C(e){return r.default.post("order/check",e)}function I(e,t){return r.default.get("coupons/order/"+e,t)}function M(e,t){return r.default.post("/order/computed/"+e,t)}function A(e){return r.default.post("order/create",e,{noAuth:!0})}function z(e){return r.default.get("order/group_order_list",e,{noAuth:!0})}function E(e){return r.default.get("refund/batch_product/"+e,{noAuth:!0})}function j(e,t){return r.default.get("refund/product/"+e,t,{noAuth:!0})}function S(e,t){return r.default.post("refund/apply/"+e,t,{noAuth:!0})}function O(){return r.default.get("common/refund_message",{noAuth:!0})}function P(e){return r.default.get("refund/list",e,{noAuth:!0})}function L(e){return r.default.get("refund/detail/"+e,{noAuth:!0})}function $(){return r.default.get("common/express")}function D(e,t){return r.default.post("refund/back_goods/"+e,t,{noAuth:!0})}function U(e){return r.default.post("refund/del/"+e,{noAuth:!0})}function T(e){return r.default.get("refund/express/"+e,{noAuth:!0})}function R(e){return r.default.get("order/verify_code/"+e)}function B(e,t){return r.default.post("presell/pay/"+e,t)}function N(e){return r.default.get("user/receipt/order",e)}function G(e){return r.default.get("user/receipt/order/"+e)}function V(e){return r.default.get("common/pay_key/"+e,{},{noAuth:!0})}},d240:function(e,t,n){"use strict";n.r(t);var i=n("f179"),r=n.n(i);for(var s in i)"default"!==s&&function(e){n.d(t,e,(function(){return i[e]}))}(s);t["default"]=r.a},eca3:function(e,t,n){"use strict";var i;n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return i}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"new-users"},[n("v-uni-view",{staticClass:"head"},[n("v-uni-view",{staticClass:"user-card"},[n("v-uni-view",{staticClass:"status_bar"}),n("v-uni-view",{staticClass:"bg"}),n("v-uni-view",{staticClass:"user-info"},[e.userInfo.avatar?n("v-uni-image",{staticClass:"avatar",attrs:{src:e.userInfo.avatar},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goEdit()}}}):n("v-uni-image",{staticClass:"avatar",attrs:{src:"/static/images/f.png",mode:""},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goEdit()}}}),n("v-uni-view",{staticClass:"info"},[e.userInfo.uid?n("v-uni-view",{staticClass:"name"},[e._v(e._s(e.userInfo.nickname)),e.userInfo.vip?n("v-uni-view",{staticClass:"vip"},[n("v-uni-image",{attrs:{src:e.userInfo.vip_icon,alt:""}}),n("v-uni-view",{staticClass:"vip-txt",staticStyle:{"margin-left":"10rpx"}},[e._v(e._s(e.userInfo.vip_name))])],1):e._e()],1):e._e(),e.userInfo.phone?n("v-uni-view",{staticClass:"num",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goEdit()}}},[n("v-uni-view",{staticClass:"num-txt"},[e._v("ID："+e._s(e.userInfo.uid))]),n("v-uni-view",{staticClass:"icon"},[n("v-uni-image",{attrs:{src:"/static/images/edit.png",mode:""}})],1)],1):e._e(),!e.userInfo.phone&&e.isLogin?n("v-uni-view",{staticClass:"phone",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.bindPhone.apply(void 0,arguments)}}},[e._v("綁定手機號")]):e._e()],1)],1),n("v-uni-view",{staticClass:"num-wrapper"},[n("v-uni-view",{staticClass:"num-item",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goMenuPage("/pages/users/user_goods_collection/index")}}},[n("v-uni-text",{staticClass:"num"},[e._v(e._s(e.userInfo.total_collect_product||0))]),n("v-uni-view",{staticClass:"txt"},[e._v("我的收藏")])],1),0==e.hide_mer_status?n("v-uni-view",{staticClass:"num-item",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goMenuPage("/pages/users/user_store_attention/index")}}},[n("v-uni-text",{staticClass:"num"},[e._v(e._s(e.userInfo.total_collect_store||0))]),n("v-uni-view",{staticClass:"txt"},[e._v("關注品牌")])],1):e._e(),n("v-uni-view",{staticClass:"num-item",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goMenuPage("/pages/users/browsingHistory/index")}}},[n("v-uni-text",{staticClass:"num"},[e._v(e._s(e.userInfo.total_visit_product||0))]),n("v-uni-view",{staticClass:"txt"},[e._v("瀏覽記錄")])],1),n("v-uni-view",{staticClass:"num-item",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goMenuPage("/pages/users/user_coupon/index")}}},[n("v-uni-text",{staticClass:"num"},[e._v(e._s(e.userInfo.total_coupon||0))]),n("v-uni-view",{staticClass:"txt"},[e._v("優惠券")])],1)],1),n("v-uni-view",{staticClass:"right-btn"},[e.userInfo.phone?n("v-uni-view",{staticClass:"iconfont icon-shezhi",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goEdit()}}}):e._e(),n("v-uni-navigator",{staticClass:"btn",attrs:{url:"/pages/chat/customer_list/index?type=0","hover-class":"none"}},[n("v-uni-view",{staticClass:"iconfont icon-xiaoxi"}),e.userInfo.total_unread?n("v-uni-text",{staticClass:"iconnum"},[e._v(e._s(e.userInfo.total_unread))]):e._e()],1)],1)],1)],1),n("v-uni-view",{staticClass:"wrapper"},[n("v-uni-view",{staticClass:"order-wrapper"},[n("v-uni-view",{staticClass:"order-hd flex"},[n("v-uni-view",{staticClass:"left"},[e._v("我的訂單")]),n("v-uni-navigator",{staticClass:"right flex",attrs:{"hover-class":"none",url:"/pages/users/order_list/index","open-type":"navigate"}},[e._v("全部訂單"),n("v-uni-text",{staticClass:"iconfont icon-xiangyou"})],1)],1),n("v-uni-view",{staticClass:"order-bd"},[e._l(e.orderMenu,(function(t,i){return[n("v-uni-navigator",{key:i+"_0",staticClass:"order-item",attrs:{"hover-class":"none",url:t.url}},[n("v-uni-view",{staticClass:"pic"},[n("v-uni-image",{attrs:{src:t.img,mode:""}}),t.num>0?n("v-uni-text",{staticClass:"order-status-num"},[e._v(e._s(t.num))]):e._e()],1),n("v-uni-view",{staticClass:"txt"},[e._v(e._s(t.title))])],1)]}))],2)],1),e.imgUrls.length>0?n("v-uni-view",{staticClass:"slider-wrapper"},[n("v-uni-swiper",{attrs:{"indicator-dots":"true",autoplay:e.autoplay,circular:e.circular,interval:e.interval,duration:e.duration,"indicator-color":"rgba(255,255,255,0.6)","indicator-active-color":"#fff"}},[e._l(e.imgUrls,(function(e,t){return[n("v-uni-swiper-item",[n("v-uni-navigator",{staticClass:"slide-navigator acea-row row-between-wrapper",attrs:{url:e.url,"hover-class":"none"}},[n("v-uni-image",{staticClass:"slide-image",attrs:{src:e.pic}})],1)],1)]}))],2)],1):e._e(),n("v-uni-view",{staticClass:"user-menus",staticStyle:{"margin-top":"20rpx"}},[n("v-uni-view",{staticClass:"title"},[e._v("我的服務")]),e.isLogin?n("v-uni-view",{staticClass:"menu-box"},[1==e.balance_func_status?n("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/users/user_money/index","hover-class":"none"}},[n("v-uni-image",{attrs:{src:"/static/images/user-menu-001.png"}}),n("v-uni-text",[e._v("我的餘額")])],1):e._e(),1==e.is_promoter&&1==e.extension_status?n("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/users/user_spread_user/index","hover-class":"none"}},[n("v-uni-image",{attrs:{src:"/static/images/user_menu11.png"}}),n("v-uni-text",[e._v("分銷推廣")])],1):e._e(),0==e.is_promoter&&1==e.extension_status?n("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/users/distributor/index","hover-class":"none"}},[n("v-uni-image",{attrs:{src:"/static/images/user_menu11.png"}}),n("v-uni-text",[e._v("分銷推廣")])],1):e._e(),e._l(e.MyMenus,(function(t,i){return n("v-uni-view",{key:i,staticClass:"item",on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.goUrl(t.url)}}},[n("v-uni-image",{attrs:{src:t.pic}}),n("v-uni-text",[e._v(e._s(t.name))])],1)})),e.userInfo.service&&1===e.userInfo.service.customer?n("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/admin/order/index","hover-class":"none"}},[n("v-uni-image",{attrs:{src:"/static/images/user-menu-002.png"}}),n("v-uni-text",[e._v("訂單管理")])],1):e._e(),1==e.mer_intention_open&&0==e.hide_mer_status?n("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/store/settled/index","hover-class":"none"}},[n("v-uni-image",{attrs:{src:"/static/images/user-menu-003.png"}}),n("v-uni-text",[e._v("品牌入駐")])],1):e._e(),e.userInfo.service&&e.userInfo.service.is_verify?n("v-uni-navigator",{staticClass:"item",attrs:{"hover-class":"none",url:"/pages/admin/order_cancellation/index"}},[1==e.userInfo.service.is_verify?[n("v-uni-image",{attrs:{src:"/static/images/user_menu10.png"}}),n("v-uni-text",[e._v("訂單核銷")])]:e._e()],2):e._e(),n("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/activity/assist_record/index","hover-class":"none"}},[n("v-uni-image",{attrs:{src:"/static/images/user-menu-004.png"}}),n("v-uni-text",[e._v("助力記錄")])],1),e.userInfo.service?n("v-uni-view",{staticClass:"item",attrs:{"hover-class":"none"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goChat.apply(void 0,arguments)}}},[n("v-uni-image",{attrs:{src:"/static/images/user_menu08.png"}}),n("v-uni-text",[e._v("聯繫客服")])],1):e._e()],2):e._e()],1)],1),n("v-uni-view",{staticClass:"copy-right"},[n("v-uni-view",{staticClass:"iconfont icon-crmeb"}),n("v-uni-view",{staticClass:"text"},[e._v("OZZO 提供技術支持")])],1),n("v-uni-view",{staticStyle:{height:"50rpx"}})],1)},s=[]},f179:function(e,t,n){"use strict";n("4160"),n("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("8fa6"),r=n("2073"),s=n("cdf4"),a=n("9de8"),o=n("2f62"),u=(getApp(),{components:{},computed:(0,o.mapGetters)(["isLogin"]),data:function(){return{orderMenu:[{img:"/static/images/order1.png",title:"待付款",url:"/pages/users/order_list/index?status=0",num:0},{img:"/static/images/order2.png",title:"待發貨",url:"/pages/users/order_list/index?status=1",num:0},{img:"/static/images/order3.png",title:"待收貨",url:"/pages/users/order_list/index?status=2",num:0},{img:"/static/images/order4.png",title:"待評價",url:"/pages/users/order_list/index?status=3",num:0},{img:"/static/images/order5.png",title:"售後/退款",url:"/pages/users/refund/list",num:0}],imgUrls:[],userMenu:[],autoplay:!0,circular:!0,interval:3e3,duration:500,isAuto:!1,isShowAuth:!1,orderStatusNum:{},userInfo:{},MyMenus:[],balance_func_status:0,is_promoter:0,extension_status:0,mer_intention_open:0,hide_mer_status:1}},onLoad:function(){var e=this;(0,a.getconfig)().then((function(t){e.balance_func_status=t.data.balance_func_status,e.mer_intention_open=t.data.mer_intention_open,e.hide_mer_status=t.data.hide_mer_status;try{uni.setStorageSync("SUBSCRIBE_MESSAGE",t.data.tempid)}catch(n){}e.setOpenShare(t.data)})).catch((function(e){}));var t=this;0==t.isLogin&&(0,r.toLogin)()},onReady:function(){var e=this;uni.$on("update",(function(t){e.balance_func_status=t.balance_func_status,e.mer_intention_open=t.mer_intention_open,e.hide_mer_status=t.hide_mer_status}))},mounted:function(){var e=this,t=getApp();this.$nextTick((function(){e.hide_mer_status=t.globalData.hide_mer_status,e.balance_func_status=t.globalData.balance_func_status,e.mer_intention_open=t.globalData.mer_intention_open,e.hide_mer_status=t.globalData.hide_mer_status}))},onShow:function(){var e=this;e.isLogin?(this.getUserInfo(),this.orderNum(),this.getMyMenus()):(0,r.toLogin)()},methods:{goUrl:function(e){uni.navigateTo({url:e})},goChat:function(){var e=this.userInfo.service?1:0;uni.navigateTo({url:"/pages/chat/customer_list/index?type=".concat(e)})},setVisit:function(){(0,i.setVisit)({url:"/pages/user/index"}).then((function(e){}))},openAuto:function(){this.isAuto=!0,this.isShowAuth=!0},onLoadFun:function(){this.getUserInfo(),this.getMyMenus(),this.orderNum(),this.isShowAuth=!1},Setting:function(){uni.openSetting({success:function(e){}})},authColse:function(e){this.isShowAuth=e},bindPhone:function(){uni.navigateTo({url:"/pages/users/user_phone/index"})},getUserInfo:function(){var e=this;(0,i.getUserInfo)().then((function(t){e.userInfo=t.data,e.is_promoter=t.data.is_promoter,e.extension_status=t.data.extension_status}))},orderNum:function(){var e=this;(0,s.orderData)().then((function(t){var n=t.data;e.orderMenu.forEach((function(e,t){switch(e.title){case"待付款":e.num=n.noPay;break;case"待發貨":e.num=n.noPostage;break;case"待收貨":e.num=n.noDeliver;break;case"待評價":e.num=n.noComment;break;case"售後/退款":e.num=n.refund;break}}))}))},getMyMenus:function(){var e=this,t=this;this.MyMenus.length||(0,i.getMenuList)().then((function(n){t.$set(t,"MyMenus",n.data.menu),e.imgUrls=n.data.banner}))},goEdit:function(){uni.navigateTo({url:"/pages/users/user_info/index"})},goSignIn:function(){uni.navigateTo({url:"/pages/users/user_sgin/index"})},goMenuPage:function(e){this.isLogin&&uni.navigateTo({url:e})}}});t.default=u}}]);