cyywl_shop_app/dist/static/js/pages-users-promoter-index....

1 line
8.8 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-promoter-index"],{"172d":function(t,e,a){t.exports=a.p+"static/img/bg-linear.5a23c023.png"},"17af":function(t,e,a){"use strict";a.r(e);var i=a("6989"),n=a("26da");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("64d4");var o=a("f0c5"),d=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"f9d59c54",null,!1,i["a"],void 0);e["default"]=d.exports},"1de5":function(t,e,a){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},"26da":function(t,e,a){"use strict";a.r(e);var i=a("58bb"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"58bb":function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("c7eb")),r=i(a("1da1")),o=i(a("5530")),d=a("26cb"),s=a("2110"),l={name:"Register",data:function(){return{loading:!1,nickname:""}},computed:(0,o.default)({},(0,d.mapGetters)(["tenantInfo","userInfo"])),methods:{onRegister:function(){var t=this;return(0,r.default)((0,n.default)().mark((function e(){var a;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.loading=!0,e.prev=1,e.next=4,(0,s.registerPromoter)({nickname:t.nickname,mobile:t.userInfo.mobile,status:1,sourceType:2});case 4:a=e.sent,t.$util.Tips({title:0===a.code?"注册成功":a.msg},{tab:1,url:"/pages/member_application/index"}),e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](1),t.$util.Tips({title:e.t0});case 11:return e.prev=11,t.loading=!1,e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[1,8,11,14]])})))()}}};e.default=l},"64d4":function(t,e,a){"use strict";var i=a("b387"),n=a.n(i);n.a},6989:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"login-wrapper"},[t._m(0),a("v-uni-view",{staticClass:"title"},[t._v("注册推广员")]),a("div",{staticClass:"whiteBg"},[a("div",{staticClass:"list"},[a("v-uni-form",{on:{submit:function(e){e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.submit.apply(void 0,arguments)}}},[a("div",{staticClass:"item"},[a("div",{staticClass:"acea-row row-middle"},[a("v-uni-text",{staticClass:"label"},[t._v("所属公司")]),a("v-uni-input",{staticClass:"texts",attrs:{type:"text",disabled:!0,value:t.tenantInfo.name||"--"}})],1)]),a("div",{staticClass:"item"},[a("div",{staticClass:"acea-row row-middle"},[a("v-uni-text",{staticClass:"label"},[t._v("手机号")]),a("v-uni-input",{staticClass:"texts",attrs:{type:"text",value:t.userInfo.mobile||"--",disabled:!0}})],1)]),a("div",{staticClass:"item"},[a("div",{staticClass:"acea-row row-middle"},[a("v-uni-text",{staticClass:"label"},[t._v("姓名")]),a("v-uni-input",{staticClass:"texts",attrs:{type:"text",maxlength:"100",placeholder:"请输入"},model:{value:t.nickname,callback:function(e){t.nickname=e},expression:"nickname"}})],1)])])],1),a("v-uni-button",{staticClass:"logon",attrs:{disabled:t.loading,loading:t.loading},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onRegister.apply(void 0,arguments)}}},[t._v("注册推广员")])],1),a("div",{staticClass:"bottom"})],1)},n=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"logo-wrap"},[e("img",{staticStyle:{width:"105rpx",height:"105rpx"},attrs:{src:"/static/images/mallLogo.png"}}),e("img",{staticStyle:{width:"233rpx",height:"43rpx"},attrs:{src:"/static/images/mall.png"}})])}]},"7cb6":function(t,e,a){var i=a("24fb"),n=a("1de5"),r=a("172d");e=i(!1);var o=n(r);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/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-page-body[data-v-f9d59c54]{background:#fff}body.?%PAGE?%[data-v-f9d59c54]{background:#fff}.appLogin[data-v-f9d59c54]{margin-top:%?60?%}.appLogin .hds[data-v-f9d59c54]{display:flex;justify-content:center;align-items:center;font-size:%?24?%;color:#b4b4b4}.appLogin .hds .line[data-v-f9d59c54]{width:%?68?%;height:%?1?%;background:#ccc}.appLogin .hds p[data-v-f9d59c54]{margin:0 %?20?%}.appLogin .btn-wrapper[data-v-f9d59c54]{display:flex;align-items:center;justify-content:center;margin-top:%?30?%}.appLogin .btn-wrapper .btn[data-v-f9d59c54]{display:flex;align-items:center;justify-content:center;width:%?68?%;height:%?68?%;border-radius:50%}.appLogin .btn-wrapper .apple-btn[data-v-f9d59c54]{display:flex;align-items:center;justify-content:center;margin-left:%?30?%;background:#000;border-radius:%?34?%;font-size:%?40?%}.appLogin .btn-wrapper .apple-btn .icon-s-pingguo[data-v-f9d59c54]{color:#fff;font-size:%?40?%}.appLogin .btn-wrapper .iconfont[data-v-f9d59c54]{font-size:%?40?%;color:#fff}.appLogin .btn-wrapper .wx[data-v-f9d59c54]{margin-right:%?30?%;background-color:#61c64f}.appLogin .btn-wrapper .mima[data-v-f9d59c54]{background-color:#28b3e9}.appLogin .btn-wrapper .yanzheng[data-v-f9d59c54]{background-color:#f89c23}.code img[data-v-f9d59c54]{width:100%;height:100%}.acea-row.row-middle uni-input[data-v-f9d59c54]{margin-left:%?20?%;display:block}.login-wrapper[data-v-f9d59c54]{padding:%?30?% %?52?%;background:url('+o+") center 0 no-repeat;background-size:100% %?672?%}.login-wrapper .logo-wrap[data-v-f9d59c54]{margin:%?185?% 0 %?85?% 0;display:flex;align-items:center}.login-wrapper .logo-wrap img[data-v-f9d59c54]{margin-right:%?20?%}.login-wrapper .title[data-v-f9d59c54]{font-size:%?40?%;font-weight:400;color:#000}.login-wrapper .shading[data-v-f9d59c54]{display:flex;align-items:center;justify-content:center;width:100%;margin-top:%?200?%}.login-wrapper .shading uni-image[data-v-f9d59c54]{width:%?180?%;height:%?180?%}.login-wrapper .whiteBg[data-v-f9d59c54]{margin-top:%?46?%}.login-wrapper .whiteBg .list[data-v-f9d59c54]{overflow:hidden}.login-wrapper .whiteBg .list .item[data-v-f9d59c54]{margin-bottom:%?38?%;height:%?98?%;display:flex}.login-wrapper .whiteBg .list .item[data-v-f9d59c54]:last-child{margin-bottom:0}.login-wrapper .whiteBg .list .item .code[data-v-f9d59c54]{width:%?197?%;text-align:center;line-height:%?96?%;background:#fff3f6;border:1px solid #f54275;border-radius:%?15?%;font-size:%?28?%;color:#f03a76;margin-left:%?19?%}.login-wrapper .whiteBg .list .item .row-middle[data-v-f9d59c54]{position:relative;padding:%?28?%;background:#fff;border:1px solid #bfbfbf;border-radius:%?15?%;flex:1}.login-wrapper .whiteBg .list .item .row-middle.clear[data-v-f9d59c54]{border:0}.login-wrapper .whiteBg .list .item .row-middle .label[data-v-f9d59c54]{width:%?120?%;margin-right:%?20?%}.login-wrapper .whiteBg .list .item .row-middle .texts[data-v-f9d59c54]{flex:1;font-size:%?28?%;height:%?42?%;line-height:%?42?%;display:flex;justify-content:center;align-items:center}.login-wrapper .whiteBg .list .item .row-middle uni-input[data-v-f9d59c54]{flex:1;font-size:%?28?%;height:%?80?%;line-height:%?80?%;display:flex;justify-content:center;align-items:center}.login-wrapper .whiteBg .logon[data-v-f9d59c54]{display:flex;align-items:center;justify-content:center;width:100%;height:%?87?%;margin-top:%?99?%;color:#fff;font-size:%?32?%;background:linear-gradient(0deg,#e63163,#ff819f);border-radius:%?44?%;font-size:%?30?%}.login-wrapper .whiteBg .tips[data-v-f9d59c54]{margin:%?125?% %?20?% 0 %?20?%;font-size:%?24?%;color:#000;display:flex;justify-content:space-between}.login-wrapper .whiteBg .protocol-wrap[data-v-f9d59c54]{margin:%?131?% 0 %?80?% 0;display:flex;justify-content:center}.login-wrapper .whiteBg .protocol-wrap .text[data-v-f9d59c54]{font-size:%?24?%;color:#000}.login-wrapper .whiteBg .protocol-wrap .text .link[data-v-f9d59c54]{color:#f35981}",""]),t.exports=e},b387:function(t,e,a){var i=a("7cb6");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("1771f693",i,!0,{sourceMap:!1,shadowMode:!1})}}]);