app-diy-page.js 17 KB

12345678910
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/page-component/index/app-diy-page"],{"6e0f":function(n,e,i){"use strict";var o;i.d(e,"b",(function(){return t})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return o}));var t=function(){var n=this,e=n.$createElement,i=(n._self._c,n.__map(n.newData.navs,(function(e,i){var o=n.__get_orig(e),t=n.nav_active===i?n.__map(e.template.data,(function(i,o){var t=n.__get_orig(i),a="background"===i.id?n.transLabelBackgroundPosition(i.data.position):null,d="background"===i.id?n.transLabelBackgroundRepeat(i.data.mode):null,c="background"!==i.id&&"search"!==i.id&&"banner"!==i.id&&"goods"===i.id?n.transLabelBackgroundPosition(i.data.position):null,r="background"!==i.id&&"search"!==i.id&&"banner"!==i.id&&"goods"===i.id?n.transLabelBackgroundRepeat(i.data.mode):null,p="background"===i.id||"search"===i.id||"banner"===i.id||"goods"===i.id||"pintuan"!==i.id&&"miaosha"!==i.id&&"advance"!==i.id&&"booking"!==i.id&&"bargain"!==i.id&&"pick"!==i.id&&"lottery"!==i.id&&"integral-mall"!==i.id&&"gift"!==i.id&&"exchange"!==i.id&&"composition"!==i.id&&"flash-sale"!==i.id&&"wholesale"!==i.id?null:n.transLabelBackgroundPosition(i.data.position),u="background"===i.id||"search"===i.id||"banner"===i.id||"goods"===i.id||"pintuan"!==i.id&&"miaosha"!==i.id&&"advance"!==i.id&&"booking"!==i.id&&"bargain"!==i.id&&"pick"!==i.id&&"lottery"!==i.id&&"integral-mall"!==i.id&&"gift"!==i.id&&"exchange"!==i.id&&"composition"!==i.id&&"flash-sale"!==i.id&&"wholesale"!==i.id?null:n.transLabelBackgroundRepeat(i.data.mode),l="background"!==i.id&&"search"!==i.id&&"banner"!==i.id&&"goods"!==i.id&&"pintuan"!==i.id&&"miaosha"!==i.id&&"advance"!==i.id&&"booking"!==i.id&&"bargain"!==i.id&&"pick"!==i.id&&"lottery"!==i.id&&"integral-mall"!==i.id&&"gift"!==i.id&&"exchange"!==i.id&&"composition"!==i.id&&"flash-sale"!==i.id&&"wholesale"!==i.id&&"rubik"===i.id?n.__map(i.data.hotspot,(function(e,i){var o=n.__get_orig(e),t=n.rubikHotspot(e);return{$orig:o,m6:t}})):null,s="background"===i.id||"search"===i.id||"banner"===i.id||"goods"===i.id||"pintuan"===i.id||"miaosha"===i.id||"advance"===i.id||"booking"===i.id||"bargain"===i.id||"pick"===i.id||"lottery"===i.id||"integral-mall"===i.id||"gift"===i.id||"exchange"===i.id||"composition"===i.id||"flash-sale"===i.id||"wholesale"===i.id||"rubik"===i.id||"notice"===i.id||"nav"!==i.id||i.data.modeType?null:n.transLabelBackgroundPosition(i.data.position),m="background"===i.id||"search"===i.id||"banner"===i.id||"goods"===i.id||"pintuan"===i.id||"miaosha"===i.id||"advance"===i.id||"booking"===i.id||"bargain"===i.id||"pick"===i.id||"lottery"===i.id||"integral-mall"===i.id||"gift"===i.id||"exchange"===i.id||"composition"===i.id||"flash-sale"===i.id||"wholesale"===i.id||"rubik"===i.id||"notice"===i.id||"nav"!==i.id||i.data.modeType?null:n.transLabelBackgroundRepeat(i.data.mode),h="background"!==i.id&&"search"!==i.id&&"banner"!==i.id&&"goods"!==i.id&&"pintuan"!==i.id&&"miaosha"!==i.id&&"advance"!==i.id&&"booking"!==i.id&&"bargain"!==i.id&&"pick"!==i.id&&"lottery"!==i.id&&"integral-mall"!==i.id&&"gift"!==i.id&&"exchange"!==i.id&&"composition"!==i.id&&"flash-sale"!==i.id&&"wholesale"!==i.id&&"rubik"!==i.id&&"notice"!==i.id&&"nav"!==i.id&&"video"!==i.id&&"link"===i.id?Object.assign({},i.data.link):null,g="background"!==i.id&&"search"!==i.id&&"banner"!==i.id&&"goods"!==i.id&&"pintuan"!==i.id&&"miaosha"!==i.id&&"advance"!==i.id&&"booking"!==i.id&&"bargain"!==i.id&&"pick"!==i.id&&"lottery"!==i.id&&"integral-mall"!==i.id&&"gift"!==i.id&&"exchange"!==i.id&&"composition"!==i.id&&"flash-sale"!==i.id&&"wholesale"!==i.id&&"rubik"!==i.id&&"notice"!==i.id&&"nav"!==i.id&&"video"!==i.id&&"link"!==i.id&&"topic"!==i.id&&"store"!==i.id&&"copyright"!==i.id&&"user-info"!==i.id&&"user-order"!==i.id&&"coupon"!==i.id&&"timer"!==i.id&&"mch"===i.id?n.transLabelBackgroundPosition(i.data.position):null,f="background"!==i.id&&"search"!==i.id&&"banner"!==i.id&&"goods"!==i.id&&"pintuan"!==i.id&&"miaosha"!==i.id&&"advance"!==i.id&&"booking"!==i.id&&"bargain"!==i.id&&"pick"!==i.id&&"lottery"!==i.id&&"integral-mall"!==i.id&&"gift"!==i.id&&"exchange"!==i.id&&"composition"!==i.id&&"flash-sale"!==i.id&&"wholesale"!==i.id&&"rubik"!==i.id&&"notice"!==i.id&&"nav"!==i.id&&"video"!==i.id&&"link"!==i.id&&"topic"!==i.id&&"store"!==i.id&&"copyright"!==i.id&&"user-info"!==i.id&&"user-order"!==i.id&&"coupon"!==i.id&&"timer"!==i.id&&"mch"===i.id?n.transLabelBackgroundRepeat(i.data.mode):null,b="background"!==i.id&&"search"!==i.id&&"banner"!==i.id&&"goods"!==i.id&&"pintuan"!==i.id&&"miaosha"!==i.id&&"advance"!==i.id&&"booking"!==i.id&&"bargain"!==i.id&&"pick"!==i.id&&"lottery"!==i.id&&"integral-mall"!==i.id&&"gift"!==i.id&&"exchange"!==i.id&&"composition"!==i.id&&"flash-sale"!==i.id&&"wholesale"!==i.id&&"rubik"!==i.id&&"notice"!==i.id&&"nav"!==i.id&&"video"!==i.id&&"link"!==i.id&&"topic"!==i.id&&"store"!==i.id&&"copyright"!==i.id&&"user-info"!==i.id&&"user-order"!==i.id&&"coupon"!==i.id&&"timer"!==i.id&&"mch"!==i.id&&"empty"!==i.id&&"ad"===i.id?n._f("getObje")(e):null,v="background"===i.id||"search"===i.id||"banner"===i.id||"goods"===i.id||"pintuan"===i.id||"miaosha"===i.id||"advance"===i.id||"booking"===i.id||"bargain"===i.id||"pick"===i.id||"lottery"===i.id||"integral-mall"===i.id||"gift"===i.id||"exchange"===i.id||"composition"===i.id||"flash-sale"===i.id||"wholesale"===i.id||"rubik"===i.id||"notice"===i.id||"nav"===i.id||"video"===i.id||"link"===i.id||"topic"===i.id||"store"===i.id||"copyright"===i.id||"user-info"===i.id||"user-order"===i.id||"coupon"===i.id||"timer"===i.id||"mch"===i.id||"empty"===i.id||"ad"===i.id||"modal"===i.id||"quick-nav"===i.id&&1==i.data.navSwitch||"mp-link"===i.id||"map"===i.id||"check-in"===i.id||"image-text"===i.id||"form"!==i.id?null:n.transLabelPosition(i.data.style),k="background"===i.id||"search"===i.id||"banner"===i.id||"goods"===i.id||"pintuan"===i.id||"miaosha"===i.id||"advance"===i.id||"booking"===i.id||"bargain"===i.id||"pick"===i.id||"lottery"===i.id||"integral-mall"===i.id||"gift"===i.id||"exchange"===i.id||"composition"===i.id||"flash-sale"===i.id||"wholesale"===i.id||"rubik"===i.id||"notice"===i.id||"nav"===i.id||"video"===i.id||"link"===i.id||"topic"===i.id||"store"===i.id||"copyright"===i.id||"user-info"===i.id||"user-order"===i.id||"coupon"===i.id||"timer"===i.id||"mch"===i.id||"empty"===i.id||"ad"===i.id||"modal"===i.id||"quick-nav"===i.id&&1==i.data.navSwitch||"mp-link"===i.id||"map"===i.id||"check-in"===i.id||"image-text"===i.id||"form"!==i.id?null:n.transLabelBackgroundPosition(i.data.position),y="background"===i.id||"search"===i.id||"banner"===i.id||"goods"===i.id||"pintuan"===i.id||"miaosha"===i.id||"advance"===i.id||"booking"===i.id||"bargain"===i.id||"pick"===i.id||"lottery"===i.id||"integral-mall"===i.id||"gift"===i.id||"exchange"===i.id||"composition"===i.id||"flash-sale"===i.id||"wholesale"===i.id||"rubik"===i.id||"notice"===i.id||"nav"===i.id||"video"===i.id||"link"===i.id||"topic"===i.id||"store"===i.id||"copyright"===i.id||"user-info"===i.id||"user-order"===i.id||"coupon"===i.id||"timer"===i.id||"mch"===i.id||"empty"===i.id||"ad"===i.id||"modal"===i.id||"quick-nav"===i.id&&1==i.data.navSwitch||"mp-link"===i.id||"map"===i.id||"check-in"===i.id||"image-text"===i.id||"form"!==i.id?null:n.transLabelBackgroundRepeat(i.data.mode);return{$orig:t,m0:a,m1:d,m2:c,m3:r,m4:p,m5:u,l0:l,m7:s,m8:m,g0:h,m9:g,m10:f,f0:b,m11:v,m12:k,m13:y}})):null;return{$orig:o,l1:t}})));n.$mp.data=Object.assign({},{$root:{l2:i}})},a=[]},7613:function(n,e,i){"use strict";var o=i("d968"),t=i.n(o);t.a},"794c":function(n,e,i){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i("2f62");function t(n,e){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.push.apply(i,o)}return i}function a(n){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?t(Object(i),!0).forEach((function(e){d(n,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(i,e))}))}return n}function d(n,e,i){return e in n?Object.defineProperty(n,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[e]=i,n}var c=function(){i.e("components/page-component/app-search-for/app-search-for").then(function(){return resolve(i("85d0"))}.bind(null,i)).catch(i.oe)},r=function(){i.e("components/page-component/app-swiper/app-swiper").then(function(){return resolve(i("336e"))}.bind(null,i)).catch(i.oe)},p=function(){i.e("components/page-component/app-swiper/swiper").then(function(){return resolve(i("99f5"))}.bind(null,i)).catch(i.oe)},u=function(){i.e("components/page-component/u-announcement/u-announcement").then(function(){return resolve(i("906e"))}.bind(null,i)).catch(i.oe)},l=function(){i.e("components/page-component/app-navigation-icon/app-navigation-icon").then(function(){return resolve(i("1d1b"))}.bind(null,i)).catch(i.oe)},s=function(){i.e("components/page-component/app-navigation-icon/app-navigation-two-icon").then(function(){return resolve(i("aacd"))}.bind(null,i)).catch(i.oe)},m=function(){Promise.all([i.e("common/vendor"),i.e("components/page-component/app-video/app-video")]).then(function(){return resolve(i("2d2a"))}.bind(null,i)).catch(i.oe)},h=function(){i.e("components/page-component/app-associated-link/app-associated-link").then(function(){return resolve(i("f91b"))}.bind(null,i)).catch(i.oe)},g=function(){i.e("components/page-component/app-special-topic/app-special-topic-normal").then(function(){return resolve(i("0d3e"))}.bind(null,i)).catch(i.oe)},f=function(){i.e("components/page-component/app-special-topic/app-special-topic-list").then(function(){return resolve(i("e44f"))}.bind(null,i)).catch(i.oe)},b=function(){i.e("components/page-component/app-image-ad/app-image-ad").then(function(){return resolve(i("c879"))}.bind(null,i)).catch(i.oe)},v=function(){i.e("components/basic-component/app-hotspot/app-hotspot").then(function(){return resolve(i("95b4"))}.bind(null,i)).catch(i.oe)},k=function(){i.e("components/page-component/app-shop/app-shop").then(function(){return resolve(i("bc6d"))}.bind(null,i)).catch(i.oe)},y=function(){i.e("components/page-component/app-copyright/app-copyright").then(function(){return resolve(i("6d80"))}.bind(null,i)).catch(i.oe)},_=function(){i.e("components/page-component/app-user-center-top/app-user-center-top").then(function(){return resolve(i("60c4"))}.bind(null,i)).catch(i.oe)},w=function(){i.e("components/page-component/app-my-order/app-my-order").then(function(){return resolve(i("af0f"))}.bind(null,i)).catch(i.oe)},P=function(){i.e("components/page-component/app-recommended-product/app-recommended-product-list").then(function(){return resolve(i("8456"))}.bind(null,i)).catch(i.oe)},O=function(){i.e("components/page-component/app-exclusive-coupon/app-exclusive-coupon").then(function(){return resolve(i("65f0f"))}.bind(null,i)).catch(i.oe)},x=function(){i.e("components/page-component/app-exclusive-coupon/app-exclusive-coupon-two").then(function(){return resolve(i("6179"))}.bind(null,i)).catch(i.oe)},B=function(){i.e("components/page-component/app-diy-timer/app-diy-timer").then(function(){return resolve(i("2e7a"))}.bind(null,i)).catch(i.oe)},j=function(){i.e("components/page-component/app-good-shop-recommendation/app-good-shop-recommendation").then(function(){return resolve(i("e818"))}.bind(null,i)).catch(i.oe)},L=function(){i.e("components/basic-component/app-empty/app-empty").then(function(){return resolve(i("8ecdb"))}.bind(null,i)).catch(i.oe)},S=function(){i.e("components/page-component/app-popup-ad/app-popup-ad").then(function(){return resolve(i("6989"))}.bind(null,i)).catch(i.oe)},$=function(){i.e("components/page-component/app-quick-navigation/app-quick-navigation").then(function(){return resolve(i("36d8"))}.bind(null,i)).catch(i.oe)},q=function(){Promise.all([i.e("common/vendor"),i.e("components/page-component/app-check-in/app-check-in")]).then(function(){return resolve(i("d3a0"))}.bind(null,i)).catch(i.oe)},N=function(){Promise.all([i.e("common/vendor"),i.e("components/basic-component/app-rich/parse")]).then(function(){return resolve(i("46fb"))}.bind(null,i)).catch(i.oe)},R=function(){i.e("components/page-component/app-reservation/app-reservation").then(function(){return resolve(i("5a14"))}.bind(null,i)).catch(i.oe)},T=function(){i.e("components/page-component/app-spike/app-spike").then(function(){return resolve(i("129c"))}.bind(null,i)).catch(i.oe)},D=function(){i.e("components/page-component/app-diy-goods-list/app-diy-goods-list").then(function(){return resolve(i("de93"))}.bind(null,i)).catch(i.oe)},E=function(){i.e("components/page-component/app-diy-form/app-diy-form").then(function(){return resolve(i("4e37"))}.bind(null,i)).catch(i.oe)},A=function(){Promise.all([i.e("common/vendor"),i.e("components/page-component/app-vip-card/app-vip-card")]).then(function(){return resolve(i("63a9"))}.bind(null,i)).catch(i.oe)},C=function(){i.e("components/page-component/app-ad/app-ad").then(function(){return resolve(i("71d4"))}.bind(null,i)).catch(i.oe)},H=function(){i.e("components/page-component/index/app-module").then(function(){return resolve(i("3cef"))}.bind(null,i)).catch(i.oe)},M=function(){i.e("components/page-component/u-goods-list/u-ordinary-list").then(function(){return resolve(i("1f2b"))}.bind(null,i)).catch(i.oe)},J=function(){i.e("components/page-component/app-live/app-live").then(function(){return resolve(i("2832"))}.bind(null,i)).catch(i.oe)},F=function(){i.e("components/page-component/app-map/app-map").then(function(){return resolve(i("8291"))}.bind(null,i)).catch(i.oe)},I={name:"app-diy-page",components:{"app-search-for":c,"app-swiper":r,uAnnouncement:u,"app-navigation-icon":l,"app-navigation-two-icon":s,"app-video":m,"app-associated-link":h,"app-special-topic":g,"app-special-topic-list":f,"app-image-ad":b,"app-hotspot":v,"app-shop":k,"app-copyright":y,"app-user-center":_,"app-my-order":w,"app-recommended-product-list":P,"app-exclusive-coupon":O,appExclusiveCouponTwo:x,"app-diy-timer":B,"app-goods-shop":j,"app-empty":L,"app-popup-ad":S,"app-quick-navigation":$,"app-check-in":q,"app-rich":N,"app-reservation":R,"app-spike":T,"app-diy-goods-list":D,"app-diy-form":E,"app-vip-card":A,uOrdinaryList:M,appMap:F,appAd:C,appModule:H,appLive:J,uSwiper:p},props:{dIndex:{type:Array,default:function(){return[0,0]}},dType:String,homePages:{type:Object,default:function(){return{navs:[]}}},scrollTop:{type:Number,default:function(){return 0}},is_storage:Boolean,pageHide:Boolean,theme:String,coupon_req:Boolean,is_required:Boolean,page_id:Number,is_module:{type:Boolean,default:function(){return!0}}},computed:a(a({newData:function(){return this.homePages?(this.homePages.title&&n.setNavigationBarTitle({title:this.homePages.title}),this.homePages):{navs:[]}}},(0,o.mapState)({userCenter:function(n){return n.mallConfig.user_center}})),{},{diyFormSubmitUrl:function(){return this.$api.diy.page_store},themeObject:function(){return{back:this.theme+"-m-back "+this.theme,backP:this.theme+"-m-back-p "+this.theme,backO:this.theme+"-m-back-o "+this.theme,theme:this.theme,color:this.theme+"-m-text "+this.theme,sBack:this.theme+"-s-back "+this.theme,border:this.theme+"-m-border "+this.theme}}}),data:function(){return{nav_active:0,mp_link_top:!1,coupon_url:this.$api.diy.receive,coupon_params:{}}},filters:{getObje:function(n){if(n)return{template_id:n.template_id}}},methods:{changeNav:function(n){this.nav_active=n,this.mp_link_top=!1},rubikHotspot:function(n){return n&&n.link&&(n.link.url=n.link.value,n.link.openType=n.link.open_type),n},mpLink:function(n){"top"===n&&(this.mp_link_top=!0)},transLabelPosition:function(n){switch(n=Number(n),n){case 3:return"top";case 2:return"inset";default:return"left"}},transLabelBackgroundPosition:function(n){switch(n=Number(n),n){case 1:return"left top";case 2:return"center top";case 3:return"right top";case 4:return"left center";case 5:return"center center";case 6:return"right center";case 7:return"left bottom";case 8:return"center bottom";case 9:return"right bottom";default:return"center"}},transLabelBackgroundRepeat:function(n){switch(n=Number(n),n){case 1:return"no-repeat";case 2:return"repeat-x";case 3:return"repeat-y";case 4:return"repeat";default:return"no-repeat"}},mpLinkError:function(){this.mp_link_top=!1},buyProduct:function(n){this.$emit("buyProduct",n)}}};e.default=I}).call(this,i("543d")["default"])},d968:function(n,e,i){},e18e:function(n,e,i){"use strict";i.r(e);var o=i("6e0f"),t=i("f646");for(var a in t)"default"!==a&&function(n){i.d(e,n,(function(){return t[n]}))}(a);i("7613");var d,c=i("f0c5"),r=Object(c["a"])(t["default"],o["b"],o["c"],!1,null,"334bc738",null,!1,o["a"],d);e["default"]=r.exports},f646:function(n,e,i){"use strict";i.r(e);var o=i("794c"),t=i.n(o);for(var a in o)"default"!==a&&function(n){i.d(e,n,(function(){return o[n]}))}(a);e["default"]=t.a}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'components/page-component/index/app-diy-page-create-component',
  4. {
  5. 'components/page-component/index/app-diy-page-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('543d')['createComponent'](__webpack_require__("e18e"))
  7. })
  8. },
  9. [['components/page-component/index/app-diy-page-create-component']]
  10. ]);