| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["login-login-login_page"],{"04b8":function(e,t,n){"use strict";var a=n("51b5"),o=n.n(a);o.a},"07a6":function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var a={uPopup:n("650d").default},o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("u-popup",{attrs:{"safe-area-inset-bottom":!0,mode:"bottom","z-index":124,"mask-close-able":!1,"border-radius":"24"},model:{value:e.showPopup,callback:function(t){e.showPopup=t},expression:"showPopup"}},[n("v-uni-view",{class:["pop",e.className]},[n("v-uni-view",{staticClass:"title"},[e._v(e._s(e.title))]),n("v-uni-view",{staticClass:"des"},[e._v(e._s(e.desc1)),n("v-uni-text",{staticClass:"link",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.openPrivacyContract.apply(void 0,arguments)}}},[e._v(e._s(e.urlTitle))]),e._v(e._s(e.desc2))],1),n("v-uni-view",{staticClass:"btn"},[n("v-uni-button",{staticClass:"btn1",attrs:{id:"disagree-btn",type:"default"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.handleDisagree.apply(void 0,arguments)}}},[e._v("不同意")]),n("v-uni-button",{staticClass:"btn2",attrs:{id:"agree-btn",type:"default","open-type":"agreePrivacyAuthorization"},on:{agreeprivacyauthorization:function(t){arguments[0]=t=e.$handleEvent(t),e.agreeprivacyauthorization.apply(void 0,arguments)}}},[e._v("同意并继续")])],1)],1)],1)},i=[]},"15fb":function(e,t,n){"use strict";var a=n("4efa"),o=n.n(a);o.a},"1a3a":function(e,t,n){"use strict";n.r(t);var a=n("7c74"),o=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=o.a},"1cc0":function(e,t,n){"use strict";n.r(t);var a=n("cdd9"),o=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=o.a},"1d01":function(e,t,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n("9b1b")),i=a(n("2634")),r=a(n("2fdc"));n("d4b5"),n("5c47"),n("0506"),n("7a76"),n("c9b5");var s=n("7973"),c=n("63a9"),u=a(n("660a")),l={data:function(){return{active:!1,statusBar:0,phone:null,visiable:!0,mobile:"",sms_code:"",tips:"获取验证码",is_isv:"getPhoneNumber",scope:"phoneNumber",WeChat:{avatar_url:"",nickname:""},isSubmit:!0,encryptedData:null,checked:!1,login_use_mobile:1,enforce_bind_parent:0,is_exist_user:0,access_token:"",codeUserInfo:{},popShow:!1}},components:{BindRelation:u.default},created:function(){},computed:{login_name:function(){},current_env:function(){},noLoginTabarPath:function(){return this.$store.getters.noLoginTabarPath},routeType:function(){return this.$store.getters.routeType}},methods:{toutiaoSubmit:function(){this.verification()&&(this.access_token?this.afterLogin({msg:"登录成功",data:this.codeUserInfo}):this.$utils.toUrl("/user/my/mobile?params=".concat(encodeURIComponent(JSON.stringify({noLoginTabarPath:this.noLoginTabarPath,routeType:this.routeType,nickname:this.WeChat.nickname,avatar_url:this.WeChat.avatar_url})))))},ttUserInfo:function(e){var t=this;if(!this.checked)return uni.showToast({title:"请同意服务条约及隐私协议",icon:"none",duration:1e3}),!1;tt.getUserProfile({success:function(e){var n=e.userInfo;t.WeChat={nickname:n.nickName,avatar_url:n.avatarUrl},t.toutiaoSubmit()}})},checkPhoto:function(){var e=this;this.$utils.uploadImage(1,(function(t){e.WeChat.avatar_url=t}))},onChooseAvatar:function(e){var t=this,n=e.detail.avatarUrl;this.$http.UPLOAD_IMAGE(n,(function(e){0==e.code?t.WeChat.avatar_url=e.url:uni.showToast({title:e.msg,icon:"none",duration:2e3})}))},getUserNameAvatar:function(e){var t=this;uni.login({success:function(){var e=(0,r.default)((0,i.default)().mark((function e(n){var a,o,r,c,u,l,d,p;return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,s.passportCode)({code:n.code});case 2:if(a=e.sent,!a.code&&a.data){e.next=5;break}return e.abrupt("return");case 5:o=a.data,r=o.avatar_url,c=o.nickname,u=o.login_use_mobile,l=o.enforce_bind_parent,d=o.is_exist_user,p=o.access_token,"toutiao"==t.current_env&&(t.codeUserInfo=a.data),t.access_token=p,t.WeChat={avatar_url:r||"",nickname:c||""},t.login_use_mobile=u,t.enforce_bind_parent=l,t.is_exist_user=d;case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),complete:function(){t.$utils.checkWxSession()}})},onSmsLogin:function(){var e=this;return(0,r.default)((0,i.default)().mark((function t(){var n,a,o;return(0,i.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.checked){t.next=3;break}return e.popShow=!0,t.abrupt("return",!1);case 3:if(e.mobile){t.next=6;break}return uni.showToast({title:"请输入手机号",icon:"none",duration:1e3}),t.abrupt("return",!1);case 6:if(e.$u.test.mobile(e.mobile)){t.next=9;break}return uni.showToast({title:"手机号格式不正确",icon:"none",duration:1e3}),t.abrupt("return",!1);case 9:if(e.sms_code){t.next=12;break}return uni.showToast({title:"请输入验证码",icon:"none",duration:1e3}),t.abrupt("return",!1);case 12:return t.prev=12,n=uni.getStorageSync("parent_user_id"),a=uni.getStorageSync("page_type"),t.next=17,e.$allrequest.user.user_login({phone:e.mobile,verify_code:e.sms_code,share_user_id:n||0,_platform:"phone",page_type:a,login_type:1},!0);case 17:o=t.sent,0==o.code?(e,uni.setStorageSync("token",o.data.access_token),uni.setStorageSync("session_key",o.data.session_key)):uni.showToast({title:o.msg,icon:"none",duration:1e3}),t.next=25;break;case 21:t.prev=21,t.t0=t["catch"](12),uni.hideLoading(),uni.showToast({title:"登录失败",icon:"none",duration:1e3});case 25:case"end":return t.stop()}}),t,null,[[12,21]])})))()},codeChange:function(e){var t=this,n=e;this.tips=n+"秒";var a=setInterval((function(){n--,n<=1?(clearInterval(a),t.tips="获取验证码"):t.tips=n+"秒"}),1e3)},getCode:function(){var e=this;return(0,r.default)((0,i.default)().mark((function t(){var n,a;return(0,i.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.mobile){t.next=2;break}return t.abrupt("return",e.$u.toast("请输入手机号"));case 2:if(e.$u.test.mobile(e.mobile)){t.next=4;break}return t.abrupt("return",e.$u.toast("手机号格式不正确"));case 4:if("获取验证码"==e.tips){t.next=6;break}return t.abrupt("return");case 6:return n={phone:e.mobile,code_type:"login"},t.prev=7,uni.showLoading({title:"发送中"}),t.next=11,e.$allrequest.user.sms_code(n);case 11:if(a=t.sent,0==a.code){t.next=14;break}throw new Error(a);case 14:e.codeChange(60),uni.hideLoading(),t.next=22;break;case 18:t.prev=18,t.t0=t["catch"](7),uni.hideLoading(),e.$u.toast(t.t0.msg||e.$t("user.err"));case 22:case"end":return t.stop()}}),t,null,[[7,18]])})))()},toBind:function(e){},appWeixinLogin:function(e){var t=this;return(0,r.default)((0,i.default)().mark((function n(){var a;return(0,i.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,t.$allrequest.user.user_login((0,o.default)((0,o.default)({},e),{},{user_info:e.userInfo,_platform:"app"}));case 3:a=n.sent,uni.showToast({title:a.msg,icon:"none",duration:1e3}),setTimeout((function(){t.afterLogin(a)}),1e3),n.next=10;break;case 8:n.prev=8,n.t0=n["catch"](0);case 10:case"end":return n.stop()}}),n,null,[[0,8]])})))()},weiXinLogin:function(e,t){var n=this;return(0,r.default)((0,i.default)().mark((function a(){var r,s;return(0,i.default)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,r=uni.getStorageSync(""),a.next=4,n.$allrequest.user.user_login((0,o.default)((0,o.default)({},e),{},{user_info:e.userInfo,encrypted_data:e.encryptedData,_platform:"wx",share_user_id:r||0,code:t}));case 4:s=a.sent,uni.showToast({title:s.msg,icon:"none",duration:1e3}),setTimeout((function(){n.afterLogin(s)}),1e3),a.next=11;break;case 9:a.prev=9,a.t0=a["catch"](0);case 11:case"end":return a.stop()}}),a,null,[[0,9]])})))()},newWeiXinLogin:function(e,t){var n=this;return(0,r.default)((0,i.default)().mark((function a(){var r,s,c;return(0,i.default)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,r=uni.getStorageSync("parent_user_id"),s=uni.getStorageSync("page_type"),a.next=5,n.$allrequest.user.user_login((0,o.default)((0,o.default)({},e),{},{user_info:e.userInfo,encrypted_data:e.encryptedData,_platform:"wx",phone:n.phone,share_user_id:r||0,code:t,page_type:s}));case 5:c=a.sent,uni.showToast({title:c.msg,icon:"none",duration:1e3}),setTimeout((function(){n.afterLogin(c)}),1e3),a.next=12;break;case 10:a.prev=10,a.t0=a["catch"](0);case 12:case"end":return a.stop()}}),a,null,[[0,10]])})))()},afterLogin:function(e){var t=this;this.active=uni.getStorageSync("mch_id")||0,uni.setStorageSync("token",e.data.access_token),uni.setStorageSync("session_key",e.data.session_key),uni.removeStorageSync("storeMdData"),uni.showToast({title:e.msg,duration:1e3,icon:"none"}),setTimeout((function(){uni.setStorageSync("userInfo",e.data),t.$store.commit("setUserInfo",e.data),console.log("入驻商登录"),t.active?t.$utils.toUrl("/mch_store/mchCommodity/mchCommodity?login=1","reLaunch"):t.loginBack()}),1e3)},loginBack:function(){var e=this;return(0,r.default)((0,i.default)().mark((function t(){var n,a;return(0,i.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=!1,t.prev=1,t.next=4,(0,c.getStoreSwitch)();case 4:a=t.sent,a.data.is_switch_store&&(uni.removeStorageSync("storeMdData"),e.$store.commit("setStoreId",a.data.store_id),e.$store.commit("setCopyright",a.data.copyright),n=!0,e.routeType&&(e.routeType="reLaunch")),t.next=10;break;case 8:t.prev=8,t.t0=t["catch"](1);case 10:if(!e.noLoginTabarPath||!e.routeType){t.next=15;break}e.$utils.toUrl(e.noLoginTabarPath,e.routeType),setTimeout((function(){e.$store.commit("setNoLoginTabarPath",""),e.$store.commit("setRouteType","")}),0),t.next=18;break;case 15:if(!n){t.next=17;break}return t.abrupt("return",e.$utils.toUrl("/pages/my/my","reLaunch"));case 17:e.$utils.goBack();case 18:case"end":return t.stop()}}),t,null,[[1,8]])})))()},onGetPhoneNumberAlipay:function(e){var t=this;if(e.detail.encryptedData&&e.detail.sign){var n=JSON.stringify({response:e.detail.encryptedData,sign:e.detail.sign});uni.login({provider:"alipay",scopes:"auth_base",success:function(e){uni.showLoading({title:t.$t("login.inLogin")});var a=uni.getStorageSync("parent_user_id"),o=uni.getStorageSync("page_type");t.$allrequest.user.auth_phone_alipay({response:n,authCode:e.authCode,share_user_id:a,mini_id:"",page_type:o}).then((function(e){0==e.code&&setTimeout((function(){t.afterLogin(e)}),1e3)})).then((function(){uni.hideLoading()}))}})}},onGetAuthorizeByAlipay:function(e){uni.getExtConfigSync&&uni.getExtConfigSync()},onAuthError:function(e){uni.showToast({title:this.$t("login.failPhone"),icon:"none",duration:1e3})},onBindLogin:function(e,t){this.$refs["BindRelation"].showPopup=!1,this.uniLogin(e,t)},loginSubmit:function(){var e=arguments,t=this;return(0,r.default)((0,i.default)().mark((function n(){var a,o,r,c,u,l,d;return(0,i.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(a=e.length>0&&void 0!==e[0]?e[0]:{},o=t.WeChat,r=o.nickname,c=o.avatar_url,u=uni.getStorageSync("parent_user_id"),l=uni.getStorageSync("page_type"),1!==t.enforce_bind_parent||0!==t.is_exist_user){n.next=18;break}if(!u){n.next=13;break}return uni.showLoading({title:"查询中"}),n.next=7,(0,s.getUserInfoById)({user_id:u,page_type:l});case 7:d=n.sent,uni.hideLoading(),t.$refs["BindRelation"].parent_id=u,t.$refs["BindRelation"].parent_avatar=d.data.avatar_url,t.$refs["BindRelation"].parent_nickname=d.data.nickname,t.$refs["BindRelation"].parent_mobile=d.data.mobile;case 13:return t.$refs["BindRelation"].e=a,t.$refs["BindRelation"].avatar=c,t.$refs["BindRelation"].nickname=r,t.$refs["BindRelation"].showPopup=!0,n.abrupt("return");case 18:t.uniLogin(a,u);case 19:case"end":return n.stop()}}),n)})))()},uniLogin:function(e,t){var n=this,a=this.WeChat,s=a.nickname,c=a.avatar_url;uni.login({provider:"weixin",success:function(){var a=(0,r.default)((0,i.default)().mark((function a(r){var u,l,d;return(0,i.default)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return u=r.code,l=(0,o.default)((0,o.default)({},e),{},{_platform:"wx",code:u,share_user_id:t,nickname:s,avatar_url:c}),uni.showLoading({title:n.$t("login.inLogin")}),a.next=5,n.$allrequest.user.auth_phone(l);case 5:if(d=a.sent,uni.hideLoading(),0==d.code){a.next=12;break}return uni.showToast({title:d.msg,icon:"none",duration:1e3}),a.abrupt("return");case 12:n.afterLogin(d);case 13:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}()})},getPhoneNumber:function(){var e=(0,r.default)((0,i.default)().mark((function e(t){return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("getPhoneNumber:ok"!=t.detail.errMsg){e.next=4;break}this.loginSubmit(t.detail),e.next=8;break;case 4:if(104!==t.detail.errno){e.next=7;break}return this.$emit("open"),e.abrupt("return");case 7:uni.showToast({title:this.$t("login.failPhone"),icon:"none",duration:1e3});case 8:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),verification:function(){var e=this.WeChat,t=e.nickname,n=e.avatar_url;return n?t?!!this.checked||(this.popShow=!0,!1):(uni.showToast({title:"请填写用户昵称",icon:"none",duration:1e3}),!1):(uni.showToast({title:"请上传用户头像",icon:"none",duration:1e3}),!1)},setSubmit:function(){var e=this.checked,t=this.WeChat,n=t.avatar_url,a=t.nickname;this.isSubmit=!(n&&a&&e)},handle:function(){},setChecked:function(){this.checked=!0,this.popShow=!1}},watch:{checked:function(){this.setSubmit()},WeChat:{handler:function(){this.setSubmit()},deep:!0}}};t.default=l},"1d96":function(e,t,n){"use strict";n.r(t);var a=n("07a6"),o=n("1a3a");for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n("daf4");var r=n("828b"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"7d724e3d",null,!1,a["a"],void 0);t["default"]=s.exports},"21d5":function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var a={uPopup:n("650d").default,uInput:n("b894").default},o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("u-popup",{attrs:{mode:"center","z-index":999,"safe-area-inset-bottom":!0,maskCloseAble:!0,"border-radius":"24"},model:{value:e.showPopup,callback:function(t){e.showPopup=t},expression:"showPopup"}},[n("div",{staticClass:"popup-box"},[n("div",{staticClass:"u-p-t-24 u-p-b-24 u-m-b-46 font-w-600 u-font-32 u-text-center"},[e._v("绑定用户关系")]),n("div",{staticClass:"popup-content flex-col flex-y-center"},[n("div",{staticClass:"flex-y-center flex-x-center"},[n("div",{staticClass:"flex-col flex-x-center flex-y-center",staticStyle:{width:"200rpx"}},[e.parent_avatar?n("v-uni-image",{staticClass:"user-img",attrs:{src:e.parent_avatar}}):n("div",{staticClass:"user-img flex-x-center flex-y-center font-w-600 color-999 font-50"},[e._v("?")]),n("div",{staticClass:"color-999 u-font-24 u-m-t-24 u-line-1 u-text-center",class:{fontDel:!e.parent_nickname},staticStyle:{width:"100%"}},[e._v(e._s(e.parent_nickname||"暂无"))])],1),n("div",{staticClass:"iconfont icon-lianjie color-999"}),n("div",{staticClass:"flex-col flex-x-center flex-y-center",staticStyle:{width:"200rpx"}},[n("v-uni-image",{staticClass:"user-img",attrs:{src:e.avatar}}),n("div",{staticClass:"font-w-600 u-font-24 u-m-t-24 u-line-1 u-text-center",staticStyle:{width:"100%"}},[e._v(e._s(e.nickname))])],1)]),n("div",{staticClass:"input-box u-m-t-48"},[n("u-input",{attrs:{placeholder:"请输入"+(e.shareSetting?e.shareSetting.parent_label:"上级")+"手机号","placeholder-style":"font-size:28rpx;",height:"40"},on:{blur:function(t){arguments[0]=t=e.$handleEvent(t),e.mobileInputBlur.apply(void 0,arguments)}},model:{value:e.parent_mobile,callback:function(t){e.parent_mobile=t},expression:"parent_mobile"}})],1),n("div",{class:["confirm-bt",e.disabledBt&&"disabled-bt"],on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onCLick.apply(void 0,arguments)}}},[e._v("确认绑定")])])])])},i=[]},"21f0":function(e,t,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n("2634")),i=a(n("9b1b")),r=a(n("2fdc")),s=a(n("e990")),c=a(n("ec5d")),u=a(n("8baf")),l=n("cbb4"),d=n("7973"),p={components:{pageModule:s.default,pageInp:c.default,pagePrivacy:u.default},data:function(){return{form:{phone:"",verify_code:"",login_type:0,password:"",active:!1,loginCode:""}}},methods:{submit:function(){var e=this;return(0,r.default)((0,o.default)().mark((function t(){var n,a,r,s,c;return(0,o.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(t.prev=0,n="",a=e.form,r=e.loginCode,s=uni.getStorageSync("parent_user_id")||"",a.phone){t.next=4;break}return t.abrupt("return",e.$u.toast("请输入手机号"));case 4:if((0,l.regMobile)(a.phone)){t.next=6;break}return t.abrupt("return",e.$utils.toast("请填写正确的手机号~"));case 6:if(!a.login_type){t.next=11;break}if(a.verify_code){t.next=9;break}return t.abrupt("return",e.$u.toast("请输入验证码"));case 9:t.next=13;break;case 11:if(a.password){t.next=13;break}return t.abrupt("return",e.$u.toast("请输入密码"));case 13:if(e.$refs.pagePrivacy.hasChecked()){t.next=15;break}return t.abrupt("return");case 15:return e.$utils.isWechat()&&(n=r),t.next=18,e.$allrequest.user.user_login((0,i.default)((0,i.default)({},a),{},{share_user_id:s,_platform:"phone",code:n}),!0);case 18:c=t.sent,c.code||e.afterLogin(c),t.next=25;break;case 22:t.prev=22,t.t0=t["catch"](0),e.$u.toast(t.t0);case 25:case"end":return t.stop()}}),t,null,[[0,22]])})))()},afterLogin:function(e){var t=this;uni.setStorageSync("token",e.data.access_token),uni.setStorageSync("session_key",e.data.session_key),uni.removeStorageSync("storeMdData"),uni.showToast({title:e.msg,duration:1e3,icon:"none"}),setTimeout((function(){uni.setStorageSync("userInfo",e.data),t.$store.commit("setUserInfo",e.data),t.loginBack()}),1e3)},loginBack:function(){var e=this;return(0,r.default)((0,o.default)().mark((function t(){var n,a;return(0,o.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.active=uni.getStorageSync("mch_id")||0,n=!1,t.prev=2,t.next=5,getStoreSwitch();case 5:a=t.sent,a.data.is_switch_store&&(uni.removeStorageSync("storeMdData"),e.$store.commit("setStoreId",a.data.store_id),e.$store.commit("setCopyright",a.data.copyright),n=!0,e.routeType&&(e.routeType="reLaunch")),t.next=11;break;case 9:t.prev=9,t.t0=t["catch"](2);case 11:if(!e.noLoginTabarPath||!e.routeType){t.next=16;break}e.$utils.toUrl(e.noLoginTabarPath,e.routeType),setTimeout((function(){e.$store.commit("setNoLoginTabarPath",""),e.$store.commit("setRouteType","")}),0),t.next=23;break;case 16:if(console.log("我走到了333333"),!n){t.next=19;break}return t.abrupt("return",e.$utils.toUrl("/pages/my/my","reLaunch"));case 19:if(!e.active){t.next=22;break}return e.$utils.toUrl("/mch_store/mchCommodity/mchCommodity","reLaunch"),t.abrupt("return");case 22:e.$utils.goBack();case 23:case"end":return t.stop()}}),t,null,[[2,9]])})))()}},mounted:function(){var e=this;return(0,r.default)((0,o.default)().mark((function t(){var n,a;return(0,o.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e.$utils.isWechat()){t.next=9;break}if(!e.$utils.getStorage("hasUri")){t.next=5;break}return n=e.$utils.oneValues(window.location.href),e.loginCode=(null===n||void 0===n?void 0:n.code)||"",t.abrupt("return");case 5:return t.next=7,(0,d.getRedirectUri)({path:"/login/login/login_page",form_value:e.$store.getters.has_is_one_store?"h8":"h5"});case 7:a=t.sent,!a.code&&a.data.uri&&(e.$utils.setStorage("hasUri",!0),window.location.href=a.data.uri);case 9:case"end":return t.stop()}}),t)})))()}};t.default=p},"28a4":function(e,t,n){var a=n("c86c");t=a(!1),t.push([e.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/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-7d724e3d] .u-form-item--right__content__slot > uni-view,[data-v-7d724e3d] .u-form-item--right__content__slot > div,[data-v-7d724e3d] .u-form-item--right__content__slot > span,[data-v-7d724e3d] .u-form-item--right__content__slot > uni-text{width:100%}.pop[data-v-7d724e3d]{padding:%?30?%}.pop.tabbar[data-v-7d724e3d]{padding-bottom:%?140?%}.title[data-v-7d724e3d]{font-size:%?30?%;color:#333;font-weight:700}.des[data-v-7d724e3d]{padding-top:%?32?%;font-size:%?28?%;color:rgba(0,0,0,.3)}.link[data-v-7d724e3d]{padding-top:%?32?%;font-size:%?28?%;color:#00f}.btn[data-v-7d724e3d]{display:flex;justify-content:space-between;padding-top:%?40?%}.btn .btn1[data-v-7d724e3d]{width:%?328?%;height:%?80?%;border-radius:%?120?%;border:%?2?% solid #b6b6b6;text-align:center;line-height:%?75?%;font-size:%?32?%;color:#262626}.btn .btn2[data-v-7d724e3d]{background:#f0250e;width:%?328?%;height:%?80?%;border-radius:%?120?%;text-align:center;line-height:%?75?%;font-size:%?32?%;color:#fff}',""]),e.exports=t},"3a3e":function(e,t,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n("9b1b")),i=a(n("2634")),r=a(n("2fdc")),s=a(n("2ba3")),c=a(n("6854")),u=a(n("9c91")),l=n("5f8e"),d=a(n("1d96")),p=a(n("85e3")),f={components:{diySign:c.default,wxSign:u.default,Shenhe:s.default,toolsPrivacy:d.default,login:p.default},data:function(){return{tips:"",seconds:60,CustomBar:"",HeaderBar:"",phone:"",code:"",modules:[],pageSetting:{},miniProgross:!1,menuButtonInfo:{}}},onLoad:function(){uni.setStorageSync("token",""),uni.setStorageSync("session_key",""),uni.setStorageSync("userInfo",!1),this.getModules()},created:function(){setTimeout((function(){}),1)},computed:{boxStyle:function(){return{backgroundColor:1==this.pageSetting.backgroundType?this.pageSetting.backgroundColor:"",backgroundImage:2==this.pageSetting.backgroundType?"url(".concat(this.pageSetting.backgroundUrl,")"):"",opacity:2==this.pageSetting.backgroundType?this.pageSetting.backgroundOpacity:"",backgroundSize:2==this.pageSetting.backgroundType?1==this.pageSetting.backgroundRepeat?"100% 100%":2==this.pageSetting.backgroundRepeat?"contain":(this.pageSetting.backgroundRepeat,""):"",backgroundRepeat:2==this.pageSetting.backgroundType?1==this.pageSetting.backgroundRepeat?"":2==this.pageSetting.backgroundRepeat?"no-repeat":(this.pageSetting.backgroundRepeat,""):""}},noLoginTabarPath:function(){return this.$store.getters.noLoginTabarPath},routeType:function(){return this.$store.getters.routeType}},methods:{getModules:function(){var e=this;return(0,r.default)((0,i.default)().mark((function t(){var n;return(0,i.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.$allrequest.diy.getSystemPage({type:"sign"});case 3:n=t.sent,0==n.code&&n.data.template&&n.data.template.template&&""!=n.data.template.template?(n.data.template.template=JSON.parse(n.data.template.template),e.modules=n.data.template.template.template,e.pageSetting=n.data.template.template):(e.modules=l.initModule.sign.template,e.pageSetting=l.initModule.sign),t.next=11;break;case 7:t.prev=7,t.t0=t["catch"](0),e.modules=l.initModule.sign.template,e.pageSetting=l.initModule.sign;case 11:case"end":return t.stop()}}),t,null,[[0,7]])})))()},loginAction:function(){var e=this;return(0,r.default)((0,i.default)().mark((function t(){var n;return(0,i.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.$allrequest.user.user_login({phone:e.phone,verify_code:e.code,_platform:"phone"});case 3:n=t.sent,uni.showToast({title:n.msg,icon:"none",duration:1e3}),setTimeout((function(){e.afterLogin(n)}),1e3),t.next=10;break;case 8:t.prev=8,t.t0=t["catch"](0);case 10:case"end":return t.stop()}}),t,null,[[0,8]])})))()},weiXinLogin:function(e,t){var n=this;return(0,r.default)((0,i.default)().mark((function a(){var r,s,c;return(0,i.default)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,r=uni.getStorageSync("parent_user_id"),s=uni.getStorageSync("page_type"),a.next=5,n.$allrequest.user.user_login((0,o.default)((0,o.default)({},e),{},{user_info:e.userInfo,encrypted_data:e.encryptedData,_platform:"wx",share_user_id:r||0,code:t,page_type:s}));case 5:c=a.sent,uni.showToast({title:c.msg,icon:"none",duration:1e3}),setTimeout((function(){n.afterLogin(c)}),1e3),a.next=12;break;case 10:a.prev=10,a.t0=a["catch"](0);case 12:case"end":return a.stop()}}),a,null,[[0,10]])})))()},appWeixinLogin:function(e){var t=this;return(0,r.default)((0,i.default)().mark((function n(){var a;return(0,i.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,t.$allrequest.user.user_login((0,o.default)((0,o.default)({},e),{},{user_info:e.userInfo,_platform:"app"}));case 3:a=n.sent,uni.showToast({title:a.msg,icon:"none",duration:1e3}),setTimeout((function(){t.afterLogin(a)}),1e3),n.next=10;break;case 8:n.prev=8,n.t0=n["catch"](0);case 10:case"end":return n.stop()}}),n,null,[[0,8]])})))()},afterLogin:function(e){var t=this;0==e.code&&(uni.setStorageSync("token",e.data.access_token),uni.setStorageSync("session_key",e.data.session_key),uni.setStorageSync("userInfo",e.data),uni.removeStorageSync("storeMdData"),this.$store.commit("setUserInfo",e.data),this.noLoginTabarPath&&this.routeType?(this.$utils.toUrl(this.noLoginTabarPath,this.routeType),setTimeout((function(){t.$store.commit("setNoLoginTabarPath",""),t.$store.commit("setRouteType","")}),0)):this.$utils.goBack())},toBind:function(e){},codeChange:function(e){this.tips=e},getCode:function(){return(0,r.default)((0,i.default)().mark((function e(){return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))()},open:function(){this.$refs.toolsPrivacy.hasShowPrivacySetting()}},onShow:function(){this.stores.is_password_login}};t.default=f},"416d":function(e,t,n){var a=n("c86c");t=a(!1),t.push([e.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/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-c0eb6ade] .u-form-item--right__content__slot > uni-view,[data-v-c0eb6ade] .u-form-item--right__content__slot > div,[data-v-c0eb6ade] .u-form-item--right__content__slot > span,[data-v-c0eb6ade] .u-form-item--right__content__slot > uni-text{width:100%}.yzm_body[data-v-c0eb6ade]{display:flex;background:rgba(0,0,0,.3);position:fixed;top:0;left:0;z-index:1001;width:100vw;height:100vh;justify-content:center;align-items:center}.yzm_body .zhuti[data-v-c0eb6ade]{position:relative;flex-direction:column;background:#fff;width:%?600?%;padding:%?20?% %?25?% %?30?% %?25?%;border-radius:%?15?%}.yzm_body .zhuti .msg[data-v-c0eb6ade]{color:#999;font-size:%?24?%}.yzm_body .zhuti .msg.red[data-v-c0eb6ade]{color:red}.yzm_body .zhuti .msg.green[data-v-c0eb6ade]{color:green}.yzm_body .zhuti .close[data-v-c0eb6ade]{position:absolute;top:%?20?%;right:%?20?%;color:#a6a6a6;font-size:%?36?%;padding:%?10?%}.yzm_body .zhuti .title[data-v-c0eb6ade]{font-size:%?28?%;line-height:%?38?%;color:#333;margin:0 0 %?7?% 0}.yzm_body .zhuti .movable-area[data-v-c0eb6ade]{position:relative;width:100%;height:%?415?%;flex-direction:column}.yzm_body .zhuti .movable-area #msg[data-v-c0eb6ade]{width:100%;line-height:%?338?%;justify-content:center;font-size:%?30?%;color:#999;background:#f8f8f8}.yzm_body .zhuti .movable-area #pic[data-v-c0eb6ade]{width:100%;height:%?338?%}.yzm_body .zhuti .movable-area #line[data-v-c0eb6ade]{background:#e4e4e4;height:%?20?%;margin:%?42?% 0 %?15?% 0;border-radius:%?50?%}.yzm_body .zhuti .movable-area .movable-view[data-v-c0eb6ade]{position:absolute;top:0;left:0;width:%?79.63?%;height:100%}.yzm_body .zhuti .movable-area .movable-view[data-v-c0eb6ade]:after{position:absolute;bottom:0;left:0;content:"";box-shadow:rgba(26,101,255,.52) 0 0 %?10?% %?1?%;width:%?100?%;height:%?50?%;border-radius:%?50?%;background:#1a65ff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAcAgMAAABuexVFAAAACVBMVEUAAADCwsL9/f1P0DqbAAAAAXRSTlMAQObYZgAAAB1JREFUGNNjCGVgYGANABKhyMwoEHMBkIgaZWIwAdyJJQnaJRg5AAAAAElFTkSuQmCC) no-repeat 50% 50%/auto %?20?%;margin-left:%?-10?%}@-webkit-keyframes doudong-data-v-c0eb6ade{20%{-webkit-transform:translateX(-15px);transform:translateX(-15px)}40%{-webkit-transform:translateX(15px);transform:translateX(15px)}60%{-webkit-transform:translateX(-15px);transform:translateX(-15px)}80%{-webkit-transform:translateX(15px);transform:translateX(15px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes doudong-data-v-c0eb6ade{20%{-webkit-transform:translateX(-15px);transform:translateX(-15px)}40%{-webkit-transform:translateX(15px);transform:translateX(15px)}60%{-webkit-transform:translateX(-15px);transform:translateX(-15px)}80%{-webkit-transform:translateX(15px);transform:translateX(15px)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}.yzm_body .zhuti .movable-area .movable-view.doudong[data-v-c0eb6ade]{-webkit-animation:doudong-data-v-c0eb6ade .5s linear 1;animation:doudong-data-v-c0eb6ade .5s linear 1}',""]),e.exports=t},"4efa":function(e,t,n){var a=n("e73e");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var o=n("967d").default;o("41428933",a,!0,{sourceMap:!1,shadowMode:!1})},"51b5":function(e,t,n){var a=n("e09b");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var o=n("967d").default;o("10ba0c88",a,!0,{sourceMap:!1,shadowMode:!1})},"56c76":function(e,t,n){"use strict";n.r(t);var a=n("3a3e"),o=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=o.a},"5f8e":function(e,t,n){"use strict";n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.initModule=void 0;t.initModule={index:{name:"自定义页面",type:"diy",copy:2,delete:2,template:[{name:"头部导航",type:"head_nav",use:1,move:2,copy:1,delete:1,param:{text:"自定义页面",title:"",useTitle:2,color:"",style:1,backgroundType:1,backgroundColor:"",backgroundUrl:"",backgroundOpacity:1,backgroundRepeat:"",storeInfo:{type:"store_info",color:"",textAlign:"center",fontStyle:[],backgroundUrl:""},locationInfo:{type:"location_info",color:"",textAlign:"center",fontStyle:[],iconUrl:""},cityInfo:{type:"city_info",color:"",textAlign:"center",fontStyle:[],searchType:1,borderColor:"#1890ff",backgroundColor:"#f2f2f2",searchText:"",searchColor:"#ffffff"}}}],addModules:1,margin:10,padding:0,isHome:1,useBackground:2,backgroundType:1,backgroundColor:"",backgroundUrl:"",backgroundOpacity:1,backgroundRepeat:""},user:{name:"个人中心",type:"user",copy:2,delete:2,template:[{name:"个人中心头部",type:"center_head",move:2,copy:2,delete:2,param:{style:1,backgroundType:2,backgroundColor:"",backgroundUrl:"",backgroundOpacity:1,backgroundRepeat:1,color:"",fastEntrance:{type:"center_entrance",count:3,backgroundType:2,backgroundColor:"",backgroundUrl:"",backgroundOpacity:1,backgroundRepeat:1,list:[{type:"center_entrance_item",title:"VIP会员",titleColor:"",subTitle:"购物返积分",subColor:"",picUrl:"",link:"",linkName:""},{type:"center_entrance_item",title:"积分商城",titleColor:"",subTitle:"超值兑换",subColor:"",picUrl:"",link:"",linkName:""},{type:"center_entrance_item",title:"红包签到",titleColor:"",subTitle:"每天都能领红包",subColor:"",picUrl:"",link:"",linkName:""}]},vip:{use:1,color:""},collect:{use:1,color:""},attention:{use:1,color:""},coupon:{use:1,color:""},browse:{use:1,color:""}}},{name:"订单设置",type:"center_order",move:2,copy:2,delete:2,param:{backgroundType:1,backgroundColor:"",backgroundUrl:"",backgroundOpacity:1,backgroundRepeat:1,status1:{type:"center_pic",picUrl:""},status2:{type:"center_pic",picUrl:""},status3:{type:"center_pic",picUrl:""},status4:{type:"center_pic",picUrl:""},status5:{type:"center_pic",picUrl:""}}},{name:"我的钱包",type:"center_wallet",move:2,copy:2,delete:2,param:{backgroundType:1,backgroundColor:"",backgroundUrl:"",backgroundOpacity:1,backgroundRepeat:1,integral:{use:1,title:"积分",subTitle:"兑换积分礼包",titleColor:"",subColor:""},coupon:{use:1,title:"优惠券",subTitle:"特惠好券",titleColor:"",subColor:""},balance:{use:1,title:"余额",subTitle:"",titleColor:"",subColor:""},rebate:{use:1,title:"返利",subTitle:"购买返现金",titleColor:"",subColor:""},walletPic:{type:"center_pic",picUrl:""}}},{name:"个人中心工具",type:"center_tool",icon:"menu",move:1,copy:1,delete:2,param:{name:"工具与服务",style:1,backgroundType:1,backgroundColor:"",backgroundUrl:"",backgroundOpacity:"",backgroundRepeat:"",list:[{type:"center_tool_item",name:"自提点后台",nameColor:"",subName:"",subColor:"",showSub:1,picUrl:"",link:"",linkName:""},{type:"center_tool_item",name:"当面付",nameColor:"",subName:"",subColor:"",showSub:1,picUrl:"",link:"",linkName:""},{type:"center_tool_item",name:"预约",nameColor:"",subName:"快递/收纳存储",subColor:"",showSub:1,picUrl:"",link:"",linkName:""},{type:"center_tool_item",name:"秒杀",nameColor:"",subName:"",subColor:"",showSub:1,picUrl:"",link:"",linkName:""},{type:"center_tool_item",name:"拼团",nameColor:"",subName:"",subColor:"",showSub:1,picUrl:"",link:"",linkName:""},{type:"center_tool_item",name:"积分兑换",nameColor:"",subName:"",subColor:"",showSub:1,picUrl:"",link:"",linkName:""},{type:"center_tool_item",name:"卡券",nameColor:"",subName:"",subColor:"",showSub:1,picUrl:"",link:"",linkName:""},{type:"center_tool_item",name:"优惠券",nameColor:"",subName:"",subColor:"",showSub:1,picUrl:"",link:"",linkName:""}]}}],addModules:2,margin:10,padding:0,isHome:1,useBackground:2,backgroundType:1,backgroundColor:"",backgroundUrl:"",backgroundOpacity:1,backgroundRepeat:"",showWallet:1,showTool:1},goods:{name:"商品详情",type:"goods",copy:2,delete:2,template:[{name:"商品参数",type:"detail_goods",move:2,copy:2,delete:2,param:{backgroundType:1,backgroundColor:"",backgroundUrl:"",backgroundOpacity:1,backgroundRepeat:1,price:{use:1,color:""},original:{use:1,color:""},vip:{use:1,color:""},distribution:{use:1,color:""},saleCount:{use:1,color:""}}},{name:"优惠设置",type:"detail_discounts",move:2,copy:2,delete:2,param:{backgroundType:1,backgroundColor:"",backgroundUrl:"",backgroundOpacity:1,backgroundRepeat:1,new:{use:1,color:""},coupon:{use:1,color:""},redemption:{use:1,color:""},vip:{use:1,color:""}}},{name:"规格设置",type:"detail_sku",move:2,copy:2,delete:2,param:{backgroundType:1,backgroundColor:"",backgroundUrl:"",backgroundOpacity:1,backgroundRepeat:1,choosedSku:{use:1,color:""},address:{use:1,color:""},freight:{use:1,color:""},shop:{use:1,color:""}}},{name:"评价设置",type:"detail_evaluate",move:2,copy:2,delete:2,param:{backgroundType:1,backgroundColor:"",backgroundUrl:"",backgroundOpacity:1,backgroundRepeat:1}},{name:"门店设置",type:"detail_shop",move:2,copy:2,delete:2,param:{backgroundType:1,backgroundColor:"",backgroundUrl:"",backgroundOpacity:1,backgroundRepeat:1}},{name:"推荐设置",type:"detail_recommend",move:2,copy:2,delete:2,param:{backgroundType:1,backgroundColor:"",backgroundUrl:"",backgroundOpacity:1,backgroundRepeat:1}},{name:"详情介绍",type:"detail_introduce",move:2,copy:2,delete:2,param:{backgroundType:1,backgroundColor:"",backgroundUrl:"",backgroundOpacity:1,backgroundRepeat:1}},{name:"详情介绍",type:"detail_more",move:2,copy:2,delete:2,param:{backgroundType:1,backgroundColor:"",backgroundUrl:"",backgroundOpacity:1,backgroundRepeat:1}},{name:"商品详情底部",type:"detail_foot",move:2,copy:2,delete:2,param:{service:{type:"detail_icon",picUrl:""},shop:{type:"detail_icon",picUrl:""},cart:{type:"detail_icon",picUrl:""}}}],addModules:2,margin:10,padding:0,isHome:2,useBackground:2,backgroundType:1,backgroundColor:"",backgroundUrl:"",backgroundOpacity:1,backgroundRepeat:""},sign:{name:"登录页面",type:"sign",copy:2,delete:2,template:[{name:"登录页面",type:"diy_sign",move:2,copy:2,delete:2,param:{style:1,borderRadius:0,color:"",borderColor:"",note:{use:1,color:""},wechat:{use:1,picUrl:""},qq:{use:1,picUrl:""}}}],addModules:2,margin:10,padding:0,isHome:2,useBackground:2,backgroundType:1,backgroundColor:"",backgroundUrl:"",backgroundOpacity:1,backgroundRepeat:""},cat:{name:"分类",type:"cat",copy:2,delete:2,template:[{name:"头部导航",type:"head_nav",use:1,move:2,copy:2,delete:2,param:{text:"分类",title:"",useTitle:2,color:"",style:1,backgroundType:1,backgroundColor:"",backgroundUrl:"",backgroundOpacity:1,backgroundRepeat:"",storeInfo:{type:"store_info",color:"",textAlign:"center",fontStyle:[],backgroundUrl:""},locationInfo:{type:"location_info",color:"",textAlign:"center",fontStyle:[],iconUrl:""},cityInfo:{type:"city_info",color:"",textAlign:"center",fontStyle:[],searchType:1,borderColor:"#1890ff",backgroundColor:"#f2f2f2",searchText:"",searchColor:"#ffffff"}}},{name:"分类",type:"diy_cat",move:2,copy:2,delete:2,param:{tier:1,style:1,goodsShow:1,count:5,showAd:1,picUrl:"",link:"",linkName:"",button:{use:2,style:1,text:""},mark:{use:2,style:1,iconUrl:""},name:{use:1,fontSize:"",fontStyle:[],textAlign:"",color:""},price:{use:1,fontSize:"",fontStyle:[],textAlign:"",color:""},original:{use:1,fontSize:"",fontStyle:[],textAlign:"",color:""}}}],addModules:2,margin:10,padding:0,isHome:2,useBackground:2,backgroundType:1,backgroundColor:"",backgroundUrl:"",backgroundOpacity:1,backgroundRepeat:""},controls:[{name:"头部导航",type:"head_nav",use:1,move:2,copy:2,delete:2,param:{text:"首页",title:"",useTitle:2,color:"",style:1,backgroundType:1,backgroundColor:"",backgroundUrl:"",backgroundOpacity:1,backgroundRepeat:"",storeInfo:{type:"store_info",color:"",textAlign:"center",fontStyle:[],backgroundUrl:""},locationInfo:{type:"location_info",color:"",textAlign:"center",fontStyle:[],iconUrl:""},cityInfo:{type:"city_info",color:"",textAlign:"center",fontStyle:[],searchType:1,borderColor:"#1890ff",backgroundColor:"#f2f2f2",searchText:"",searchColor:"#ffffff"}}},{name:"底部导航",type:"foot_nav",use:1,move:2,copy:2,delete:2,param:{title:"",useTitle:2,color:"",fontSize:"",fontStyle:[],choosedColor:"",choosedFontSize:"",choosedFontStyle:[],style:1,useBackground:1,backgroundType:1,backgroundColor:"",backgroundUrl:"",backgroundOpacity:1,backgroundRepeat:"",list:[{type:"foot_nav_item",icon:"",choosedIcon:"",name:"首页",page:"",pageName:""}]}},{type:"window",name:"弹窗",style:"",use:1,param:{rule:1,list:[]}},{type:"phone",name:"电话",style:"list",use:1,param:{picUrl:"",phone:""}},{type:"wechat",name:"微信客服",style:"list",use:1,param:{picUrl:""}},{type:"up",name:"返回顶部",style:"list",use:1,param:{picUrl:""}}]}},"615d":function(e,t,n){var a=n("28a4");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var o=n("967d").default;o("f092d3b2",a,!0,{sourceMap:!1,shadowMode:!1})},"63a9":function(e,t,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.getStoreSwitch=function(e,t){return o.default.POST("/store/get-store-switch",e,t)};var o=a(n("cc29"))},6585:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var a={uIcon:n("0852").default},o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",[e.show?n("v-uni-view",{staticClass:"yzm_body",on:{mousemove:function(t){arguments[0]=t=e.$handleEvent(t),e.touchmove.apply(void 0,arguments)},mouseup:function(t){arguments[0]=t=e.$handleEvent(t),e.touchend.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"zhuti"},[n("v-uni-view",{class:["msg","验证成功"===e.msgText?"green":["安全验证","验证中..."].indexOf(e.msgText)>-1?"":"red"]},[e._v(e._s(e.msgText))]),n("v-uni-view",{staticClass:"title"},[e._v("拖动下方滑块完成拼图")]),n("v-uni-view",{staticClass:"movable-area"},[""===e.mainPic?n("v-uni-view",{attrs:{id:"msg"}},[e._v(e._s(e.msgLoading))]):n("v-uni-view",{style:{background:"url("+e.mainPic+") no-repeat 100%/100%"},attrs:{id:"pic"}}),n("v-uni-view",{attrs:{id:"line"}}),n("v-uni-view",{class:["movable-view",{doudong:e.isAnt}],style:{background:"url("+e.secondaryPic+") no-repeat top left/100% 338rpx",left:e.x+"px",transitionDuration:10===e.x?"300ms":"0ms"},on:{touchstart:function(t){arguments[0]=t=e.$handleEvent(t),e.touchstart.apply(void 0,arguments)},touchmove:function(t){arguments[0]=t=e.$handleEvent(t),e.touchmove.apply(void 0,arguments)},touchend:function(t){arguments[0]=t=e.$handleEvent(t),e.touchend.apply(void 0,arguments)},mousedown:function(t){arguments[0]=t=e.$handleEvent(t),e.touchstart.apply(void 0,arguments)}}})],1),n("u-icon",{staticClass:"close",attrs:{name:"close"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.show=!1}}})],1)],1):e._e()],1)},i=[]},"660a":function(e,t,n){"use strict";n.r(t);var a=n("21d5"),o=n("ae6b");for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n("04b8");var r=n("828b"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"7d882b60",null,!1,a["a"],void 0);t["default"]=s.exports},6854:function(e,t,n){"use strict";n.r(t);var a=n("f9c8"),o=n("ff3b");for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n("9b48");var r=n("828b"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"3310738f",null,!1,a["a"],void 0);t["default"]=s.exports},"6ea0":function(e,t,n){var a=n("e2bbf");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var o=n("967d").default;o("a26386c4",a,!0,{sourceMap:!1,shadowMode:!1})},"76cd":function(e,t,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n("2634")),i=a(n("2fdc"));n("5c47"),n("0506"),n("c223");var r=n("7973"),s={data:function(){return{showPopup:!1,avatar:"",nickname:"",parent_avatar:"",parent_nickname:"",parent_mobile:"",parent_id:0,e:{}}},computed:{disabledBt:function(){return!this.$u.test.mobile(this.parent_mobile)}},methods:{switchShowPopup:function(){this.showPopup=!this.showPopup},onCLick:function(){var e=this;setTimeout((function(){e.$u.test.mobile(e.parent_mobile)&&0!=e.parent_id?uni.showModal({title:"提示",content:"确认绑定(".concat(e.parent_nickname,")为您的").concat(e.$store.getters.share_setting.parent_label||"上级","吗?"),success:function(t){t.confirm&&e.$emit("login",e.e,e.parent_id)}}):uni.showToast({title:"请输入正确的手机号",icon:"none",duration:1e3})}),500)},mobileInputBlur:function(){var e=this;return(0,i.default)((0,o.default)().mark((function t(){var n;return(0,o.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(""!=e.parent_mobile){t.next=2;break}return t.abrupt("return");case 2:if(e.$u.test.mobile(e.parent_mobile)){t.next=5;break}return uni.showToast({title:"请输入正确的手机号",icon:"none",duration:1e3}),t.abrupt("return");case 5:return uni.showLoading({title:"查询中"}),t.next=8,(0,r.getUserInfoByMobile)({mobile:e.parent_mobile});case 8:if(n=t.sent,uni.hideLoading(),0!=n.data.id){t.next=13;break}return uni.showToast({title:"未找到此用户",icon:"none",duration:1e3}),t.abrupt("return");case 13:e.parent_avatar=n.data.avatar_url,e.parent_nickname=n.data.nickname,e.parent_id=n.data.id,uni.setStorageSync("parent_user_id",n.data.id);case 17:case"end":return t.stop()}}),t)})))()}},options:{styleIsolation:"shared"}};t.default=s},"7c74":function(e,t,n){"use strict";n("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={props:{className:{type:String,default:""}},data:function(){return{title:"用户隐私保护提示",desc1:"感谢您使用本小程序,您使用本程序前应当阅读同意",urlTitle:"《用户隐私保护指引》",desc2:"当您点击同意并开始使用产品服务时,即表示你已理解并同息该条款内容,该条款将对您产生法律约束力。如您拒绝,将无法使用部分功能。",showPopup:!1}},methods:{hasShowPrivacySetting:function(){var e=this;wx.getPrivacySetting&&wx.getPrivacySetting({success:function(t){t.needAuthorization&&(e.showPopup=!0)},fail:function(){},complete:function(){}})},openPrivacyContract:function(){var e=this;wx.openPrivacyContract({success:function(){},fail:function(t){e.$utils.toast(t)}})},handleDisagree:function(){this.$utils.toast('"用户拒绝隐私授权, 未同意过的隐私协议中的接口将不能调用")'),this.showPopup=!1},agreeprivacyauthorization:function(){this.$utils.toast("用户同意隐私授权"),this.showPopup=!1}}};t.default=a},"85e3":function(e,t,n){"use strict";n.r(t);var a=n("9213"),o=n("98d6");for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var r=n("828b"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"0fbe8c90",null,!1,a["a"],void 0);t["default"]=s.exports},9213:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){}));var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",[n("pageModule",{attrs:{hasLink:!0,pageTitle:"请登录",btnText:"登录",type:e.form.login_type,disabled:!e.form.phone},on:{changeType:function(t){arguments[0]=t=e.$handleEvent(t),function(t){return e.form.login_type=t}.apply(void 0,arguments)},submit:function(t){arguments[0]=t=e.$handleEvent(t),e.submit.apply(void 0,arguments)}},scopedSlots:e._u([{key:"header",fn:function(){return[n("pageInp",{attrs:{label:"账户名",placeholder:"请输入手机号",inputType:"tel",value:e.form.phone},on:{"update:value":function(t){arguments[0]=t=e.$handleEvent(t),e.$set(e.form,"phone",t)}}}),e.form.login_type?n("pageInp",{attrs:{maxlength:6,isGetCode:!0,label:"验证码",placeholder:"请输入验证码",phone:e.form.phone,value:e.form.verify_code,code_type:"login"},on:{"update:value":function(t){arguments[0]=t=e.$handleEvent(t),e.$set(e.form,"verify_code",t)}}}):n("pageInp",{attrs:{label:"密码",placeholder:"请输入密码",inputType:"password",value:e.form.password},on:{"update:value":function(t){arguments[0]=t=e.$handleEvent(t),e.$set(e.form,"password",t)}}})]},proxy:!0}])}),n("pagePrivacy",{ref:"pagePrivacy"})],1)},o=[]},"98d6":function(e,t,n){"use strict";n.r(t);var a=n("21f0"),o=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=o.a},"9b48":function(e,t,n){"use strict";var a=n("e6e9"),o=n.n(a);o.a},"9c91":function(e,t,n){"use strict";n.r(t);var a=n("f664"),o=n("c48c");for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n("15fb");var r=n("828b"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"4448a152",null,!1,a["a"],void 0);t["default"]=s.exports},abfc:function(e,t,n){"use strict";n.r(t);var a=n("6585"),o=n("1cc0");for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n("c732");var r=n("828b"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"c0eb6ade",null,!1,a["a"],void 0);t["default"]=s.exports},ae6b:function(e,t,n){"use strict";n.r(t);var a=n("76cd"),o=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=o.a},b196:function(e,t,n){var a=n("416d");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var o=n("967d").default;o("820fdb9c",a,!0,{sourceMap:!1,shadowMode:!1})},ba5f:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){}));var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return 1==e.shenheStatus&&e.shenheAliStatus?1==e.shenheStatus?n("Shenhe",{attrs:{isShowTitle:!0}}):e._e():n("v-uni-view",{staticClass:"box"},[e.stores.is_password_login?n("login"):[e.miniProgross?n("div",{staticClass:"wxLogin"},[n("wx-sign",{on:{open:function(t){arguments[0]=t=e.$handleEvent(t),e.open.apply(void 0,arguments)}}})],1):n("v-uni-view",{staticClass:"appLogin"},[n("diySign")],1)]],2)},o=[]},c48c:function(e,t,n){"use strict";n.r(t);var a=n("1d01"),o=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=o.a},c732:function(e,t,n){"use strict";var a=n("b196"),o=n.n(a);o.a},cdd9:function(e,t,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("c223"),n("e966");var o=a(n("2634")),i=a(n("2fdc")),r=(a(n("0f08")),n("7973")),s=a(n("cc29")),c={data:function(){return{show:!1,mainPic:"",secondaryPic:"",x:5,touchX:void 0,isAnt:!1,msgText:"安全验证",msgLoading:"加载中..."}},methods:{getSessionId:function(){var e=uni.getStorageSync("captcha_session");if(e)return e;var t=(new Date).getTime()+Math.floor(9*Math.random()+0);return uni.setStorage({key:"captcha_session",data:t}),t},init:function(){var e=this;return(0,i.default)((0,o.default)().mark((function t(){var n,a;return(0,o.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return uni.showLoading({title:"加载中...",mask:!0}),n=e.getSessionId(),t.next=4,(0,r.captchaGen)({session:n,refresh:!0});case 4:a=t.sent,uni.hideLoading(),0!=a.code?uni.showToast({title:a.msg,icon:"none"}):(e.mainPic=s.default.API_URL("/passport/captcha-gen&session=".concat(n,"&type=main&time=").concat(1*new Date)),e.secondaryPic=s.default.API_URL("/passport/captcha-gen&session=".concat(n,"&type=secondary&time=").concat(1*new Date)),e.show=!0,e.x=5,e.touchX=void 0,e.msgText="安全验证");case 7:case"end":return t.stop()}}),t)})))()},touchstart:function(e){void 0===this.touchX&&this.x===this.$options.data().x&&(this.touchX=e.touches[0].clientX)},touchmove:function(e){if(void 0!==this.touchX){var t=this.$options.data().x+(e.touches[0].clientX-this.touchX),n=[0,uni.upx2px(521)],a=n[0],o=n[1];this.x=t<a?a:t>o?o:t}},touchend:function(e){var t=this;return(0,i.default)((0,o.default)().mark((function e(){var n,a;return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(void 0===t.touchX){e.next=22;break}if(t.touchX=void 0,""!==t.mainPic){e.next=6;break}t.x=t.$options.data().x,e.next=22;break;case 6:return t.msgText="验证中...",n=t.getSessionId(),e.prev=8,e.next=11,(0,r.captchaCheck)({session:n,x:t.x,touch_x:parseInt(t.x*(750/uni.upx2px(600)))});case 11:a=e.sent,0==a.code&&(t.$emit("success"),t.msgText="验证成功",setTimeout((function(){t.show=!1}),500)),e.next=22;break;case 15:e.prev=15,e.t0=e["catch"](8),t.msgText=e.t0.msg,t.isAnt=!0,setTimeout((function(){t.isAnt=!1,t.x=t.$options.data().x}),700),setTimeout((function(){t.msgText="安全验证"}),3e3),"验证失败次数过多"==e.t0.msg&&t.init();case 22:case"end":return e.stop()}}),e,null,[[8,15]])})))()}}};t.default=c},d6bb:function(e,t,n){var a=n("c86c");t=a(!1),t.push([e.i,".signStyle[data-v-3310738f]{width:100%;height:100vh;padding:%?70?% %?50?% 0 %?50?%;background-color:#fff}.signStyle .loginBox[data-v-3310738f]{margin-top:%?130?%;width:100%}.signStyle .loginBox uni-input[data-v-3310738f]{flex:auto;margin-right:%?20?%;height:100%;border:none;background:none;list-style:none;font-size:%?32?%}.signStyle .loginBox .phone[data-v-3310738f]{width:100%;height:%?104?%;display:flex;align-items:center;padding:0 %?40?%;border-radius:99px}.signStyle .loginBox .style1[data-v-3310738f]{background-color:#f9f8f9}.signStyle .loginBox .style2[data-v-3310738f]{border:1px solid #999}.signStyle .loginBox .style3[data-v-3310738f]{border-bottom:1px solid #efefef}.signStyle .loginBox .password[data-v-3310738f]{margin-top:%?40?%;width:100%;height:%?104?%;display:flex;align-items:center;justify-content:space-between;padding:0 %?40?%;background-color:#f9f8f9;border-radius:99px}.signStyle .loginBox .btn[data-v-3310738f]{width:100%;height:%?100?%;margin-top:%?80?%;border-radius:%?50?%;display:flex;align-items:center;justify-content:center;background:linear-gradient(90deg,#f22300,#ff4c17);font-size:%?32?%;color:#fff}.signStyle .loginBox .applebtn[data-v-3310738f]{background:#000}.signStyle .loginBox .disabled[data-v-3310738f]{background:#fcc1be}.signStyle .loginBox .ways[data-v-3310738f]{display:flex;align-items:center;justify-content:space-between;margin-top:%?40?%;font-size:%?28?%;color:#666}.signStyle .loginBox .others[data-v-3310738f]{margin-top:%?100?%}.signStyle .loginBox .others .title[data-v-3310738f]{display:flex;align-items:center;justify-content:center}.signStyle .loginBox .others .title span[data-v-3310738f]:nth-child(1){width:%?220?%;height:1px;background-color:#efefef}.signStyle .loginBox .others .title span[data-v-3310738f]:nth-child(2){font-size:%?24?%;color:#ccc;margin:0 %?20?%}.signStyle .loginBox .others .title span[data-v-3310738f]:nth-child(3){width:%?220?%;height:1px;background-color:#efefef}.signStyle .loginBox .others .methods[data-v-3310738f]{margin-top:%?100?%;display:flex;align-items:center;justify-content:space-around}.signStyle .loginBox .others .methods .method[data-v-3310738f]{display:flex;flex-direction:column;align-items:center}.signStyle .loginBox .others .methods .method .pic[data-v-3310738f]{width:%?96?%;height:%?96?%;border-radius:50%;overflow:hidden}.signStyle .loginBox .others .methods .method .pic uni-image[data-v-3310738f]{width:100%;height:100%}.signStyle .loginBox .others .methods .method span[data-v-3310738f]{font-size:%?24?%;color:#a2a2a2;margin-top:%?10?%}.signStyle .loginBox .welcome[data-v-3310738f]{font-size:%?56?%;font-weight:600;color:#262626;margin-bottom:%?80?%}.signStyle .warning[data-v-3310738f]{display:flex;width:100%;font-size:%?24?%;color:#bebebe;margin-top:%?40?%}.signStyle .warning .content[data-v-3310738f]{margin-left:%?20?%}.login-tab[data-v-3310738f]{display:flex;justify-content:space-around;align-items:center;border-bottom:1px solid #efefef;margin-bottom:%?30?%}.login-tab div[data-v-3310738f]{color:#999;font-size:%?40?%;padding-bottom:%?20?%}.login-tab div.current[data-v-3310738f]{color:#333;border-bottom:1px solid #f22300}",""]),e.exports=t},d702:function(e,t,n){"use strict";var a=n("6ea0"),o=n.n(a);o.a},daf4:function(e,t,n){"use strict";var a=n("615d"),o=n.n(a);o.a},e09b:function(e,t,n){var a=n("c86c");t=a(!1),t.push([e.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/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-7d882b60] .u-form-item--right__content__slot > uni-view,[data-v-7d882b60] .u-form-item--right__content__slot > div,[data-v-7d882b60] .u-form-item--right__content__slot > span,[data-v-7d882b60] .u-form-item--right__content__slot > uni-text{width:100%}.font-50[data-v-7d882b60]{font-size:%?50?%}.popup-box[data-v-7d882b60]{padding:0 %?48?% %?48?%;width:%?600?%}.popup-box .user-img[data-v-7d882b60]{width:%?96?%;height:%?96?%;border-radius:50%;background:#f2f2f2}.popup-box .icon-lianjie[data-v-7d882b60]{font-size:%?50?%;-webkit-transform:translateY(%?-24?%);transform:translateY(%?-24?%)}.popup-box .input-box[data-v-7d882b60]{width:100%}.popup-box .input-box[data-v-7d882b60] .u-input{background-color:#f2f2f2;border-radius:%?20?%;padding:%?24?%!important}.popup-box .confirm-bt[data-v-7d882b60]{margin-top:%?48?%;width:%?444?%;border-radius:%?100?%;background:#f0250e;line-height:%?76?%;text-align:center;font-weight:600;color:#fff}.popup-box .disabled-bt[data-v-7d882b60]{background:#f2f2f2;color:#999}',""]),e.exports=t},e2bbf:function(e,t,n){var a=n("c86c");t=a(!1),t.push([e.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/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-6294a576] .u-form-item--right__content__slot > uni-view,[data-v-6294a576] .u-form-item--right__content__slot > div,[data-v-6294a576] .u-form-item--right__content__slot > span,[data-v-6294a576] .u-form-item--right__content__slot > uni-text{width:100%}uni-page-body[data-v-6294a576]{background-color:#fff}body.?%PAGE?%[data-v-6294a576]{background-color:#fff}.login_type_btn[data-v-6294a576]{width:%?100?%;height:%?100?%;border-radius:%?50?%;text-align:center;line-height:%?100?%;font-size:%?50?%}.sub_actions[data-v-6294a576]{padding:0 %?50?%}.top_actions[data-v-6294a576]{padding:0 %?50?% %?40?% %?50?%}.loginInfo[data-v-6294a576]{margin-top:%?20?%;width:%?650?%;border-bottom:solid %?2?% #eaeaea;height:%?80?%;display:flex;align-items:center}.loginBtn[data-v-6294a576]{width:%?650?%;height:%?96?%;margin:%?100?% auto;margin-bottom:%?50?%;background:linear-gradient(90deg,#f22300,#ff4c17);border-radius:%?50?%;text-align:center;font-family:inpinheiti;font-size:%?30?%;line-height:%?96?%;letter-spacing:%?1?%;color:#fff}[data-v-6294a576] uni-checkbox .wx-checkbox-input{border-radius:50%!important;color:#fff!important;-webkit-transform:scale(.7);transform:scale(.7)}[data-v-6294a576] uni-checkbox .wx-checkbox-input.wx-checkbox-input-checked{color:#fff;background:#f0250e;border-color:#f0250e!important}',""]),e.exports=t},e6e9:function(e,t,n){var a=n("d6bb");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var o=n("967d").default;o("063f1317",a,!0,{sourceMap:!1,shadowMode:!1})},e73e:function(e,t,n){var a=n("c86c");t=a(!1),t.push([e.i,'.box[data-v-4448a152]{width:100%;display:flex;align-items:center;flex-direction:column;height:100vh}.box .login-content[data-v-4448a152]{position:relative;width:100%;flex:1;display:flex;flex-direction:column;justify-content:space-between}.box .login-content .tcp-box[data-v-4448a152]{display:flex;align-items:center;justify-content:center;text-align:center;color:#f0250e;font-size:%?25?%;margin-bottom:calc(%?28?% + env(safe-area-inset-bottom))}.box .head[data-v-4448a152]{display:flex;padding-left:%?30?%;padding-right:%?30?%;align-items:center;height:%?88?%;width:100%}.box .head > uni-text[data-v-4448a152]{width:%?26?%;height:%?26?%;border-left:2px solid #000;border-top:2px solid #000;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.box .head > uni-view[data-v-4448a152]{flex:1;text-align:center;font-size:%?36?%;font-weight:600;color:rgba(29,29,29,.94);opacity:1}.box .app[data-v-4448a152]{display:flex;flex-direction:column;align-items:center;margin-top:%?220?%;font-size:%?30?%;line-height:%?42?%;color:#262626;font-weight:600}.box .app uni-image[data-v-4448a152]{width:%?100?%;height:%?100?%;margin-bottom:%?22?%}.box .btn[data-v-4448a152]{width:%?600?%;height:%?88?%;border-radius:%?44?%;background:#2cba0a;display:flex;align-items:center;justify-content:center;font-size:%?34?%;font-weight:600;color:#fff;margin:%?222?% auto 0}.box .toutiao-bt[data-v-4448a152]{background:#323232;color:#fff}.login-from-wrap[data-v-4448a152]{padding:%?70?%}.login-from-wrap .input-wrap[data-v-4448a152]{width:100%;background-color:#f9f9f9;height:%?96?%;border-radius:60px;position:relative;padding:0 %?30?%}.login-from-wrap .input-wrap[data-v-4448a152]:first-child{margin-bottom:%?50?%}.login-from-wrap .input-wrap uni-input[data-v-4448a152]{width:100%;height:%?96?%;line-height:%?96?%;background-color:initial;font-size:%?30?%;padding:0;color:#262626}.login-from-wrap .input-wrap[data-v-4448a152]:last-child{padding-right:%?220?%}.login-from-wrap .input-wrap uni-view[data-v-4448a152]{position:absolute;width:%?200?%;height:%?96?%;line-height:%?96?%;text-align:center;font-size:%?24?%;color:#f60313;right:0;top:0;z-index:2}.login-from-wrap .login-btn[data-v-4448a152]{height:%?96?%;line-height:%?96?%;text-align:center;border-radius:60px;background-color:#f0250e;margin-top:%?60?%;font-size:%?30?%;color:#fff}.por[data-v-4448a152]{position:relative;z-index:5}.logo-bg[data-v-4448a152]{position:absolute;left:0;top:0;width:100%;height:100%}.button-initial[data-v-4448a152]{margin:%?200?% auto %?148?%;padding:0;width:%?150?%;height:%?160?%;display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.button-initial uni-image[data-v-4448a152]{display:block;width:%?100?%;height:%?100?%;background-color:#f8f8f8}.button-initial .newText[data-v-4448a152]{font-weight:400;font-size:%?24?%;color:#8c8c8c;text-align:center}.nicknameBox[data-v-4448a152]{display:flex;align-items:center;justify-content:center;margin:0 %?30?%;height:%?108?%;border-top:%?2?% solid #eee;border-bottom:%?2?% solid #eee;font-size:%?32?%}.nicknameBox .name[data-v-4448a152]{padding:0 %?60?% 0 %?30?%;color:#323232}.nicknameBox .inp[data-v-4448a152]{flex:1;overflow:hidden;width:100%;height:%?108?%}.nicknameBox .inp-inp[data-v-4448a152]{font-size:%?32?%}.porBtn[data-v-4448a152]{position:relative}.verification[data-v-4448a152]{position:absolute;left:0;top:0;width:100%;height:100%;z-index:9}.ts[data-v-4448a152]{position:absolute;left:%?-54?%;top:%?-90?%;padding:%?16?%;white-space:nowrap;font-size:%?28?%;color:#fff;background:rgba(32,32,32,.92);border-radius:%?16?%}.ts[data-v-4448a152]:before{content:"";position:absolute;top:100%;left:%?60?%;width:0;height:0;border-left:%?16?% solid transparent;border-right:%?16?% solid transparent;border-top:%?14?% solid rgba(32,32,32,.92)}.pop[data-v-4448a152]{padding:%?24?% %?48?% %?48?%}.popTit[data-v-4448a152]{text-align:center;font-size:%?32?%;color:#262626;font-weight:700}.popDes[data-v-4448a152]{padding:%?24?% 0 %?48?%;font-size:%?28?%;color:#262626}.popDes uni-text[data-v-4448a152]{color:#f0250e}.popBtn[data-v-4448a152]{display:flex;align-items:center;justify-content:space-between}.popBtn .view[data-v-4448a152]{display:flex;align-items:center;justify-content:center;width:%?230?%;height:%?76?%;background:#fff;border:1px solid #999;border-radius:32px;font-size:%?32?%;color:#262626}.popBtn .view uni-button[data-v-4448a152]{padding:0;height:100%;width:100%;border-radius:32px;line-height:%?76?%;background:#f0250e;color:#fff}.popBtn .view uni-button[data-v-4448a152]::after{display:none}.popBtn .view.s1[data-v-4448a152]{border-color:#f0250e}',""]),e.exports=t},ea44:function(e,t,n){"use strict";n.r(t);var a=n("ba5f"),o=n("56c76");for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n("d702");var r=n("828b"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"6294a576",null,!1,a["a"],void 0);t["default"]=s.exports},ecf5:function(e,t,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("5c47"),n("0506"),n("d4b5"),n("7a76"),n("c9b5");var o=a(n("9b1b")),i=a(n("2634")),r=a(n("2fdc")),s=n("7973"),c=a(n("77d8")),u=n("63a9"),l=a(n("abfc")),d={props:{param:{type:Object,default:function(){return{}}}},components:{BindRelationH5:c.default,captchaCom:l.default},data:function(){return{tips:this.$t("login.getCode"),seconds:60,phone:"",password:"",code:"",read:!1,loginCode:"",loginType:1}},computed:{inputStyle:function(){return{color:"#262626",fontWeight:"500;"}},noLoginTabarPath:function(){return this.$store.getters.noLoginTabarPath},routeType:function(){return this.$store.getters.routeType},systemInfo:function(){return uni.getSystemInfoSync()}},methods:{onLoginType:function(e){this.loginType=e},getOption:function(){var e=this;return(0,r.default)((0,i.default)().mark((function t(){var n,a,o;return(0,i.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=/^1[3-9]\d{9}$/,e.phone){t.next=4;break}return uni.showToast({title:e.$t("login.inputPhone"),icon:"none",duration:1e3}),t.abrupt("return",!1);case 4:if(n.test(e.phone)){t.next=7;break}return uni.showToast({title:e.$t("login.inputPhoneNumber"),icon:"none",duration:1e3}),t.abrupt("return",!1);case 7:return a=uni.getStorageSync("parent_user_id"),t.next=10,e.$allrequest.user.getOptionByH5({mobile:e.phone,share_user_id:a});case 10:o=t.sent,0===o.data.is_exist_user&&1===o.data.enforce_bind_parent?(o.data.parent_id>0&&o.data.parent_mobile&&(e.$refs["BindRelation"].parent_avatar=o.data.parent_avatar_url,e.$refs["BindRelation"].parent_nickname=o.data.parent_nickname,e.$refs["BindRelation"].parent_mobile=o.data.parent_mobile,e.$refs["BindRelation"].parent_id=o.data.parent_id),e.$refs["BindRelation"].showPopup=!0):e.captchaInit();case 12:case"end":return t.stop()}}),t)})))()},loginAction:function(){var e=this;return(0,r.default)((0,i.default)().mark((function t(){var n,a,o,r;return(0,i.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=/^1[3-9]\d{9}$/,e.phone){t.next=4;break}return uni.showToast({title:e.$t("login.inputPhone"),icon:"none",duration:1e3}),t.abrupt("return",!1);case 4:if(n.test(e.phone)){t.next=7;break}return uni.showToast({title:e.$t("login.inputPhoneNumber"),icon:"none",duration:1e3}),t.abrupt("return",!1);case 7:if(e.code||1!=e.loginType){t.next=10;break}return uni.showToast({title:e.$t("login.inputCode"),icon:"none",duration:1e3}),t.abrupt("return",!1);case 10:if(e.password||2!=e.loginType){t.next=13;break}return uni.showToast({title:"请输入密码",icon:"none",duration:1e3}),t.abrupt("return",!1);case 13:return t.prev=13,a=uni.getStorageSync("parent_user_id"),o=uni.getStorageSync("page_type"),t.next=18,e.$allrequest.user.user_login({phone:e.phone,verify_code:e.code,login_type:e.loginType,password:e.password,share_user_id:a||0,_platform:"phone",page_type:o,code:e.loginCode});case 18:r=t.sent,e.$utils.isWechat()?0==r.code&&(uni.removeStorageSync("hasUri"),uni.showToast({title:r.msg,icon:"none",duration:1e3}),setTimeout((function(){e.afterLogin(r)}),1e3)):(uni.showToast({title:r.msg,icon:"none",duration:1e3}),setTimeout((function(){e.afterLogin(r)}),1e3)),t.next=25;break;case 22:t.prev=22,t.t0=t["catch"](13),uni.showToast({title:"登录失败",icon:"none",duration:1e3});case 25:case"end":return t.stop()}}),t,null,[[13,22]])})))()},weiXinLogin:function(e,t){var n=this;return(0,r.default)((0,i.default)().mark((function a(){var r;return(0,i.default)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,n.$allrequest.user.user_login((0,o.default)((0,o.default)({},e),{},{user_info:e.userInfo,encrypted_data:e.encryptedData,_platform:"wx",code:t}));case 3:r=a.sent,uni.showToast({title:r.msg,icon:"none",duration:1e3}),setTimeout((function(){n.afterLogin(r)}),1e3),a.next=10;break;case 8:a.prev=8,a.t0=a["catch"](0);case 10:case"end":return a.stop()}}),a,null,[[0,8]])})))()},appWeixinLogin:function(e){var t=this;return(0,r.default)((0,i.default)().mark((function n(){var a;return(0,i.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,t.$allrequest.user.user_login((0,o.default)((0,o.default)({},e),{},{user_info:e.userInfo,_platform:"app"}));case 3:a=n.sent,uni.showToast({title:a.msg,icon:"none",duration:1e3}),setTimeout((function(){t.afterLogin(a)}),1e3),n.next=10;break;case 8:n.prev=8,n.t0=n["catch"](0);case 10:case"end":return n.stop()}}),n,null,[[0,8]])})))()},appAppleLogin:function(e){return(0,r.default)((0,i.default)().mark((function t(){return(0,i.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:uni.login({provider:e,scopes:["auth_user"],success:function(t){uni.getUserInfo({provider:e,success:function(){var e=(0,r.default)((0,i.default)().mark((function e(t){return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),fail:function(e){uni.showModal({content:JSON.stringify(e),showCancel:!1})}})},fail:function(e){uni.showModal({content:JSON.stringify(e),showCancel:!1})}});case 1:case"end":return t.stop()}}),t)})))()},afterLogin:function(e,t){var n=this;return(0,r.default)((0,i.default)().mark((function a(){var o,r;return(0,i.default)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(o=!1,0!=e.code){a.next=28;break}return uni.removeStorageSync("hasUri"),uni.setStorageSync("token",e.data.access_token),uni.setStorageSync("session_key",e.data.session_key),uni.setStorageSync("userInfo",e.data),n.$store.commit("setUserInfo",e.data),uni.removeStorageSync("storeMdData"),a.prev=8,a.next=11,(0,u.getStoreSwitch)();case 11:r=a.sent,r.data.is_switch_store&&(uni.removeStorageSync("storeMdData"),n.$store.commit("setStoreId",r.data.store_id),n.$store.commit("setCopyright",r.data.copyright),o=!0,n.routeType&&(n.routeType="reLaunch")),a.next=17;break;case 15:a.prev=15,a.t0=a["catch"](8);case 17:if(n.routeType,t&&t(),!n.noLoginTabarPath||!n.routeType){a.next=25;break}"reLaunch",n.$utils.toUrl(n.noLoginTabarPath,"reLaunch"),setTimeout((function(){n.$store.commit("setNoLoginTabarPath",""),n.$store.commit("setRouteType","")}),0),a.next=28;break;case 25:if(!o){a.next=27;break}return a.abrupt("return",n.$utils.toUrl("/pages/my/my","reLaunch"));case 27:n.$utils.goBack();case 28:case"end":return a.stop()}}),a,null,[[8,15]])})))()},toBind:function(e){},codeChange:function(e){var t=this,n=e;this.tips=n+this.$t("diy.second");var a=setInterval((function(){n--,n<=1?(clearInterval(a),t.tips=t.$t("login.getCode")):t.tips=n+t.$t("diy.second")}),1e3)},captchaInit:function(){if(this.tips==this.$t("login.getCode"))return this.$u.test.mobile(this.phone)?void this.$refs["captchaRef"].init():this.$u.toast(this.$t("login.inputPhoneNumber"))},getCode:function(){var e=this;return(0,r.default)((0,i.default)().mark((function t(){var n,a;return(0,i.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n={phone:e.phone,code_type:"login"},t.prev=1,t.next=4,e.$allrequest.user.sms_code(n);case 4:if(a=t.sent,0==a.code){t.next=7;break}throw new Error(a);case 7:e.codeChange(60),uni.hideLoading(),t.next=15;break;case 11:t.prev=11,t.t0=t["catch"](1),uni.hideLoading(),e.$u.toast(t.t0.msg||e.$t("user.err"));case 15:case"end":return t.stop()}}),t,null,[[1,11]])})))()},toIndex:function(){this.$utils.goBack()},webAuthorization:function(){window.location.href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=sdfsdfgsaa194f7ca6&redirect_uri="+encodeURIComponent("http://sdfa.test.com/pages/login/login")+"&response_type=code&scope=snsapi_userinfo&state=1#wechat_redirect"}},mounted:function(){var e=this;return(0,r.default)((0,i.default)().mark((function t(){var n,a;return(0,i.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e.$utils.isWechat()){t.next=9;break}if(!e.$utils.getStorage("hasUri")){t.next=5;break}return n=e.$utils.oneValues(window.location.href),e.loginCode=n.code,t.abrupt("return");case 5:return t.next=7,(0,s.getRedirectUri)({path:"/login/login/login_page",form_value:e.$store.getters.has_is_one_store?"h8":"h5"});case 7:a=t.sent,!a.code&&a.data.uri&&(e.$utils.setStorage("hasUri",!0),window.location.href=a.data.uri);case 9:case"end":return t.stop()}}),t)})))()}};t.default=d},f664:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var a={uInput:n("b894").default,uPopup:n("650d").default},o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"box"},[n("v-uni-view",{staticClass:"statusBar",style:"height:"+e.statusBarHeight+"px"}),n("v-uni-view",{staticClass:"head"},[n("v-uni-text",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$utils.toUrl("/pages/home/home","switchtab")}}}),n("v-uni-view",[e._v(e._s(e.$t("login.please")))])],1),n("v-uni-view",{staticClass:"login-content"},[n("v-uni-view",{staticClass:"por"},["toutiao"!==e.current_env&&"weixin"!=e.current_env?n("v-uni-view",{staticClass:"app"},[n("v-uni-image",{attrs:{src:e.storeLogo,mode:"aspectFill"}}),n("v-uni-text",[e._v(e._s(e.storeName))])],1):e._e(),1==e.stores.alipay_login_toggle?[n("v-uni-view",{staticClass:"login-from-wrap"},[n("v-uni-view",{staticClass:"input-wrap"},[n("v-uni-input",{attrs:{type:"number",placeholder:"请输入手机号"},model:{value:e.mobile,callback:function(t){e.mobile=t},expression:"mobile"}})],1),n("v-uni-view",{staticClass:"input-wrap"},[n("v-uni-input",{attrs:{type:"number",placeholder:"请输入验证码",maxlength:"6"},model:{value:e.sms_code,callback:function(t){e.sms_code=t},expression:"sms_code"}}),n("v-uni-view",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.getCode.apply(void 0,arguments)}}},[e._v(e._s(e.tips))])],1),n("v-uni-view",{staticClass:"login-btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onSmsLogin.apply(void 0,arguments)}}},[e._v("登录")])],1)]:["alipay"==e.current_env&&"getUserInfo"==e.is_isv?n("v-uni-button",{staticClass:"btn",attrs:{"open-type":e.is_isv,scope:e.scope},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onGetAuthorizeByAlipay.apply(void 0,arguments)},error:function(t){arguments[0]=t=e.$handleEvent(t),e.onAuthError.apply(void 0,arguments)}}},[e._v(e._s(e.$t("login.loginAuth")))]):e._e(),"alipay"==e.current_env&&"getPhoneNumber"==e.is_isv?n("v-uni-button",{staticClass:"btn",attrs:{"open-type":"getPhoneNumber",scope:"phoneNumber"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onGetAuthorizeByAlipay.apply(void 0,arguments)},error:function(t){arguments[0]=t=e.$handleEvent(t),e.onAuthError.apply(void 0,arguments)},getphonenumber:function(t){arguments[0]=t=e.$handleEvent(t),e.onGetPhoneNumberAlipay.apply(void 0,arguments)}}},[e._v(e._s(e.$t("login.loginAuth")))]):e._e(),"weixin"==e.current_env||"toutiao"==e.current_env?["weixin"==e.current_env?n("v-uni-button",{staticClass:"avatar-wrapper button-initial",attrs:{"open-type":"chooseAvatar"},on:{chooseavatar:function(t){arguments[0]=t=e.$handleEvent(t),e.onChooseAvatar.apply(void 0,arguments)},click:function(t){arguments[0]=t=e.$handleEvent(t),e.handle.apply(void 0,arguments)}}},[n("v-uni-image",{staticClass:"avatar",attrs:{src:e.WeChat.avatar_url||e.asyncImgs.union.toux,mode:"aspectFill"}}),n("v-uni-view",{staticClass:"newText"},[e._v("点击上传头像")])],1):n("v-uni-button",{staticClass:"avatar-wrapper button-initial",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.checkPhoto.apply(void 0,arguments)}}},[n("v-uni-image",{staticClass:"avatar",attrs:{src:e.WeChat.avatar_url||e.asyncImgs.union.toux,mode:"aspectFill"}}),n("v-uni-view",{staticClass:"newText"},[e._v("点击上传头像")])],1),n("v-uni-view",{staticClass:"nicknameBox"},[n("v-uni-view",{staticClass:"name"},[e._v("昵称")]),n("v-uni-view",{staticClass:"inp"},[n("u-input",{staticClass:"inp-inp",attrs:{height:"108",clearable:!0,border:!1,type:"nickname",placeholder:"请输入昵称"},model:{value:e.WeChat.nickname,callback:function(t){e.$set(e.WeChat,"nickname",t)},expression:"WeChat.nickname"}})],1)],1),"weixin"==e.current_env?n("v-uni-view",{staticClass:"porBtn"},[e.isSubmit?n("v-uni-view",{staticClass:"verification",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.verification.apply(void 0,arguments)}}}):e._e(),e.login_use_mobile?n("v-uni-button",{staticClass:"btn",attrs:{type:"primary","open-type":"getPhoneNumber"},on:{getphonenumber:function(t){arguments[0]=t=e.$handleEvent(t),e.getPhoneNumber.apply(void 0,arguments)}}},[e._v(e._s(e.$t("login.weChat")))]):n("v-uni-button",{staticClass:"btn",attrs:{type:"primary"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.loginSubmit()}}},[e._v(e._s(e.$t("login.weChat")))])],1):e._e(),"toutiao"===e.current_env?n("div",{staticClass:"porBtn"},[e.access_token?n("v-uni-button",{staticClass:"button-initial btn toutiao-bt",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.toutiaoSubmit.apply(void 0,arguments)}}},[e._v("抖音快捷登录")]):n("v-uni-button",{staticClass:"button-initial btn toutiao-bt",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.ttUserInfo.apply(void 0,arguments)}}},[e._v("抖音快捷登录")])],1):e._e(),n("v-uni-view",{staticClass:"noLogin",staticStyle:{"font-size":"28rpx","text-align":"center","padding-top":"60rpx",color:"#8c8c8c"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$utils.goBack()}}},[e._v("暂不登录")])]:e._e()]],2),n("v-uni-view",{staticClass:"tcp-box por"},[n("v-uni-view",{staticClass:"por"},[n("v-uni-checkbox",{attrs:{checked:e.checked},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.checked=!e.checked}}})],1),n("v-uni-text",{on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.$utils.toUrl("/user/my/article-detail?id="+e.stores.client_service_id)}}},[e._v("《服务条款》")]),n("v-uni-text",{staticStyle:{margin:"0 5rpx",color:"#262626"}},[e._v(e._s(e.$t("login.and")))]),n("v-uni-text",{on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.$utils.toUrl("/user/my/article-detail?id="+e.stores.client_privacy_id)}}},[e._v("《隐私政策》")])],1)],1),n("BindRelation",{ref:"BindRelation",on:{login:function(t){arguments[0]=t=e.$handleEvent(t),e.onBindLogin.apply(void 0,arguments)}}}),n("u-popup",{attrs:{mode:"center",width:"80%","border-radius":"24"},model:{value:e.popShow,callback:function(t){e.popShow=t},expression:"popShow"}},[n("v-uni-view",{staticClass:"pop"},[n("v-uni-view",{staticClass:"popTit"},[e._v("温馨提示")]),n("v-uni-view",{staticClass:"popDes"},[e._v("欢迎使用,在你使用前,请你务必审慎阅读、充分理解服务条款和隐私政策各条款,包括但不限于用户注意事项、用户行为规范以及为了向你提供服务而收集、使用、存储你个人信息的情况等。你可阅读"),n("v-uni-text",{on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.$utils.toUrl("/user/my/article-detail?id="+e.stores.client_service_id)}}},[e._v("《服务条款》")]),e._v("和"),n("v-uni-text",{on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.$utils.toUrl("/user/my/article-detail?id="+e.stores.client_privacy_id)}}},[e._v("《隐私政策》")]),e._v("了解详细信息。如你同意,请点击下方按钮开始接受我们的服务。")],1),n("v-uni-view",{staticClass:"popBtn"},[n("v-uni-view",{staticClass:"view",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.popShow=!1}}},[e._v("不同意")]),n("v-uni-view",{staticClass:"view s1",on:{"!click":function(t){arguments[0]=t=e.$handleEvent(t),e.setChecked.apply(void 0,arguments)}}},[1==e.stores.alipay_login_toggle?n("v-uni-button",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onSmsLogin()}}},[e._v("同意")]):[e.login_use_mobile?n("v-uni-button",{attrs:{"open-type":"getPhoneNumber"},on:{getphonenumber:function(t){arguments[0]=t=e.$handleEvent(t),e.getPhoneNumber.apply(void 0,arguments)}}},[e._v("同意")]):n("v-uni-button",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.loginSubmit()}}},[e._v("同意")])]],2)],1)],1)],1)],1)},i=[]},f9c8:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var a={uIcon:n("0852").default},o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"signStyle"},[n("div",{staticClass:"title"},[n("u-icon",{attrs:{name:"close"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.toIndex.apply(void 0,arguments)}}})],1),n("div",{staticClass:"loginBox"},[n("h1",{staticClass:"welcome"},[e._v(e._s(e.$t("login.welcome")))]),n("div",{staticClass:"login-tab"},[n("div",{class:{current:1==e.loginType},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onLoginType(1)}}},[e._v("短信登录")]),n("div",{class:{current:2==e.loginType},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onLoginType(2)}}},[e._v("密码登录")])]),n("div",{class:["phone","style1"]},[n("v-uni-input",{style:[e.inputStyle],attrs:{type:"number",placeholder:e.$t("login.phone")},model:{value:e.phone,callback:function(t){e.phone=t},expression:"phone"}}),n("u-icon",{staticStyle:{color:"#ccc","font-size":"32rpx"},style:[e.inputStyle],attrs:{name:"close"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.phone=""}}})],1),n("div",{staticClass:"password"},[1==e.loginType?[n("v-uni-input",{staticStyle:{flex:"1",width:"0"},attrs:{type:"number",placeholder:e.$t("login.code"),maxlength:"6"},model:{value:e.code,callback:function(t){e.code=t},expression:"code"}}),n("div",{staticStyle:{color:"#f60313"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.getOption.apply(void 0,arguments)}}},[e._v(e._s(e.tips))])]:[n("v-uni-input",{style:[e.inputStyle],attrs:{type:"text",placeholder:"请输入密码"},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}}),n("u-icon",{staticStyle:{color:"#ccc","font-size":"32rpx"},style:[e.inputStyle],attrs:{name:"close"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.password=""}}})]],2),n("div",{staticClass:"warning"},[n("v-uni-view",{staticClass:"radio"},[n("v-uni-radio",{staticStyle:{transform:"scale(0.7)"},attrs:{checked:e.read,color:"#f0250e"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.read=!e.read}}})],1),n("v-uni-view",{staticClass:"content"},[n("span",[e._v(e._s(e.$t("login.warning1")))]),n("span",[n("v-uni-text",{staticStyle:{color:"#007aff"},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.$utils.toUrl("/user/my/article-detail?id="+e.stores.client_service_id)}}},[e._v("《用户服务协议》")]),e._v("及"),n("v-uni-text",{staticStyle:{color:"#007aff"},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.$utils.toUrl("/user/my/article-detail?id="+e.stores.client_privacy_id)}}},[e._v("《平台隐私政策》,")])],1),n("span",[e._v(e._s(e.$t("login.register")))])])],1),e.read?n("div",{staticClass:"btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.loginAction.apply(void 0,arguments)}}},[e._v(e._s(e.$t("login.loginBtn")))]):n("div",{staticClass:"btn disabled"},[e._v(e._s(e.$t("login.loginBtn")))])]),n("BindRelationH5",{ref:"BindRelation",on:{login:function(t){arguments[0]=t=e.$handleEvent(t),e.captchaInit.apply(void 0,arguments)}}}),n("captchaCom",{ref:"captchaRef",on:{success:function(t){arguments[0]=t=e.$handleEvent(t),e.getCode.apply(void 0,arguments)}}})],1)},i=[]},ff3b:function(e,t,n){"use strict";n.r(t);var a=n("ecf5"),o=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=o.a}}]);
|