pages-store-settled-index.296dbb15.js 38 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-store-settled-index"],{"05d5":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,"@-webkit-keyframes show-data-v-0dd45dbe{0%{opacity:0}100%{opacity:1}}@keyframes show-data-v-0dd45dbe{0%{opacity:0}100%{opacity:1}}uni-video[data-v-0dd45dbe]{width:%?750?%}\n\n\n\n",""]),t.exports=e},1841:function(t,e,i){"use strict";var a=i("26b8"),n=i.n(a);n.a},"210f":function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[t.nodes.length?t._e():t._t("default"),i("v-uni-view",{style:t.showAm+(t.selectable?";user-select:text;-webkit-user-select:text":""),attrs:{id:"top",animation:t.scaleAm},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t._touchstart.apply(void 0,arguments)},touchmove:function(e){arguments[0]=e=t.$handleEvent(e),t._touchmove.apply(void 0,arguments)},click:function(e){arguments[0]=e=t.$handleEvent(e),t._tap.apply(void 0,arguments)}}},[i("div",{attrs:{id:"rtf"+t.uid}})])],2)},o=[]},"26b8":function(t,e,i){var a=i("05d5");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("4e70dcdb",a,!0,{sourceMap:!1,shadowMode:!1})},"2b58":function(t,e,i){"use strict";var a=i("4ea4");i("99af"),i("d3b7"),i("25f0"),Object.defineProperty(e,"__esModule",{value:!0}),e.getProductDetail=r,e.getProductCode=s,e.collectAdd=c,e.collectDel=l,e.postCartAdd=d,e.getCategoryList=u,e.getProductslist=f,e.getBrandlist=h,e.getProductHot=p,e.collectAll=m,e.getGroomList=g,e.getCollectUserList=b,e.getReplyList=v,e.getReplyConfig=x,e.getSearchKeyword=_,e.storeListApi=w,e.storeMerchantList=y,e.getStoreDetail=k,e.getStoreGoods=C,e.getStoreCategory=A,e.followStore=S,e.unfollowStore=T,e.getStoreCoupon=$,e.getMerchantLst=z,e.express=D,e.storeCategory=L,e.bagExplain=E,e.bagRecommend=B,e.productBag=I,e.merchantQrcode=M,e.merchantProduct=P,e.getHotBanner=j,e.create=q,e.verify=X,e.getSeckillProductDetail=O,e.getLiveList=H,e.getBroadcastListApi=R,e.merClassifly=G,e.getPresellProductDetail=N,e.getApplicationRecordList=F,e.getGoodsDetails=V,e.updateGoodsRecord=U,e.getGeocoder=Y;var n=a(i("5530")),o=a(i("112d"));function r(t){return o.default.get("store/product/detail/"+t,{},{noAuth:!0})}function s(t,e){return o.default.get("store/product/qrcode/"+t,e,{noAuth:!0})}function c(t){return o.default.post("user/relation/create",t)}function l(t){return o.default.post("user/relation/delete",t)}function d(t){return o.default.post("user/cart/create",t)}function u(){return o.default.get("store/product/category/lst",{},{noAuth:!0})}function f(t){return t.brand_id&&Array.isArray(t.brand_id)&&(t=(0,n.default)({},t),t.brand_id=t.brand_id.toString()),o.default.get("product/spu/lst",t,{noAuth:!0})}function h(t){return o.default.get("store/product/brand/lst",t,{noAuth:!0})}function p(t,e){return o.default.get("product/spu/recommend",{page:void 0===t?1:t,limit:void 0===e?10:e},{noAuth:!0})}function m(t){return o.default.post("user/relation/batch/create",t)}function g(t,e){return o.default.get("product/spu/hot/"+t,e,{noAuth:!0})}function b(t){return o.default.get("user/relation/product/lst",t)}function v(t,e){return o.default.get("store/product/reply/lst/"+t,e,{noAuth:!0})}function x(t){return o.default.get("reply/config/"+t)}function _(){return o.default.get("common/hot_keyword",{},{noAuth:!0})}function w(t){return o.default.get("store_list",t,{noAuth:!0})}function y(t){return o.default.get("store/merchant/lst",t,{noAuth:!0})}function k(t,e){return o.default.get("store/merchant/detail/"+t,e,{noAuth:!0})}function C(t,e){return o.default.get("product/spu/merchant/"+t,e,{noAuth:!0})}function A(t,e){return o.default.get("store/merchant/category/lst/"+t,e,{noAuth:!0})}function S(t){return o.default.post("user/relation/create",{type:10,type_id:t})}function T(t){return o.default.post("user/relation/delete",{type:10,type_id:t})}function $(t){return o.default.get("coupon/store/"+t,{noAuth:!0})}function z(t){return o.default.get("user/relation/merchant/lst",t,{noAuth:!0})}function D(t){return o.default.post("ordero/express/"+t,{noAuth:!0})}function L(t){return o.default.get("store/product/category",t,{noAuth:!0})}function E(){return o.default.get("store/product/bag/explain")}function B(){return o.default.get("product/spu/bag/recommend")}function I(t){return o.default.get("product/spu/bag",t,{noAuth:!0})}function M(t,e){return o.default.get("store/merchant/qrcode/"+t,e,{noAuth:!0})}function P(t,e){return e.brand_id&&Array.isArray(e.brand_id)&&(e=(0,n.default)({},e),e.brand_id=e.brand_id.toString()),o.default.get("product/spu/merchant/"+t,e,{noAuth:!0})}function j(t){return o.default.get("common/hot_banner/"+t,{},{noAuth:!0})}function q(t){return o.default.post("intention/create",t)}function X(t){return o.default.post("auth/verify",t)}function O(t){return o.default.get("store/product/seckill/detail/"+t,{},{noAuth:!0})}function H(){return o.default.get("broadcast/hot",{},{noAuth:!0})}function R(t){return o.default.get("broadcast/lst",t,{noAuth:!0})}function G(){return o.default.get("intention/cate")}function N(t){return o.default.get("store/product/presell/detail/"+t,{},{noAuth:!0})}function F(t){return o.default.get("intention/lst",t)}function V(t){return o.default.get("intention/detail/"+t,{})}function U(t,e){return o.default.post("intention/update/"+t,e)}function Y(t){return o.default.get("lbs/geocoder?location=".concat(t.lat,",").concat(t.long),{},{noAuth:!0})}},"3c47":function(t,e,i){"use strict";var a=i("5f11"),n=i.n(a);n.a},4828:function(t,e,i){"use strict";i.r(e);var a=i("520b"),n=i("7257");for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("3c47");var r,s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"79bfda59",null,!1,a["a"],r);e["default"]=c.exports},"520b":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={jyfParser:i("54ec").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.successful?a("v-uni-view",{staticClass:"settledSuccessMain"},[a("v-uni-view",{staticClass:"settledSuccessful"},[a("img",{staticClass:"image",attrs:{src:"/static/images/settledSuccessful.svg",alt:""}}),a("v-uni-view",{staticClass:"title"},[t._v("恭喜,您的资料提交成功!")]),a("v-uni-view",{staticClass:"info"},[t._v("预计15个工作日内审核完毕,平台客服会及时与您联系!")]),a("v-uni-view",{staticClass:"goHome",attrs:{"hover-class":"none"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goHome.apply(void 0,arguments)}}},[t._v("返回首页")])],1)],1):a("v-uni-view",[a("v-uni-form",{attrs:{"report-submit":"true"}},[a("v-uni-view",{staticClass:"merchantsSettled"},[a("img",{staticClass:"merchantBg",attrs:{mode:"widthFix",src:i("824f"),alt:""}}),a("v-uni-view",{staticClass:"application-record",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.jumpToList.apply(void 0,arguments)}}},[t._v("申请记录"),a("v-uni-text",{staticClass:"iconfont icon-xiangyou"})],1),a("v-uni-view",{staticClass:"list"},[a("v-uni-view",{staticClass:"item"},[a("v-uni-view",{staticClass:"acea-row row-middle"},[a("i",{staticClass:"icon iconfont icon-qiye"}),a("v-uni-input",{attrs:{type:"text",maxlength:"30",placeholder:"请输入商户名称","placeholder-class":"placeholder"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.validateBtn.apply(void 0,arguments)}},model:{value:t.merchantData.enterprise_name,callback:function(e){t.$set(t.merchantData,"enterprise_name",e)},expression:"merchantData.enterprise_name"}})],1)],1),a("v-uni-view",{staticClass:"item"},[a("v-uni-view",{staticClass:"acea-row row-middle"},[a("i",{staticClass:"icon iconfont icon-yonghu3"}),a("v-uni-input",{attrs:{type:"text",placeholder:"请输入姓名","placeholder-class":"placeholder"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.validateBtn.apply(void 0,arguments)}},model:{value:t.merchantData.user_name,callback:function(e){t.$set(t.merchantData,"user_name",e)},expression:"merchantData.user_name"}})],1)],1),a("v-uni-view",{staticClass:"item"},[a("v-uni-view",{staticClass:"acea-row row-middle"},[a("i",{staticClass:"icon iconfont icon-shoujihao"}),a("v-uni-input",{attrs:{type:"text",placeholder:"请输入手机号","placeholder-class":"placeholder"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.validateBtn.apply(void 0,arguments)}},model:{value:t.merchantData.phone,callback:function(e){t.$set(t.merchantData,"phone",e)},expression:"merchantData.phone"}})],1)],1),a("v-uni-view",{staticClass:"item rel"},[a("v-uni-view",{staticClass:"acea-row row-middle"},[a("i",{staticClass:"icon iconfont icon-yanzhengma"}),a("v-uni-input",{staticClass:"codeIput",attrs:{type:"text",placeholder:"填写验证码","placeholder-class":"placeholder"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.validateBtn.apply(void 0,arguments)}},model:{value:t.merchantData.yanzhengma,callback:function(e){t.$set(t.merchantData,"yanzhengma",e)},expression:"merchantData.yanzhengma"}}),a("v-uni-button",{staticClass:"code",class:!0===t.disabled?"on":"",attrs:{disabled:t.disabled},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.code.apply(void 0,arguments)}}},[t._v(t._s(t.text))])],1)],1),t.isShowCode?a("v-uni-view",{staticClass:"item"},[a("v-uni-view",{staticClass:"acea-row row-middle"},[a("i",{staticClass:"icon iconfont icon-yanzhengma"}),a("v-uni-input",{staticClass:"codeIput",attrs:{type:"text",placeholder:"请输入验证码","placeholder-class":"placeholder"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.validateBtn.apply(void 0,arguments)}},model:{value:t.codeVal,callback:function(e){t.codeVal=e},expression:"codeVal"}}),a("v-uni-view",{staticClass:"imageCode",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.again.apply(void 0,arguments)}}},[a("img",{attrs:{src:t.codeUrl}})])],1)],1):t._e(),a("v-uni-view",{staticClass:"item"},[a("v-uni-view",{staticClass:"uni-list"},[a("v-uni-view",{staticClass:"uni-list-cell"},[a("v-uni-view",{staticClass:"uni-list-cell-db"},[a("v-uni-picker",{attrs:{value:t.index,range:t.array,"range-key":"category_name"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.bindPickerChange.apply(void 0,arguments)}}},[a("v-uni-input",{attrs:{placeholder:"请选择商户分类",type:"text",readonly:!0,disabled:!0},model:{value:t.mer_classification,callback:function(e){t.mer_classification=e},expression:"mer_classification"}}),a("v-uni-view",{staticClass:"iconfont icon-jiantou"})],1)],1)],1)],1)],1),a("v-uni-view",{staticClass:"item no-border"},[a("v-uni-view",{staticClass:"acea-row row-middle"},[a("v-uni-text",{staticClass:"item-title"},[t._v("请上传营业执照及行业相关资质证明图片")]),a("v-uni-text",{staticClass:"item-desc"},[t._v("(图片最多可上传10张,图片格式支持JPG、PNG、JPEG)")]),a("v-uni-view",{staticClass:"upload"},[t._l(t.pics,(function(e,i){return a("v-uni-view",{key:i,staticClass:"pictrue",attrs:{"data-index":i},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.getPhotoClickIdx.apply(void 0,arguments)}}},[a("v-uni-image",{attrs:{src:e}}),a("v-uni-text",{staticClass:"iconfont icon-guanbi1",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.DelPic(i)}}})],1)})),t.pics.length<10?a("v-uni-view",{staticClass:"pictrue acea-row row-center-wrapper row-column",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.uploadpic.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"iconfont icon-icon25201"}),a("v-uni-view",[t._v("上传图片")])],1):t._e()],2)],1)],1),a("v-uni-view",{staticClass:"item no-border"},[a("v-uni-checkbox-group",{on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.ChangeIsAgree.apply(void 0,arguments)}}},[a("v-uni-checkbox",{staticClass:"checkbox",attrs:{checked:!!t.isAgree}}),t._v("已阅读并同意")],1),a("v-uni-button",{staticClass:"settleAgree",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showProtocol=!0}}},[t._v("《入驻协议》")])],1),a("v-uni-button",{staticClass:"submitBtn",class:!0===t.validate?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.formSubmit.apply(void 0,arguments)}}},[t._v("提交申请")])],1)],1)],1),t.showProtocol?a("v-uni-view",{staticClass:"settlementAgreement"},[a("v-uni-view",{staticClass:"setAgCount"},[a("i",{staticClass:"icon iconfont icon-cha",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showProtocol=!1}}}),a("div",{staticClass:"title"},[t._v("商户入驻协议")]),a("v-uni-view",{staticClass:"content"},[a("jyf-parser",{ref:"article",attrs:{html:t.protocol,"tag-style":t.tagStyle}})],1)],1)],1):t._e(),t.loading?a("v-uni-view",{staticClass:"loadingicon acea-row row-center-wrapper"},[a("v-uni-text",{staticClass:"loading iconfont icon-jiazai",attrs:{hidden:0==t.loading}})],1):t._e()],1)},o=[]},"54ec":function(t,e,i){"use strict";i.r(e);var a=i("210f"),n=i("f0697");for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("1841");var r,s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"0dd45dbe",null,!1,a["a"],r);e["default"]=c.exports},"5f11":function(t,e,i){var a=i("6829");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("c5a149a6",a,!0,{sourceMap:!1,shadowMode:!1})},6829:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.uni-input-placeholder[data-v-79bfda59]{color:#b2b2b2}.uni-list-cell[data-v-79bfda59]{position:relative}.uni-list-cell .iconfont[data-v-79bfda59]{font-size:14px;color:#7a7a7a;position:absolute;right:15px;top:%?7?%}.merchantsSettled[data-v-79bfda59]{background:-webkit-gradient(linear,left top,left bottom,from(#fd3d1d),to(#fd151b));background:-webkit-linear-gradient(#fd3d1d,#fd151b);background:linear-gradient(#fd3d1d,#fd151b);height:140vh}.merchantsSettled .merchantBg[data-v-79bfda59]{width:%?750?%;width:100%}.merchantsSettled .list[data-v-79bfda59]{background-color:#fff;-webkit-border-radius:12px;border-radius:12px;padding:22px 0;margin:0 15px;position:absolute;top:%?300?%;width:calc(100% - 30px)}.application-record[data-v-79bfda59]{position:absolute;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;top:%?240?%;right:0;color:#fff;font-size:%?22?%;background-color:rgba(0,0,0,.3);padding:%?8?% %?18?%;-webkit-border-radius:20px 0 0 20px;border-radius:20px 0 0 20px}.merchantsSettled .list .item[data-v-79bfda59]{padding:%?50?% %?30?% %?20?%;border-bottom:%?1?% solid #eee;position:relative;margin:0 25px}.merchantsSettled .list .item.no-border[data-v-79bfda59]{border-bottom:none;padding-left:0;padding-right:0}.merchantsSettled .list .item .item-title[data-v-79bfda59]{color:#666;font-size:%?28?%;display:block}.merchantsSettled .list .item .item-desc[data-v-79bfda59]{color:#b2b2b2;font-size:%?22?%;display:block;margin-top:%?9?%;line-height:%?36?%}.acea-row[data-v-79bfda59],\n.upload[data-v-79bfda59]{display:-webkit-box;display:-moz-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-lines:multiple;-moz-box-lines:multiple;-o-box-lines:multiple;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.upload[data-v-79bfda59]{margin-top:%?20?%}.acea-row.row-middle[data-v-79bfda59]{-webkit-box-align:center;-moz-box-align:center;-o-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;padding-left:2px}.acea-row.row-column[data-v-79bfda59]{-webkit-box-orient:vertical;-moz-box-orient:vertical;-o-box-orient:vertical;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.acea-row.row-center-wrapper[data-v-79bfda59]{-webkit-box-align:center;-moz-box-align:center;-o-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-moz-box-pack:center;-o-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}.merchantsSettled .list .item .pictrue[data-v-79bfda59]{width:%?130?%;height:%?130?%;margin:%?24?% %?22?% 0 0;position:relative;font-size:11px;color:#bbb}.merchantsSettled .list .item .pictrue[data-v-79bfda59]:nth-child(4n){margin-right:0}.merchantsSettled .list .item .pictrue[data-v-79bfda59]:nth-last-child(1){border:.5px solid #ddd;-webkit-box-sizing:border-box;box-sizing:border-box}.merchantsSettled .list .item .pictrue uni-image[data-v-79bfda59],\n.merchantsSettled .list .item .pictrue uni-image[data-v-79bfda59]{width:100%;height:100%;-webkit-border-radius:1px;border-radius:1px}.merchantsSettled .list .item .pictrue uni-image img[data-v-79bfda59],\n.merchantsSettled .list .item .pictrue uni-image img[data-v-79bfda59]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;display:block;position:absolute;top:0;left:0;opacity:0;width:100%;height:100%}.merchantsSettled .list .item .pictrue .icon-guanbi1[data-v-79bfda59]{font-size:%?33?%;position:absolute;top:-10px;right:-10px}.merchantsSettled .list .item .imageCode[data-v-79bfda59]{position:absolute;top:7px;right:0}.merchantsSettled .list .item .icon[data-v-79bfda59]{font-size:%?40?%;color:#b4b1b4}.merchantsSettled .list .item uni-input[data-v-79bfda59]{width:%?400?%;font-size:%?30?%;margin-left:10px}.merchantsSettled .list .item .placeholder[data-v-79bfda59]{color:#b2b2b2}.merchantsSettled .default[data-v-79bfda59]{padding:0 %?30?%;height:%?90?%;background-color:#fff;margin-top:%?23?%}.merchantsSettled .default uni-checkbox[data-v-79bfda59]{margin-right:%?15?%}.merchantsSettled .acea-row uni-image[data-v-79bfda59]{width:20px;height:20px;display:block}.merchantsSettled .list .item .codeIput[data-v-79bfda59]{width:125px}.uni-input-input[data-v-79bfda59]{display:block;height:100%;background:none;color:inherit;opacity:1;-webkit-text-fill-color:currentcolor;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.merchantsSettled .list .item .code[data-v-79bfda59]{position:absolute;width:93px;line-height:27px;border:1px solid #e93323;-webkit-border-radius:15px;border-radius:15px;color:#e93323;text-align:center;bottom:8px;right:0;font-size:12px}.merchantsSettled .list .item .code.on[data-v-79bfda59]{background-color:#bbb;color:#fff;border-color:#bbb}.merchantsSettled .submitBtn[data-v-79bfda59]{width:%?588?%;margin:0 auto;height:%?86?%;-webkit-border-radius:25px;border-radius:25px;text-align:center;line-height:%?86?%;font-size:15px;color:#fff;background:#e3e3e3;margin-top:25px}.merchantsSettled .submitBtn.on[data-v-79bfda59]{background:#e93323}uni-checkbox-group[data-v-79bfda59],\n.settleAgree[data-v-79bfda59]{display:inline-block;font-size:%?24?%}uni-checkbox-group[data-v-79bfda59]{color:#b2b2b2}.settleAgree[data-v-79bfda59]{color:#e93323;position:relative;top:2px;left:8px}.merchantsSettled uni-checkbox .uni-checkbox-wrapper[data-v-79bfda59]{width:%?30?%;height:%?30?%;border:%?2?% solid #c3c3c3;-webkit-border-radius:15px;border-radius:15px}.settlementAgreement[data-v-79bfda59]{width:100%;height:100%;position:fixed;top:0;left:0;background:rgba(0,0,0,.5);z-index:10}.settlementAgreement .setAgCount[data-v-79bfda59]{background:#fff;width:%?656?%;height:458px;position:absolute;top:50%;left:50%;border-radius:%?12?%;-webkit-border-radius:%?12?%;padding:%?52?%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);transform:translate(-50%,-50%);overflow:hidden}.settlementAgreement .setAgCount .content[data-v-79bfda59]{height:%?900?%;overflow-y:scroll}.settlementAgreement .setAgCount .content[data-v-79bfda59] p{font-size:13px;line-height:22px}.settlementAgreement .setAgCount .content[data-v-79bfda59] img{max-width:100%}.settlementAgreement .setAgCount .icon[data-v-79bfda59]{font-size:%?42?%;color:#b4b1b4;position:absolute;top:%?15?%;right:%?15?%}.settlementAgreement .setAgCount .title[data-v-79bfda59]{color:#333;font-size:%?32?%;text-align:center;font-weight:700}.settlementAgreement .setAgCount .content[data-v-79bfda59]{margin-top:%?32?%;color:#333;font-size:%?26?%;line-height:22px;text-align:justify;text-justify:distribute-all-lines;height:%?756?%;overflow-y:scroll}.settledSuccessMain[data-v-79bfda59]{height:100vh;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;background:#fff}.settledSuccessful[data-v-79bfda59]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%;padding:0 56px;height:auto;background:#fff;text-align:center}.settledSuccessful .image[data-v-79bfda59]{width:189px;height:157px;margin-top:66px}.settledSuccessful .title[data-v-79bfda59]{color:#333;font-size:16px;font-weight:700;margin-top:35px}.settledSuccessful .info[data-v-79bfda59]{color:#a0a0a0;font-size:13px;margin-top:12px}.settledSuccessful .goHome[data-v-79bfda59]{margin:60px auto 0;line-height:43px;color:#282828;font-size:15px;border:1px solid #b4b4b4;-webkit-border-radius:60px;border-radius:60px}[data-v-79bfda59] uni-checkbox .uni-checkbox-input{width:15px;height:15px;position:relative}[data-v-79bfda59] uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked:before{font-size:14px}.loadingicon[data-v-79bfda59]{height:100vh;overflow:hidden;position:absolute;top:0;left:0}.icon-xiangyou[data-v-79bfda59]{font-size:%?22?%}.setAgCount[data-v-79bfda59] table{border:%?1?% solid #ddd;border-bottom:none;border-right:none}.setAgCount[data-v-79bfda59] td, .setAgCount th[data-v-79bfda59]{padding:%?5?% %?10?%;border-bottom:%?1?% solid #ddd;border-right:%?1?% solid #ddd}',""]),t.exports=e},7257:function(t,e,i){"use strict";i.r(e);var a=i("d10a"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"824f":function(t,e,i){t.exports=i.p+"static/img/merchantBg.40a4ece6.jpg"},"989b":function(t,e,i){function a(t){for(var e={},i=t.split(","),a=i.length;a--;)e[i[a]]=!0;return e}i("ac1f"),i("1276"),t.exports={filter:null,highlight:null,onText:null,blankChar:a(" , ,\t,\r,\n,\f"),blockTags:a("address,article,aside,body,caption,center,cite,footer,header,html,nav,section,pre"),ignoreTags:a("area,base,basefont,canvas,command,frame,input,isindex,keygen,link,map,meta,param,script,source,style,svg,textarea,title,track,use,wbr,embed,iframe"),richOnlyTags:a("a,colgroup,fieldset,legend,picture,table"),selfClosingTags:a("area,base,basefont,br,col,circle,ellipse,embed,frame,hr,img,input,isindex,keygen,line,link,meta,param,path,polygon,rect,source,track,use,wbr"),trustAttrs:a("align,alt,app-id,author,autoplay,border,cellpadding,cellspacing,class,color,colspan,controls,data-src,dir,face,height,href,id,ignore,loop,media,muted,name,path,poster,rowspan,size,span,src,start,style,type,unit-id,width,xmlns"),boolAttrs:a("autoplay,controls,ignore,loop,muted"),trustTags:a("a,abbr,ad,audio,b,blockquote,br,code,col,colgroup,dd,del,dl,dt,div,em,fieldset,h1,h2,h3,h4,h5,h6,hr,i,img,ins,label,legend,li,ol,p,q,source,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,title,ul,video"),userAgentStyles:{address:"font-style:italic",big:"display:inline;font-size:1.2em",blockquote:"background-color:#f6f6f6;border-left:3px solid #dbdbdb;color:#6c6c6c;padding:5px 0 5px 10px",caption:"display:table-caption;text-align:center",center:"text-align:center",cite:"font-style:italic",dd:"margin-left:40px",img:"max-width:100%",mark:"background-color:yellow",picture:"max-width:100%",pre:"font-family:monospace;white-space:pre;overflow:scroll",s:"text-decoration:line-through",small:"display:inline;font-size:0.8em",u:"text-decoration:underline"}}},b85c:function(t,e,i){"use strict";i("a4d3"),i("e01a"),i("d28b"),i("d3b7"),i("3ca3"),i("ddb0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var a=n(i("06c5"));function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e){var i;if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(i=(0,a.default)(t))||e&&t&&"number"===typeof t.length){i&&(t=i);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,s=!0,c=!1;return{s:function(){i=t[Symbol.iterator]()},n:function(){var t=i.next();return s=t.done,t},e:function(t){c=!0,r=t},f:function(){try{s||null==i["return"]||i["return"]()}finally{if(c)throw r}}}}},d10a:function(t,e,i){"use strict";var a=i("4ea4");i("d81d"),i("a434"),i("b64b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("96cf");var n=a(i("1da1")),o=i("4654"),r=i("c496"),s=i("2b58"),c=i("5e22"),l=i("2f62"),d=(a(i("f801")),a(i("54ec"))),u=getApp(),f={components:{"jyf-parser":d.default},data:function(){return{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:""},validate:!1,successful:!1,keyCode:"",codeVal:"",protocol:u.globalData.sys_intention_agree,timer:"",index:0,mer_classification:"",array:[{category_name:"",merchant_category_id:""}],pics:[],tagStyle:{img:"width:100%;display:block;"},mer_i_id:null}},beforeDestroy:function(){clearTimeout(this.timer)},computed:(0,l.mapGetters)(["isLogin"]),onLoad:function(t){this.isLogin?this.getClassfication():(0,r.toLogin)(),t.mer_i_id&&(this.mer_i_id=t.mer_i_id,uni.showLoading({title:"获取数据中"}),this.getGoodsDetails(t.mer_i_id))},onShow:function(){this.getConfig()},onReady:function(){var t=this;uni.$on("update",(function(e){t.protocol=e.sys_intention_agree}))},methods:{getConfig:function(){var t=this;(0,o.getconfig)().then((function(e){t.protocol=u.globalData.sys_intention_agree})).catch((function(t){}))},getGoodsDetails:function(t){var e=this;(0,s.getGoodsDetails)(t).then((function(t){var i=Object.keys(e.merchantData),a=t.data;i.map((function(t){e.merchantData.enterprise_name=a.mer_name,e.merchantData.user_name=a.name,e.merchantData.phone=a.phone,e.merchantData.classification=a.merchant_category_id})),e.pics=a.images,e.mer_classification=e.getCategoryName(a.merchant_category_id,e.array),uni.hideLoading()}))},getCategoryName:function(t,e){for(var i=0;i<e.length;i++)if(e[i].merchant_category_id===t)return e[i]["category_name"]},bindPickerChange:function(t){this.index=t.target.value;var e=t.target.value;this.merchantData.classification=this.array[e]["merchant_category_id"],this.mer_classification=this.array[e]["category_name"]},getClassfication:function(){var t=this;(0,s.merClassifly)().then((function(e){t.array=e.data})).catch((function(e){t.$util.Tips({title:e})}))},getPhotoClickIdx:function(t){var e=this,i=t.currentTarget.dataset.index;e.imgPreview(e.pics,i)},imgPreview:function(t,e){t&&t.length>0&&uni.previewImage({current:t[e],urls:t})},onLoadFun:function(){this.isShowAuth=!1},authColse:function(t){this.isShowAuth=t},toggleTab:function(t){this.$refs[t].show()},goHome:function(){uni.switchTab({url:"/pages/index/index"})},again:function(){this.getcaptcha()},uploadpic:function(){var t=this;t.$util.uploadImageOne("upload/image",(function(e){t.pics.push(e.data.path),t.$set(t,"pics",t.pics)}))},DelPic:function(t){var e=this;this.pics[t];e.pics.splice(t,1),e.$set(e,"pics",e.pics)},getCode:function(){var t=this;getCodeApi().then((function(e){t.keyCode=e.data.key})).catch((function(e){t.$util.Tips({title:e})}))},code:function(){var t=this;return(0,n.default)(regeneratorRuntime.mark((function e(){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(i=t,i.merchantData.phone){e.next=3;break}return e.abrupt("return",i.$util.Tips({title:"请填写手机号码"}));case 3:if(/^1(3|4|5|7|8|9|6)\d{9}$/i.test(i.merchantData.phone)){e.next=5;break}return e.abrupt("return",i.$util.Tips({title:"请输入正确的手机号码"}));case 5:return e.next=7,(0,s.verify)({phone:i.merchantData.phone,key:i.codeKey,code:i.codeVal,type:"intention"}).then((function(t){i.$util.Tips({title:t.msg}),i.sendCode()})).catch((function(t){i.$util.Tips({title:t}),402==t.status&&i.getcaptcha()}));case 7:case"end":return e.stop()}}),e)})))()},getcaptcha:function(){var t=this;(0,c.getCaptcha)().then((function(e){t.codeUrl=e.data.captcha,t.codeVal=e.data.code,t.codeKey=e.data.key})),t.isShowCode=!0},sendCode:function(){var t=this;if(!this.disabled){this.disabled=!0;var e=60;this.text="剩余 "+e+"s";var i=setInterval((function(){e-=1,e<0&&clearInterval(i),t.text="剩余 "+e+"s",t.text<"剩余 0s"&&(t.disabled=!1,t.text="重新获取")}),1e3)}},onConfirm:function(t){this.region=t.checkArr[0]+"-"+t.checkArr[1]+"-"+t.checkArr[2]},ChangeIsAgree:function(t){this.isAgree=!this.isAgree,this.validateBtn()},formSubmit:function(t){var e=this,i=this;if(i.validateForm()&&i.validate){var a={phone:i.merchantData.phone,mer_name:i.merchantData.enterprise_name,name:i.merchantData.user_name,code:i.merchantData.yanzhengma,merchant_category_id:i.merchantData.classification,images:i.pics};i.mer_i_id?(0,s.updateGoodsRecord)(i.mer_i_id,a).then((function(t){200==t.status&&(i.loading=!0,e.timer=setTimeout((function(){i.successful=!0}),1e3))})).catch((function(t){i.$util.Tips({title:t})})):(0,s.create)(a).then((function(t){200==t.status&&(i.loading=!0,e.timer=setTimeout((function(){i.successful=!0}),1e3))})).catch((function(t){i.$util.Tips({title:t})}))}},validateBtn:function(){var t=this,e=t.merchantData;e.enterprise_name&&e.user_name&&e.phone&&/^1(3|4|5|7|8|9|6)\d{9}$/i.test(e.phone)&&e.yanzhengma&&t.isAgree&&e.classification&&(t.isShowCode?t.codeVal?t.validate=!0:t.validate=!1:t.validate=!0)},validateForm:function(){var t=this,e=t.merchantData;return e.enterprise_name?e.user_name?e.phone?/^1(3|4|5|7|8|9|6)\d{9}$/i.test(e.phone)?e.yanzhengma?e.classification?t.isAgree?t.isShowCode&&!t.codeVal?t.$util.Tips({title:"请填写图片验证码"}):(t.validate=!0,!0):t.$util.Tips({title:"请勾选并同意入驻协议"}):t.$util.Tips({title:"请选择商户分类"}):t.$util.Tips({title:"请填写验证码"}):t.$util.Tips({title:"请输入正确的手机号码"}):t.$util.Tips({title:"请输入手机号"}):t.$util.Tips({title:"请输入姓名"}):t.$util.Tips({title:"请请输入企业名称"})},jumpToList:function(){uni.navigateTo({url:"/pages/store/applicationRecord/index"})}}};e.default=f},e381:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__("4ea4");__webpack_require__("99af"),__webpack_require__("caad"),__webpack_require__("c975"),__webpack_require__("acd8"),__webpack_require__("ac1f"),__webpack_require__("2532"),__webpack_require__("466d"),__webpack_require__("5319"),__webpack_require__("1276"),Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _createForOfIteratorHelper2=_interopRequireDefault(__webpack_require__("b85c")),rpx=uni.getSystemInfoSync().screenWidth/750,cfg=__webpack_require__("989b"),_default={name:"parser",data:function(){return{uid:this._uid,scaleAm:"",showAm:"",imgs:[],nodes:[]}},props:{html:null,autopause:{type:Boolean,default:!0},autosetTitle:{type:Boolean,default:!0},domain:String,gestureZoom:Boolean,lazyLoad:Boolean,selectable:Boolean,tagStyle:Object,showWithAnimation:Boolean,useAnchor:Boolean},watch:{html:function(t){this.setContent(t)}},mounted:function(){this.imgList=[],this.imgList.each=function(t){for(var e=0,i=this.length;e<i;e++)this.setItem(e,t(this[e],e,this))},this.imgList.setItem=function(t,e){if(void 0!=t&&e){if(0==e.indexOf("http")&&this.includes(e)){for(var i,a="",n=0;i=e[n];n++){if("/"==i&&"/"!=e[n-1]&&"/"!=e[n+1])break;a+=Math.random()>.5?i.toUpperCase():i}return a+=e.substr(n),this[t]=a}if(this[t]=e,e.includes("data:image")){var o=e.match(/data:image\/(\S+?);(\S+?),(.+)/);if(!o)return}}},this.html&&this.setContent(this.html)},beforeDestroy:function(){this._observer&&this._observer.disconnect(),this.imgList.each((function(t){})),clearInterval(this._timer)},methods:{_Dom2Str:function(t){var e,i="",a=(0,_createForOfIteratorHelper2.default)(t);try{for(a.s();!(e=a.n()).done;){var n=e.value;if("text"==n.type)i+=n.text;else{for(var o in i+="<"+n.name,n.attrs||{})i+=" "+o+'="'+n.attrs[o]+'"';n.children&&n.children.length?i+=">"+this._Dom2Str(n.children)+"</"+n.name+">":i+=">"}}}catch(r){a.e(r)}finally{a.f()}return i},_handleHtml:function(t,e){if("string"!=typeof t&&(t=this._Dom2Str(t.nodes||t)),t.includes("rpx")&&(t=t.replace(/[0-9.]+\s*rpx/g,(function(t){return parseFloat(t)*rpx+"px"}))),!e){var i="<style scoped>@keyframes show{0%{opacity:0}100%{opacity:1}}";for(var a in cfg.userAgentStyles)i+="".concat(a,"{").concat(cfg.userAgentStyles[a],"}");for(a in this.tagStyle)i+="".concat(a,"{").concat(this.tagStyle[a],"}");i+="</style>",t=i+t}return t},setContent:function(t,e){var i=this;if(t){var a=document.createElement("div");e?this.rtf?this.rtf.appendChild(a):this.rtf=a:(this.rtf&&this.rtf.parentNode.removeChild(this.rtf),this.rtf=a),a.innerHTML=this._handleHtml(t,e);for(var n,o=this.rtf.getElementsByTagName("style"),r=0;n=o[r++];)n.innerHTML=n.innerHTML.replace(/body/g,"#rtf"+this._uid),n.setAttribute("scoped","true");!this._observer&&this.lazyLoad&&IntersectionObserver&&(this._observer=new IntersectionObserver((function(t){for(var e,a=0;e=t[a++];)e.isIntersecting&&(e.target.src=e.target.getAttribute("data-src"),e.target.removeAttribute("data-src"),i._observer.unobserve(e.target))}),{rootMargin:"900px 0px 900px 0px"}));var s=this,c=this.rtf.getElementsByTagName("title");c.length&&this.autosetTitle&&uni.setNavigationBarTitle({title:c[0].innerText}),this.imgList.length=0;for(var l,d=this.rtf.getElementsByTagName("img"),u=0,f=0;l=d[u];u++){l.style.maxWidth="100%";var h=l.getAttribute("src");this.domain&&h&&("/"==h[0]?"/"==h[1]?l.src=(this.domain.includes("://")?this.domain.split("://")[0]:"")+":"+h:l.src=this.domain+h:h.includes("://")||(l.src=this.domain+"/"+h)),l.hasAttribute("ignore")||"A"==l.parentElement.nodeName||(l.i=f++,s.imgList.push(l.src||l.getAttribute("data-src")),l.onclick=function(){var t=!0;this.ignore=function(){return t=!1},s.$emit("imgtap",this),t&&uni.previewImage({current:this.i,urls:s.imgList})}),l.onerror=function(){s.$emit("error",{source:"img",target:this})},s.lazyLoad&&this._observer&&l.src&&0!=l.i&&(l.setAttribute("data-src",l.src),l.removeAttribute("src"),this._observer.observe(l))}var p,m=this.rtf.getElementsByTagName("a"),g=(0,_createForOfIteratorHelper2.default)(m);try{for(g.s();!(p=g.n()).done;){var b=p.value;b.onclick=function(){var t=!0,e=this.getAttribute("href");if(s.$emit("linkpress",{href:e,ignore:function(){return t=!1}}),t&&e)if("#"==e[0])s.useAnchor&&s.navigateTo({id:e.substr(1)});else{if(0==e.indexOf("http")||0==e.indexOf("//"))return!0;uni.navigateTo({url:e})}return!1}}}catch(S){g.e(S)}finally{g.f()}var v=this.rtf.getElementsByTagName("video");s.videoContexts=v;for(var x,_=0;x=v[_++];)x.style.width="100%",x.onerror=function(){s.$emit("error",{source:"video",target:this})},x.onplay=function(){if(s.autopause)for(var t,e=0;t=s.videoContexts[e++];)t!=this&&t.pause()};var w,y,k=this.rtf.getElementsByTagName("audios"),C=(0,_createForOfIteratorHelper2.default)(k);try{for(C.s();!(w=C.n()).done;){var A=w.value;A.onerror=function(){s.$emit("error",{source:"audio",target:this})}}}catch(S){C.e(S)}finally{C.f()}this.document=this.rtf,e||document.getElementById("rtf"+this._uid).appendChild(this.rtf),this.$nextTick((function(){i.nodes=[1],i.$emit("load")})),setTimeout((function(){return i.showAm=""}),500),clearInterval(this._timer),this._timer=setInterval((function(){var t=[i.rtf.getBoundingClientRect()];i.width=t[0].width,t[0].height==y&&(i.$emit("ready",t[0]),clearInterval(i._timer)),y=t[0].height}),350),this.showWithAnimation&&!e&&(this.showAm="animation:show .5s")}else this.rtf&&!e&&this.rtf.parentNode.removeChild(this.rtf)},getText:function(){arguments.length>0&&void 0!==arguments[0]||this.nodes;return this.rtf.innerText},navigateTo:function(t){if(!this.useAnchor)return t.fail&&t.fail({errMsg:"Anchor is disabled"});if(!t.id)return window.scrollTo(0,this.rtf.offsetTop),t.success&&t.success({errMsg:"pageScrollTo:ok"});var e=document.getElementById(t.id);if(!e)return t.fail&&t.fail({errMsg:"Label not found"});t.scrollTop=this.rtf.offsetTop+e.offsetTop,uni.pageScrollTo(t)},getVideoContext:function(t){if(!t)return this.videoContexts;for(var e=this.videoContexts.length;e--;)if(this.videoContexts[e].id==t)return this.videoContexts[e]},preLoad:function preLoad(html,num){html.constructor==Array&&(html=this._Dom2Str(html));var script="var contain=document.createElement('div');contain.innerHTML='"+html.replace(/'/g,"\\'")+"';for(var imgs=contain.querySelectorAll('img'),i=imgs.length-1;i>="+num+";i--)imgs[i].removeAttribute('src');";eval(script)},_tap:function(t){if(this.gestureZoom&&t.timeStamp-this._lastT<300){var e=t.touches[0].pageY-t.currentTarget.offsetTop;if(this._zoom)this._scaleAm.translateX(0).scale(1).step(),uni.pageScrollTo({scrollTop:(e+this._initY)/2-t.touches[0].clientY,duration:400});else{var i=t.touches[0].pageX-t.currentTarget.offsetLeft;this._initY=e,this._scaleAm=uni.createAnimation({transformOrigin:"".concat(i,"px ").concat(this._initY,"px 0"),timingFunction:"ease-in-out"}),this._scaleAm.scale(2).step(),this._tMax=i/2,this._tMin=(i-this.width)/2,this._tX=0}this._zoom=!this._zoom,this.scaleAm=this._scaleAm.export()}this._lastT=t.timeStamp},_touchstart:function(t){1==t.touches.length&&(this._initX=this._lastX=t.touches[0].pageX)},_touchmove:function(t){var e=t.touches[0].pageX-this._lastX;if(this._zoom&&1==t.touches.length&&Math.abs(e)>20){if(this._lastX=t.touches[0].pageX,this._tX<=this._tMin&&e<0||this._tX>=this._tMax&&e>0)return;this._tX+=e*Math.abs(this._lastX-this._initX)*.05,this._tX<this._tMin&&(this._tX=this._tMin),this._tX>this._tMax&&(this._tX=this._tMax),this._scaleAm.translateX(this._tX).step(),this.scaleAm=this._scaleAm.export()}}}};exports.default=_default},f0697:function(t,e,i){"use strict";i.r(e);var a=i("e381"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a}}]);