(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-member-sellerjoinin-Step4"],{"07a0":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"div container"},[i("v-uni-view",{staticClass:"div uni-steps"},[i("v-uni-view",{staticClass:"div uni-steps-items",class:"uni-steps-"+t.direction},t._l(t.options,(function(e,n){return i("v-uni-view",{key:n,staticClass:"div uni-steps-item",class:{"uni-steps-process":n===t.active,"uni-steps-finish":n0&&this.cartNumber<100?this.cartNumber:this.cartNumber>=100?"99+":void 0}}),mounted:function(){var t=getCurrentPages(),e=t[t.length-1];this.page={route:e.route,options:e.options},this.user||uni.navigateTo({url:"/pages/home/memberlogin/Login?clear=1"}),this.getCartCount()},methods:{getCartCount:function(){var t=this;this.isOnline&&(0,o.cartQuantity)().then((function(e){e&&(t.cartNumber=e.result.cart_count)}))}}};e.default=r},"1d0f":function(t,e,i){var n=i("ab61");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var s=i("4f06").default;s("5e92d202",n,!0,{sourceMap:!1,shadowMode:!1})},"275e":function(t,e,i){"use strict";i.r(e);var n=i("07a0"),s=i("4038");for(var a in s)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(a);i("ea69");var o=i("f0c5"),r=Object(o["a"])(s["default"],n["b"],n["c"],!1,null,"50767a3c",null,!1,n["a"],void 0);e["default"]=r.exports},4038:function(t,e,i){"use strict";i.r(e);var n=i("a947"),s=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=s.a},"48b9":function(t,e,i){var n=i("bdf5");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var s=i("4f06").default;s("0a323f3d",n,!0,{sourceMap:!1,shadowMode:!1})},"69f5":function(t,e,i){"use strict";i.r(e);var n=i("0868"),s=i.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=s.a},"6df0":function(t,e,i){"use strict";i.r(e);var n=i("aadb"),s=i("ba3b");for(var a in s)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(a);i("c6fd");var o=i("f0c5"),r=Object(o["a"])(s["default"],n["b"],n["c"],!1,null,"19502150",null,!1,n["a"],void 0);e["default"]=r.exports},"76f2":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"div flex-line",class:{border:this.showBorder}},[e("v-uni-view",{staticClass:"div left"},[this._t("default")],2),e("v-uni-view",{staticClass:"div right"},[this._t("right"),this.isLink?e("v-uni-text",{staticClass:"span iconfont arrow"},[this._v("")]):this._e()],2)],1)},s=[]},"79ed":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/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.common-header .btn[data-v-19502150]{background:#000;color:#fff;box-shadow:0 2px 4px #d2d2d2}.main-content[data-v-19502150]{background:#fff;padding:0 .6rem}.common-popup-content[data-v-19502150]{padding:0 .6rem;box-sizing:border-box}.container[data-v-19502150]{background:#fff}.label[data-v-19502150]{padding:.5rem;font-size:.8rem;background:#eee}.toolbar[data-v-19502150]{height:2rem;display:flex;flex-direction:row;justify-content:space-between;align-items:center;background-color:#f0f2f5}.toolbar .toolbar-item[data-v-19502150]{font-size:.6rem;border:none;border-radius:0;background-color:#f0f2f5}.toolbar .cancel-item[data-v-19502150]{margin-left:.5rem;color:#4e545d}.toolbar .confirm-item[data-v-19502150]{margin-right:.5rem;color:red}.toolbar .picker-header[data-v-19502150]{color:#4e545d;line-height:2rem;font-size:.8rem}.popup-content[data-v-19502150]{padding:0 %?40?%;height:%?300?%}.popup-item-wrapper[data-v-19502150]{display:flex;justify-content:center;align-items:center}.popup-item[data-v-19502150]{font-size:%?30?%;line-height:%?80?%;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}',""]),t.exports=e},"7b4a":function(t,e,i){"use strict";i.r(e);var n=i("8034"),s=i("69f5");for(var a in s)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(a);i("dacb");var o=i("f0c5"),r=Object(o["a"])(s["default"],n["b"],n["c"],!1,null,"3e6c03f6",null,!1,n["a"],void 0);e["default"]=r.exports},8034:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"div member-base"},[n("v-uni-view",{staticClass:"status-holder"}),n("v-uni-view",{staticClass:"content"},[t._t("default")],2),t.show?n("v-uni-view",{staticClass:"div common-footer-wrap"},[n("v-uni-view",{staticClass:"common-footer"},[n("v-uni-view",{staticClass:"item-wrap",class:{active:"pages/home/index/Index"==t.page.route}},[n("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/home/index/Index","open-type":"reLaunch"}},["pages/home/index/Index"==t.page.route?n("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:i("0207")}}):n("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:i("241a")}}),n("v-uni-text",{staticClass:"span text"},[t._v("首页")])],1)],1),n("v-uni-view",{staticClass:"item-wrap",class:{active:"pages/home/goodsclass/Goodsclass"==t.page.route}},[n("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/home/goodsclass/Goodsclass"}},["pages/home/goodsclass/Goodsclass"==t.page.route?n("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:i("79bf")}}):n("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:i("d86e")}}),n("v-uni-text",{staticClass:"span text"},[t._v("分类")])],1)],1),n("v-uni-view",{staticClass:"item-wrap",class:{active:"pages/home/search/Search"==t.page.route}},[n("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/home/search/Search"}},["pages/home/search/Search"==t.page.route?n("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:i("492b")}}):n("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:i("1702")}}),n("v-uni-text",{staticClass:"span text"},[t._v("搜索")])],1)],1),n("v-uni-view",{staticClass:"item-wrap",class:{active:"pages/member/cart/Cart"==t.page.route}},[n("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/member/cart/Cart"}},["pages/member/cart/Cart"==t.page.route?n("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:i("62a8")}}):n("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:i("8559")}}),n("v-uni-text",{staticClass:"span text"},[t._v("购物车")]),t.cartNumber>0?n("v-uni-text",{staticClass:"span icon"},[t._v(t._s(t.getCarCount))]):t._e()],1)],1),n("v-uni-view",{staticClass:"item-wrap",class:{active:"pages/member/index/Index"==t.page.route}},[n("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/member/index/Index","open-type":"reLaunch"}},["pages/member/index/Index"==t.page.route?n("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:i("857e")}}):n("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:i("e31d")}}),n("v-uni-text",{staticClass:"span text"},[t._v("我的")])],1)],1)],1)],1):t._e()],1)},s=[]},"80c6":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"flexLine",data:function(){return{}},props:{isLink:{type:Boolean,default:!1},showBorder:{type:Boolean,default:!1}},methods:{}};e.default=n},"8a0c":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/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.status-holder[data-v-3e6c03f6]{background-color:#fff}.member-base[data-v-3e6c03f6]{display:flex;flex-direction:column}.content[data-v-3e6c03f6]{flex:1}.item-wrap[data-v-3e6c03f6]{position:relative}.image[data-v-3e6c03f6]{width:1rem;height:1rem;display:block;margin-left:auto;margin-right:auto;margin-top:.2rem;margin-bottom:.2rem}.icon[data-v-3e6c03f6]{position:absolute;right:.8rem;top:.2rem;font-size:.5rem;line-height:.7rem;width:.9rem;height:.7rem;background:#ef3338;border-radius:1rem;text-align:center;color:#fff}',""]),t.exports=e},"8ad5":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("14d9"),i("d3b7"),i("ddb0"),i("e25e");var s=n(i("5530")),a=i("0b9f"),o=n(i("cce0")),r=n(i("7b4a")),c=i("26cb"),l=n(i("275e")),u=i("b7e0"),d=n(i("f522")),p={components:{TitleHeader:o.default,MemberBase:r.default,flexLine:d.default,Step:l.default},data:function(){return{navHeight:0,stPicker:[0],sgPicker:[0],scPicker:[0],gcPicker:[0,0,0],screenWidth:0,options:[{title:"公司资质"},{title:"财务资质"},{title:"店铺信息"},{title:"合同签订"}],store_class_options:[],store_grade_options:[],goods_class:{},store_time_options:[{flex:1,values:[{time_number:1,time_text:"1年"},{time_number:2,time_text:"2年"}],textAlign:"center"}],classIndex:0}},mounted:function(){this.screenWidth=uni.getSystemInfoSync().screenWidth},computed:(0,s.default)((0,s.default)({fontSize:function(){return(0,a.getFontSize)()}},(0,c.mapState)({storeJoinin1:function(t){return t.member.storeJoinin1},storeJoinin0:function(t){return t.member.storeJoinin0},storeJoininType:function(t){return t.member.storeJoininType},items:function(t){return t.goodsclass.items},config:function(t){return t.config.config}})),{},{storeJoinin:function(){return 1==this.storeJoininType?this.storeJoinin1:this.storeJoinin0},buildItems:function(){if(!this.items||!this.items[0])return[];var t=new Array;return this.getDefaultItems(this.items,t),t}}),created:function(){var t=this;this.storeJoinin.store_class_names&&this.storeJoinin.store_class_names.length||(this.storeJoinin.store_class_names=[""]),(0,u.getStoreJoinin)().then((function(e){var i=e.result.store_joinin;if(i){if(11==i.joinin_state||20==i.joinin_state||31==i.joinin_state)return void uni.redirectTo({url:"/pages/member/sellerjoinin/Step5"});if(40==i.joinin_state)return void uni.showToast({icon:"none",title:"您的店铺已开通"});t.sellerJoininSave({storeJoinin:i}),t.fetchConfig({}).then((function(e){2!=t.config.store_joinin_open&&3!=t.config.store_joinin_open||(3==t.config.store_joinin_open&&(t.storeJoinin["store_type"]=1),2==t.config.store_joinin_open&&(t.storeJoinin["store_type"]=0),t.$forceUpdate())}),(function(t){uni.showToast({icon:"none",title:t.message})})),t.isSame=!!t.storeJoinin.is_settlement_account,t.storeJoinin.store_class_names&&t.storeJoinin.store_class_names.length||(t.storeJoinin.store_class_names=[""])}})).catch((function(t){uni.showToast({icon:"none",title:t.message})})),this.fetchGoodsclassList(),(0,u.getStoreClass)().then((function(e){var i=e.result.store_class;t.store_class_options=[{flex:1,values:i,textAlign:"center"}]})).catch((function(t){uni.showToast({icon:"none",title:t.message})})),(0,u.getStoreGrade)().then((function(e){var i=e.result.storegrade_list;t.store_grade_options=[{flex:1,values:i,textAlign:"center"}]})).catch((function(t){uni.showToast({icon:"none",title:t.message})}))},methods:(0,s.default)((0,s.default)((0,s.default)({showPopup:function(t){this.$refs[t].open()},hidePopup:function(t){this.$refs[t].close()},goBack:function(){uni.navigateBack({delta:1})}},(0,c.mapActions)({fetchConfig:"fetchConfig",fetchGoodsclassList:"fetchGoodsclassList"})),(0,c.mapMutations)({sellerJoininSave:"sellerJoininSave"})),{},{nextStep:function(){var t=this;this.config?(0,u.saveStoreJoinin4)(this.storeJoinin).then((function(e){t.sellerJoininSave({storeJoinin:t.storeJoinin}),uni.redirectTo({url:"/pages/member/sellerjoinin/Step5"})})).catch((function(t){uni.showToast({icon:"none",title:t.message})})):uni.showToast({icon:"none",title:"请稍等"})},addGoodsClass:function(){this.storeJoinin.store_class_names||(this.storeJoinin.store_class_names=[]),this.storeJoinin.store_class_names.push(""),this.$forceUpdate()},getDefaultItems:function(t,e){e.push({flex:1,values:t,textAlign:"center"}),e.push({flex:1,values:t[0].children,textAlign:"center"}),e.push({flex:1,values:t[0].children&&t[0].children.length?t[0].children[0].children:[],textAlign:"center"})},cancelClass:function(){this.hidePopup("classVisible")},confirmClass:function(){var t=[];for(var e in this.gcPicker)t[e]=this.buildItems[e]["values"][this.gcPicker[e]],t[e]||(t[e]={id:0,value:""});this.storeJoinin.store_class_ids||(this.storeJoinin.store_class_ids=[]),this.storeJoinin.store_class_commis_rates||(this.storeJoinin.store_class_commis_rates=[]);var i="",n="",s=0;for(var e in t)t[e].id&&(s=e,i?(i+=","+t[e].value,n+=","+t[e].id):(i=t[e].value,n=t[e].id));this.storeJoinin.store_class_names[this.classIndex]=i,this.storeJoinin.store_class_ids[this.classIndex]=n,this.storeJoinin.store_class_commis_rates[this.classIndex]=t[s].commis_rate,this.hidePopup("classVisible"),this.$forceUpdate()},onStoreClassChange:function(t){this.scPicker=t.detail.value},onStoreGradeChange:function(t){this.sgPicker=t.detail.value},onStoreTimeChange:function(t){this.stPicker=t.detail.value},onClassChange:function(t){var e=t.detail.value,i=this.gcPicker;for(var n in e)i[n]=e[n],n=parseInt(n),n