bztang-admin/addons/yun_shop/static/app/js/chunk-6a12a7f0.a6f143f7.js

1 line
37 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6a12a7f0"],{"0ff4":function(t,e,a){var i=a("a4c6");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("499e").default;o("7522f6b9",i,!0,{sourceMap:!1,shadowMode:!1})},"4c2f":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("c-title",{attrs:{hide:!1,text:"商户入驻"}}),a("div",[a("div",{staticClass:"user-info"},[a("div",{staticClass:"title"},[t._v("基本信息")]),a("van-field",{attrs:{required:"",border:!1,"label-class":"user-label",label:"商户名称",placeholder:"请输入商户名称","input-align":"right"},model:{value:t.form.store_name,callback:function(e){t.$set(t.form,"store_name",e)},expression:"form.store_name"}}),a("div",{staticClass:"image-list"},[a("div",{staticClass:"otherphoto section flex-a-c flex-j-sb"},[a("div",{staticClass:"top"},[a("div",{staticClass:"span"},[a("span",[t._v("*")]),t._v(t._s(t.is_hotel?t.hotelTitleType+"图片:":"商户logo"))])]),a("div",{staticClass:"imgflex",on:{click:function(e){return t.selectIndex(1)}}},[a("van-uploader",{attrs:{"after-read":t.onRead,multiple:""}},[a("div",{staticClass:"photoshow"},[t.form.store_logo?a("img",{attrs:{src:t.form.store_logo,mode:"widthFix"}}):a("div",{staticClass:"crucifix"})])])],1)])]),a("van-cell",{attrs:{title:"商户分类",value:t.CategoryName||"请选择",required:"",border:!1,"title-class":"user-label","value-class":"user-value","is-link":""},on:{click:t.onPupop}}),a("van-cell",{attrs:{required:"",title:"所在地区",value:t.addressName||"请选择",border:!1,"title-class":"user-label","value-class":"user-value","is-link":""},on:{click:t.onAddress}}),t.strShow?a("van-cell",{attrs:{title:"所在街道:",required:"",value:t.streetName||"请选择街道","title-class":"user-label","is-link":"",border:!1},on:{click:t.streetShowbtn}}):t._e(),a("van-field",{attrs:{required:"","label-class":"user-label",border:!1,label:"详细地址",placeholder:"请输入详细地址","input-align":"right"},on:{input:t.DetailInput},model:{value:t.form.address,callback:function(e){t.$set(t.form,"address",e)},expression:"form.address"}}),a("yd-cityselect",{attrs:{callback:t.addressCallback,items:t.area},model:{value:t.addressShow,callback:function(e){t.addressShow=e},expression:"addressShow"}}),a("div",{staticClass:"location flex-a-c flex-j-sb"},[t._m(0),a("div",{staticClass:"location-right flex-a-c"},[a("div",{staticClass:"location-text pl"},[t._v(t._s(t.mapdataAddress))]),a("div",{on:{click:t.toGeolocation}},[a("span",{staticClass:"iconfont icon-dingwei"}),a("span",{staticClass:"toggle",on:{click:t.toGeolocation}},[t._v(t._s(t.mapdataAddress?"切换":"自动定位"))])])])])],1),a("div",{staticClass:"user-other"},[a("div",{staticClass:"title"},[t._v("其他信息")]),a("van-cell",{attrs:{required:"",title:"营业时间",value:t.businessHours||"请选择",border:!1,"title-class":"user-label","value-class":"user-value","is-link":""},on:{click:function(e){return t.onPupop("hours")}}}),a("van-field",{attrs:{required:"","label-class":"user-label",border:!1,label:"店铺电话",placeholder:"请输入店铺电话","input-align":"right"},model:{value:t.form.store_mobile,callback:function(e){t.$set(t.form,"store_mobile",e)},expression:"form.store_mobile"}}),a("van-field",{attrs:{required:"","label-class":"user-label",border:!1,label:"商户联系人",placeholder:"请输入商户联系人","input-align":"right"},model:{value:t.form.staff_name,callback:function(e){t.$set(t.form,"staff_name",e)},expression:"form.staff_name"}}),a("van-field",{attrs:{required:"","label-class":"user-label",border:!1,label:"联系电话",placeholder:"请输入联系电话","input-align":"right"},on:{input:t.staffInput},model:{value:t.form.staff_mobile,callback:function(e){t.$set(t.form,"staff_mobile",e)},expression:"form.staff_mobile"}}),a("div",{staticClass:"commercial-banner"},[a("div",{staticClass:"banner-title"},[t._v("商户banner")]),a("div",{staticClass:"banner-outline flex-a-c flex-j-c",on:{click:function(e){return t.selectIndex(2)}}},[a("van-uploader",{attrs:{"after-read":t.onRead,multiple:""}},[a("div",{staticClass:"photoshow"},[t.form.store_banner?a("img",{attrs:{src:t.form.store_banner}}):a("div",{staticClass:"crucifix"})])])],1)]),a("div",{staticClass:"introduction"},[a("div",{staticClass:"int-title"},[t._v("商户简介")]),a("div",[a("van-field",{attrs:{"input-class":"introduction-area",type:"textarea",placeholder:"请输入商户简介~",autosize:"",border:!1},on:{input:t.descInput},model:{value:t.form.store_desc,callback:function(e){t.$set(t.form,"store_desc",e)},expression:"form.store_desc"}})],1)])],1),a("div",{staticClass:"attestation"},[a("div",{staticClass:"title"},[t._v(" 认证信息 ")]),a("van-field",{attrs:{required:"","label-class":"user-label",label:"企业名称",placeholder:"请输入企业名称",border:!1,"input-align":"right"},on:{input:t.businessInput},model:{value:t.form.business_name,callback:function(e){t.$set(t.form,"business_name",e)},expression:"form.business_name"}}),a("div",{staticClass:"attestation-banner mt_30 mb_48"},[t._m(1),a("div",{staticClass:"banner-outline flex-a-c flex-j-c",on:{click:function(e){return t.selectIndex(3)}}},[a("van-uploader",{attrs:{"after-read":t.onRead,multiple:""}},[a("div",{staticClass:"photoshow"},[t.form.business_pics?a("img",{attrs:{src:t.form.business_pics}}):a("div",{staticClass:"crucifix"})])])],1)]),a("div",{staticClass:"attestation-banner"},[t._m(2),a("div",{staticClass:"flex-a-c attestation-another"},[t._l(t.form.another_pics,(function(e,i){return a("block",{key:i},[a("div",{staticClass:"another"},[a("img",{staticClass:"another-img",attrs:{src:e}}),a("i",{on:{click:function(e){return t.removeImg_1(i)}}})])])})),a("div",{staticClass:"banner-outline flex-a-c flex-j-c"},[a("van-uploader",{attrs:{"after-read":t.multipleMethod,multiple:""}},[a("div",{staticClass:"photoshow"},[a("div",{staticClass:"crucifix"})])])],1)],2)]),a("div",{staticClass:"operation"},[a("van-field",{attrs:{required:"","label-class":"user-label",label:"运营者姓名",placeholder:"请输入运营者姓名",border:!1,"input-align":"right"},on:{input:t.ownerInput},model:{value:t.form.owner_name,callback:function(e){t.$set(t.form,"owner_name",e)},expression:"form.owner_name"}})],1),a("van-field",{attrs:{required:"","label-class":"user-label",label:"运营者手机号",placeholder:"请输入运营者手机号",border:!1,"input-align":"right"},on:{input:t.mobileInput},model:{value:t.form.owner_mobile,callback:function(e){t.$set(t.form,"owner_mobile",e)},expression:"form.owner_mobile"}}),a("div",{staticClass:"identity-item flex-j-sb"},[a("div",[t._m(3),a("div",{staticClass:"identity-img",on:{click:function(e){return t.selectIndex(4)}}},[a("van-uploader",{attrs:{"after-read":t.onRead,multiple:""}},[a("img",{staticClass:"identity",attrs:{src:t.form.identity_front_image?t.form.identity_front_image:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/plugin/consumption-coupons/identity.png"}})])],1)]),a("div",[t._m(4),a("div",{staticClass:"identity-img",on:{click:function(e){return t.selectIndex(5)}}},[a("van-uploader",{attrs:{"after-read":t.onRead,multiple:""}},[a("img",{staticClass:"identity",attrs:{src:t.form.identity_back_image?t.form.identity_back_image:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/plugin/consumption-coupons/identity2.png"}})])],1)])])],1),t.applyTextStatus?a("div",{staticClass:"agreement flex-a-c"},[a("van-checkbox",{attrs:{"icon-size":"12px","checked-color":"#FB5944"},on:{change:t.checkChange},model:{value:t.checkedAll,callback:function(e){t.checkedAll=e},expression:"checkedAll"}}),a("div",{staticClass:"agreement-text"},[t._v(" 阅读并同意"),a("span",{on:{click:t.applyPopup}},[t._v("《"+t._s(t.applyDescName)+"》")])])],1):t._e(),a("div",{staticClass:"mb100"}),a("div",{staticClass:"verifier-footer flex-a-c flex-j-c"},[a("div",{staticClass:"verifier-btn",on:{click:t.onRefund}},[t._v("提交")])]),a("van-popup",{attrs:{position:"center",round:""},on:{close:t.applyClose},model:{value:t.applyShow,callback:function(e){t.applyShow=e},expression:"applyShow"}},[a("div",{staticClass:"qrcode-main"},[a("img",{staticClass:"down",attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/plugin/consumption-coupons/down.png"},on:{click:t.applyClose}}),a("div",{staticClass:"title"},[t._v(t._s(t.applyDescName))]),a("div",{staticClass:"qrcode-list",attrs:{id:"qrcode-list"},domProps:{innerHTML:t._s(t.applyText)}})])]),a("van-popup",{attrs:{round:"",position:"bottom"},on:{close:t.onClose},model:{value:t.classifyShow,callback:function(e){t.classifyShow=e},expression:"classifyShow"}},[a("div",{staticClass:"distance-main"},[a("div",{staticClass:"distance-head flex-a-c flex-j-sb"},[a("div",{staticClass:"cancel",attrs:{"data-type":"distance"},on:{click:function(e){return t.onClose("distance")}}},[t._v("取消")]),a("div",{staticClass:"title"},[t._v("选择商户分类")]),a("div",{staticClass:"affirm",on:{click:t.onclassifyAffirm}},[t._v("确认")])]),a("div",{staticClass:"distance-content flex"},[a("div",{staticClass:"stair stair-bg"},t._l(t.classifyList,(function(e,i){return a("block",{key:i},[a("div",{class:t.classifyIndex===i?"on":"",on:{click:function(a){return t.onStair(i,e)}}},[t._v(" "+t._s(e.name)+" ")])])})),1),a("div",{staticClass:"stair ",class:null!==t.secondIndex?"stair-bg":""},t._l(t.secondLevel,(function(e,i){return a("block",{key:i},[a("div",{class:t.secondIndex===i?"on":"",on:{click:function(a){return t.onSecond(i,e)}}},[t._v(" "+t._s(e.name)+" ")])])})),1),a("div",{staticClass:"stair",class:null!==t.threeIndex?"stair-bg":""},t._l(t.threeLevel,(function(e,i){return a("block",{key:i},[a("div",{class:t.threeIndex===i?"on":"",on:{click:function(a){return t.onThreeLevel(i,e)}}},[t._v(t._s(e.name))])])})),1)])])]),a("van-popup",{attrs:{round:"",position:"bottom"},on:{close:t.onClose},model:{value:t.hoursShow,callback:function(e){t.hoursShow=e},expression:"hoursShow"}},[a("div",{staticClass:"distance-main"},[a("div",{staticClass:"distance-head flex-a-c flex-j-sb"},[a("div",{staticClass:"cancel",on:{click:function(e){return t.onClose("hours")}}},[t._v("取消")]),a("div",{staticClass:"title"},[t._v("营业时间")]),a("div",{staticClass:"affirm",on:{click:t.onAffirm}},[t._v("确认")])]),a("div",{staticClass:"week-content flex"},[a("div",{staticClass:"week-list"},[a("div",{staticClass:"week-title"},[t._v("营业日")]),a("div",{staticClass:"flex-j-sb"},t._l(t.workWeek,(function(e,i){return a("block",{key:i},[a("div",{staticClass:"week-item",class:e.checked?"weekOn":"",on:{click:function(e){return t.workWeekOn(i)}}},[t._v(t._s(e.title))])])})),1)]),a("div",{staticClass:"week-time"},[a("div",{staticClass:"time-title"},[t._v("营业时间")]),a("div",{staticClass:"time-head flex-a-c "},[a("div",{staticClass:"start-w flex-j-c"},[a("div",{staticClass:"start-time flex-j-c flex-a-c",class:1===t.timeState?"time-on":"",on:{click:function(e){return t.chooseTimeOn(1)}}},[t._v(t._s(t.startTime))])]),a("div",{staticClass:"until"},[t._v("至")]),a("div",{staticClass:"start-w flex-j-c"},[a("div",{staticClass:"end-time flex-j-c flex-a-c",class:2===t.timeState?"time-on":"",on:{click:function(e){return t.chooseTimeOn(2)}}},[t._v(t._s(t.endTime))])])]),a("div",{staticClass:"picker-time"},[a("van-datetime-picker",{attrs:{type:"time",title:"选择时间","min-hour":0,"max-hour":23,"show-toolbar":!1},on:{change:t.bindChangeTime},model:{value:t.currentTime,callback:function(e){t.currentTime=e},expression:"currentTime"}})],1)])])])]),a("van-popup",{style:{width:"100%",height:"100%",overflow:t.auto},attrs:{position:"right"},on:{close:t.onClose},model:{value:t.streetShow,callback:function(e){t.streetShow=e},expression:"streetShow"}},[a("van-nav-bar",{attrs:{title:"选择街道","left-text":"","right-text":"","left-arrow":""},on:{"click-left":t.treetShowLeft}}),a("div",{staticClass:"content"},t._l(t.districtVal,(function(e,i){return a("block",{key:i},[a("van-cell",{attrs:{title:e.areaname,"is-link":"","title-style":"text-align:left"},on:{click:function(a){return t.streetConfirm(e)}}})],1)})),1)],1),a("van-toast",{attrs:{id:"van-toast"}})],1)],1)},o=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"location-title"},[a("span",{staticClass:"red"},[t._v("*")]),t._v("定位")])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"banner-title"},[a("span",{staticClass:"red"},[t._v("*")]),t._v("营业执照")])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"banner-title"},[a("span",{staticClass:"red"},[t._v("*")]),t._v("其他补充证件")])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"identity-title"},[a("span",{staticClass:"red"},[t._v("*")]),t._v("身份证人像面")])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"identity-title"},[a("span",{staticClass:"red"},[t._v("*")]),t._v("身份证国徽面")])}],r=(a("e7e5"),a("d399")),s=(a("99af"),a("b0c0"),a("4de4"),a("d3b7"),a("a9e3"),a("159b"),a("14d9"),a("a434"),a("ac1f"),a("5319"),a("6968")),n={data:function(){return{classifyShow:!1,hoursShow:!1,addressShow:!1,applyShow:!1,applyText:"",applyDescName:"",applyTextStatus:0,strShow:!1,classifyIndex:0,secondIndex:null,threeIndex:null,uploadUrl:"upload.uploadPic",anotherImgList:[],form:{store_name:"",first_category_id:0,second_category_id:0,third_category_id:0,province_id:0,city_id:0,district_id:0,street_id:0,address:"",longitude:"",latitude:"",work_week:[],work_start_time:"",work_end_time:"",store_mobile:"",staff_name:"",business_name:"",business_pics:"",another_pics:[],identity_front_image:"",identity_back_image:"",owner_name:"",owner_mobile:"",store_desc:"",store_banner:"",store_logo:""},firstCategoryItem:{},secondCategoryItem:{},thirdCategoryItem:{},CategoryName:"",classifyList:[],secondLevel:[],threeLevel:[],addressName:"",streetName:"",mapdataAddress:"",streetShow:!1,timeState:1,businessHours:"",workWeek:[{title:"周一",value:"1",checked:!1},{title:"周二",value:"2",checked:!1},{title:"周三",value:"3",checked:!1},{title:"周四",value:"4",checked:!1},{title:"周五",value:"5",checked:!1},{title:"周六",value:"6",checked:!1},{title:"周日",value:"7",checked:!1}],checkedAll:!1,selectImgIndex:"",stopButton:!1,currentTime:"0:00",startTime:"0:00",endTime:"0:00",area:district}},activated:function(){var t=this;this.uploadUrl=this.fun.getRealUrl("upload.uploadPic",{}),this.storeApply(),this.categoryList(),this.fun.getLocation().then((function(e){var a=t.fun.bd_encrypt(e.point.lng,e.point.lat);t.form.latitude=a.lng,t.form.longitude=a.lat,t.mapdataAddress=e.title})).catch((function(t){}))},methods:{_initData:function(){var t={store_name:"",first_category_id:0,second_category_id:0,third_category_id:0,province_id:0,city_id:0,district_id:0,street_id:0,address:"",longitude:"",latitude:"",work_week:[],work_start_time:"",work_end_time:"",store_mobile:"",staff_name:"",business_name:"",business_pics:"",another_pics:[],identity_front_image:"",identity_back_image:"",owner_name:"",owner_mobile:"",store_desc:"",store_banner:"",store_logo:""};this.CategoryName="",this.addressName="",this.form=t},onStair:function(){for(var t=arguments.length,e=new Array(t),a=0;a<t;a++)e[a]=arguments[a];var i=[].concat(e),o=i[0],r=i[1],s=[];r.has_many_child.length>0&&(s=r.has_many_child),this.classifyInit(o,r,s)},onSecond:function(){for(var t=arguments.length,e=new Array(t),a=0;a<t;a++)e[a]=arguments[a];var i=[].concat(e),o=i[0],r=i[1],s=[];r.has_many_child.length>0&&(s=r.has_many_child),this.secondIndex=o,this.threeLevel=s,this.secondCategoryItem=r},onThreeLevel:function(){for(var t=arguments.length,e=new Array(t),a=0;a<t;a++)e[a]=arguments[a];var i=[].concat(e),o=i[0],r=i[1];this.threeIndex=o,this.thirdCategoryItem=r},onClose:function(t){"hours"===t?this.hoursShow=!1:this.classifyShow=!1},onAddress:function(){this.addressShow=!0},addressCallback:function(t){this.addressName=t.itemName1+" "+t.itemName2+" "+t.itemName3,this.form.province_id=t.itemValue1,this.form.city_id=t.itemValue2,this.form.district_id=t.itemValue3,this.getStreet(t.itemValue3)},getStreet:function(t){var e=this;$http.get("member.memberAddress.street",{district_id:t}).then((function(t){1===t.result&&!e.fun.isTextEmpty(t.data)&&t.data.length>0?(e.districtVal=t.data,e.strShow=!0):e.strShow=!1})).catch((function(t){}))},applyPopup:function(){this.applyTextStatus&&(this.applyShow=!0)},applyClose:function(){this.applyShow=!1},streetShowbtn:function(){this.streetShow=!0},streetConfirm:function(t){this.streetName=t.areaname,this.form.street_id=t.id,this.streetShow=!1},onclassifyAffirm:function(){if(this.firstCategoryItem.id&&this.secondCategoryItem.id&&this.thirdCategoryItem.id){var t="".concat(this.firstCategoryItem.name,"/").concat(this.secondCategoryItem.name,"/").concat(this.thirdCategoryItem.name);this.form.first_category_id=this.firstCategoryItem.id,this.form.second_category_id=this.secondCategoryItem.id,this.form.third_category_id=this.thirdCategoryItem.id,this.CategoryName=t,this.classifyShow=!1}else Object(r["a"])("请选择分类")},onAffirm:function(){var t=this.workWeek,e="",a="",i=[],o=[];if(i=t.filter((function(t){return!0===t.checked&&t.value})),i.length>0){var s=this.startTime.split(":"),n=this.endTime.split(":");Number(s[0])<Number(n[0])?(i.forEach((function(t){o.push(t.value)})),e=i[0].title,a=i[i.length-1].title,this.form.work_week=o,this.form.work_start_time=this.startTime,this.form.work_end_time=this.endTime,this.businessHours="".concat(e,"至").concat(a," ").concat(this.startTime,"-").concat(this.endTime),this.hoursShow=!1):Object(r["a"])("结束时间不能大于开始时间")}else Object(r["a"])("请选择店铺营业日期")},toGeolocation:function(){this.$router.push(this.fun.getUrl("o2oLocation_loc",{},{tag:"merchantsIn"}))},checkChange:function(t){this.checkedAll=t},workWeekOn:function(t){this.workWeek[t].checked=!this.workWeek[t].checked},bindChangeTime:function(t){var e=t.$parent.innerValue;1===this.timeState&&(this.startTime=e),2===this.timeState&&(this.endTime=e)},chooseTimeOn:function(t){this.currentTime="0:00",this.timeState=Number(t)},onPupop:function(t){"hours"===t?this.hoursShow=!0:this.classifyShow=!0},modelInput:function(t){this.form.store_name=t},DetailInput:function(t){this.form.address=t},ownerInput:function(t){this.form.owner_name=t},businessInput:function(t){this.form.business_name=t},staffInput:function(t){this.form.staff_mobile=t},mobileInput:function(t){this.form.owner_mobile=t},descInput:function(t){this.form.store_desc=t},onRead:function(t,e){r["a"].loading({message:"上传中",forbidClick:!0}),this.stopButton=!0;var a=new FormData;!0===e?a.append("file",t):a.append("file",t.file);var i=this;axios.post(this.uploadUrl,a,{headers:{"Content-Type":"multipart/form-data"}}).then((function(t){var e=t.data;if(1===e.result)switch(r["a"].clear(),i.selectImgIndex){case 1:i.form.store_logo=e.data.img_url,i.stopButton=!1;break;case 2:i.form.store_banner=e.data.img_url,i.stopButton=!1;break;case 3:i.form.business_pics=e.data.img_url,i.stopButton=!1;break;case 4:i.form.identity_front_image=e.data.img_url,i.stopButton=!1;break;case 5:i.form.identity_back_image=e.data.img_url,i.stopButton=!1;break;default:return void(i.stopButton=!1)}else Object(r["a"])(e.msg)})).catch((function(t){}))},multipleMethod:function(t,e){if(t&&t.length)for(var a=0;a<t.length;a++)this.onRead_1(t[a],e);else this.onRead_1(t,e)},onRead_1:function(t,e){var a=this;r["a"].loading({message:"上传中",forbidClick:!0}),this.stopButton=!0;var i=new FormData;!0===e?i.append("file",t):i.append("file",t.file);var o=this;axios.post(this.uploadUrl,i,{headers:{"Content-Type":"multipart/form-data"}}).then((function(t){var e=t.data;1===e.result?(r["a"].clear(),o.form.another_pics.push(e.data.img_url),a.stopButton=!1):Object(r["a"])(e.msg)})).catch((function(t){}))},removeImg_1:function(t){this.form.another_pics.splice(t,1)},selectIndex:function(t){if(this.stopButton)return!1;this.selectImgIndex=t},categoryList:function(){var t=this;$http.post("plugin.coupon-store.frontend.category.categoryList",{},"正在获取").then((function(e){if(1==e.result){var a=e.data;t.classifyList=a.list}}),(function(t){}))},classifyInit:function(t,e,a){this.classifyIndex=t,this.secondIndex=null,this.threeIndex=null,this.secondLevel=a,this.firstCategoryItem=e,this.secondCategoryItem={},this.thirdCategoryItem={},this.threeLevel=[]},storeApply:function(){var t=this,e={basic_info:1};$http.post("plugin.coupon-store.frontend.apply.storeApplyPage",e,"正在获取").then((function(e){if(1==e.result){var a,i,o=e.data,r=null===(a=e.basic_info)||void 0===a?void 0:a.plugin_setting;t.applyText=o.apply_text,t.applyTextStatus=o.apply_text_status,t.applyDescName=null===(i=r.coupon_store)||void 0===i?void 0:i.apply_desc_name}}),(function(t){}))},onRefund:function(){var t,e,a,i,o,s,n,c,l,d,m,f,u,h,p,v,g,b,w,x=this;""!==(null!==(t=this.form.store_name)&&void 0!==t?t:"")?""!==(null!==(e=this.form.store_logo)&&void 0!==e?e:"")?""!==(null!==(a=this.CategoryName)&&void 0!==a?a:"")?""!==(null!==(i=this.addressName)&&void 0!==i?i:"")?""!==(null!==(o=this.streetName)&&void 0!==o?o:"")&&""!==(null!==(s=this.form.address)&&void 0!==s?s:"")?""!==(null!==(n=this.form.longitude)&&void 0!==n?n:"")||""!==(null!==(c=this.form.latitude)&&void 0!==c?c:"")?""!==(null!==(l=this.businessHours)&&void 0!==l?l:"")?""!==(null!==(d=this.form.store_mobile)&&void 0!==d?d:"")?""!==(null!==(m=this.form.staff_name)&&void 0!==m?m:"")?""!==(null!==(f=this.form.staff_mobile)&&void 0!==f?f:"")?""!==(null!==(u=this.form.business_name)&&void 0!==u?u:"")?""!==(null!==(h=this.form.business_pics)&&void 0!==h?h:"")?""!==(null!==(p=this.form.another_pics)&&void 0!==p?p:"")?""!==(null!==(v=this.form.owner_name)&&void 0!==v?v:"")?""!==(null!==(g=this.form.owner_mobile)&&void 0!==g?g:"")?""!==(null!==(b=this.form.identity_front_image)&&void 0!==b?b:"")?""!==(null!==(w=this.form.identity_back_image)&&void 0!==w?w:"")?this.checkedAll&&1===this.applyTextStatus?$http.post("plugin.coupon-store.frontend.apply.storeApply",this.form,"正在获取").then((function(t){1==t.result?(x._initData(),Object(r["a"])(t.msg),setTimeout((function(){x.$router.replace(x.fun.getUrl("member",{}))}),1e3)):x.$dialog.alert({message:t.msg})}),(function(t){})):Object(r["a"])("请同意入驻协议名称"):Object(r["a"])("请上传身份证背面照"):Object(r["a"])("请上传身份证正面照"):Object(r["a"])("请输入运营者手机号"):Object(r["a"])("请输入运营者姓名"):Object(r["a"])("请上传其他补充证件"):Object(r["a"])("请上传营业执照"):Object(r["a"])("请输入企业名称"):Object(r["a"])("请输入联系电话"):Object(r["a"])("请输入商户联系人"):Object(r["a"])("请输入店铺电话"):Object(r["a"])("请输入商户营业时间"):Object(r["a"])("请选择定位"):Object(r["a"])("请选择街道"):Object(r["a"])("请选择地区"):Object(r["a"])("请选择分类"):Object(r["a"])("请上传商户logo"):Object(r["a"])("请输入商户名称")}},components:{cTitle:s["a"]}},c=n,l=c,d=(a("85bd"),a("bc2a1"),a("2877")),m=Object(d["a"])(l,i,o,!1,null,"c766c7ca",null);e["default"]=m.exports},"85bd":function(t,e,a){"use strict";a("0ff4")},a0ef:function(t,e,a){var i=a("ba479");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("499e").default;o("41745118",i,!0,{sourceMap:!1,shadowMode:!1})},a4c6:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".user-other[data-v-c766c7ca] .user-value{-webkit-box-flex:3;-webkit-flex:3;-ms-flex:3;flex:3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#qrcode-list[data-v-c766c7ca] img{max-width:100%!important;height:auto!important;display:block;border:0!important}",""]),t.exports=e},ba479:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'.pl[data-v-c766c7ca]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mb100[data-v-c766c7ca]{height:3.125rem;clear:both}.mr10[data-v-c766c7ca]{margin-right:.3125rem}.mb_48[data-v-c766c7ca]{margin-bottom:1.5rem}.mt_30[data-v-c766c7ca]{margin-top:.9375rem}.user-info[data-v-c766c7ca]{margin:.625rem .625rem 0 .625rem;background:#fff;border-radius:.3125rem}.user-info .user-label[data-v-c766c7ca]{font-size:.9375rem;color:#282828;text-align:left}.user-info .user-other .user-value[data-v-c766c7ca],.user-info .user-value[data-v-c766c7ca]{-webkit-box-flex:3;-webkit-flex:3;-ms-flex:3;flex:3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-info .title[data-v-c766c7ca]{font-size:1rem;color:#282828;padding:.9375rem 0 0 .7813rem;text-align:left}.red[data-v-c766c7ca]{color:red}.image-list[data-v-c766c7ca]{width:100%;height:100%;background-color:#fff;padding:0 .3906rem;margin-bottom:.625rem}.image-list[data-v-c766c7ca],.image-list .otherphoto .top[data-v-c766c7ca]{-webkit-box-sizing:border-box;box-sizing:border-box}.image-list .otherphoto .top[data-v-c766c7ca]{text-align:left;line-height:3.125rem}.image-list .otherphoto .top .span[data-v-c766c7ca]{font-size:.9375rem;color:#333}.image-list .otherphoto .top span[data-v-c766c7ca]{color:red}.image-list .otherphoto .imgflex[data-v-c766c7ca],.image-list .otherphoto .imgflex2[data-v-c766c7ca]{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:.75rem;width:7.5rem}.image-list .otherphoto .imgflex[data-v-c766c7ca],.image-list .otherphoto .imgflex2[data-v-c766c7ca],.image-list .otherphoto .imgflex2 .photoshow[data-v-c766c7ca],.image-list .otherphoto .imgflex .photoshow[data-v-c766c7ca]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:3.7188rem}.image-list .otherphoto .imgflex2 .photoshow[data-v-c766c7ca],.image-list .otherphoto .imgflex .photoshow[data-v-c766c7ca]{border-radius:.125rem;width:3.7188rem;border:.0313rem dashed #c0ccda;overflow:hidden;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.image-list .otherphoto .imgflex2 .crucifix[data-v-c766c7ca],.image-list .otherphoto .imgflex .crucifix[data-v-c766c7ca]{width:1.2813rem;height:.125rem;background:#b2b2b2;border-radius:.0313rem;position:relative}.image-list .otherphoto .imgflex2 .crucifix[data-v-c766c7ca]:after,.image-list .otherphoto .imgflex .crucifix[data-v-c766c7ca]:after{content:"";width:1.2813rem;height:.125rem;background:#b2b2b2;border-radius:.0313rem;position:absolute;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);left:0}.image-list .otherphoto .imgflex2 img[data-v-c766c7ca],.image-list .otherphoto .imgflex img[data-v-c766c7ca]{width:3.75rem;height:3.75rem}.cimg[data-v-c766c7ca]{width:1.0938rem;height:1.0938rem}.yimg[data-v-c766c7ca]{width:100%;height:100%}.location[data-v-c766c7ca]{padding:.4688rem .3906rem}.location-title[data-v-c766c7ca]{font-size:.4688rem;white-space:nowrap;margin-right:.0938rem}.location-right .icon-dingwei[data-v-c766c7ca]{margin-left:.2344rem;color:#fa2a0f}.location-right .icon-dingwei .toggle[data-v-c766c7ca]{color:#fa2a0f;font-size:.375rem}.location-right .location-text[data-v-c766c7ca]{width:6.25rem}.user-other[data-v-c766c7ca]{margin:.625rem .625rem 0 .625rem;background-color:#fff;padding-bottom:.9375rem}.user-other .user-label[data-v-c766c7ca]{font-size:.9375rem;color:#282828;text-align:left}.user-other .title[data-v-c766c7ca]{color:#282828;font-size:1rem;padding:.9375rem 0 1.3438rem .7813rem;text-align:left}.banner-outline[data-v-c766c7ca]{width:5.625rem;height:3.75rem;border:.0313rem dashed #a1a1a1}.banner-outline .photoshow[data-v-c766c7ca]{border-radius:.125rem;width:5.625rem;height:3.75rem;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.banner-outline .crucifix[data-v-c766c7ca]{position:relative}.banner-outline .crucifix[data-v-c766c7ca],.banner-outline .crucifix[data-v-c766c7ca]:after{width:1.2813rem;height:.125rem;background:#b2b2b2;border-radius:.0313rem}.banner-outline .crucifix[data-v-c766c7ca]:after{content:"";position:absolute;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);left:0}.banner-outline img[data-v-c766c7ca]{width:5.625rem;height:3.75rem}.attestation-banner[data-v-c766c7ca],.commercial-banner[data-v-c766c7ca]{padding:0 0 0 1.5625rem}.attestation-banner .banner-title[data-v-c766c7ca],.commercial-banner .banner-title[data-v-c766c7ca]{color:#282828;font-size:.9375rem;margin-bottom:.6875rem;text-align:left}.attestation-banner .attestation-banner[data-v-c766c7ca],.commercial-banner .attestation-banner[data-v-c766c7ca]{padding:0 0 0 1.5625rem}.introduction[data-v-c766c7ca]{padding:1.5625rem 0 0 .9375rem}.introduction .int-title[data-v-c766c7ca]{color:#282828;font-size:1rem;margin-bottom:.6875rem;text-align:left}.introduction .van-field__body[data-v-c766c7ca]{width:9.9531rem;height:3.4375rem;border:2.0032rpx solid #cfcfcf;border-radius:.1563rem;text-align:start;-webkit-box-sizing:border-box;box-sizing:border-box;padding:.3906rem 0 0 .4063rem;line-height:.5469rem;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start}.introduction .van-cell--borderless[data-v-c766c7ca]{padding:0}.attestation[data-v-c766c7ca]{margin:.625rem;background-color:#fff}.attestation .attestation-banner[data-v-c766c7ca]{padding:0 0 0 1.5625rem}.attestation .operation[data-v-c766c7ca]{padding-top:.4688rem}.attestation .title[data-v-c766c7ca]{padding:.9375rem 0 1.3438rem .7813rem;font-size:1rem;color:#282828;text-align:left}.identity-item[data-v-c766c7ca]{padding:.625rem .375rem .4688rem .375rem}.identity-item .identity-title[data-v-c766c7ca]{font-size:1rem;color:#282828;margin-bottom:.6875rem}.identity-item .identity-img[data-v-c766c7ca],.identity-item .identity-img .identity[data-v-c766c7ca]{width:9.875rem;height:6.0625rem}.identity-left[data-v-c766c7ca]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;border:2.0032rpx solid #000}.verifier-footer[data-v-c766c7ca]{height:3.125rem;position:fixed;bottom:0;padding:0 .9375rem 0 .9375rem;background-color:#fff;z-index:100}.verifier-footer .verifier-btn[data-v-c766c7ca]{width:21.875rem;height:2.5rem;line-height:2.5rem;text-align:center;color:#fff;font-size:.9375rem;background-image:-webkit-linear-gradient(175deg,#ff3d04,#ff6a3f);background-image:linear-gradient(-85deg,#ff3d04,#ff6a3f);border-radius:.3125rem}.agreement[data-v-c766c7ca]{margin:1.2656rem 0 .5rem .4688rem}.agreement .agreement-text[data-v-c766c7ca]{margin-left:.2188rem;font-size:.3125rem;color:#1e1e1e}.agreement .agreement-text span[data-v-c766c7ca]{color:#fb5944}.distance-main[data-v-c766c7ca]{background-color:#fff}.distance-main .title[data-v-c766c7ca]{font-size:.5rem;font-weight:600;color:#3b3b4a}.distance-main .distance-content[data-v-c766c7ca]{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:.6719rem;background-color:#fafafa}.distance-main .distance-content .stair-bg[data-v-c766c7ca]{background-color:#fff}.distance-main .distance-content .stair div[data-v-c766c7ca]{width:7.8125rem;height:2.5rem;line-height:2.5rem;padding-left:.9375rem;font-size:.875rem;color:#3b3b4a;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:left}.distance-main .distance-content .stair .on[data-v-c766c7ca]{background:rgba(255,58,0,.1);color:#ff3a00}.distance-head[data-v-c766c7ca]{padding:1.3125rem .8438rem 0 .8125rem}.distance-head .cancel[data-v-c766c7ca]{font-size:.75rem;color:#aaaab3}.distance-head .affirm[data-v-c766c7ca]{font-size:.75rem;color:#3b3b4a}.week-content[data-v-c766c7ca]{padding:.9375rem .8125rem 0 .8438rem;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.week-content .week-list[data-v-c766c7ca]{color:#3b3b4a;font-size:.875rem;width:100%}.week-content .week-list .weekOn[data-v-c766c7ca]{color:#fa2a0f}.week-content .week-title[data-v-c766c7ca]{margin-bottom:1.25rem;text-align:left}.week-content .week-item[data-v-c766c7ca]{font-size:1rem;font-weight:700;color:#333}.week-content .week-item .on[data-v-c766c7ca]{color:#fa2a0f}.week-content .week-time[data-v-c766c7ca]{margin:1.875rem 0 0 0}.week-content .week-time .time-head[data-v-c766c7ca]{margin-bottom:1.25rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:relative}.week-content .week-time .time-head .start-w[data-v-c766c7ca]{-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%}.week-content .week-time .time-head .start-w .end-time[data-v-c766c7ca],.week-content .week-time .time-head .start-w .start-time[data-v-c766c7ca]{font-size:1.125rem;color:rgba(21,20,20,.5)}.week-content .week-time .time-head .start-w .time-on[data-v-c766c7ca]{width:4.375rem;height:1.75rem;line-height:1.75rem;background:-webkit-gradient(linear,left top,right top,from(#ff693e),to(#ff3c03));background:-webkit-linear-gradient(left,#ff693e,#ff3c03);background:linear-gradient(90deg,#ff693e,#ff3c03);border-radius:.1875rem;color:#fff}.week-content .week-time .time-head .until[data-v-c766c7ca]{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);font-size:.4688rem;color:#151414}.week-content .week-time .time-title[data-v-c766c7ca]{text-align:left;font-size:.875rem;color:#3b3b4a;margin-bottom:.9375rem}.attestation-another[data-v-c766c7ca]{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.another[data-v-c766c7ca]{margin-right:.1563rem;position:relative}.another[data-v-c766c7ca],.another img[data-v-c766c7ca]{width:5.625rem;height:3.75rem}.another i[data-v-c766c7ca]{width:1.2rem;height:1.2rem;position:absolute;top:.1rem;right:.1rem;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAHJklEQVR4Xu2bZaimRRTHf2sndqAitoIfFLELC+zubsVCxe7ALvxgd3e3mJjY+kXswsRC7Jbf8swyd+7z3neeeO9917sHlt29d+bMnP/MnH7GMMppzCiXnwkATLgBvUdgMmBFYGVgDmC24s+sxf//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01ZJUu06XeQfb5A2AlsngadBzd01wx06rYgWGWmdUfzARA+Mpmjg5sEefzPjkVLR998lMejva/GjKErofTel+9/1HU2XPpOyzOT+Z8/M5tXvZZ3M2Q9mlYqm+qzfXDzqgyR5GdG5bSnBEhWiy+AQAmqD3f5j7Hy2FkFA2hNhdAAAAAElFTkSuQmCC);background-size:100%}.qrcode-main[data-v-c766c7ca]{width:20.8125rem;padding:1.0313rem .625rem 1.25rem .625rem;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;border-radius:.3125rem}.qrcode-main .title[data-v-c766c7ca]{font-size:1.0625rem;color:#222;text-align:center;margin-bottom:1.25rem}.qrcode-main .down[data-v-c766c7ca]{width:1.3125rem;height:1.3125rem;position:absolute;top:.9375rem;right:.9375rem}.qrcode-main .qrcode-list[data-v-c766c7ca]{height:21.5625rem;overflow-y:scroll}.qrcode-main .qrcode-item[data-v-c766c7ca]{width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 0 0 .7188rem;height:2.3438rem;background-color:#f4f4f4}',""]),t.exports=e},bc2a1:function(t,e,a){"use strict";a("a0ef")}}]);