bztang-admin/addons/yun_shop/static/app/js/chunk-99d79e0c.ce888080.js

1 line
8.6 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-99d79e0c"],{"0470":function(e,t,a){var i=a("2e24");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("499e").default;n("082fd597",i,!0,{sourceMap:!1,shadowMode:!1})},1799:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"apply"}},[a("c-title",{attrs:{hide:!1,text:"申请推广员"}}),a("div",{staticClass:"topbox"}),a("div",{staticClass:"contenbox"},[a("div",{staticClass:"conrt"},[2==e.application_audit_status?[a("div",{staticClass:"headline"},[e._v("填写申请信息")]),a("div",{staticClass:"inp",staticStyle:{"margin-bottom":"1.25rem"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.username,expression:"username"}],attrs:{type:"text",name:"",id:"",placeholder:"姓名"},domProps:{value:e.username},on:{input:function(t){t.target.composing||(e.username=t.target.value)}}})]),a("div",{staticClass:"inp",staticStyle:{"margin-bottom":"2.38rem"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.mobile,expression:"mobile"}],attrs:{type:"c",name:"",id:"",placeholder:"手机"},domProps:{value:e.mobile},on:{input:function(t){t.target.composing||(e.mobile=t.target.value)}}})]),a("div",{staticClass:"agreement"},[a("i",{staticClass:"iconfont icon-all_select_active",class:[e.status?"iconsta":""],on:{click:e.tapAgr}}),e._v(" 我已详细阅读并同意《 "),a("span",{on:{click:function(t){e.is_agreement=!0}}},[e._v(e._s(e.info.agreement_name))]),e._v("》 ")]),a("div",{staticClass:"agreement",staticStyle:{"margin-top":"1rem"}},[e._v(" 若您的手机号未注册,将为你自动注册,注册或登录即代表您同 意我们的 "),a("span",{on:{click:function(t){e.is_agreement=!0}}},[e._v("《"+e._s(e.info.agreement_name)+"》")])]),a("div",{staticClass:"submit",staticStyle:{"margin-top":"1.44rem"},on:{click:e.submit}},[e._v("提交")])]:e._e(),0==e.application_audit_status?[a("div",[e._v("提交成功,等待平台审核!")]),a("div",{staticClass:"submit",staticStyle:{"margin-top":"1.44rem"},on:{click:e.goHome}},[e._v("知道了")])]:e._e(),1==e.application_audit_status?[a("div",[e._v("您的推广员申请审核通过!")]),a("div",{staticClass:"submit",staticStyle:{"margin-top":"1.44rem"},on:{click:e.goHome}},[e._v("知道了")])]:e._e()],2)]),1==e.application_audit_status||0==e.application_audit_status?[a("div",{staticClass:"agreementBox"},[a("div",{staticClass:"agreement"},[a("i",{staticClass:"iconfont icon-all_select_active",class:[e.status?"iconsta":""],on:{click:e.tapAgr}}),e._v(" 我已详细阅读并同意 "),a("span",{staticClass:"textage",on:{click:function(t){e.is_agreement=!0}}},[e._v("《"+e._s(e.info.agreement_name)+"》")])]),a("div",{staticClass:"agreement"},[a("i",{staticClass:"iconfont icon-all_select_active",class:[e.status?"iconsta":""],on:{click:e.tapAgr}}),a("span",{staticClass:"textage",on:{click:e.toRecord}},[e._v(" "+e._s(e.info.my_answer_name)+"记录>")])])])]:e._e(),a("van-popup",{model:{value:e.is_agreement,callback:function(t){e.is_agreement=t},expression:"is_agreement"}},[a("div",{staticClass:"pop_agreement"},[a("div",{staticStyle:{"margin-bottom":"1.19rem"}},[e._v(e._s(e.info.agreement_name))]),a("div",{staticClass:"pop_conten",domProps:{innerHTML:e._s(e.agreement)}})]),a("div",{staticClass:"close_icon",on:{click:function(t){e.is_agreement=!1}}},[a("i",{staticClass:"iconfont icon-adsystem_icon_cancle"})])]),a("van-popup",{model:{value:e.submit_status,callback:function(t){e.submit_status=t},expression:"submit_status"}},[a("div",{staticClass:"success"},[a("div",{staticStyle:{"font-size":"1.13rem","margin-bottom":"0.31rem"}},[e._v("提交成功")]),a("div",{staticStyle:{"margin-bottom":"2rem","font-size":"0.75rem"}}),a("div",{staticClass:"confirm",on:{click:function(t){e.submit_status=!1}}},[e._v("知道了")])])])],2)},n=[],o=(a("e7e5"),a("d399")),s=(a("14d9"),{data:function(){return{is_agreement:!1,submit_status:!1,username:"",mobile:"",agreement:"",application_audit_status:"",status:!1,info:[]}},activated:function(){this.getData()},methods:{toRecord:function(){this.$router.push(this.fun.getUrl("videoRecord"))},tapAgr:function(){this.status=!this.status},submit:function(){if(this.status){var e=this;$http.get("plugin.agent-qa.api.application.apply-agent",{username:e.username,mobile:e.mobile}).then((function(t){1==t.result?(e.submit_status=!0,e.getData()):t.msg&&(t.msg.mobile?Object(o["a"])(t.msg.mobile[0]):t.msg.username?Object(o["a"])(t.msg.username[0]):Object(o["a"])(t.msg))}),(function(e){}))}else Object(o["a"])("请阅读服务协议并同意")},getData:function(){var e=this;$http.get("plugin.agent-qa.api.index.index").then((function(t){1===t.result&&(e.info=t.data,e.agreement=t.data.agreement,e.application_audit_status=t.data.application_audit_status)}),(function(e){}))},answerClose:function(){this.$router.go(-1)},goApply:function(){this.$router.push(this.fun.getUrl("videoAnswer"))},goHome:function(){this.$router.push(this.fun.getUrl("videoQuestion"))}},components:{}}),r=s,c=r,l=(a("ced5"),a("e8f2"),a("2877")),d=Object(l["a"])(c,i,n,!1,null,"178eebd7",null);t["default"]=d.exports},"2e24":function(e,t,a){var i=a("24fb");t=i(!1),t.push([e.i,".pop_conten img{width:100%!important;height:100%!important}",""]),e.exports=t},ced5:function(e,t,a){"use strict";a("0470")},dac9:function(e,t,a){var i=a("dc3e");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("499e").default;n("bbe543ba",i,!0,{sourceMap:!1,shadowMode:!1})},dc3e:function(e,t,a){var i=a("24fb");t=i(!1),t.push([e.i,"#apply .iconsta[data-v-178eebd7]{color:red}#apply .agreementBox[data-v-178eebd7]{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;text-align:left;margin-left:2.5rem;padding-top:1rem;-webkit-box-sizing:border-box;box-sizing:border-box}#apply .agreementBox .agreement[data-v-178eebd7]:first-child{margin-bottom:.5rem}#apply .agreementBox .textage[data-v-178eebd7],#apply .agreementBox i[data-v-178eebd7]{color:red}#apply .success[data-v-178eebd7]{width:18.75rem;height:11rem;background-color:#fff;border-radius:.91rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:2.34rem 2.13rem 1.41rem 2.13rem}#apply .success .confirm[data-v-178eebd7]{width:14.5rem;height:2.5rem;background-color:#f15353;border-radius:.47rem;color:#fff;text-align:center;line-height:2.5rem}#apply .van-popup[data-v-178eebd7]{background:transparent!important}#apply .close_icon[data-v-178eebd7]{padding-top:1rem}#apply .close_icon i[data-v-178eebd7]{font-size:2.78rem;color:#fff}#apply .pop_agreement[data-v-178eebd7]{width:16.78rem;height:14.75rem;background:#fff;border-radius:.31rem;padding:1.75rem 1.41rem .5rem 1.16rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}#apply .pop_agreement .pop_conten[data-v-178eebd7]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;overflow-y:scroll;text-align:left}#apply .pop_agreement .pop_conten img[data-v-178eebd7]{width:100%!important;height:100%!important}#apply .topbox[data-v-178eebd7]{width:100%;height:5.72rem;background-color:#24d8a8;border-radius:0 0 2.17rem 2.17rem}#apply .contenbox[data-v-178eebd7]{margin:-3rem .94rem 0 .94rem}#apply .contenbox .conrt[data-v-178eebd7]{width:100%;background-color:#fff;border-radius:.47rem;padding:1.03rem 1.72rem 1.25rem 1.72rem}#apply .contenbox .conrt .submit[data-v-178eebd7]{width:18.13rem;height:2.5rem;background-color:#f15353;border-radius:.47rem;text-align:center;line-height:2.5rem;color:#fff}#apply .contenbox .conrt .agreement[data-v-178eebd7]{text-align:left;font-size:.75rem;color:#8b8b8b}#apply .contenbox .conrt .agreement span[data-v-178eebd7]{color:#f15353}#apply .contenbox .conrt .headline[data-v-178eebd7]{font-size:1.13rem;color:#121212;line-height:1.91rem;text-align:left;margin-bottom:1.41rem}#apply .contenbox .conrt .inp[data-v-178eebd7]{width:18.13rem;height:2.5rem;background-color:#f6f6f6;border-radius:.47rem}#apply .contenbox .conrt .inp input[data-v-178eebd7]{width:100%;height:100%;background:none;outline:none;border:none;text-indent:.91rem;color:#9f9f9f}",""]),e.exports=t},e8f2:function(e,t,a){"use strict";a("dac9")}}]);