bztang-admin/addons/yun_shop/static/app/js/chunk-2636d80b.b2433316.js

1 line
13 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([["chunk-2636d80b"],{"0274":function(t,e,a){var s=a("7848");s.__esModule&&(s=s.default),"string"===typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);var n=a("499e").default;n("73b2e404",s,!0,{sourceMap:!1,shadowMode:!1})},"5d7a":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"areaAgent"}},[t._m(0),"1"==t.status?a("div",{staticClass:"success"},[t._m(1),a("div",{staticClass:"text"},[t._v("恭喜您已通过审核")]),a("a",{on:{click:function(e){return t.goEnterproseCentre()}}},[a("div",{staticClass:"sub"},[t._v("去"+t._s(t.title||"招商中心"))])])]):t._e(),"-1"==t.status?a("div",{staticClass:"content"},["1"==t.config_status?[a("p",{staticClass:"title"},[t._v("申请"+t._s(t.merchant_center||"招商中心"))]),a("div",{staticClass:"text"},[t._v(" 如果成为"+t._s(t.merchant_center||"招商中心")+",那么只要您团队粉丝成为了供应商,可获得供应商的商品分红哦,快来申请吧~ ")]),1==t.independent_backend?[a("van-field",{attrs:{label:"登录账号",placeholder:"登录账号"},model:{value:t.username,callback:function(e){t.username=e},expression:"username"}}),a("van-field",{attrs:{type:"password",label:"登录密码",placeholder:"输入登录密码"},model:{value:t.password,callback:function(e){t.password=e},expression:"password"}}),a("van-field",{attrs:{type:"password",label:"确认密码",placeholder:"输入确认密码"},model:{value:t.password_again,callback:function(e){t.password_again=e},expression:"password_again"}})]:t._e(),a("button",{staticClass:"submit",attrs:{type:"button"},on:{click:t.submit}},[t._v("申 请")])]:t._e(),"2"==t.config_status?[a("p",{staticClass:"title"},[t._v("申请"+t._s(t.merchant_center||"招商中心"))]),a("div",{staticClass:"text"},[t._v(" 团队会员人数 "),a("span",[t._v(t._s(t.config2.total))]),t._v("人 您还差 "),a("span",[t._v(t._s(t.config2.diff))]),t._v("人,如果成为"+t._s(t.merchant_center||"招商中心")+",那么只要您团队粉丝成为了供应商,可获得供应商的商品分红哦,快来申请吧~ ")]),1==t.independent_backend?[a("van-field",{attrs:{label:"登录账号",placeholder:"登录账号"},model:{value:t.username,callback:function(e){t.username=e},expression:"username"}}),a("van-field",{attrs:{type:"password",label:"登录密码",placeholder:"输入登录密码"},model:{value:t.password,callback:function(e){t.password=e},expression:"password"}}),a("van-field",{attrs:{type:"password",label:"确认密码",placeholder:"输入确认密码"},model:{value:t.password_again,callback:function(e){t.password_again=e},expression:"password_again"}})]:t._e(),a("button",{staticClass:"submit",attrs:{type:"button"},on:{click:t.submit}},[t._v("申 请")])]:t._e(),"3"==t.config_status?[a("p",{staticClass:"title"},[t._v("申请"+t._s(t.merchant_center||"招商中心"))]),a("div",{staticClass:"text"},[t._v(" 请购买指定商品 "),a("span",[t._v(t._s(t.config3.goods_title))])]),a("button",{staticClass:"submit",attrs:{type:"button"},on:{click:function(e){return t.goToGoods(t.config3.goods_id)}}},[t._v("购 买")])]:t._e(),"4"==t.config_status?[a("p",{staticClass:"title"},[t._v("申请"+t._s(t.merchant_center||"招商中心"))]),a("div",{staticClass:"text"},[t._v(" 自购订单金额 "),a("span",[t._v(t._s(t.config4.total))]),t._v("元 您还差 "),a("span",[t._v(t._s(t.config4.diff))]),t._v("元,如果成为"+t._s(t.merchant_center||"招商中心")+",那么只要您团队粉丝成为了供应商,可获得供应商的商品分红哦,快来申请吧~ ")]),1==t.independent_backend?[a("van-field",{attrs:{label:"登录账号",placeholder:"登录账号"},model:{value:t.username,callback:function(e){t.username=e},expression:"username"}}),a("van-field",{attrs:{type:"password",label:"登录密码",placeholder:"输入登录密码"},model:{value:t.password,callback:function(e){t.password=e},expression:"password"}}),a("van-field",{attrs:{type:"password",label:"确认密码",placeholder:"输入确认密码"},model:{value:t.password_again,callback:function(e){t.password_again=e},expression:"password_again"}})]:t._e(),a("button",{staticClass:"submit",attrs:{type:"button"},on:{click:t.submit}},[t._v("申 请")])]:t._e(),"5"==t.config_status?[a("p",{staticClass:"title"},[t._v("申请"+t._s(t.merchant_center||"招商中心"))]),a("div",{staticClass:"text"},[t._v(" 团队总消费金额 "),a("span",[t._v(t._s(t.config5.total))]),t._v("元 您还差 "),a("span",[t._v(t._s(t.config5.diff))]),t._v("元,如果成为"+t._s(t.merchant_center||"招商中心")+",那么只要您团队粉丝成为了供应商,可获得供应商的商品分红哦,快来申请吧~ ")]),1==t.independent_backend?[a("van-field",{attrs:{label:"登录账号",placeholder:"登录账号"},model:{value:t.username,callback:function(e){t.username=e},expression:"username"}}),a("van-field",{attrs:{type:"password",label:"登录密码",placeholder:"输入登录密码"},model:{value:t.password,callback:function(e){t.password=e},expression:"password"}}),a("van-field",{attrs:{type:"password",label:"确认密码",placeholder:"输入确认密码"},model:{value:t.password_again,callback:function(e){t.password_again=e},expression:"password_again"}})]:t._e(),a("button",{staticClass:"submit",attrs:{type:"button"},on:{click:t.submit}},[t._v("申 请")])]:t._e()],2):t._e(),"0"==t.status?a("div",{staticClass:"success"},[t._m(2),a("div",{staticClass:"text"},[t._v("申请已提交,请等待审核!")]),a("a",{on:{click:function(e){return t.goHome()}}},[a("div",{staticClass:"sub"},[t._v("去商城逛逛")])])]):t._e(),"-2"==t.status?a("div",{staticClass:"success"},[t._m(3),a("div",{staticClass:"text"},[t._v("您的申请被驳回,请继续努力!")]),a("a",{on:{click:function(e){return t.goHome()}}},[a("div",{staticClass:"sub"},[t._v("去商城逛逛")])])]):t._e(),"-1"==t.status?a("div",{staticClass:"vip_main"},[a("div",{staticClass:"title"},[t._v("推广特权")]),t._m(4),a("div",{staticClass:"vip"},[t._m(5),a("div",{staticClass:"text"},[a("div",{staticClass:"t1"},[t._v("推广"+t._s(t.income_name_text))]),a("div",{staticClass:"t2"},[t._v("推广的客户购买商品后,您将获得相应的推广"+t._s(t.income_name_text)+"")])])])]):t._e()])},n=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"banner"},[s("img",{attrs:{src:a("cec0")}})])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ico"},[a("i",{staticClass:"fa fa-check"})])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ico"},[a("i",{staticClass:"fa fa-check"})])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ico"},[a("i",{staticClass:"fa fa-check"})])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"vip vip1"},[a("div",{staticClass:"ico1"},[a("i",{staticClass:"fa fa-qrcode"})]),a("div",{staticClass:"text"},[a("div",{staticClass:"t1"},[t._v("专属二维码")]),a("div",{staticClass:"t2"},[t._v("拥有专属推广二维码,用于推广客户;")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ico2"},[a("i",{staticClass:"fa fa-cny"})])}],i=(a("e7e5"),a("d399")),r={data:function(){return{status:"",config_status:"",config2:{},config3:{},config4:{},config5:{},income_name_text:"",username:"",password:"",password_again:"",independent_backend:"",merchant_center:"",title:""}},activated:function(){this.status="",this.config_status="",this.getData(),this.customizeIncome()},mounted:function(){},methods:{getData:function(){var t=this,e={};$http.get("plugin.merchant.frontend.get-center-condition",e,"加载中").then((function(e){1==e.result?(t.status=e.data.status,t.config_status=e.data.config_status,t.config2=e.data.config2,t.config3=e.data.config3,t.config4=e.data.config4,t.config5=e.data.config5,t.independent_backend=e.data.independent_backend,e.data.lang&&(t.merchant_center=e.data.lang.merchant_center,t.title=e.data.lang.title,t.fun.setWXTitle(t.merchant_center))):Object(i["a"])(e.msg)}),(function(t){}))},submit:function(){var t=this;if(1==t.independent_backend&&3!=t.config_status&&(t.fun.isTextEmpty(t.username)||t.fun.isTextEmpty(t.password)||t.fun.isTextEmpty(t.password_again)))Object(i["a"])("请填写账户信息");else{var e={config_status:this.config_status,user:{username:this.username,password:this.password,password_again:this.password_again}};$http.post("plugin.merchant.frontend.merchant-apply.center",e,"提交中").then((function(e){1==e.result?t.status=e.data.status:(Object(i["a"])(e.msg),"-4"==e.data.status&&t.$router.push(t.fun.getUrl("enterprise_apply",{})))}),(function(t){}))}},goHome:function(){this.$router.push(this.fun.getUrl("home"))},goToGoods:function(t){this.$router.push(this.fun.getUrl("goods",{id:t}))},goEnterproseCentre:function(){this.$router.push(this.fun.getUrl("enterprise_index",{}))},customizeIncome:function(){var t=this.fun.initMailLanguage();this.income_name_text=t.income.income_name}}},c=r,o=c,d=(a("7f86"),a("2877")),l=Object(d["a"])(o,s,n,!1,null,"7bddf99c",null);e["default"]=l.exports},7848:function(t,e,a){var s=a("24fb");e=s(!1),e.push([t.i,".btnTap[data-v-7bddf99c]{width:90%;height:3rem;background-color:#d2691e;border-radius:10px;color:#fff;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;justify-items:center}#areaAgent .m_header[data-v-7bddf99c]{width:100%;height:2.8125rem;color:#000;text-align:center}#areaAgent .m_header span[data-v-7bddf99c]{width:9.375rem;line-height:2.8125rem;font-size:16px}#areaAgent .content[data-v-7bddf99c]{width:100%;padding:.9375rem;-webkit-box-sizing:border-box;box-sizing:border-box;background:#fff}#areaAgent .content p.title[data-v-7bddf99c]{line-height:2.0625rem;font-size:16px}#areaAgent .content div.text[data-v-7bddf99c]{text-align:left}#areaAgent .content div.text span[data-v-7bddf99c]{color:#f15353}#areaAgent .content .el-select[data-v-7bddf99c]{width:100%;height:2.5rem;margin-bottom:.625rem}#areaAgent .content .el-select .el-input__inner[data-v-7bddf99c]{color:#000!important;font-size:16px!important;border:.0625rem solid #b8b8b8}#areaAgent .content .van-cell[data-v-7bddf99c]{padding:10px 0}#areaAgent .content .submit[data-v-7bddf99c]{width:100%;height:2.5rem;border-radius:.375rem;background-color:#f15353;text-align:center;line-height:2.5rem;color:#fff;border:0;outline:0;font-size:16px;font-weight:700;margin-top:.625rem}#areaAgent .content input[data-v-7bddf99c]{display:block;margin-bottom:.8125rem;width:100%;border-radius:.3125rem;padding:0 .3125rem;-webkit-box-sizing:border-box;box-sizing:border-box;outline:none;font-size:16px;height:2.25rem;line-height:1}#areaAgent .content .inp[data-v-7bddf99c]{border:.0625rem solid #b8b8b8}#areaAgent .content .inp[data-v-7bddf99c]:focus{border-color:#f55955;-webkit-box-sizing:border-box;box-sizing:border-box}#areaAgent .banner[data-v-7bddf99c]{width:100%;background:#fff;height:100%}#areaAgent .banner img[data-v-7bddf99c]{width:100%}#areaAgent .vip_main[data-v-7bddf99c]{background:#fff;margin:.9375rem 0}#areaAgent .vip_main .title[data-v-7bddf99c]{padding:.625rem;font-size:12px;border-bottom:.0625rem solid #eee;text-align:center}#areaAgent .vip_main .vip[data-v-7bddf99c]{padding:.9375rem .625rem;overflow:hidden;font-size:12px;color:#999}#areaAgent .vip_main .vip .ico1[data-v-7bddf99c],#areaAgent .vip_main .vip .ico2[data-v-7bddf99c]{width:15%;float:left}#areaAgent .vip_main .vip .ico1 i[data-v-7bddf99c]{background:#32cd32}#areaAgent .vip_main .vip .ico2 i[data-v-7bddf99c]{background:#fece00}#areaAgent .vip_main .vip .text[data-v-7bddf99c]{float:left;width:85%}#areaAgent .vip_main .vip .text .t1[data-v-7bddf99c]{font-size:15px;color:#333;margin-bottom:.3125rem;text-align:left}#areaAgent .vip_main .vip .text .t2[data-v-7bddf99c]{text-align:justify}#areaAgent .vip_main .vip i[data-v-7bddf99c]{background:#32cd32;height:2.25rem;width:2.25rem;border-radius:1.125rem;color:#fff;text-align:center;line-height:2.375rem;font-size:20px}#areaAgent .vip_main .vip1[data-v-7bddf99c]{border-bottom:.0625rem solid #eee}#areaAgent .success[data-v-7bddf99c]{height:12.5rem;padding-top:4.0625rem;background:#fff}#areaAgent .success .ico[data-v-7bddf99c]{height:4.0625rem;width:4.0625rem;margin:auto;border:.1875rem solid #32cd32;border-radius:4rem;color:#32cd32;font-size:36px;text-align:center;line-height:4rem}#areaAgent .success .text[data-v-7bddf99c]{height:2rem;margin-top:1.875rem;color:#666;line-height:1.6rem;text-align:center}#areaAgent .success a .sub[data-v-7bddf99c]{height:2rem;width:80%;background:#f55955;margin:20px auto;border-radius:2rem;color:#fff;line-height:2rem;text-align:center;font-size:14px;margin-bottom:1.25rem}#areaAgent .success a .sub[data-v-7bddf99c]:focus{background:#d8403c}",""]),t.exports=e},"7f86":function(t,e,a){"use strict";a("0274")},cec0:function(t,e,a){t.exports=a.p+"static/app/img/enterprose_center_apply.eecb3a01.jpg"}}]);