(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-index"],{"0c68":function(t,e,i){"use strict";i.r(e);var n=i("cb9d"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"104c":function(t,e,i){"use strict";i.r(e);var n=i("64fb"),a=i("5bfe");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("495d");var s=i("f0c5"),o=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"2e785e93",null,!1,n["a"],void 0);e["default"]=o.exports},"136f":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.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/* 文章场景相关 */.Popup[data-v-2e785e93]{flex:1;align-items:center;justify-content:center;width:%?500?%;background-color:#fff;position:fixed;top:%?500?%;left:%?125?%;z-index:1000;border-radius:8px;overflow:hidden}.Popup .logo-auth[data-v-2e785e93]{z-index:-1;position:absolute;left:50%;top:0;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:%?150?%;height:%?150?%;display:flex;align-items:center;justify-content:center;border:%?8?% solid #fff;border-radius:50%;background:#fff}.Popup .image[data-v-2e785e93]{height:%?42?%;margin-top:%?-54?%}.Popup .title[data-v-2e785e93]{font-size:%?28?%;color:#000;text-align:center;margin-top:%?30?%;align-items:center;justify-content:center;width:%?500?%;display:flex}.Popup .tip[data-v-2e785e93]{font-size:%?22?%;color:#555;padding:0 %?24?%;margin-top:%?25?%;display:flex;align-items:center;justify-content:center}.Popup .bottom .item[data-v-2e785e93]{width:%?250?%;height:%?80?%;background-color:#eee;text-align:center;line-height:%?80?%;margin-top:%?54?%;font-size:%?24?%;color:#666}.Popup .bottom .item .text[data-v-2e785e93]{font-size:%?24?%;color:#666}.Popup .bottom .item.on[data-v-2e785e93]{width:%?500?%}.flex[data-v-2e785e93]{display:flex;flex-direction:row}.Popup .bottom .item.grant[data-v-2e785e93]{font-weight:700;background-color:#e93323;\r\n /* background-color: var(--view-theme); */border-radius:0;padding:0}.Popup .bottom .item.grant .text[data-v-2e785e93]{font-size:%?28?%;color:#fff}.mask[data-v-2e785e93]{position:fixed;top:0;right:0;left:0;bottom:0;background-color:rgba(0,0,0,.65);z-index:99}',""]),t.exports=e},"1e8b":function(t,e,i){"use strict";var n=i("5e2c"),a=i.n(n);a.a},"3e6e":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("d3b7"),i("159b"),i("c975"),i("caad"),i("2532"),i("14d9");var a=n(i("dd85")),r=i("33b4"),s=i("cc48"),o=i("736a"),u=i("26cb"),c=n(i("104c")),d=n(i("4bdd")),l=(n(i("a040")),i("5315")),f=(n(i("1ba1")),i("3093")),h=uni.getSystemInfoSync().statusBarHeight+"px",p=(getApp(),{components:{authorize:c.default,mTabbar:a.default},computed:(0,l.configMap)({mer_intention_open:0,hide_mer_status:1,recharge_switch:0,integral_status:0,member_status:0,balance_func_status:0,svip_switch_status:0,navigation:{}},(0,u.mapGetters)(["isLogin","viewColor","keyColor"])),filters:{dateFormat:function(t){return(0,d.default)(1e3*t).format("YYYY-MM-DD")}},data:function(){return{isWeixin:this.$wechat.isWeixin(),domain:f.HTTP_REQUEST_URL,showSkeleton:!0,isNodes:0,orderMenu:[{icon:"icon-daifukuan1",title:"待付款",url:"/pages/users/order_list/index?status=0",num:0},{icon:"icon-daifahuo1",title:"待发货",url:"/pages/users/order_list/index?status=2",num:0},{icon:"icon-daishouhuo1",title:"待收货",url:"/pages/users/order_list/index?status=3",num:0},{icon:"icon-daipingjia1",title:"待评价",url:"/pages/users/order_list/index?status=4",num:0},{icon:"icon-a-shouhoutuikuan1",title:"售后/退款",url:"/pages/users/refund/list",num:0}],imgUrls:[{url:"",pic:""}],userMenu:[],skeletonMenu:[],personalMenu:[{pic:"",name:"",isShow:!0},{pic:"",name:"",isShow:!0},{pic:"",name:"",isShow:!0},{pic:"",name:"",isShow:!0},{pic:"",name:"",isShow:!0},{pic:"",name:"",isShow:!0},{pic:"",name:"",isShow:!0},{pic:"",name:"",isShow:!0},{pic:"",name:"",isShow:!0},{pic:"",name:"",isShow:!0},{pic:"",name:"",isShow:!0},{pic:"",name:"",isShow:!0}],autoplay:!0,circular:!0,interval:3e3,duration:500,isAuto:!1,isShowAuth:!1,orderStatusNum:{},userInfo:{aratar:"/static/f.png"},MyMenus:[],is_promoter:0,extension_status:0,copyright:{copyright_status:1},newData:{},activeRouter:"",sysHeight:h,appVersion:""}},onLoad:function(){this.appVersion="V "+uni.getSystemInfoSync().appVersion,"prod"!=f.ENV&&(this.appVersion+=" Beta")},onReady:function(){this.isNodes++},mounted:function(){this.getVersion()},onShow:function(){var t=this,e=getCurrentPages(),i=e[e.length-1].route;this.activeRouter="/"+i,this.getNav(),this.getConfigData(),this.isLogin?(this.getUserInfo(),this.orderNum()):(this.userInfo={},this.orderMenu.forEach((function(t){t.num=0})),this.getMyMenus()),setTimeout((function(){t.showSkeleton=!1}),500)},methods:{authTo:function(t){this.isLogin?uni.navigateTo({url:t}):this.openAuto()},goRouter:function(t){var e=getCurrentPages(),i=e[e.length-1].$page.fullPath;t.link!=i&&uni.switchTab({url:t.link,fail:function(e){uni.redirectTo({url:t.link})}})},getNav:function(){this.newData=this.navigation},toService:function(t){uni.navigateTo({url:"/pages/admin/business/index?is_sys="+t})},getVersion:function(){var t=this;(0,s.getVersion)().then((function(e){t.copyright=e.data}))},filterMenus:function(t){"/pages/users/user_money/index"==t.url?t.isShow=!0:"/pages/users/user_spread_user/index"==t.url?0==this.extension_status?t.isShow=!1:1==this.extension_status&&(1==this.is_promoter?t.isShow=1==this.is_promoter&&1==this.extension_status:0==this.is_promoter&&(t.isShow=0==this.is_promoter&&1==this.extension_status,t.url="/pages/users/distributor/index")):"/pages/store/settled/index"==t.url?t.isShow=1==this.mer_intention_open:"/pages/users/user_grade/index"==t.url?t.isShow=1==this.member_status:"/pages/users/user_integral/index"==t.url?t.isShow=1==this.integral_status:t.isShow=!0},showMenu:function(t){return!t||-1===["integral","service","admin_order","verify_order","intention","promoter","balance"].indexOf(t)},goUrl:function(t){-1!=t.indexOf("http")?location.href=t:-1==["/pages/goods_cate/goods_cate","/pages/order_addcart/order_addcart","/pages/user/index","/pages/plant_grass/index"].indexOf(t)?uni.navigateTo({url:t}):uni.switchTab({url:t})},goChat:function(){var t=this.userInfo.service?1:0;uni.navigateTo({url:"/pages/chat/customer_list/index?type=".concat(t)})},setVisit:function(){(0,r.setVisit)({url:"/pages/user/index"}).then((function(t){}))},openAuto:function(){this.isAuto=!0,this.isShowAuth=!0},onLoadFun:function(t){this.getUserInfo(),this.getMyMenus(),this.orderNum(),this.isShowAuth=!1},Setting:function(){uni.openSetting({success:function(t){}})},authColse:function(t){this.isShowAuth=t},bindPhone:function(){uni.navigateTo({url:"/pages/users/user_phone/index"})},getUserInfo:function(){var t=this;(0,r.getUserInfo)().then((function(e){t.userInfo=e.data,t.userInfo.svip_open=!0,t.userInfo.vip_status=2,t.is_promoter=e.data.is_promoter,t.extension_status=e.data.extension_status,t.getMyMenus(),t.$store.commit("SET_USERINFO",t.userInfo)}))},orderNum:function(){var t=this;(0,o.orderData)({source:103}).then((function(e){var i=e.data;t.orderMenu.forEach((function(t,e){switch(t.title){case"待付款":t.num=i.noPay;break;case"待发货":t.num=i.noPostage;break;case"待收货":t.num=i.noDeliver;break;case"待评价":t.num=i.noComment;break;case"售后/退款":t.num=i.refund;break}}))}))},getMyMenus:function(){var t=this,e=this;this.MyMenus.length||(0,r.getMenuList)().then((function(i){e.personalMenu=[],i.data.menu.forEach((function(i,n){e.filterMenus(i);var a=[],r=!1,s=i.url.split("?");s[1]&&(a=s[1].split("&")),a.forEach((function(e){var i=e.split("=");if(i.length>1&&"type_code"==i[0]){var n=i[1].split(",");n.includes(t.$store.state.app.userInfo.mer_info.type_code)||(r=!0)}})),r||e.personalMenu.push(i)})),e.imgUrls=i.data.banner}))},goEdit:function(){this.isLogin?uni.navigateTo({url:"/pages/users/user_info/index"}):this.openAuto()},goSetting:function(){this.isLogin?uni.navigateTo({url:"/pages/users/user_setting/index"}):this.openAuto()},goSignIn:function(){uni.navigateTo({url:"/pages/users/user_sgin/index"})},goMenuPage:function(t){this.isLogin?uni.navigateTo({url:t}):this.openAuto()},getConfigData:function(){var t=this;(0,s.getconfig)().then((function(e){uni.$emit("update",e.data),t.$store.commit("GLOBAL_DATA",e.data)})).catch((function(t){}))}}});e.default=p},"43d5":function(t,e,i){"use strict";i.r(e);var n=i("3e6e"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"495d":function(t,e,i){"use strict";var n=i("4a59"),a=i.n(n);a.a},"4a59":function(t,e,i){var n=i("136f");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("6b12986a",n,!0,{sourceMap:!1,shadowMode:!1})},"4bdd":function(t,e,i){var n,a,r=i("7037").default;i("a9e3"),i("ac1f"),i("5319"),i("00b4"),i("466d"),i("d401"),i("d3b7"),i("25f0"),i("fb6a"),i("f4b3"),i("bf19"),function(s,o){"object"==r(e)&&"undefined"!=typeof t?t.exports=o():(n=o,a="function"===typeof n?n.call(e,i,e,t):n,void 0===a||(t.exports=a))}(0,(function(){"use strict";var t="millisecond",e="second",i="minute",n="hour",a="day",s="week",o="month",u="quarter",c="year",d=/^(\d{4})-?(\d{1,2})-?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d{1,3})?$/,l=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(t,e,i){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(i)+t},h={s:f,z:function(t){var e=-t.utcOffset(),i=Math.abs(e),n=Math.floor(i/60),a=i%60;return(e<=0?"+":"-")+f(n,2,"0")+":"+f(a,2,"0")},m:function(t,e){var i=12*(e.year()-t.year())+(e.month()-t.month()),n=t.clone().add(i,o),a=e-n<0,r=t.clone().add(i+(a?-1:1),o);return Number(-(i+(e-n)/(a?n-r:r-n))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(r){return{M:o,y:c,w:s,d:a,D:"date",h:n,m:i,s:e,ms:t,Q:u}[r]||String(r||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},p={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},v="en",g={};g[v]=p;var m=function(t){return t instanceof y},b=function(t,e,i){var n;if(!t)return v;if("string"==typeof t)g[t]&&(n=t),e&&(g[t]=e,n=t);else{var a=t.name;g[a]=t,n=a}return!i&&n&&(v=n),n||!i&&v},w=function(t,e){if(m(t))return t.clone();var i="object"==r(e)?e:{};return i.date=t,i.args=arguments,new y(i)},x=h;x.l=b,x.i=m,x.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,$offset:e.$offset})};var y=function(){function r(t){this.$L=this.$L||b(t.locale,null,!0),this.parse(t)}var f=r.prototype;return f.parse=function(t){this.$d=function(t){var e=t.date,i=t.utc;if(null===e)return new Date(NaN);if(x.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(d);if(n)return i?new Date(Date.UTC(n[1],n[2]-1,n[3]||1,n[4]||0,n[5]||0,n[6]||0,n[7]||0)):new Date(n[1],n[2]-1,n[3]||1,n[4]||0,n[5]||0,n[6]||0,n[7]||0)}return new Date(e)}(t),this.init()},f.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},f.$utils=function(){return x},f.isValid=function(){return!("Invalid Date"===this.$d.toString())},f.isSame=function(t,e){var i=w(t);return this.startOf(e)<=i&&i<=this.endOf(e)},f.isAfter=function(t,e){return w(t)0?[]:t.map((function(t){return t.iconPath&&(t.iconPath=o(t.iconPath,"/")),t.pagePath&&(t.pagePath=o(t.pagePath,"/")),t.selectedIconPath&&(t.selectedIconPath=o(t.selectedIconPath,"/")),t}))}(t):[]},borderStyle:function(){this.reload;var t=this.tabbarConfig.borderStyle;return t},tabbarBoxStyle:function(){var t=this.zIndex;this.reload;return s({"z-index":t})},tabbarFillStyle:function(){var t=this.tabbarHeight;this.safeBottom,this.reload;return s({height:"".concat(t,"rpx")})},tabbarStyle:function(){this.tabbarHeight,this.reload;var t=this.tabbarConfig.backgroundColor;return s({"background-color":t||"#fff"})},tabbarItemStyle:function(){var t=this.currentIndex,e=(this.reload,this.tabbarConfig),i=e.color,n=e.selectedColor;return s({color:t?n:i})}},mounted:function(){this.initTabbar(),this.getTabbarHeight()},methods:{getTabbarHeight:function(){var t=uni.getSystemInfoSync(),e=(0,a.default)((0,a.default)({},t),{},{tabbarH:50,tabbarPaddingB:0,device:-1!=t.system.indexOf("iOS")?"iOS":"Android"}),i=t.model;i&&["10,3","10,6","X","XR","XS","11","12","13","14","15","16"].forEach((function(t){-1==i.indexOf(t)||-1==i.indexOf("iPhone")&&-1==i.indexOf("iphone")||(e.tabbarH=70,e.tabbarPaddingB=20)})),this.systemInfo=e},initTabbar:function(){var t=this,e=this.current,i=(this.fill,this.native),n=this.tabbarList;if(this.currentIndex=1*e,i){var a="/".concat(getCurrentPages()[0].route),r=n.findIndex((function(t){return t.pagePath===a}));this.currentIndex=r,n.length>0&&uni.hideTabBar()}setTimeout((function(){t.isShowTabBar=!0}))},reLoad:function(){var t=this;this.reload=!0,setTimeout((function(){t.reload=!1}))},checkMaxIndex:function(t){return!!this.tabbarConfig.list[t]},setTabBarBadge:function(t){var e=t.index,i=t.text;this.checkMaxIndex(e)&&(this.tabbarConfig.list[e].dot=i,this.reLoad())},setTabBarItem:function(t){var e=t.index,i=t.text,n=t.pagePath,a=t.iconPath,r=t.selectedIconPath,s=this.tabbarConfig.list[e].pagePath;this.checkMaxIndex(e)&&(this.tabbarConfig.list[e]={pagePath:n||s,text:i,iconPath:a,selectedIconPath:r},this.reLoad())},showTabBar:function(){this.isShowTabBar=!0},hideTabBar:function(){this.isShowTabBar=!1},tabChange:function(t){var e=this.currentIndex;this.$emit("click",t),t!==e?(this.beforeData={newIndex:t,oldIndex:e,next:this.jumpPage},this.beforeChange?this.beforeChange(this.jumpPage):this.jumpPage()):3===t&&uni.$emit("resetLocation")},jumpPage:function(){var t=this.native,e=this.beforeData,i=this.tabbarList,n=e.newIndex,a=i[n],r=a.pagePath,s=a.openType;if(r)if(t)uni.switchTab({url:r});else switch(this.currentIndex=n,s){case"navigate":uni.navigateTo({url:r});break;case"redirect":uni.redirectTo({url:r});break;case"reLaunch":uni.reLaunch({url:r});break;case"switchTab":uni.switchTab({url:r});break;case"navigateBack":uni.navigateBack({delta:1});break;default:uni.reLaunch({url:r})}this.$emit("change",n)}}};e.default=u},d4e32:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{style:t.viewColor},[i("skeleton",{ref:"skeleton",attrs:{show:t.showSkeleton,isNodes:t.isNodes,loading:"chiaroscuro",selector:"skeleton",bgcolor:"transparent"}}),i("v-uni-view",{staticClass:"top"}),i("v-uni-view",{staticClass:"new-users skeleton",style:{visibility:t.showSkeleton?"hidden":"visible"}},[i("v-uni-view",{staticClass:"head"},[i("v-uni-view",{staticClass:"user-card",class:t.userInfo.svip_open&&1==t.svip_switch_status?"svip-card":"",staticStyle:{"padding-bottom":"0"}},[i("v-uni-view",{staticClass:"bg"}),i("v-uni-view",{staticClass:"user-info"},[i("v-uni-view",{staticClass:"avatar-box",class:{on:t.userInfo.is_svip>0&&1==t.svip_switch_status}},[i("v-uni-image",{staticClass:"avatar skeleton-radius",attrs:{src:t.userInfo.avatar?t.userInfo.avatar:"/static/images/f.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goEdit.apply(void 0,arguments)}}}),t.userInfo.is_svip>0&&1==t.svip_switch_status?i("v-uni-view",{staticClass:"headwear"},[i("v-uni-image",{attrs:{src:"/static/images/headwear.png"}})],1):t._e()],1),i("v-uni-view",{staticClass:"info"},[t.userInfo.uid?t._e():i("v-uni-view",{staticClass:"name",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openAuto.apply(void 0,arguments)}}},[t.isWeixin?i("v-uni-text",[t._v("请点击授权")]):i("v-uni-text",[t._v("请点击登录")])],1),t.userInfo.uid?i("v-uni-view",{staticClass:"name"},[t._v(t._s(t.userInfo.nickname)),t.member_status?i("v-uni-image",{staticClass:"level_icon",attrs:{src:t.userInfo.member_icon,alt:""}}):t._e(),t.userInfo.is_svip>0&&1==t.svip_switch_status?i("v-uni-view",{staticClass:"vip"},[i("v-uni-image",{attrs:{src:"/static/images/svip.png"}})],1):t._e()],1):t._e(),t.userInfo.phone?i("v-uni-view",{staticClass:"num",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goEdit()}}},[i("v-uni-view",{staticClass:"num-txt"},[t._v("ID:"+t._s(t.userInfo.uid))]),i("v-uni-view",{staticClass:"icon"},[i("v-uni-image",{attrs:{src:"/static/images/edit.png",mode:""}})],1)],1):t._e(),!t.userInfo.phone&&t.isLogin?i("v-uni-view",{staticClass:"phone",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.bindPhone.apply(void 0,arguments)}}},[t._v("绑定手机号")]):t._e()],1)],1),i("v-uni-view",{staticClass:"packet_card"},[i("v-uni-view",{staticClass:"p_d_item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.authTo("/pages/users/user_money/index")}}},[i("v-uni-view",{staticClass:"p_d_count",staticStyle:{"font-size":"34rpx"}},[i("v-uni-image",{attrs:{src:"https://lihai001.oss-cn-chengdu.aliyuncs.com/def/e41f4202401201745498894.png"}}),i("v-uni-view",[t._v("我的余额 (元)")])],1)],1),i("v-uni-view",{staticClass:"p_d_item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.authTo("/pages/users/user_money/index")}}},[i("v-uni-view",{staticClass:"p_d_count",staticStyle:{"font-size":"36rpx"}},[i("v-uni-view",[t._v("¥"+t._s(t.userInfo.now_money||"0.00"))])],1)],1)],1),t.userInfo.svip_open&&1==t.svip_switch_status?i("v-uni-navigator",{staticClass:"cardVipA acea-row row-between-wrapper",attrs:{"hover-class":"none",url:t.userInfo.is_svip>0?"/pages/annex/vip_center/index":"/pages/annex/vip_paid/index"}},[i("v-uni-image",{staticClass:"svip_user",attrs:{src:"/static/images/svip_user.png"}}),i("v-uni-view",{staticClass:"left-box"},[t.userInfo.is_svip>0?i("v-uni-view",{staticClass:"small"},[t._v("累计为您节省"+t._s(t.userInfo.svip_save_money)+"元")]):t.userInfo.is_svip<=0?i("v-uni-view",{staticClass:"small"},[t._v("开通享六大特权,省钱又省心")]):t._e()],1),i("v-uni-view",{staticClass:"acea-row row-middle"},[i("v-uni-view",{staticClass:"btn-open"},[t._v(t._s(t.userInfo.is_svip>0?"立即续费":"立即开通"))])],1)],1):t._e(),i("v-uni-view",{staticClass:"right-btn"},[t.isLogin?i("v-uni-view",{staticClass:"iconfont icon-shezhi",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goSetting()}}}):t._e(),i("v-uni-view",{staticClass:"btn",attrs:{"hover-class":"none"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.authTo("/pages/chat/customer_list/index?type=0")}}},[i("v-uni-view",{staticClass:"iconfont icon-xiaoxi"}),t.userInfo.total_unread?i("v-uni-text",{staticClass:"iconnum"},[t._v(t._s(t.userInfo.total_unread))]):t._e()],1)],1)],1)],1),i("v-uni-view",{staticClass:"wrapper"},[i("v-uni-view",{staticClass:"order-wrapper"},[i("v-uni-view",{staticClass:"order-hd flex skeleton-rect"},[i("v-uni-view",{staticClass:"left"},[t._v("我的订单")]),i("v-uni-view",{staticClass:"right flex",attrs:{"hover-class":"none","open-type":"navigate"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.authTo("/pages/users/order_list/index?status=-1&product_type=0")}}},[t._v("全部订单"),i("v-uni-text",{staticClass:"iconfont icon-xiangyou"})],1)],1),i("v-uni-view",{staticClass:"order-bd"},[t._l(t.orderMenu,(function(e,n){return[i("v-uni-view",{key:n+"_0",staticClass:"order-item",attrs:{"hover-class":"none"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.authTo(e.url)}}},[i("v-uni-view",{staticClass:"pic"},[i("v-uni-text",{staticClass:"iconfont",class:e.icon}),e.num>0?i("v-uni-text",{staticClass:"order-status-num"},[t._v(t._s(e.num))]):t._e()],1),i("v-uni-view",{staticClass:"txt skeleton-rect"},[t._v(t._s(e.title))])],1)]}))],2)],1),t.imgUrls.length>0?i("v-uni-view",{staticClass:"slider-wrapper skeleton-rect"},[i("v-uni-swiper",{attrs:{"indicator-dots":"true",autoplay:t.autoplay,circular:t.circular,interval:t.interval,duration:t.duration,"indicator-color":"rgba(255,255,255,0.6)","indicator-active-color":"#fff"}},[t._l(t.imgUrls,(function(e,n){return[i("v-uni-swiper-item",[i("v-uni-view",{staticClass:"slide-navigator acea-row row-between-wrapper",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goUrl(e.url)}}},[i("v-uni-image",{staticClass:"slide-image",attrs:{src:e.pic}})],1)],1)]}))],2)],1):t._e(),i("v-uni-view",{staticClass:"user-menus",staticStyle:{"margin-top":"20rpx"}},[i("v-uni-view",{staticClass:"title skeleton-rect"},[t._v("我的服务")]),i("v-uni-view",{staticClass:"menu-box"},[t._l(t.personalMenu,(function(e,n){return[e.isShow?i("v-uni-view",{key:n+"_0",staticClass:"item"},[i("v-uni-view",{staticClass:"item-count",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.authTo(e.url)}}},[t.showSkeleton?i("v-uni-image",{staticClass:"skeleton_image skeleton-radius"}):i("v-uni-image",{attrs:{src:e.pic}}),i("v-uni-text",[t._v(t._s(e.name))])],1)],1):t._e()]}))],2)],1),!t.userInfo.service&&t.userInfo.topService?i("v-uni-view",{staticClass:"menus-list-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toService(1)}}},[i("v-uni-view",{staticClass:"item-text"},[i("v-uni-view",{staticClass:"title"},[i("v-uni-text",{staticClass:"plantform"},[t._v("平台")]),t._v("管理")],1),i("v-uni-view",{staticClass:"info"},[t._v("进入平台客服中心")])],1),i("v-uni-view",{staticClass:"image plantform-image"})],1):t._e(),t.userInfo.topService&&t.userInfo.service?i("v-uni-view",{staticClass:"menu-list-count"},[i("v-uni-view",{staticClass:"menu-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toService(0)}}},[i("v-uni-view",{staticClass:"image merchant-image"}),i("v-uni-view",{staticClass:"menu-text"},[i("v-uni-view",{staticClass:"title"},[i("v-uni-text",{staticClass:"merchant"},[t._v("商家")]),t._v("管理")],1),i("v-uni-view",{staticClass:"info"},[t._v("进入商家管理中心")])],1)],1),i("v-uni-view",{staticClass:"menu-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toService(1)}}},[i("v-uni-view",{staticClass:"menu-text"},[i("v-uni-view",{staticClass:"title"},[i("v-uni-text",{staticClass:"plantform"},[t._v("平台")]),t._v("管理")],1),i("v-uni-view",{staticClass:"info"},[t._v("进入平台客服中心")])],1),i("v-uni-view",{staticClass:"image plantform-image"})],1)],1):t._e()],1),-1!==t.copyright.status?i("v-uni-view",{staticClass:"copy-right"},[i("v-uni-image",{staticClass:"img-copyright",attrs:{src:t.copyright.image,mode:"widthFix"}}),i("v-uni-view",{staticClass:"text"},[t._v(t._s(t.copyright.Copyright))]),i("v-uni-view",{},[t._v("备案号:蜀ICP备2022030133号-2A")]),i("v-uni-view",{},[t._v("增值电信营业许可证号:川B2-20221250")]),i("v-uni-view",{staticStyle:{"margin-top":"10rpx"}},[t._v(t._s(t.appVersion))])],1):t._e(),i("v-uni-view",{staticStyle:{height:"50rpx"}}),i("authorize",{attrs:{isAuto:t.isAuto,isShowAuth:t.isShowAuth,isGoIndex:!1},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)}}})],1),t.newData.status&&t.newData.status.status?i("v-uni-view",{staticClass:"foot"},[i("v-uni-view",{staticClass:"page-footer",style:{"background-color":t.newData.bgColor.color[0].item},attrs:{id:"target"}},t._l(t.newData.menuList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"foot-item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goRouter(e)}}},[e.link==t.activeRouter?[i("v-uni-image",{attrs:{src:e.imgList[0]}}),i("v-uni-view",{staticClass:"txt",style:{color:t.newData.activeTxtColor.color[0].item}},[t._v(t._s(e.name))])]:[i("v-uni-image",{attrs:{src:e.imgList[1]}}),i("v-uni-view",{staticClass:"txt",style:{color:t.newData.txtColor.color[0].item}},[t._v(t._s(e.name))])]],2)})),1)],1):t._e()],1)},a=[]},d711:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.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/* 文章场景相关 */.m-tabbar-box[data-v-4ee4aae5]{position:relative;z-index:9999}.m-tabbar[data-v-4ee4aae5]{position:relative}.m-tabbar.fixed[data-v-4ee4aae5]{position:fixed;bottom:0;left:0;width:100vw}.m-tabbar__fill[data-v-4ee4aae5]{pointer-events:none;opacity:0}.m-tabbar__flex[data-v-4ee4aae5]{display:flex;flex-direction:row}.m-tabbar__border[data-v-4ee4aae5]{background-color:rgba(0,0,0,.33);width:100%;height:%?1?%;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.m-tabbar__item[data-v-4ee4aae5]{display:flex;flex-direction:column;align-items:center;flex:1;padding:4px 0 2px}.m-tabbar__icon[data-v-4ee4aae5]{width:%?48?%;height:%?48?%;margin-bottom:%?6?%;position:relative}.m-tabbar__icon_img[data-v-4ee4aae5]{display:block;width:100%;height:100%}.m-tabbar__icon .m-tabbar__badge[data-v-4ee4aae5]{color:#fff;background-color:red;border-radius:%?20?%;font-size:%?22?%;position:absolute;right:%?-25?%;left:%?40?%;padding:%?2?% 0;width:100%;text-align:center;white-space:nowrap}.m-tabbar__label[data-v-4ee4aae5]{font-size:%?24?%}',""]),t.exports=e},dd85:function(t,e,i){"use strict";i.r(e);var n=i("8d87"),a=i("0c68");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("6f21");var s=i("f0c5"),o=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"4ee4aae5",null,!1,n["a"],void 0);e["default"]=o.exports},e40c:function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("5530")),r=(n(i("a040")),i("cc48"),i("8a31"),i("26cb")),s=(n(i("8afb")),i("5315")),o=(n(i("1ba1")),i("5eb1")),u=(getApp(),{name:"Authorize",props:{isAuto:{type:Boolean,default:!0},isGoIndex:{type:Boolean,default:!0},isShowAuth:{type:Boolean,default:!1}},components:{},data:function(){return{title:"用户登录",info:"请登录,将为您提供更好的服务!",isWeixin:this.$wechat.isWeixin(),canUseGetUserProfile:!1,code:null,top:0,mp_is_new:this.$Cache.get("MP_VERSION_ISNEW")||!1,editModal:!1}},computed:(0,a.default)((0,a.default)({},(0,r.mapGetters)(["isLogin","userInfo","viewColor"])),(0,s.configMap)(["routine_logo"])),watch:{isLogin:function(t){!0===t&&this.$emit("onLoadFun",this.userInfo)},isShowAuth:function(t){this.getCode(this.isShowAuth)}},created:function(){this.top=uni.getSystemInfoSync().windowHeight/2-70,wx.getUserProfile&&(this.canUseGetUserProfile=!0),this.setAuthStatus(),this.getCode(this.isShowAuth)},methods:{setAuthStatus:function(){},getCode:function(t){t&&(this.code=1)},toWecahtAuth:function(){(0,o.toLogin)(!0)},getUserProfile:function(){(0,o.toLogin)(!0),uni.navigateTo({url:"/pages/users/login/login_copy"})},close:function(){var t=getCurrentPages();t[t.length-1];this.$emit("authColse",!1),this.isGoIndex?uni.switchTab({url:"/pages/index/index"}):this.$emit("authColse",!1)}}});e.default=u},f4b3:function(t,e,i){"use strict";var n=i("23e7"),a=i("d039"),r=i("7b0b"),s=i("c04e"),o=a((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}));n({target:"Date",proto:!0,arity:1,forced:o},{toJSON:function(t){var e=r(this),i=s(e,"number");return"number"!=typeof i||isFinite(i)?e.toISOString():null}})},f9a4:function(t,e,i){var n=i("d711");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("cd31d5a6",n,!0,{sourceMap:!1,shadowMode:!1})}}]);