userinfo.js 2.6 KB

12345678910
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/widgets/userinfo/userinfo"],{"426c":function(t,n,e){"use strict";e.r(n);var o=e("9773"),u=e("b7c9");for(var r in u)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(r);e("7746");var a=e("828b"),c=Object(a["a"])(u["default"],o["b"],o["c"],!1,null,"696a20d2",null,!1,o["a"],void 0);n["default"]=c.exports},"4b87":function(t,n,e){},7746:function(t,n,e){"use strict";var o=e("4b87"),u=e.n(o);u.a},9773:function(t,n,e){"use strict";e.d(n,"b",(function(){return u})),e.d(n,"c",(function(){return r})),e.d(n,"a",(function(){return o}));var o={widgetRoot:function(){return e.e("components/widget-root/widget-root").then(e.bind(null,"df5f"))},uSticky:function(){return e.e("components/uview-ui/components/u-sticky/u-sticky").then(e.bind(null,"3420"))},uNavbar:function(){return e.e("components/uview-ui/components/u-navbar/u-navbar").then(e.bind(null,"6331"))},uIcon:function(){return e.e("components/uview-ui/components/u-icon/u-icon").then(e.bind(null,"1340"))}},u=function(){var t=this,n=t.$createElement,o=(t._self._c,t.__get_style([t.infoStyle])),u={background:"rgba(256,256, 256,"+t.percent+")"},r=!t.isLogin&&2==t.content.avatar_type&&t.content.avatar?t.$getImageUri(t.content.avatar):null,a=t.isLogin||2==t.content.avatar_type&&t.content.avatar?null:e("a8db"),c=t.showAssets(1),i=t.showAssets(2),s=t.showAssets(3),f=t.showAssets(4);t.$mp.data=Object.assign({},{$root:{s0:o,a0:u,m0:r,m1:a,m2:c,m3:i,m4:s,m5:f}})},r=[]},b7c9:function(t,n,e){"use strict";e.r(n);var o=e("d79f"),u=e.n(o);for(var r in o)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(r);n["default"]=u.a},d79f:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={props:{content:{type:[Object,Array]},styles:{type:[Object,Array]},percent:{type:Number,default:0},title:{type:String,default:"个人中心"}},data:function(){return{}},methods:{},computed:{showAssets:function(){var t=this;return function(n){return t.content.assets.includes(n)}},infoStyle:function(){var t=this.content,n=t.background_image,e=t.background_type;return n&&1!=e?{"background-image":"url(".concat(this.$getImageUri(this.content.background_image),")")}:{}}}};n.default=o}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'components/widgets/userinfo/userinfo-create-component',
  4. {
  5. 'components/widgets/userinfo/userinfo-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('df3c')['createComponent'](__webpack_require__("426c"))
  7. })
  8. },
  9. [['components/widgets/userinfo/userinfo-create-component']]
  10. ]);