mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-03-25 23:03:12 +00:00
11 lines
11 KiB
JavaScript
11 lines
11 KiB
JavaScript
require('./common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["subpackage/diyComponents/pageDesign"],{8592:function(e,n,t){"use strict";(function(e){var o=t("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=o(t("7ca3")),a=t("2a20"),c=o(t("0110")),r={name:"PageDesign",components:{pageFooter:function(){Promise.all([t.e("common/vendor"),t.e("components/pageFooter/index")]).then(function(){return resolve(t("cc15"))}.bind(null,t)).catch(t.oe)},homeComb:function(){Promise.all([t.e("common/vendor"),t.e("subpackage/diyComponents/homeComb")]).then(function(){return resolve(t("d03b"))}.bind(null,t)).catch(t.oe)},headerSerch:function(){t.e("subpackage/diyComponents/headerSerch").then(function(){return resolve(t("e1da"))}.bind(null,t)).catch(t.oe)},tabNav:function(){Promise.all([t.e("common/vendor"),t.e("subpackage/diyComponents/tabNav")]).then(function(){return resolve(t("6dde"))}.bind(null,t)).catch(t.oe)},userInfor:function(){t.e("subpackage/diyComponents/userInfor").then(function(){return resolve(t("f196"))}.bind(null,t)).catch(t.oe)},homeUserInfor:function(){t.e("subpackage/diyComponents/homeUserInfor").then(function(){return resolve(t("7bfe"))}.bind(null,t)).catch(t.oe)},newVip:function(){t.e("subpackage/diyComponents/newVip").then(function(){return resolve(t("95be"))}.bind(null,t)).catch(t.oe)},articleList:function(){Promise.all([t.e("common/vendor"),t.e("subpackage/diyComponents/articleList")]).then(function(){return resolve(t("3219"))}.bind(null,t)).catch(t.oe)},bargain:function(){Promise.all([t.e("common/vendor"),t.e("subpackage/diyComponents/bargain")]).then(function(){return resolve(t("87f3"))}.bind(null,t)).catch(t.oe)},blankPage:function(){t.e("subpackage/diyComponents/blankPage").then(function(){return resolve(t("1043"))}.bind(null,t)).catch(t.oe)},combination:function(){Promise.all([t.e("common/vendor"),t.e("subpackage/diyComponents/combination")]).then(function(){return resolve(t("8140"))}.bind(null,t)).catch(t.oe)},coupon:function(){t.e("subpackage/diyComponents/coupon").then(function(){return resolve(t("8acd"))}.bind(null,t)).catch(t.oe)},customerService:function(){Promise.all([t.e("common/vendor"),t.e("subpackage/diyComponents/customerService")]).then(function(){return resolve(t("0ca4"))}.bind(null,t)).catch(t.oe)},goodList:function(){Promise.all([t.e("common/vendor"),t.e("subpackage/diyComponents/common/vendor"),t.e("subpackage/diyComponents/goodList")]).then(function(){return resolve(t("1dd4"))}.bind(null,t)).catch(t.oe)},guide:function(){t.e("subpackage/diyComponents/guide").then(function(){return resolve(t("53ca"))}.bind(null,t)).catch(t.oe)},liveBroadcast:function(){Promise.all([t.e("subpackage/diyComponents/common/vendor"),t.e("subpackage/diyComponents/liveBroadcast")]).then(function(){return resolve(t("36f4"))}.bind(null,t)).catch(t.oe)},menus:function(){Promise.all([t.e("common/vendor"),t.e("subpackage/diyComponents/menus")]).then(function(){return resolve(t("7d6c"))}.bind(null,t)).catch(t.oe)},news:function(){t.e("subpackage/diyComponents/news").then(function(){return resolve(t("d1ff"))}.bind(null,t)).catch(t.oe)},pictureCube:function(){t.e("subpackage/diyComponents/pictureCube").then(function(){return resolve(t("6a6f"))}.bind(null,t)).catch(t.oe)},promotionList:function(){t.e("subpackage/diyComponents/promotionList").then(function(){return resolve(t("0fd0"))}.bind(null,t)).catch(t.oe)},seckill:function(){Promise.all([t.e("common/vendor"),t.e("subpackage/diyComponents/seckill")]).then(function(){return resolve(t("5100"))}.bind(null,t)).catch(t.oe)},swiperBg:function(){t.e("subpackage/diyComponents/swiperBg").then(function(){return resolve(t("0f65"))}.bind(null,t)).catch(t.oe)},swipers:function(){t.e("subpackage/diyComponents/swipers").then(function(){return resolve(t("7c32f"))}.bind(null,t)).catch(t.oe)},titles:function(){t.e("subpackage/diyComponents/titles").then(function(){return resolve(t("4ceb"))}.bind(null,t)).catch(t.oe)},presale:function(){Promise.all([t.e("common/vendor"),t.e("subpackage/diyComponents/presale")]).then(function(){return resolve(t("3154"))}.bind(null,t)).catch(t.oe)},pointsMall:function(){Promise.all([t.e("common/vendor"),t.e("subpackage/diyComponents/pointsMall")]).then(function(){return resolve(t("3f70"))}.bind(null,t)).catch(t.oe)},richText:function(){t.e("subpackage/diyComponents/richText").then(function(){return resolve(t("9c17"))}.bind(null,t)).catch(t.oe)},videos:function(){t.e("subpackage/diyComponents/videos").then(function(){return resolve(t("7ac3"))}.bind(null,t)).catch(t.oe)},signIn:function(){t.e("subpackage/diyComponents/signIn").then(function(){return resolve(t("c979"))}.bind(null,t)).catch(t.oe)},hotspot:function(){t.e("subpackage/diyComponents/hotspot").then(function(){return resolve(t("5d70"))}.bind(null,t)).catch(t.oe)},follow:function(){t.e("subpackage/diyComponents/follow").then(function(){return resolve(t("a9c9"))}.bind(null,t)).catch(t.oe)},productInfo:function(){t.e("subpackage/diyComponents/productInfo").then(function(){return resolve(t("c410"))}.bind(null,t)).catch(t.oe)},homePaidVip:function(){t.e("subpackage/diyComponents/homePaidVip").then(function(){return resolve(t("153a"))}.bind(null,t)).catch(t.oe)},homeProductService:function(){t.e("subpackage/diyComponents/homeProductService").then(function(){return resolve(t("5485"))}.bind(null,t)).catch(t.oe)},homeReviews:function(){Promise.all([t.e("common/vendor"),t.e("subpackage/diyComponents/homeReviews")]).then(function(){return resolve(t("cc5d"))}.bind(null,t)).catch(t.oe)},productDesc:function(){t.e("subpackage/diyComponents/productDesc").then(function(){return resolve(t("8177"))}.bind(null,t)).catch(t.oe)},customComponent:function(){t.e("subpackage/diyComponents/customComponent").then(function(){return resolve(t("9545"))}.bind(null,t)).catch(t.oe)}},mixins:[c.default],props:{diyData:{type:Object,default:function(){return{}}},isHome:{type:Boolean,default:!1},isScrolled:{type:Boolean,default:!1},isFixed:{type:Boolean,default:!1},productData:{type:Object,default:function(){return{}}},priceData:{type:Object,default:function(){return{}}},skuList:{type:Array,default:function(){return[]}},reply:{type:Array,default:function(){return[]}},replyCount:{type:Number,default:0},replyChance:{type:String|Number,default:0},productId:{type:Number|String,default:0},goodList:{type:Array,default:function(){return[]}},productVideoStatus:{type:Boolean,default:!1},belongIndex:{type:Number,default:0},errorNetwork:{type:Boolean,default:!1},couponList:{type:Array,default:function(){return[]}},activity:{type:Array,default:function(){return[]}},attr:{type:Object,default:function(){return{}}},attrTxt:{type:String,default:""},attrValue:{type:String,default:""},microPage:{type:Boolean,default:!1}},data:function(){return{styleConfig:[],homeCombData:{},headerSerchCombData:{},cateNavData:{},footerConfigData:null,showHomeComb:!1,isHeaderSerch:!1,showCateNav:!1,bgColor:"",bgPic:"",bgTabVal:"",positionTop:0,isFooter:!1,pdHeight:0,myApplet:!0,getHeight:this.$util.getWXStatusHeight(),imgHost:a.HTTP_REQUEST_URL}},computed:{appletStyle:function(){return{top:this.getHeight.menuButtonInfo.bottom+8+"px",right:"10px"}},pageStyle:function(){return{backgroundColor:this.bgColor,backgroundImage:this.bgPic?"url(".concat(this.bgPic,")"):"",minHeight:"100vh"}},bgClass:function(){return 2==this.bgTabVal?"fullsize noRepeat":1==this.bgTabVal?"repeat ysize":"noRepeat ysize"},pdHeights:function(){var e="".concat(2*this.pdHeight+100,"rpx");return{height:this.isFooter?e:"100rpx"}}},watch:{diyData:{handler:function(e){e&&Object.keys(e).length>0?this.setDiyData(e):(this.styleConfig=[],this.homeCombData={},this.headerSerchCombData={},this.cateNavData={},this.footerConfigData=null,this.showHomeComb=!1,this.isHeaderSerch=!1,this.showCateNav=!1,this.bgColor="",this.bgPic="",this.bgTabVal="")},deep:!0,immediate:!0}},methods:(0,i.default)({reconnect:function(){this.$emit("reconnect")},onChangeSpec:function(e){this.$emit("changeSpec",e)},onShowSpecModal:function(){this.$emit("showSpecModal")},onShowCoupon:function(){this.$emit("showCoupon")},onOpenModal:function(e){this.$emit("openModal",e)},onGoActivity:function(e){this.$emit("goActivity",e)},onShare:function(){this.$emit("share")},objToArr:function(e){if(!e)return[];var n=Object.keys(e).sort(),t=n.map((function(n){return e[n]}));return t},setDiyData:function(n){var t=this;if(n){n.is_bg_color&&(this.bgColor=n.color_picker),n.is_bg_pic&&(this.bgPic=n.bg_pic,this.bgTabVal=n.bg_tab_val);var o=[];if(this.showHomeComb=!1,this.isHeaderSerch=!1,this.showCateNav=!1,this.footerConfigData=null,n.value){var i=this.objToArr(n.value);i.forEach((function(n){"pageFoot"!=n.name||t.microPage||(t.footerConfigData=n),"homeComb"!==n.name||n.isHide||(t.showHomeComb=!0,t.homeCombData=n,n.searchConfig&&n.searchConfig.tabVal&&(t.positionTop=e.getWindowInfo().statusBarHeight+43)),"headerSerch"!=n.name||n.isHide||(t.isHeaderSerch=!0,t.headerSerchCombData=n),"tabNav"!=n.name||n.isHide||(t.showCateNav=!0,t.cateNavData=n),n.isHide||o.push(n)})),o.sort((function(e,n){return e.timestamp-n.timestamp})),this.styleConfig=o}}},bindSortId:function(e){this.$emit("bindSortId",e)},bindHeight:function(e){this.$emit("bindHeight",e)},storeTap:function(e){this.$emit("storeTap",e)},changeLogin:function(){this.$emit("changeLogin")},changeBarg:function(e){this.$emit("changeBarg",e)},newDataStatus:function(e,n){this.isFooter=!!e,this.pdHeight=n,this.$emit("newDataStatus",{val:e,num:n})}},"reconnect",(function(){this.$emit("reconnect")}))};n.default=r}).call(this,t("df3c")["default"])},"9d4d":function(e,n,t){"use strict";t.r(n);var o=t("eea3"),i=t("bd98");for(var a in i)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return i[e]}))}(a);t("ae55");var c=t("828b"),r=Object(c["a"])(i["default"],o["b"],o["c"],!1,null,"23401c2a",null,!1,o["a"],void 0);n["default"]=r.exports},ae55:function(e,n,t){"use strict";var o=t("e7b8"),i=t.n(o);i.a},bd98:function(e,n,t){"use strict";t.r(n);var o=t("8592"),i=t.n(o);for(var a in o)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(a);n["default"]=i.a},e7b8:function(e,n,t){},eea3:function(e,n,t){"use strict";t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return i})),t.d(n,"a",(function(){}));var o=function(){var e=this,n=e.$createElement,t=(e._self._c,!e.errorNetwork&&e.myApplet&&e.isHome?e.__get_style([e.appletStyle]):null),o=!e.errorNetwork&&e.isFooter?e.__get_style([e.pdHeights]):null,i=e.errorNetwork?e.$t("网络连接断开"):null,a=e.errorNetwork?e.$t("重新连接"):null;e._isMounted||(e.e0=function(n){e.myApplet=!1}),e.$mp.data=Object.assign({},{$root:{s0:t,s1:o,m0:i,m1:a}})},i=[]}}]);
|
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
|
'subpackage/diyComponents/pageDesign-create-component',
|
|
{
|
|
'subpackage/diyComponents/pageDesign-create-component':(function(module, exports, __webpack_require__){
|
|
__webpack_require__('df3c')['createComponent'](__webpack_require__("9d4d"))
|
|
})
|
|
},
|
|
[['subpackage/diyComponents/pageDesign-create-component']]
|
|
]);
|