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

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