1 line
3.3 KiB
JavaScript
1 line
3.3 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d217280a"],{"0a1a":function(t,e,i){"use strict";i("0a89")},"0a89":function(t,e,i){var a=i("ec47");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("499e").default;n("185868c0",a,!0,{sourceMap:!1,shadowMode:!1})},"3c6f":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"binding-box"},[i("c-title",{attrs:{hide:!1,text:"新增/绑定站点"}}),t.isBinding?i("div",{staticClass:"change"},[t._v(" 您已绑定过域名 ")]):i("div",{staticClass:"content-box"},[i("div",{staticClass:"change"},[i("div",{staticClass:"btn blue",on:{click:t.toChange}},[t._v("绑定已有站点")]),i("p",[t._v("如果您已经部署安装过当前商城,请绑定已有站点")]),i("p",{staticClass:"tips"},[t._v("注:您只能绑定一个站点,请勿绑定他人站点!")])]),i("div",{staticClass:"new"},[i("div",{staticClass:"btn red",on:{click:function(e){return t.toChange("new")}}},[t._v("创建新站点")]),i("p",[t._v("如果您未部署安装当前商城,请创建站点!")])])]),i("div",{staticClass:"service-box",class:[3==t.fun.getPhoneEnv()?"pcStyle":""]},[i("span",[t._v("如有疑问请联系客服")]),t._v(" "),i("i",{staticClass:"iconfont icon-kefu"})])],1)},n=[],o=i("5530"),s=(i("ac1f"),i("5319"),i("6968")),c={data:function(){return{isBinding:!1}},activated:function(){this.checkData()},methods:{checkData:function(){var t=this,e="plugin.product-market.api.client.index";58===this.$route.query.plugin_id&&(e="plugin.market-sub.api.client.index"),$http.get(e,{},"获取中").then((function(e){1===e.result?t.isBinding=!1:(t.isBinding=!0,t.$dialog.alert({message:e.msg}).then((function(){t.$router.go(-1)})).catch((function(){})))})).catch((function(t){}))},toChange:function(t){"new"===t?this.toRouter("changeSite","replace",{},{isNew:1,plugin_id:this.$route.query.plugin_id}):this.toRouter("changeSite","replace",{},{plugin_id:this.$route.query.plugin_id})},toRouter:function(t,e,i,a){"replace"===e&&this.$router.replace(this.fun.getUrl(t,Object(o["a"])({tag:this.$route.query.tag,goodsId:this.$route.query.goodsId,optionsId:this.$route.query.optionsId,total:this.$route.query.total,id:this.diyform_id,form_data_id:this.form_data_id,cart_ids:this.$route.query.cart_ids,store_id:this.$route.query.store_id},i),Object(o["a"])({},a)))}},components:{cTitle:s["a"]}},r=c,d=(i("0a1a"),i("2877")),u=Object(d["a"])(r,a,n,!1,null,"326e5118",null);e["default"]=u.exports},ec47:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".binding-box[data-v-326e5118]{background:#fff;min-height:100vh}.change[data-v-326e5118],.new[data-v-326e5118]{padding:2rem 1rem}.change[data-v-326e5118]{margin-top:1rem}.btn[data-v-326e5118]{width:9rem;margin:1rem auto;height:3rem;line-height:3rem;font-size:16px;background-color:#4ba4fd;color:#fff;border-radius:10px}.red[data-v-326e5118]{background-color:#ff5f5d}.tips[data-v-326e5118]{color:#ff5f5d}.service-box[data-v-326e5118]{position:fixed;width:100%;bottom:1rem;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}.service-box .icon-kefu[data-v-326e5118]{color:#ff5f5d}.service-box.pcStyle[data-v-326e5118]{width:375px}",""]),t.exports=e}}]); |