shop-php/public/static.dev/js/pages-store-settled-index.8be70a8c.js

1 line
65 KiB
JavaScript
Raw Normal View History

2023-09-13 22:22:16 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-store-settled-index"],{"0cf8":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")),o=(n(i("bc32")),i("c6da"),i("cf53"),i("26cb")),r=(n(i("e92e")),i("0cdc")),s=(n(i("80a6")),i("42d4")),c=(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,o.mapGetters)(["isLogin","userInfo","viewColor"])),(0,r.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,s.toLogin)(!0)},getUserProfile:function(){(0,s.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=c},"1bf4":function(t,e,i){"use strict";i.r(e);var n=i("9248"),a=i("c05c");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("6489");var r=i("f0c5"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"6dfbdbd8",null,!1,n["a"],void 0);e["default"]=s.exports},"1bf9":function(t,e,i){"use strict";(function(t){i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("c7eb")),o=n(i("1da1"));i("b64b"),i("d81d"),i("99af"),i("14d9"),i("a434"),i("ac1f"),i("00b4");var r=i("94e5"),s=i("ea97"),c=i("a9f1"),l=i("26cb"),u=i("0cdc"),d=n(i("1bf4")),f=n(i("b68a")),h=n(i("f358")),p=i("350b"),g=(getApp(),{components:{"jyf-parser":d.default,authorize:f.default,Verify:h.default},data:function(){return{domain:p.HTTP_REQUEST_URL,cartId:"",pinkId:0,couponId:0,isAuto:!1,isShowAuth:!1,text:"获取验证码",codeUrl:"",disabled:!1,isAgree:!1,showProtocol:!1,isShowCode:!1,loading:!1,merchantData:{enterprise_name:"",user_name:"",phone:"",classification:"",social_credit_code:""},validate:!1,successful:!1,keyCode:"",codeVal:"",protocol:this.sys_intention_agree,timer:"",index:0,index1:0,index2:[0,0,0],mer_classification:"",array:[{category_name:"",merchant_category_id:""}],storeTypeArr:[{type_name:"",mer_type_id:""}],StreetTyoeArr:[{area_id:"",street_id:"",village_id:""}],mer_storeType:"",area_id:"",street_id:"",village_id:"",isnm:!1,isnum:0,code1:"",code2:"",business_name:"",business:[],pics:[],tagStyle:{img:"width:100%;display:block;"},mer_i_id:null,isType:!1}},beforeDestroy:function(){clearTimeout(this.timer)},computed:(0,u.configMap)({sys_intention_agree:""},(0,l.mapGetters)(["isLogin","viewColor","keyColor"])),onLoad:function(t){this.isLogin?(this.getClassfication(),this.getStoreType()):(this.isAuto=!0,this.isShowAuth=!0),t.mer_i_id&&(this.mer_i_id=t.mer_i_id,uni.showLoading({title:"获取数据中"}),this.$nextTick((function(){this.getGoodsDetails(t.mer_i_id)}))),this.getArea()},onShow:function(){},onReady:function(){},methods:{getVillage:function(t){var e=this;(0,c.getVillage)({street_code:t}).then((function(t){e.$set(e.business,2,t.data)}))},getStreet:function(t){var e=this;(0,c.getStreet)({area_code:t}).then((function(t){e.$set(e.business,1,t.data),e.getVillage(e.business[1][0].code)}))},getArea:function(){var t=this;(0,c.getArea)({city_code:510500}).then((function(e){t.business[0]=e.data,t.code1=t.business[0][0].code,t.getStreet(t.code1)}))},pickerColumnchange:function(t){0===t.detail.column?(this.getStreet(this.bu