shop-php/public/static/js/pages-store-merchantDetails-index.a20d0932.js

1 line
12 KiB
JavaScript
Raw Normal View History

2023-09-12 16:26:19 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-store-merchantDetails-index"],{"04da":function(t,e,n){"use strict";n.r(e);var r=n("0b36"),o=n("6c14");for(var u in o)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(u);n("cc9c");var a=n("f0c5"),c=Object(a["a"])(o["default"],r["b"],r["c"],!1,null,"c58c8932",null,!1,r["a"],void 0);e["default"]=c.exports},"0b36":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var r=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("v-uni-view",{staticClass:"merchant-details"},[r("v-uni-view",{staticClass:"top"},[r("v-uni-image",{staticClass:"img",attrs:{src:n("fcfdc"),mode:""}}),r("v-uni-view",{staticClass:"title"},[t._v("恭喜,您的申请已通过!")])],1),t.mer_id>0&&t.resData.login_url?r("v-uni-view",{staticClass:"msg"},[r("v-uni-view",{staticClass:"url"},[r("v-uni-text",{staticClass:"head"},[t._v("登录地址:")]),r("v-uni-text",{staticClass:"content"},[t._v(t._s(t.resData.login_url))])],1),r("v-uni-view",{staticClass:"phone"},[r("v-uni-view",{},[r("v-uni-text",{staticClass:"head"},[t._v("商户账号:")]),r("v-uni-text",{staticClass:"content"},[t._v(t._s(t.resData.phone))])],1),r("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?r("v-uni-view",{staticClass:"btn"},[r("v-uni-view",{},[t._v("温馨提示:初始密码默认为手机号后六位,请初次登录后及时修改")])],1):t._e()],1)},o=[]},"5ca16":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("99af"),n("d401"),n("d3b7"),n("25f0");var r=n("94e5"),o={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,r.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 r=t.createTextRange();r.collapse(!0),r.moveStart("character",e),r.moveEnd("character",n-e),r.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=o},"601e":function(t,e,n){var r=n("24fb");e=r(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/*