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.
1 lines
6.8 KiB
1 lines
6.8 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-guide-index"],{"07f9":function(t,e,a){var i=a("b2c2");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("35821e3f",i,!0,{sourceMap:!1,shadowMode:!1})},"177b":function(t,e,a){var i=a("67da");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("75748a01",i,!0,{sourceMap:!1,shadowMode:!1})},"1e82":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"main"},[this.guidePages?e("guide",{attrs:{advData:this.advData,time:this.advData.time}}):this._e()],1)},n=[]},3686:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"content"},["pic"==t.advData.type&&t.advData.value.length?a("v-uni-swiper",{staticClass:"swiper",attrs:{autoplay:t.autoplay,"indicator-dots":"true","indicator-color":"rgba(255,255,255,0.6)",duration:t.duration}},t._l(t.advData.value,(function(e,i){return a("v-uni-swiper-item",{key:i,on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.jump(e.link)}}},[a("v-uni-view",{staticClass:"swiper-item"},[a("v-uni-view",{staticClass:"swiper-item-img"},[a("v-uni-image",{attrs:{src:e.img,mode:"scaleToFill"}})],1)],1)],1)})),1):"video"==t.advData.type&&t.advData.video_link?a("v-uni-view",{staticClass:"video-box"},[a("v-uni-video",{staticClass:"vid",attrs:{src:t.advData.video_link,autoplay:!0,loop:!0,muted:!0,controls:!1}})],1):t._e(),a("v-uni-view",{staticClass:"jump-over",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.launchFlag()}}},[t._v(t._s(t.$t("跳过"))),1==t.closeType?a("v-uni-text",[t._v(t._s(t.times))]):t._e()],1)],1)},n=[]},"3e23":function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("dfb9f")),u=(i(a("ebdf")),a("d322")),d={components:{guide:n.default},data:function(){return{guidePages:!1,advData:[]}},onShow:function(){this.loadExecution()},methods:{loadExecution:function(){var t=this,e=uni.getStorageSync("guideDate")||"",a=(new Date).toLocaleDateString();e!==a?(0,u.getOpenAdv)().then((function(e){0==e.data.status||0==e.data.value.length?uni.switchTab({url:"/pages/index/index"}):e.data.status&&(e.data.value.length||e.data.video_link)&&(t.advData=e.data,uni.setStorageSync("guideDate",(new Date).toLocaleDateString()),t.guidePages=!0)})).catch((function(t){uni.switchTab({url:"/pages/index/index"})})):uni.switchTab({url:"/pages/index/index"})}},onHide:function(){this.guidePages=!1}};e.default=d},"67da":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-page-body[data-v-435b13ad],\n.content[data-v-435b13ad]{width:100%;height:100%;background-size:100% auto;padding:0}body.?%PAGE?%[data-v-435b13ad]{background-size:100% auto}.swiper[data-v-435b13ad]{width:100%;height:100vh;background:#fff}.swiper-item[data-v-435b13ad]{width:100%;height:100%;text-align:center;position:relative;display:flex;\n /* justify-content: center; */align-items:flex-end;flex-direction:column-reverse}.swiper-item-img[data-v-435b13ad]{width:100%;height:100vh;margin:0 auto}.swiper-item-img uni-image[data-v-435b13ad]{width:100%;height:100%}.jump-over[data-v-435b13ad]{position:absolute;height:%?45?%;line-height:%?45?%;padding:0 %?15?%;border-radius:%?30?%;font-size:%?24?%;color:#b09e9a;border:1px solid #b09e9a;z-index:999}.jump-over[data-v-435b13ad]{right:%?30?%;top:%?80?%}.video-box[data-v-435b13ad]{width:100vw;height:100vh}.video-box .vid[data-v-435b13ad]{width:100%;height:100%}',""]),t.exports=e},8934:function(t,e,a){"use strict";var i=a("07f9"),n=a.n(i);n.a},9888:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("a9e3");var i={data:function(){return{autoplay:!0,duration:500,jumpover:this.$t("跳过"),experience:this.$t("立即体验"),timecount:void 0,times:0}},props:{advData:{type:Object,default:function(){}},closeType:{type:Number,default:1}},mounted:function(){this.timer()},onHide:function(){clearInterval(this.timecount)},methods:{timer:function(){var t=this;this.times=this.advData.time;var e=this.advData.time||5;this.timecount=setInterval((function(){e--,t.times=e,e<=0&&(clearInterval(t.timecount),t.launchFlag())}),1e3)},launchFlag:function(){clearInterval(this.timecount),uni.switchTab({url:"/pages/index/index"})},jump:function(t){t&&(clearInterval(this.timecount),this.$util.JumpPath(t))}}};e.default=i},"9ab3":function(t,e,a){"use strict";var i=a("177b"),n=a.n(i);n.a},b2c2:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,"uni-page-body[data-v-5e8c8614],\n.main[data-v-5e8c8614]{width:100%;height:100%}",""]),t.exports=e},d50a:function(t,e,a){"use strict";a.r(e);var i=a("9888"),n=a.n(i);for(var u in i)["default"].indexOf(u)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(u);e["default"]=n.a},dfb9f:function(t,e,a){"use strict";a.r(e);var i=a("3686"),n=a("d50a");for(var u in n)["default"].indexOf(u)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(u);a("9ab3");var d=a("f0c5"),o=Object(d["a"])(n["default"],i["b"],i["c"],!1,null,"435b13ad",null,!1,i["a"],void 0);e["default"]=o.exports},e09f:function(t,e,a){"use strict";a.r(e);var i=a("3e23"),n=a.n(i);for(var u in i)["default"].indexOf(u)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(u);e["default"]=n.a},fc85:function(t,e,a){"use strict";a.r(e);var i=a("1e82"),n=a("e09f");for(var u in n)["default"].indexOf(u)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(u);a("8934");var d=a("f0c5"),o=Object(d["a"])(n["default"],i["b"],i["c"],!1,null,"5e8c8614",null,!1,i["a"],void 0);e["default"]=o.exports}}]); |