Files
mp-weixin-2811-xcx.aigc-qui…/components/diy-components/diy-picture.js

11 lines
2.4 KiB
JavaScript

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/diy-components/diy-picture"],{"2bd9":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"diy-picture",props:{value:{type:Object}},data:function(){return{loading:!0}},created:function(){},watch:{componentRefresh:function(t){}},computed:{style:function(){var t="";return t+="background-color:"+this.value.contentBgColor+";","round"==this.value.elementAngle&&(t+="border-top-left-radius:"+2*this.value.topElementAroundRadius+"rpx;",t+="border-top-right-radius:"+2*this.value.topElementAroundRadius+"rpx;",t+="border-bottom-left-radius:"+2*this.value.bottomElementAroundRadius+"rpx;",t+="border-bottom-right-radius:"+2*this.value.bottomElementAroundRadius+"rpx;"),t}},methods:{previewImg:function(e){t.previewImage({current:0,urls:[this.$util.img(e)],success:function(t){},fail:function(t){},complete:function(t){}})},redirectTo:function(t){!t.wap_url||"pages/member/index"!=this.$util.getCurrRoute()||this.storeToken?this.$util.diyRedirectTo(t):this.$refs.login.open(t.wap_url)}}};e.default=n}).call(this,n("df3c")["default"])},8402:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){}));var r=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.value.list,(function(e,n){var r=t.__get_orig(e),u=e.link.wap_url?t.$util.img(e.imageUrl):null,i=e.link.wap_url?null:t.$util.img(e.imageUrl);return{$orig:r,g0:u,g1:i}})));t.$mp.data=Object.assign({},{$root:{l0:n}})},u=[]},"9bc3":function(t,e,n){"use strict";n.r(e);var r=n("2bd9"),u=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=u.a},"9e7e":function(t,e,n){"use strict";n.r(e);var r=n("8402"),u=n("9bc3");for(var i in u)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return u[t]}))}(i);var o=n("828b"),l=Object(o["a"])(u["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);e["default"]=l.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/diy-components/diy-picture-create-component',
{
'components/diy-components/diy-picture-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("9e7e"))
})
},
[['components/diy-components/diy-picture-create-component']]
]);