徐总多门店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

10 lines
3.0 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/components/richText"],{"10a5":function(t,i,n){"use strict";n.r(i);var a=n("1eff"),e=n("c82f");for(var o in e)["default"].indexOf(o)<0&&function(t){n.d(i,t,(function(){return e[t]}))}(o);n("77ad");var r=n("828b"),c=Object(r["a"])(e["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);i["default"]=c.exports},"1eff":function(t,i,n){"use strict";n.d(i,"b",(function(){return e})),n.d(i,"c",(function(){return o})),n.d(i,"a",(function(){return a}));var a={jyfParser:function(){return Promise.all([n.e("common/vendor"),n.e("components/jyf-parser/jyf-parser")]).then(n.bind(null,"a04c"))}},e=function(){var t=this.$createElement,i=(this._self._c,this.__get_style([this.richTextWrapStyle])),n=this.description?this.__get_style([this.richTextStyle]):null;this.$mp.data=Object.assign({},{$root:{s0:i,s1:n}})},o=[]},"77ad":function(t,i,n){"use strict";var a=n("c8d3"),e=n.n(a);e.a},b3e4:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a={name:"richText",props:{dataConfig:{type:Object,default:function(){}},isSortType:{type:String|Number,default:0}},components:{"jyf-parser":function(){Promise.all([n.e("common/vendor"),n.e("components/jyf-parser/jyf-parser")]).then(function(){return resolve(n("a04c"))}.bind(null,n)).catch(n.oe)}},data:function(){return{tagStyle:{img:"width:100%;display:block;",table:"width:100%",video:"width:100%"},bgColor:"",lrConfig:0,udConfig:0}},computed:{description:function(){var t=this.dataConfig.richText.val;return t&&(t=t.replace(/<img/gi,'<img style="max-width:100%;height:auto;float:left;display:block" '),t=t.replace(/<video/gi,'<video style="width:100%;height:auto;display:block" ')),t},richTextStyle:function(){var t="".concat(2*this.dataConfig.fillet.val,"rpx");return this.dataConfig.fillet.type&&(t="".concat(2*this.dataConfig.fillet.valList[0].val,"rpx ").concat(2*this.dataConfig.fillet.valList[1].val,"rpx ").concat(2*this.dataConfig.fillet.valList[2].val,"rpx ").concat(2*this.dataConfig.fillet.valList[3].val,"rpx")),{"border-radius":t,background:this.dataConfig.bgColor.color[0].item}},richTextWrapStyle:function(){return{padding:"".concat(this.dataConfig.topConfig.val,"rpx ").concat(this.dataConfig.lrConfig.val,"rpx ").concat(this.dataConfig.bottomConfig.val,"rpx"),"margin-top":"".concat(this.dataConfig.udConfig.val,"rpx"),background:this.dataConfig.bottomBgColor.color[0].item}}}};i.default=a},c82f:function(t,i,n){"use strict";n.r(i);var a=n("b3e4"),e=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(i,t,(function(){return a[t]}))}(o);i["default"]=e.a},c8d3:function(t,i,n){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pages/index/components/richText-create-component',
{
'pages/index/components/richText-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("10a5"))
})
},
[['pages/index/components/richText-create-component']]
]);