zx/public/static/js/pages-store-merchantDetails...

1 line
12 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-store-merchantDetails-index"],{"09d4":function(t,e,n){"use strict";var o=n("6098"),r=n.n(o);r.a},"377c":function(t,e,n){"use strict";n.r(e);var o=n("79d5"),r=n("c628");for(var u in r)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(u);n("09d4");var a=n("828b"),c=Object(a["a"])(r["default"],o["b"],o["c"],!1,null,"c64190ac",null,!1,o["a"],void 0);e["default"]=c.exports},4464:function(t,e,n){var o=n("c86c");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-c64190ac]{display:flex;flex-direction:column;align-items:center;background-color:#fff;height:100vh;position:relative}.merchant-details .top[data-v-c64190ac]{display:flex;flex-direction:column;align-items:center}.merchant-details .top .img[data-v-c64190ac]{width:%?340?%;height:%?280?%;margin:%?140?% 0 %?30?% 0}.merchant-details .top .title[data-v-c64190ac]{font-size:%?32?%;font-weight:700;color:#333}.merchant-details .msg[data-v-c64190ac]{width:85%;padding:%?30?%;height:%?150?%;margin:%?70?% %?70?%;background-color:#f6f6f6;border-radius:%?8?%}.merchant-details .msg .url[data-v-c64190ac]{display:flex;flex-wrap:nowrap;margin-bottom:%?20?%}.merchant-details .msg .phone[data-v-c64190ac]{display:flex;justify-content:space-between}.merchant-details .msg .head[data-v-c64190ac]{color:#333;font-size:%?28?%;font-weight:500;white-space:nowrap}.merchant-details .msg .content[data-v-c64190ac]{color:#999;font-size:%?26?%}.merchant-details .msg .cope[data-v-c64190ac]{padding:%?5?% %?16?%;color:#fff;border-radius:%?30?%;background-color:#999;margin-left:%?40?%;font-size:%?20?%}.merchant-details .btn[data-v-c64190ac]{width:70%;position:absolute;text-align:center;color:#999;font-size:%?24?%;bottom:%?80?%}',""]),t.exports=e},"447a":function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("c223"),n("c9b5"),n("bf0f"),n("ab80");var o=n("7e00"),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");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,function(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,0,e.length),document.execCommand("copy")&&(document.execCommand("copy"),this.$util.Tips({title:"复制成功"})),n.blur()}}};e.default=r},6098:function(t,e,n){var o=n("4464");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var r=n("967d").default;r("cc5947e4",o,!0,{sourceMap:!1,shadowMode:!1})},"79d5":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var o=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("de39"),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)},r=[]},"7e00":function(t,e,n){"use strict";n("6a54");var o=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.arrivalNoticeApi=function(t){return u.default.post("store/product/increase_take",t)},e.bagExplain=function(){return u.default.get("store/product/bag/explain")},e.bagRecommend=function(){return u.default.get("product/spu/bag/recommend")},e.collectAdd=function(t){return u.default.post("user/relation/create",t)},e.collectAll=function(t){return u.default.post("user/relation/batch/create",t)},e.collectDel=function(t){return u.default.post("user/relation/delete",t)},e.copyPasswordApi=function(t){return u.default.get("product/spu/copy",t,{noAuth:!0})},e.copyPasswordSearch=function(t){return u.default.get("command/copy",t,{noAuth:!0})},e.create=function(t){return u.default.post("intention/create",t)},e.discountsCartAdd=function(t){return u.default.post("user/cart/batchCreate",t)},e.express=function(t){return u.default.post("ordero/express/"+t,{noAuth:!0})},e.followStore=function(t){return u.default.post("user/relation/create",{type:10,type_id:t})},e.getApplicationRecordList=function(t){return u.default.get("intention/lst",t)},e.getBrandlist=function(t){return u.default.get("store/product/brand/lst",t,{noAuth:!0})},e.getBroadcastListApi=function(t){return u.default.get("broadcast/lst",t,{noAuth:!0})},e.getCaptcha=function(){return u.default.get("captcha")},e.getCategoryList=function(){return u.default.get("store/product/category/lst",{},{noAuth:!0})},e.getCollectUserList=function(t){return u.default.get("user/relation/product/lst",t)},e.getCouponProductlist=function(t){t.brand_id&&Array.isArray(t.brand_id)&&(t=(0,r.default)({},t),t.brand_id=t.brand_id.toString());return u.default.get("product/spu/coupon_product",t,{noAuth:!0})},e.getDiscountsLst=function(t){return u.default.get("discounts/lst",t,{noAuth:!0})},e.getGeocoder=function(t){return u.default.get("lbs/geocoder?location=".concat(t.lat,",").concat(t.long),{},{noAuth:!0})},e.getGoodsDetails=function(t){return u.default.get("intention/detail/"+t,{})},e.getGroomList=function(t,e){return u.default.get("product/spu/hot/"+t,e,{noAuth:!0})},e.getHotBanner=function(t){return u.default.get("common/hot_banner/"+t,{},{noAuth:!0})},e.getHotRanking=function(){return u.default.get("product/spu/hot_top",{},{noAuth:!0})},e.getLiveList=function(t){return u.default.get("broadcast/hot",t,{noAuth:!0})},e.getMerProductHot=function(t,e){return u.default.get("product/spu/recommend",{page:void 0===e.page?1:e.page,limit:void 0===e.limit?10:e.limit,mer_id:t||""},{noAuth:!0})},e.getMerchantLst=function(t){return u.default.get("user/relation/merchant/lst",t,{noAuth:!0})},e.getParmasList=function(t){return u.default.get("product/spu/params",t,{noAuth:!0})},e.getParmasValue=function(t){return u.default.get("product/spu/params_value/".concat(t),{},{noAuth:!0})},e.getPresellProductDetail=function(t){return u.default.get("store/product/presell/detail/"+t,{},{noAuth:!0})},e.getPreviewProDetail=function(t){return u.default.get("store/product/preview",t,{noAuth:!0})},e.getProductCode=function(t,e){return u.default.get("store/product/qrcode/"+t,e,{noAuth:!0})},e.getProductDetail=function(t){return u.default.get("store/product/detail/"+t,{},{noAuth:!0})},e.getProductHot=function(t,e){return u.default.get("product/spu/recommend",{page:void 0===t?1:t,limit:void 0===e?10:e},{noAuth:!0})},e.getProductParmas=function(t){return u.default.get("store/product/show/"+t,{},{noAuth:!0})},e.getProductslist=function(t){t.brand_id&&Array.isArray(t.brand_id)&&(t=(0,r.default)({},t),t.brand_id=t.brand_id.toString());return u.default.get("product/spu/lst",t,{noAuth:!0})},e.getReplyConfig=function(t){return u.default.get("reply/config/"+t)},e.getReplyList=function(t,e){return u.default.get("store/product/reply/lst/"+t,e,{noAuth:!0})},e.getSearchKeyword=function(){return u.default.get("common/hot_keyword",{},{noAuth:!0})},e.getSeckillProductDetail=function(t,e){return u.default.get("store/product/seckill/detail/"+t,e,{noAuth:!0})},e.getStoreCategory=function(t,e){return u.default.get("store/merchant/category/lst/"+t,e,{noAuth:!0})},e.getStoreCoupon=function(t){return u.default.get("coupon/store/"+t,{noAuth:!0})},e.getStoreDetail=function(t,e){return u.default.get("store/merchant/detail/"+t,e,{noAuth:!0})},e.getStoreGoods=function(t,e){return u.default.get("product/spu/merchant/"+t,e,{noAuth:!0})},e.getStoreRecommend=function(t){return u.default.get("store/product/good_list/"+t,{},{noAuth:!0})},e.getStoreTypeApi=function(t){return u.default.get("intention/type",t,{noAuth:!0})},e.getTodayHotSearch=function(){return u.default.get("product/spu/hot_lst",{},{noAuth:!0})},e.merClassifly=function(){return u.default.get("intention/cate",{},{noAuth:!0})},e.merchantProduct=function(t,e){e.brand_id&&Array.isArray(e.brand_id)&&(e=(0,r.default)({},e),e.brand_id=e.brand_id.toString());return u.default.get("product/spu/merchant/"+t,e,{noAuth:!0})},e.merchantQrcode=function(t,e){return u.default.get("store/merchant/qrcode/"+t,e,{noAuth:!0})},e.postCartAdd=function(t){return u.default.post("user/cart/create",t)},e.priceRuleApi=function(t){return u.default.get("store/product/price_rule/".concat(t),{},{noAuth:!0})},e.productBag=function(t){return u.default.get("product/spu/bag",t,{noAuth:!0})},e.storeCategory=function(t){return u.default.get("store/product/category",t,{noAuth:!0})},e.storeCertificate=function(t){return u.default.post("store/certificate/".concat(t.merId),t)},e.storeMerchantList=function(t){return u.default.get("store/merchant/lst",t,{noAuth:!0})},e.storeServiceList=function(t,e){return u.default.get("product/spu/local/".concat(t),e,{noAuth:!0})},e.unfollowStore=function(t){return u.default.post("user/relation/delete",{type:10,type_id:t})},e.updateGoodsRecord=function(t,e){return u.default.post("intention/update/"+t,e)},e.userCollectDel=function(t){return u.default.post("user/relation/batch/delete",t)},e.verify=function(t){return u.default.post("auth/verify",t)},n("c9b5"),n("bf0f"),n("ab80"),n("c223");var r=o(n("9b1b")),u=o(n("fea3"))},c628:function(t,e,n){"use strict";n.r(e);var o=n("447a"),r=n.n(o);for(var u in o)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(u);e["default"]=r.a},de39:function(t,e,n){t.exports=n.p+"pages/store/static/images/successTop.png"}}]);