12345678910 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/components/userInfor"],{1853:function(e,n,o){},"1d4b":function(e,n,o){"use strict";o.r(n);var i=o("2da7"),t=o("953f");for(var c in t)["default"].indexOf(c)<0&&function(e){o.d(n,e,(function(){return t[e]}))}(c);o("7c8d");var d=o("f0c5"),r=Object(d["a"])(t["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);n["default"]=r.exports},"2da7":function(e,n,o){"use strict";o.d(n,"b",(function(){return t})),o.d(n,"c",(function(){return c})),o.d(n,"a",(function(){return i}));var i={wBarcode:function(){return Promise.all([o.e("common/vendor"),o.e("uni_modules/wmf-code/components/w-barcode/index")]).then(o.bind(null,"b6df"))},wQrcode:function(){return Promise.all([o.e("common/vendor"),o.e("uni_modules/wmf-code/components/w-qrcode/index")]).then(o.bind(null,"de19"))}},t=function(){var e=this,n=e.$createElement,o=(e._self._c,e.isLogin&&e.diyInfo.level>0&&!(e.diyInfo.exp>e.diyInfo.next_exp)?e.$util.$h.Div(parseInt(e.diyInfo.exp),e.diyInfo.next_exp):null),i=e.isLogin&&e.diyInfo.level>0&&!(e.diyInfo.exp>e.diyInfo.next_exp)&&100*o>=5?e.$util.$h.Div(parseInt(e.diyInfo.exp),e.diyInfo.next_exp):null,t=e.isLogin&&e.diyInfo.level>0&&e.diyInfo.exp?e.diyInfo.exp.split("."):null,c=e.diyInfo.level>0&&-1!=e.checkType.indexOf(1),d=e.diyInfo.level>0&&-1!=e.checkType.indexOf(2),r=e.checkType.indexOf(0),f=0==e.diyInfo.level&&-1!=e.checkType.indexOf(3)||!e.isLogin;e.$mp.data=Object.assign({},{$root:{g0:o,g1:i,g2:t,g3:c,g4:d,g5:r,g6:f}})},c=[]},"69e3":function(e,n,o){"use strict";(function(e){var i=o("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t=i(o("5c3b")),c=o("3c98"),d=o("4818"),r=o("26cb"),f=o("8e8a"),a={computed:(0,r.mapGetters)(["isLogin"]),name:"userInfor",props:{dataConfig:{type:Object,default:function(){}},isSortType:{type:String|Number,default:0}},mixins:[t.default],data:function(){return{config:{bar:{code:"",color:["#000"],bgColor:"#FFFFFF",width:480,height:110},qrc:{code:"",size:380,level:3,bgColor:"#FFFFFF",border:{color:["#eee","#eee"],lineWidth:3},color:["#333","#333"]}},codeList:[{name:"会员码"},{name:"付款码"}],codeIndex:0,isCode:!1,bgColor:this.dataConfig.bgColor.color[0].item,textColor:this.dataConfig.textColor.color[0].item,progressColor:this.dataConfig.progressColor.color,mbCongfig:2*this.dataConfig.mbCongfig.val,prConfig:2*this.dataConfig.prConfig.val,itemStyle:this.dataConfig.itemStyle.type,checkType:this.dataConfig.checkboxInfo.type,diyInfo:{}}},created:function(){this.isLogin&&this.getDiyUserInfo()},watch:{isLogin:{handler:function(e,n){e&&this.getDiyUserInfo()},deep:!0}},methods:{hello:function(e){},getCode:function(){var e=this;(0,d.getRandCode)().then((function(n){var o=n.data.code;e.config.bar.code=o,e.config.qrc.code=o})).catch((function(n){return e.$util.Tips(n)}))},tapQrCode:function(){this.isCode=!0,this.codeIndex=0,this.$nextTick((function(){var e=this.diyInfo.bar_code;this.config.bar.code=e,this.config.qrc.code=e}))},closeCode:function(){this.isCode=!1,this.isextension=!1},tapCode:function(e){if(this.codeIndex=e,1==e)this.getCode();else{var n=this.diyInfo.bar_code;this.config.bar.code=n,this.config.qrc.code=n}},goIntegral:function(){e.navigateTo({url:"/pages/users/user_integral/index"})},goMoney:function(){e.navigateTo({url:"/pages/users/user_money/index"})},goCoupon:function(){e.navigateTo({url:"/pages/users/user_coupon/index"})},goLogin:function(){this.isLogin||(0,f.toLogin)()},getDiyUserInfo:function(){var e=this;(0,c.diyUserInfo)().then((function(n){e.diyInfo=n.data})).catch((function(n){e.$util.Tips({title:n})}))}}};n.default=a}).call(this,o("543d")["default"])},"7c8d":function(e,n,o){"use strict";var i=o("1853"),t=o.n(i);t.a},"953f":function(e,n,o){"use strict";o.r(n);var i=o("69e3"),t=o.n(i);for(var c in i)["default"].indexOf(c)<0&&function(e){o.d(n,e,(function(){return i[e]}))}(c);n["default"]=t.a}}]);
- ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
- 'pages/index/components/userInfor-create-component',
- {
- 'pages/index/components/userInfor-create-component':(function(module, exports, __webpack_require__){
- __webpack_require__('543d')['createComponent'](__webpack_require__("1d4b"))
- })
- },
- [['pages/index/components/userInfor-create-component']]
- ]);
|