王总上门按摩后台代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
shangmenanmo/public/h6/static/js/user-pages-address-edit.872...

1 line
8.2 KiB

2 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["user-pages-address-edit"],{"022d":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.isLoad?i("v-uni-view",{staticClass:"apply-pages"},[i("v-uni-view",{staticClass:"apply-form pl-lg pr-lg"},[i("v-uni-view",{staticClass:"fill-base mt-md radius-16"},[i("v-uni-view",{staticClass:"flex-between ml-lg mr-lg b-1px-b"},[i("v-uni-view",{staticClass:"item-text"},[t._v("联系人")]),i("v-uni-input",{staticClass:"item-input flex-1",attrs:{type:"text",maxlength:"20",placeholder:t.rule[0].errorMsg},model:{value:t.form.user_name,callback:function(e){t.$set(t.form,"user_name",e)},expression:"form.user_name"}})],1),i("v-uni-view",{staticClass:"flex-between ml-lg mr-lg"},[i("v-uni-view",{staticClass:"item-text"},[t._v("手机号")]),i("v-uni-input",{staticClass:"item-input flex-1",attrs:{type:"text",placeholder:t.rule[1].errorMsg},model:{value:t.form.mobile,callback:function(e){t.$set(t.form,"mobile",e)},expression:"form.mobile"}})],1)],1),i("v-uni-view",{staticClass:"fill-base mt-md radius-16"},[i("v-uni-view",{staticClass:"flex-between ml-lg mr-lg b-1px-b"},[i("v-uni-view",{staticClass:"item-text"},[t._v("选择地区")]),i("v-uni-view",{staticClass:"item-input text flex-1",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.toChooseLocation.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"flex-y-center text-right"},[i("v-uni-view",{staticClass:"flex-1 text-right"},[t._v(t._s(t.form.address||"点击右边图标设置"))]),i("i",{staticClass:"iconfont iconjuli ml-sm",style:{color:t.primaryColor}})],1)],1)],1),i("v-uni-view",{staticClass:"flex-between ml-lg mr-lg"},[i("v-uni-view",{staticClass:"item-text"},[t._v("详细地址")]),i("v-uni-input",{staticClass:"item-input flex-1",attrs:{type:"text",placeholder:t.rule[3].errorMsg},model:{value:t.form.address_info,callback:function(e){t.$set(t.form,"address_info",e)},expression:"form.address_info"}})],1)],1),i("v-uni-view",{staticClass:"fill-base mt-md radius-16"},[i("v-uni-view",{staticClass:"flex-between ml-lg mr-lg"},[i("v-uni-view",{staticClass:"item-text flex-1",staticStyle:{width:"300rpx"}},[t._v("设为默认地址")]),i("v-uni-view",{staticClass:"item-input",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.form.status=1==t.form.status?0:1}}},[i("i",{staticClass:"iconfont icon-switch",class:[{"icon-switch-on":1==t.form.status}],style:{color:1==t.form.status?t.primaryColor:"#f2f2f2"}})])],1)],1),i("v-uni-view",{staticClass:"f-icontext c-caption mt-md"},[t._v("设置后,下单时优先展示该地址")])],1),i("v-uni-view",{staticClass:"space-max-footer"}),i("fix-bottom-button",{attrs:{text:t.textArr,bgColor:"#fff"},on:{cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.toDel.apply(void 0,arguments)},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.submit.apply(void 0,arguments)}}})],1):t._e()},n=[]},3032:function(t,e,i){"use strict";i.r(e);var a=i("022d"),n=i("c1d5");for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);var s=i("828b"),o=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"70cd46f7",null,!1,a["a"],void 0);e["default"]=o.exports},83453:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("dd2b"),i("fd3c");var n=a(i("5de6")),r=a(i("2634")),s=a(i("2fdc")),o=a(i("9b1b")),l=i("8f59"),u={components:{},data:function(){return{isLoad:!1,options:{},textArr:[{text:"删除",type:"cancel"},{text:"保存",type:"confirm"}],form:{id:0,user_name:"",mobile:"",address:"",address_info:"",lng:"",lat:"",status:0},rule:[{name:"user_name",checkType:"isNotNull",errorMsg:"输入联系人姓名",regType:2},{name:"mobile",checkType:"isMobile",errorMsg:"输入手机号"},{name:"address",checkType:"isNotNull",errorMsg:"设置地区"},{name:"address_info",checkType:"isNotNull",errorMsg:"输入街道、楼牌号等",