(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{333:function(t,e,n){"use strict";var r=n(4),o=n(27),c=n(40),l=n(188),m=n(93),v=n(15),f=n(67).f,h=n(94).f,d=n(12).f,A=n(346).trim,_=r.Number,x=_,C=_.prototype,w="Number"==c(n(133)(C)),E="trim"in String.prototype,I=function(t){var e=m(t,!1);if("string"==typeof e&&e.length>2){var n,r,o,c=(e=E?e.trim():A(e,3)).charCodeAt(0);if(43===c||45===c){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===c){switch(e.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+e}for(var code,l=e.slice(2),i=0,v=l.length;i<v;i++)if((code=l.charCodeAt(i))<48||code>o)return NaN;return parseInt(l,r)}}return+e};if(!_(" 0o1")||!_("0b1")||_("+0x1")){_=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof _&&(w?v((function(){C.valueOf.call(n)})):"Number"!=c(n))?l(new x(I(e)),n,_):I(e)};for(var $,y=n(7)?f(x):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),N=0;y.length>N;N++)o(x,$=y[N])&&!o(_,$)&&d(_,$,h(x,$));_.prototype=C,C.constructor=_,n(16)(r,"Number",_)}},346:function(t,e,n){var r=n(6),o=n(39),c=n(15),l=n(347),m="["+l+"]",v=RegExp("^"+m+m+"*"),f=RegExp(m+m+"*$"),h=function(t,e,n){var o={},m=c((function(){return!!l[t]()||"​"!="​"[t]()})),v=o[t]=m?e(d):l[t];n&&(o[n]=v),r(r.P+r.F*m,"String",o)},d=h.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(v,"")),2&e&&(t=t.replace(f,"")),t};t.exports=h},347:function(t,e){t.exports="\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff"},348:function(t,e,n){},349:function(t,e,n){},351:function(t,e,n){"use strict";n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return c}));n(41),n(52);function r(t){return!(!t.includes("https://")&&!t.includes("http://"))}function o(t){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(t)}function c(t){return/^(1[0-9][0-9])\d{8}$/.test(t)}},353:function(t,e,n){"use strict";var r={name:"More"},o=(n(370),n(37)),component=Object(o.a)(r,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"more"},[e("div",{staticClass:"text"},[this._v("\n    "+this._s(this.$t("message.more"))+"\n  ")]),this._v(" "),e("div",{staticClass:"icon"})])}),[],!1,null,"abfad6e4",null);e.a=component.exports},366:function(t,e,n){},367:function(t,e,n){},368:function(t,e,n){},369:function(t,e,n){},370:function(t,e,n){"use strict";var r=n(348);n.n(r).a},371:function(t,e,n){},372:function(t,e,n){"use strict";var r=n(349);n.n(r).a},373:function(t,e,n){},374:function(t,e,n){},375:function(t,e,n){},422:function(t,e,n){"use strict";n(26);var r={name:"NewsInformation",components:{More:n(353).a},data:function(){return{list:[]}},watch:{"$i18n.locale":{handler:function(){return regeneratorRuntime.async((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,regeneratorRuntime.awrap(this.getList());case 2:case"end":return t.stop()}}),null,this)},immediate:!0}},methods:{getList:function(){var data,t;return regeneratorRuntime.async((function(e){for(;;)switch(e.prev=e.next){case 0:return data={where:{category:10,status:20,language:this.$i18n.locale},pagination:{page:1,limit:6},order:[["stickNumber","DESC"],["publishedAt","DESC"]]},e.next=3,regeneratorRuntime.awrap(this.$axios.$post("/newsInformation/ext/getList",data));case 3:2e4===(t=e.sent).result&&(this.list=t.data.rows);case 5:case"end":return e.stop()}}),null,this)},open:function(link){window.open("https://www.xicec.com".concat(link),"link")},openLink:function(link){window.open(link,"link")}}},o=(n(372),n(37)),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"list"},[t._l(t.list,(function(e){return[e.link?[n("div",{on:{click:function(n){return t.openLink(e.link)}}},[n("div",{staticClass:"item",attrs:{title:e.name}},[n("div",{staticClass:"title"},[t._v("\n              "+t._s(e.name)+"\n            ")]),t._v(" "),n("div",{staticClass:"date"},[t._v("\n              "+t._s(t._f("timeFormatter")(e.publishedAt,"{y}-{m}-{d}"))+"\n            ")])])])]:[n("div",{staticClass:"item",attrs:{title:e.name},on:{click:function(n){return t.open(("en"===t.$i18n.locale?"/en":"")+"/newsInformation/detail/"+e.id)}}},[n("div",{staticClass:"title"},[t._v("\n            "+t._s(e.name)+"\n          ")]),t._v(" "),n("div",{staticClass:"date"},[t._v("\n            "+t._s(t._f("timeFormatter")(e.publishedAt,"{y}-{m}-{d}"))+"\n          ")])])]]}))],2),t._v(" "),n("div",{staticClass:"bar"},[n("nuxt-link",{attrs:{to:("en"===t.$i18n.locale?"/en":"")+"/newsInformation"}},[n("more")],1)],1)])}),[],!1,null,"60bb7fc7",null);e.a=component.exports},441:function(t,e,n){"use strict";var r=n(366);n.n(r).a},442:function(t,e,n){"use strict";var r=n(367);n.n(r).a},443:function(t,e,n){"use strict";var r=n(368);n.n(r).a},444:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAjhJREFUeNrs3D9Lw0AcxvFEVBx0FnwJrm66OIlgB0UsoqujL6Krk6P4b9GtfRMOVp2c1MXByVfgKtTf0QihxF70DvLEfB/4DUm51ObTy8Vc0nQwGCREJxPsAkAIIIAQQAAhgABCAAGEAEIAAYQAAggBBBACCCAEEAIIIAQQQAgggBBAACESmQzdQJqmdf3sa1bLVs9WvVgbDb553W0gpGqajvvoubqKCRK0PxsIMmf1PgLiqqsA0sQxZMlqoWD9TiwUDllxekiUnkIP+X0+rM7HvF5tT2nooF40sEfpKQzqYiiAiKEAIoYCiBgKIGIogIihACKGAogYCiBiKICIoQAihhK6P9PQnZrNGB5bbVp9Wh1ZXZRoumh1ZrVidW91YPVSot2h1XZFMKtjXnOzjm2FGcOib0/L87azVv2RNv1s/bi0PN/UqqujcPl9v2DdhqfNXjKcz87HLW952u2KH9rWQzcQA2Sm5Lp8frq5YsrTblocZF4B5LJg3aOnzU0yvNsjH7f84GnXEwc5Cd5CpLOsU6s3q9dkOONWJm5Qv82OvXfZctkznifB8aPLae8/PO0FhH8MuXQCCBcXufwOiAAGIGIYgIhhACKGAYgYBiBiGICIYQAihgHI38IDO2L56ZG27/mWdqV/HT2Ehz6rTtEjbdeV94wssW4DqmMkfzggbdCsXy3Cb50AQgABhAACCAEEEAIIIAQQAgggBBBACCCAEEAAIYAQQAAhgABCAAGEAAII0ciXAAMAERlstw9pZ0IAAAAASUVORK5CYII="},445:function(t,e,n){"use strict";var r=n(369);n.n(r).a},446:function(t,e,n){"use strict";var r=n(371);n.n(r).a},447:function(t,e,n){"use strict";var r=n(373);n.n(r).a},448:function(t,e,n){"use strict";var r=n(374);n.n(r).a},449:function(t,e,n){"use strict";var r=n(375);n.n(r).a},500:function(t,e,n){"use strict";n.r(e);n(14),n(11),n(92);var r=n(28),o=(n(333),n(26),n(338)),c=n(339),l={name:"Banner"},m=(n(441),n(37)),v=Object(m.a)(l,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"top"},[e("video",{attrs:{poster:"/img/poster.png",preload:"auto",src:"/film/film.mp4",autoplay:"autoplay",loop:"loop",muted:"","webkit-playsinline":"",playsinline:""},domProps:{muted:!0}})])}),[],!1,null,"30eb76be",null).exports,f={name:"MainEntry",data:function(){return{list:[{name:this.$t("nav.venueIntroduction"),img:"/img/header/aboutUs.jpg",path:"/venueIntroduction/xicec"},{name:this.$t("nav.ownExhibition"),img:"/img/header/ownExhibition.jpg",path:"/ownExhibition/cxisf"},{name:this.$t("nav.exhibitionServices"),img:"/img/header/exhibitionServices.jpeg",path:"/exhibitionServices/officialContractorService"}]}}},h=(n(442),Object(m.a)(f,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"row"},t._l(t.list,(function(e){return n("div",{staticClass:"item"},[n("nuxt-link",{attrs:{to:("en"===t.$i18n.locale?"/en":"")+e.path}},[n("img",{staticClass:"img",attrs:{src:e.img,alt:""}}),t._v(" "),n("div",{staticClass:"text"},[t._v("\n        "+t._s(e.name)+"\n      ")])])],1)})),0)}),[],!1,null,"7af5b70e",null).exports),d=n(351),A={name:"ServiceEntry",data:function(){return{roles:[{img:"/img/role/1.png",text:this.$t("role.host"),path:"".concat("en"===this.$i18n.locale?"/en":"","/roles/host")},{img:"/img/role/2.png",text:this.$t("role.exhibitor"),path:"".concat("en"===this.$i18n.locale?"/en":"","/roles/exhibitor")},{img:"/img/role/3.png",text:this.$t("role.visitor"),path:"".concat("en"===this.$i18n.locale?"/en":"","/roles/visitor")}],services:[{img:"/img/service/1.png",text:this.$t("service.onlineBookingService"),path:"https://isp.xicec.com/"},{img:"/img/service/2.png",text:this.$t("service.onlineBoothApproval"),path:"https://ehs.xicec.com/select-exhibition"},{img:"/img/service/3.png",text:this.$t("service.advanceAdmission"),path:"".concat("en"===this.$i18n.locale?"/en":"","/service/advanceAdmission"),hideInEn:!0},{img:"/img/service/4.png",text:this.$t("service.constructionDocuments"),path:"".concat("en"===this.$i18n.locale?"/en":"","/service/constructionDocuments"),hideInEn:!0}]}},methods:{toPath:function(t){Object(d.c)(t)?window.open(t):this.$router.push(t)}}},_=(n(443),Object(m.a)(A,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:"entry "+t.$i18n.locale},[n("img",{staticClass:"ece-logo",attrs:{src:"/img/ece.png",alt:""}}),t._v(" "),n("div",{staticClass:"row"},[t._l(t.roles,(function(e){return[n("div",{staticClass:"btn btn-role",on:{click:function(n){return t.toPath(e.path)}}},[n("div",{staticClass:"icon"},[n("img",{attrs:{src:e.img,alt:""}})]),t._v(" "),n("div",{staticClass:"text"},[t._v("\n          "+t._s(e.text)+"\n        ")])])]}))],2),t._v(" "),n("div",{staticClass:"row"},[t._l(t.services,(function(e){return[e.hideInEn&&"en"===t.$i18n.locale?t._e():n("div",{staticClass:"btn btn-service",on:{click:function(n){return t.toPath(e.path)}}},[n("div",{staticClass:"icon"},[n("img",{attrs:{src:e.img,alt:""}})]),t._v(" "),n("div",{staticClass:"text"},[t._v("\n          "+t._s(e.text)+"\n        ")])])]}))],2)])}),[],!1,null,"b755e5fe",null).exports),x={name:"AreaSelect",props:{value:{type:Number,default:function(){return 10},required:!0}},data:function(){return{area:[{text:this.$t("area.xiamen"),value:10},{text:this.$t("area.wuyishan"),value:30}]}},methods:{changeArea:function(t){this.$emit("input",t)}}},C=(n(445),{name:"ExhibitionPlan",components:{AreaSelect:Object(m.a)(x,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"area-select"},[t._l(t.area,(function(e){return[n("div",{class:"area "+(e.value===t.value?"active":""),on:{click:function(n){return t.changeArea(e.value)}}},[t._v("\n        "+t._s(e.text)+"\n      ")])]}))],2)])}),[],!1,null,"7fcd01fc",null).exports,More:n(353).a},data:function(){return{city:10,list:[]}},watch:{city:{handler:function(){return regeneratorRuntime.async((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,regeneratorRuntime.awrap(this.getList());case 2:case"end":return t.stop()}}),null,this)},immediate:!0}},methods:{getList:function(){var data,t;return regeneratorRuntime.async((function(e){for(;;)switch(e.prev=e.next){case 0:return data={where:{endTime:{$gte:new Date((new Date).toDateString())},city:this.city,status:1},pagination:{page:1,limit:5},order:[["startTime","ASC"]]},e.next=3,regeneratorRuntime.awrap(this.$axios.$post("/exhibitionPlan/ext/getList",data));case 3:2e4===(t=e.sent).result&&(this.list=t.data.rows);case 5:case"end":return e.stop()}}),null,this)},openURL:function(t){Object(d.c)(t)&&window.open(t)}}}),w=(n(446),{name:"Information",components:{ExhibitionPlan:Object(m.a)(C,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"area"},[r("area-select",{model:{value:t.city,callback:function(e){t.city=e},expression:"city"}})],1),t._v(" "),r("div",{staticClass:"list"},[t._l(t.list,(function(e,o){return[0===o?r("div",{staticClass:"item first",on:{click:function(n){return t.openURL(e.url)}}},[r("div",{staticClass:"title",attrs:{title:"zh"===t.$i18n.locale?e.name:e.nameEn}},[t._v("\n          "+t._s("zh"===t.$i18n.locale?e.name:e.nameEn)+"\n        ")]),t._v(" "),r("div",{staticClass:"info"},[r("span",{staticClass:"date"},[t._v("\n            "+t._s(t.$t("exhibitionPlan.date"))+": "+t._s(t._f("timeFormatter")(e.startTime,"{y}-{m}-{d}"))+"～"+t._s(t._f("timeFormatter")(e.endTime,"{y}-{m}-{d}"))+"\n          ")]),t._v(" "),r("span",{staticClass:"location",attrs:{title:t.$t("exhibitionPlan.location")+": "+("zh"===t.$i18n.locale?e.location:e.locationEn)}},[t._v(t._s(t.$t("exhibitionPlan.location")+": "+("zh"===t.$i18n.locale?e.location:e.locationEn)))])])]):r("div",{staticClass:"item",attrs:{title:("zh"===t.$i18n.locale?e.name:e.nameEn)+" "+t.$t("exhibitionPlan.location")+": "+("zh"===t.$i18n.locale?e.location:e.locationEn)},on:{click:function(n){return t.openURL(e.url)}}},[r("img",{staticClass:"icon",attrs:{src:n(444),alt:""}}),t._v(" "),r("span",{staticClass:"date"},[t._v("\n          "+t._s(t._f("timeFormatter")(e.startTime,"{y}-{m}-{d}"))+"～"+t._s(t._f("timeFormatter")(e.endTime,"{y}-{m}-{d}"))+"\n        ")]),t._v(" "),r("span",{staticClass:"title"},[t._v("\n          "+t._s("zh"===t.$i18n.locale?e.name:e.nameEn)+"\n        ")])])]}))],2),t._v(" "),r("div",{staticClass:"bar"},[r("nuxt-link",{attrs:{to:{path:("en"===t.$i18n.locale?"/en":"")+"/exhibitionPlan",query:{city:t.city}}}},[r("more")],1)],1)])}),[],!1,null,"4c1fd37e",null).exports,NewsInformation:n(422).a},data:function(){return{tabs:[{text:this.$t("informationTab.exhibitionPlan")},{text:this.$t("informationTab.newsInformation")}],active:0}}}),E=(n(447),Object(m.a)(w,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"information"},[n("div",{staticClass:"tabs"},[t._l(t.tabs,(function(e,r){return["en"!==t.$i18n.locale||1!==r?n("div",{class:"tab "+(r===t.active?"active":""),on:{click:function(e){t.active=r}}},[t._v("\n        "+t._s(e.text)+"\n      ")]):t._e()]}))],2),t._v(" "),n("div",{staticClass:"contents"},[0===t.active?n("div",{staticClass:"content"},[n("exhibition-plan")],1):t._e(),t._v(" "),1===t.active?n("div",{staticClass:"content"},[n("news-information")],1):t._e()])])}),[],!1,null,"61183376",null).exports),I={name:"Carousel",props:{bannerList:{type:Array,default:function(){return[]}}},data:function(){return{swiperOptions:{pagination:{el:".swiper-pagination",clickable:!0},loop:!0,speed:600,autoplay:{delay:5e3,disableOnInteraction:!1}}}},methods:{openUrl:function(t){t&&window.open(t,"_blank")}}},$=(n(448),{name:"MainPanel",components:{MainEntry:h,ServiceEntry:_,Information:E,Carousel:Object(m.a)(I,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"carousel"},[n("div",{directives:[{name:"swiper",rawName:"v-swiper:mySwiper",value:t.swiperOptions,expression:"swiperOptions",arg:"mySwiper"}],staticClass:"swiper"},[n("div",{staticClass:"swiper-wrapper"},t._l(t.bannerList,(function(e){return n("div",{staticClass:"swiper-slide"},[n("img",{staticClass:"swiper-img",style:e.url?"cursor:pointer":"",attrs:{src:e.filePath,alt:""},on:{click:function(n){return t.openUrl(e.url)}}})])})),0),t._v(" "),n("div",{staticClass:"swiper-pagination"})])])}),[],!1,null,"203ae076",null).exports},props:{bannerList:{type:Array,default:function(){return[]}}}}),y=(n(449),Object(m.a)($,(function(){var t=this.$createElement,e=this._self._c||t;return e("section",{staticClass:"main"},[e("main-entry",{staticClass:"main-entry"}),this._v(" "),e("div",{staticClass:"panel"},[e("service-entry"),this._v(" "),e("information"),this._v(" "),e("carousel",{attrs:{"banner-list":this.bannerList}})],1)],1)}),[],!1,null,"4fc889ff",null).exports),N={name:"Index",components:{Navigation:o.a,VFooter:c.a,Banner:v,MainPanel:y},asyncData:function(t){var e,n,o,c,l,m;return regeneratorRuntime.async((function(v){for(;;)switch(v.prev=v.next){case 0:return e=t.app,n=function(){var data,t,n;return regeneratorRuntime.async((function(r){for(;;)switch(r.prev=r.next){case 0:return data={order:[["sortNumber","ASC"]]},t=[],r.next=4,regeneratorRuntime.awrap(e.$axios.$post("/banner/ext/getList",data));case 4:return 2e4===(n=r.sent).result&&(t=n.data.rows),r.abrupt("return",t);case 7:case"end":return r.stop()}}))},o=function(){var t,data,n,r;return regeneratorRuntime.async((function(o){for(;;)switch(o.prev=o.next){case 0:if(!(t=e.store.state.app.tenderLastViewedTime)){o.next=7;break}return data={where:{createdAt:{$gt:new Date(Number(t))}}},o.next=5,regeneratorRuntime.awrap(e.$axios.$post("/tender/ext/getList",data));case 5:2e4===(n=o.sent).result&&(r=n.data.count,e.store.commit("app/setNewTenderCount",r));case 7:case"end":return o.stop()}}))},v.next=5,regeneratorRuntime.awrap(Promise.all([n(),o()]));case 5:return c=v.sent,l=Object(r.a)(c,1),m=l[0],v.abrupt("return",{bannerList:m});case 9:case"end":return v.stop()}}))}},k=Object(m.a)(N,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("navigation"),this._v(" "),e("banner"),this._v(" "),e("main-panel",{attrs:{"banner-list":this.bannerList}}),this._v(" "),e("v-footer",{attrs:{type:"light"}})],1)}),[],!1,null,"7885a7ea",null);e.default=k.exports}}]);