| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-store-merchantDetails-index"],{"0b5d":function(t,e,n){"use strict";var o=n("6345"),r=n.n(o);r.a},"2b58":function(t,e,n){"use strict";var o=n("4ea4");n("99af"),n("d3b7"),n("25f0"),Object.defineProperty(e,"__esModule",{value:!0}),e.getProductDetail=i,e.getProductCode=u,e.collectAdd=c,e.collectDel=d,e.postCartAdd=s,e.getCategoryList=l,e.getProductslist=f,e.getBrandlist=p,e.getProductHot=g,e.collectAll=h,e.getGroomList=m,e.getCollectUserList=b,e.getReplyList=v,e.getReplyConfig=y,e.getSearchKeyword=w,e.storeListApi=x,e.storeMerchantList=_,e.getStoreDetail=A,e.getStoreGoods=k,e.getStoreCategory=C,e.followStore=D,e.unfollowStore=L,e.getStoreCoupon=S,e.getMerchantLst=P,e.express=T,e.storeCategory=R,e.bagExplain=G,e.bagRecommend=B,e.productBag=j,e.merchantQrcode=z,e.merchantProduct=E,e.getHotBanner=M,e.create=O,e.verify=$,e.getSeckillProductDetail=q,e.getLiveList=H,e.getBroadcastListApi=J,e.merClassifly=U,e.getPresellProductDetail=F,e.getApplicationRecordList=I,e.getGoodsDetails=K,e.updateGoodsRecord=Q,e.getGeocoder=N;var r=o(n("5530")),a=o(n("112d"));function i(t){return a.default.get("store/product/detail/"+t,{},{noAuth:!0})}function u(t,e){return a.default.get("store/product/qrcode/"+t,e,{noAuth:!0})}function c(t){return a.default.post("user/relation/create",t)}function d(t){return a.default.post("user/relation/delete",t)}function s(t){return a.default.post("user/cart/create",t)}function l(){return a.default.get("store/product/category/lst",{},{noAuth:!0})}function f(t){return t.brand_id&&Array.isArray(t.brand_id)&&(t=(0,r.default)({},t),t.brand_id=t.brand_id.toString()),a.default.get("product/spu/lst",t,{noAuth:!0})}function p(t){return a.default.get("store/product/brand/lst",t,{noAuth:!0})}function g(t,e){return a.default.get("product/spu/recommend",{page:void 0===t?1:t,limit:void 0===e?10:e},{noAuth:!0})}function h(t){return a.default.post("user/relation/batch/create",t)}function m(t,e){return a.default.get("product/spu/hot/"+t,e,{noAuth:!0})}function b(t){return a.default.get("user/relation/product/lst",t)}function v(t,e){return a.default.get("store/product/reply/lst/"+t,e,{noAuth:!0})}function y(t){return a.default.get("reply/config/"+t)}function w(){return a.default.get("common/hot_keyword",{},{noAuth:!0})}function x(t){return a.default.get("store_list",t,{noAuth:!0})}function _(t){return a.default.get("store/merchant/lst",t,{noAuth:!0})}function A(t,e){return a.default.get("store/merchant/detail/"+t,e,{noAuth:!0})}function k(t,e){return a.default.get("product/spu/merchant/"+t,e,{noAuth:!0})}function C(t,e){return a.default.get("store/merchant/category/lst/"+t,e,{noAuth:!0})}function D(t){return a.default.post("user/relation/create",{type:10,type_id:t})}function L(t){return a.default.post("user/relation/delete",{type:10,type_id:t})}function S(t){return a.default.get("coupon/store/"+t,{noAuth:!0})}function P(t){return a.default.get("user/relation/merchant/lst",t,{noAuth:!0})}function T(t){return a.default.post("ordero/express/"+t,{noAuth:!0})}function R(t){return a.default.get("store/product/category",t,{noAuth:!0})}function G(){return a.default.get("store/product/bag/explain")}function B(){return a.default.get("product/spu/bag/recommend")}function j(t){return a.default.get("product/spu/bag",t,{noAuth:!0})}function z(t,e){return a.default.get("store/merchant/qrcode/"+t,e,{noAuth:!0})}function E(t,e){return e.brand_id&&Array.isArray(e.brand_id)&&(e=(0,r.default)({},e),e.brand_id=e.brand_id.toString()),a.default.get("product/spu/merchant/"+t,e,{noAuth:!0})}function M(t){return a.default.get("common/hot_banner/"+t,{},{noAuth:!0})}function O(t){return a.default.post("intention/create",t)}function $(t){return a.default.post("auth/verify",t)}function q(t){return a.default.get("store/product/seckill/detail/"+t,{},{noAuth:!0})}function H(){return a.default.get("broadcast/hot",{},{noAuth:!0})}function J(t){return a.default.get("broadcast/lst",t,{noAuth:!0})}function U(){return a.default.get("intention/cate")}function F(t){return a.default.get("store/product/presell/detail/"+t,{},{noAuth:!0})}function I(t){return a.default.get("intention/lst",t)}function K(t){return a.default.get("intention/detail/"+t,{})}function Q(t,e){return a.default.post("intention/update/"+t,e)}function N(t){return a.default.get("lbs/geocoder?location=".concat(t.lat,",").concat(t.long),{},{noAuth:!0})}},"39a6":function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return o}));var r=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",{staticClass:"merchant-details"},[o("v-uni-view",{staticClass:"top"},[o("v-uni-image",{staticClass:"img",attrs:{src:n("6cd1"),mode:""}}),o("v-uni-view",{staticClass:"title"},[t._v("恭喜,您的申请已通过!")])],1),t.mer_id>0&&t.resData.login_url?o("v-uni-view",{staticClass:"msg"},[o("v-uni-view",{staticClass:"url"},[o("v-uni-text",{staticClass:"head"},[t._v("登录地址:")]),o("v-uni-text",{staticClass:"content"},[t._v(t._s(t.resData.login_url))])],1),o("v-uni-view",{staticClass:"phone"},[o("v-uni-view",{},[o("v-uni-text",{staticClass:"head"},[t._v("商户账号:")]),o("v-uni-text",{staticClass:"content"},[t._v(t._s(t.resData.phone))])],1),o("v-uni-text",{staticClass:"cope",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.copyTBL()}}},[t._v("复制")])],1)],1):t._e(),t.mer_id>0?o("v-uni-view",{staticClass:"btn"},[o("v-uni-view",{},[t._v("温馨提示:初始密码以短信的方式已发送至申请商户入驻时的手机号")])],1):t._e()],1)},a=[]},6345:function(t,e,n){var o=n("8865");"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var r=n("4f06").default;r("7c7f490e",o,!0,{sourceMap:!1,shadowMode:!1})},"6cd1":function(t,e,n){t.exports=n.p+"static/img/successTop.e11f9fc2.png"},8865:function(t,e,n){var o=n("24fb");e=o(!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/* 文章场景相关 */.merchant-details[data-v-c924d586]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:#fff;height:100vh;position:relative}.merchant-details .top[data-v-c924d586]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.merchant-details .top .img[data-v-c924d586]{width:%?340?%;height:%?280?%;margin:%?140?% 0 %?30?% 0}.merchant-details .top .title[data-v-c924d586]{font-size:%?32?%;font-weight:700;color:#333}.merchant-details .msg[data-v-c924d586]{width:85%;padding:%?30?%;height:%?150?%;margin:%?70?% %?70?%;background-color:#f6f6f6;-webkit-border-radius:%?8?%;border-radius:%?8?%}.merchant-details .msg .url[data-v-c924d586]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;margin-bottom:%?20?%}.merchant-details .msg .phone[data-v-c924d586]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.merchant-details .msg .head[data-v-c924d586]{color:#333;font-size:%?28?%;font-weight:500;white-space:nowrap}.merchant-details .msg .content[data-v-c924d586]{color:#999;font-size:%?26?%}.merchant-details .msg .cope[data-v-c924d586]{padding:%?5?% %?16?%;color:#fff;-webkit-border-radius:%?30?%;border-radius:%?30?%;background-color:#999;margin-left:%?40?%;font-size:%?20?%}.merchant-details .btn[data-v-c924d586]{width:70%;position:absolute;text-align:center;color:#999;font-size:%?24?%;bottom:%?80?%}',""]),t.exports=e},d9f0:function(t,e,n){"use strict";n.r(e);var o=n("f0ff"),r=n.n(o);for(var a in o)"default"!==a&&function(t){n.d(e,t,(function(){return o[t]}))}(a);e["default"]=r.a},f0ff:function(t,e,n){"use strict";n("99af"),n("d3b7"),n("25f0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("2b58"),r={data:function(){return{mer_id:0,resData:{}}},onLoad:function(t){this.mer_id=t.mer_id,this.mer_id>0&&this.getGoodsDetails(t.mer_i_id)},methods:{getGoodsDetails:function(t){var e=this;(0,o.getGoodsDetails)(t).then((function(t){e.resData=t.data}))},copyTBL:function(t){var e="登录地址:".concat(this.resData.login_url," 商户账号:").concat(this.resData.phone);this.copyText(e)},webCopy:function(t){var e=document.createElement("input");document.body.appendChild(e),e.value=t,e.focus(),e.select(),document.execCommand("copy")&&document.execCommand("copy"),e.blur(),this.$util.Tips({title:"复制成功"}),e.style.display="none",document.body.removeChild(e)},copyText:function(t){var e=t.toString(),n=document.querySelector("#copy-input");function o(t,e,n){if(t.createTextRange){var o=t.createTextRange();o.collapse(!0),o.moveStart("character",e),o.moveEnd("character",n-e),o.select()}else t.setSelectionRange(e,n),t.focus()}n||(n=document.createElement("input"),n.id="copy-input",n.readOnly="readOnly",n.style.position="absolute",n.style.left="-1000px",n.style.zIndex="-1000",document.body.appendChild(n)),n.value=e,o(n,0,e.length),document.execCommand("copy")&&(document.execCommand("copy"),this.$util.Tips({title:"复制成功"})),n.blur()}}};e.default=r},f18e:function(t,e,n){"use strict";n.r(e);var o=n("39a6"),r=n("d9f0");for(var a in r)"default"!==a&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("0b5d");var i,u=n("f0c5"),c=Object(u["a"])(r["default"],o["b"],o["c"],!1,null,"c924d586",null,!1,o["a"],i);e["default"]=c.exports}}]);
|