bztang-admin/addons/yun_shop/static/app/js/chunk-095e4d43.a88900e2.js

1 line
4.4 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-095e4d43"],{"0df2":function(t,e,o){t.exports=o.p+"static/app/img/component-shop.d825ea49.png"},"2ef1":function(t,e,o){"use strict";o("7480")},"6e1f":function(t,e,o){"use strict";o.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{class:t.className},[a("div",{domProps:{innerHTML:t._s(t.css)}}),a("div",[a("div",{staticClass:"shopfor"},[a("div",{staticClass:"shop"},[a("img",{staticStyle:{width:"100%",height:"100%",display:"block"},attrs:{src:t.datas.preview_image?t.datas.preview_image:t.emptyImage,alt:""}}),1==t.datas.shop_style?a("div",{staticClass:"content-style1"},[t.datas.show_logo?a("div",{staticClass:"image"},[a("img",{attrs:{src:t.shopLogo||o("0df2"),alt:""}})]):t._e(),t.datas.show_name?a("div",{staticClass:"title"},[t._v(t._s(t.shopName||"XX商城"))]):t._e()]):t._e(),2==t.datas.shop_style?a("div",{staticClass:"content-style2"},[t.datas.show_logo?a("div",{staticClass:"image"},[a("img",{attrs:{src:t.shopLogo||o("0df2"),alt:""}})]):t._e(),t.datas.show_name?a("div",{staticClass:"title"},[t._v(t._s(t.shopName||"XX商城"))]):t._e()]):t._e()])])])])},i=[],n=(o("99af"),o("b0c0"),o("adf7")),s=o.n(n),r=function(){var t=this.datas,e=t.margin_top,o=t.margin_bottom,a=t.margin_left,i=t.margin_right,n=t.logo_size,s=t.font_size,r=t.font_color;return"\n .component-".concat(this.id," .shopfor {\n margin-top: ").concat(e,"px;\n margin-bottom: ").concat(o,"px;\n margin-left: ").concat(a,"px;\n margin-right: ").concat(i,"px;\n }\n\n .component-").concat(this.id," .shopfor .image {\n width: ").concat(n,"px;\n height: ").concat(n,"px;\n }\n\n .component-").concat(this.id," .shopfor .title {\n color: ").concat(r,";\n font-size: ").concat(s,"px;\n }\n\n ")},c={data:function(){return{emptyImage:s.a}},props:["id","datas","styles"],computed:{css:function(){return"<style>"+r.call(this)+"</style>"},className:function(){var t=["component-wrapper","component-".concat(this.id)];return t},shopName:function(){return this.$store.state.temp.mailInfo?this.$store.state.temp.mailInfo.name:""},shopLogo:function(){return this.$store.state.temp.mailInfo?this.$store.state.temp.mailInfo.logo:""}},methods:{},mounted:function(){}},d=c,l=(o("2ef1"),o("2877")),p=Object(l["a"])(d,a,i,!1,null,"5db45ed8",null);e["default"]=p.exports},7480:function(t,e,o){var a=o("778f");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=o("499e").default;i("4965377a",a,!0,{sourceMap:!1,shadowMode:!1})},"778f":function(t,e,o){var a=o("24fb");e=a(!1),e.push([t.i,".component-wrapper[data-v-5db45ed8]{width:100%}.shopfor .shop[data-v-5db45ed8]{position:relative;width:100%;min-height:180px;-webkit-box-sizing:content-box;box-sizing:content-box}.shopfor .shop .content-style1[data-v-5db45ed8]{position:absolute;bottom:0;min-height:70px;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;background:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.4)),to(hsla(0,1%,77%,.1)));background:-webkit-linear-gradient(bottom,rgba(0,0,0,.4),hsla(0,1%,77%,.1));background:linear-gradient(0deg,rgba(0,0,0,.4),hsla(0,1%,77%,.1))}.shopfor .shop .content-style1 .image[data-v-5db45ed8]{border-radius:4px;margin:0 0 0 10px}.shopfor .shop .content-style1 .image img[data-v-5db45ed8]{width:100%;height:100%;border-radius:4px}.shopfor .shop .content-style1 .title[data-v-5db45ed8]{margin-left:10px}.shopfor .shop .content-style2[data-v-5db45ed8]{position:absolute;bottom:0;height:100%;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background:rgba(0,0,0,.3)}.shopfor .shop .content-style2 .image[data-v-5db45ed8]{border-radius:4px;margin:0 10px}.shopfor .shop .content-style2 .image img[data-v-5db45ed8]{width:100%;height:100%;border-radius:4px}.shopfor .shop .content-style2 .title[data-v-5db45ed8]{margin-top:10px;width:100%;text-align:center}",""]),t.exports=e}}]);