(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-xzdl"],{"077a":function(e,t,n){"use strict";var i=n("63a8"),a=n.n(i);a.a},"576b":function(e,t,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(n("89cb")),o=n("5635"),s={components:{pickerAddress:a.default},data:function(){return{loaded:!1,addressDetail:"",chooseLevel:"请选择",leveleId:"",levelList:[{name:"vip代理",id:1},{name:"区域代理",id:2}],addressData:{name:"",mobile:"",address:{province:"",city:"",district:""},area:"",default:!1}}},onLoad:function(){},onShow:function(){},onReachBottom:function(){},onReady:function(){},methods:{bindlevel:function(e){this.chooseLevel=this.levelList[e.detail.value].name,this.leveleId=this.levelList[e.detail.value].id},onCityClick:function(e){var t=e.data,n=this.addressData.address;n.province=t[0],n.city=t[1],n.district=t[2],this.addressDetail=t.join("")},confirm:function(){var e=this;return"请选择"==e.chooseLevel?e.$api.msg("请选择升级身份"):""==e.addressDetail?e.$api.msg("请选择代理区域"):(e.loaded=!0,void(0,o.sqdl)({type:e.leveleId,address:e.addressDetail}).then((function(e){uni.showToast({title:"提交成功",duration:2e3}),setTimeout((function(){uni.switchTab({url:"/pages/user/user"})}),1500)})).catch((function(t){console.log(t),e.loaded=!1})))}}};t.default=s},"63a8":function(e,t,n){var i=n("dd2f");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=n("4f06").default;a("43947f51",i,!0,{sourceMap:!1,shadowMode:!1})},"919e":function(e,t,n){"use strict";n.r(t);var i=n("d763"),a=n("e041");for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);n("077a");var s=n("f0c5"),d=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"3f485926",null,!1,i["a"],void 0);t["default"]=d.exports},d763:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){}));var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"row b-b"},[n("v-uni-text",{staticClass:"tit"},[e._v("选择升级身份")]),n("v-uni-picker",{attrs:{range:e.levelList,"range-key":"name"},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.bindlevel.apply(void 0,arguments)}}},[n("v-uni-input",{staticClass:"item-val",attrs:{type:"text",placeholder:"请选择",disabled:!0},model:{value:e.chooseLevel,callback:function(t){e.chooseLevel=t},expression:"chooseLevel"}})],1)],1),n("v-uni-view",{staticClass:"row b-b"},[n("v-uni-text",{staticClass:"tit"},[e._v("选择代理区域")]),n("pickerAddress",{staticClass:"input",on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.onCityClick.apply(void 0,arguments)}}},[e._v(e._s(e.addressDetail||"请选择地址"))])],1),n("v-uni-button",{staticClass:"add-btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),!e.loaded&&e.confirm()}}},[e._v("提交")])],1)},a=[]},dd2f:function(e,t,n){var i=n("24fb");t=i(!1),t.push([e.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/.row[data-v-3f485926]{display:flex;align-items:center;position:relative;padding:0 %?30?%;height:%?110?%;background:#fff}.row .tit[data-v-3f485926]{flex-shrink:0;width:%?200?%;font-size:%?30?%;color:#303133}.row .input[data-v-3f485926]{flex-grow:1;font-size:%?30?%;color:#303133;text-align:right;line-height:%?110?%}.row .item-val[data-v-3f485926]{width:%?490?%;height:%?110?%;line-height:%?120?%;text-align:right;color:#000}.row .iconlocation[data-v-3f485926]{font-size:%?36?%;color:#909399}.add-btn[data-v-3f485926]{display:flex;align-items:center;justify-content:center;width:%?690?%;height:%?80?%;margin:%?60?% auto;font-size:%?32?%;color:#fff;background-color:#dc262b;border-radius:%?10?%}',""]),e.exports=t},e041:function(e,t,n){"use strict";n.r(t);var i=n("576b"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t["default"]=a.a}}]);