UNPKG

vaneditor

Version:

``` 移动端ui框架统一用uView,css扩展语言用scss,全局数据管理vuex,统一样式主体风格颜色定义/src/uni.scss ```

1 lines 20.8 kB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-scenicTutorials-detail"],{"10a2":function(t,i,e){"use strict";e.r(i);var n=e("d7399"),a=e("a0e2");for(var o in a)"default"!==o&&function(t){e.d(i,t,(function(){return a[t]}))}(o);e("d9a5"),e("5b5f");var s=e("2877"),d=Object(s["a"])(a["default"],n["a"],n["b"],!1,null,"7169d7b2",null);i["default"]=d.exports},"1ae2":function(t,i,e){var n=e("3e6b");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=e("4f06").default;a("4553cbfb",n,!0,{sourceMap:!1,shadowMode:!1})},"1f29":function(t,i,e){"use strict";e.r(i);var n=e("c534"),a=e("d837");for(var o in a)"default"!==o&&function(t){e.d(i,t,(function(){return a[t]}))}(o);e("8765");var s=e("2877"),d=Object(s["a"])(a["default"],n["a"],n["b"],!1,null,"ddb1b766",null);i["default"]=d.exports},"3e6b":function(t,i,e){i=t.exports=e("2350")(!1),i.push([t.i,".detail-main .video.body[data-v-7169d7b2] iframe,.detail-main .video.body embed[data-v-7169d7b2]{width:100%;height:100%}",""])},5235:function(t,i,e){"use strict";var n=e("4ea4");Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("28a5"),e("96cf");var a=n(e("3b8d")),o=n(e("f0ab")),s=n(e("d3ed")),d=n(e("1f29")),r=n(e("dd9f")),c={components:{myContent:r.default,spotList:d.default,uniIcons:o.default},data:function(){return{indicatorDots:!1,circular:!0,autoplay:!0,interval:3e3,duration:500,imgList:[],current:1,currentLength:1,id:"",titList:[{title:"景点推荐",code:"0"},{title:"视频短片",code:"1"}],activeLine:"0",state:"0",isPlayAudio:!1,innerAudioContext:"",showStrategy:!0,showSecond:!0,scenicspotInfo:{name:"",coverImagesUrl:"",scenicspotAudioUrl:"",videoUrl:"",virtualTourUrl:"",rank:0,description:"",introduction:"",address:"",openingTime:"",photoImagesUrls:""},tagList:[],viewspotInfo:[],videoContext:""}},onLoad:function(t){this.id=t.id,this.queryData(),this.innerAudioContext=uni.createInnerAudioContext()},onReady:function(t){this.videoContext=uni.createVideoContext("myVideo")},computed:{rank:function(){return 1===this.scenicspotInfo.rank?"其他":this.scenicspotInfo.rank+"A"},videoIcon:function(){return this.isPlayAudio?e("c8a3"):e("d6f4")},address:function(){return(0,s.default)(this.scenicspotInfo.address,15)}},methods:{changeImg:function(t){this.current=t.detail.current+1},active:function(t){this.state=t.code,this.activeLine=t.code},playAudio:function(){this.innerAudioContext.onPause((function(){console.log("暂停")})),this.innerAudioContext.onPlay((function(){console.log("开始播放")})),this.innerAudioContext.onError((function(t){console.log(t.errMsg),console.log(t.errCode)})),this.innerAudioContext.paused?this.innerAudioContext.play():this.innerAudioContext.pause(),this.isPlayAudio=!this.isPlayAudio},videoErrorCallback:function(t){uni.showModal({content:t.target.errMsg,showCancel:!1})},onSuccess:function(t){this.showStrategy=t},showPosition:function(){this.scenicspotInfo.latitude&&this.scenicspotInfo.longitude&&this.$jweixin.openLocation({latitude:parseFloat(this.scenicspotInfo.latitude),longitude:parseFloat(this.scenicspotInfo.longitude),name:this.scenicspotInfo.name,address:this.scenicspotInfo.address,scale:16,infoUrl:""})},queryData:function(){var t=(0,a.default)(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return uni.showLoading({title:"加载中",mask:!0}),t.next=3,this.$ajax({url:"/weChat/cms/scenicspot/queryById",method:"post",data:{id:this.id}});case 3:i=t.sent,this.scenicspotInfo=i.data,this.viewspotInfo=i.data.data,this.viewspotInfo.push.apply(this.viewspotInfo,i.data.data),this.scenicspotInfo.videoUrl=decodeURIComponent(this.scenicspotInfo.videoUrl),this.imgList=this.scenicspotInfo.photoImagesUrls.split(","),this.tagList=this.scenicspotInfo.secnicspotTagName?this.scenicspotInfo.secnicspotTagName.split(","):[],this.currentLength=this.imgList.length||0,this.innerAudioContext.src=this.$getImg(this.scenicspotInfo.scenicspotAudioUrl),uni.hideLoading();case 13:case"end":return t.stop()}}),t,this)})));function i(){return t.apply(this,arguments)}return i}()}};i.default=c},"599e":function(t,i){t.exports="data:image/png;base64,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"},"5b5f":function(t,i,e){"use strict";var n=e("64bd"),a=e.n(n);a.a},"64bd":function(t,i,e){var n=e("c3c3");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=e("4f06").default;a("b0a23a4c",n,!0,{sourceMap:!1,shadowMode:!1})},6827:function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n={data:function(){return{scrollTop:0,old:{scrollTop:0}}},props:{viewspotInfo:{type:Array,default:function(){return[]}}},watch:{},mounted:function(){},methods:{scroll:function(t){console.log(t),this.old.scrollTop=t.detail.scrollTop},handleClick:function(t){uni.navigateTo({url:"/pages/scenicTutorials/components/spotDetail?id="+t.id})}}};i.default=n},"7c51":function(t,i,e){var n=e("b041");i=t.exports=e("2350")(!1),i.push([t.i,'.swiper-container[data-v-ddb1b766]{\n /* .swiper-wrapper {\n height: 432rpx;\n white-space: nowrap;\n .swiper-slide {\n display: inline-block;\n height: 432rpx;\n margin-right: 15rpx;\n .swiper-box {\n position: relative;\n width: 245rpx;\n height: 432rpx;\n }\n .simg {\n width: 245rpx;\n height: 360rpx;\n }\n .name {\n position: absolute;\n height: 70rpx;\n left: 0px;\n right: 0px;\n bottom: 0px;\n font-size: 30rpx;\n font-weight: bold;\n color: #484848;\n line-height: 70rpx;\n // padding-left: 20rpx;\n width: 240rpx;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n .voice {\n position: absolute;\n width: 36rpx;\n height: 36rpx;\n background: url("~@/static/scenicTutorials/spotVoice.png") center\n no-repeat;\n background-size: contain;\n display: inline-block;\n right: 14rpx;\n bottom: 14rpx;\n }\n }\n } */}.swiper-container .swiper-container[data-v-ddb1b766]{margin:0 auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-container .swiper[data-v-ddb1b766]{height:%?270?%}.swiper-container .swiper[data-v-ddb1b766] uni-swiper-item{width:%?300?%!important}.swiper-container .swiper[data-v-ddb1b766] uni-swiper-item .swiper-box{position:relative;width:%?280?%;height:%?270?%;margin-right:%?20?%}.swiper-container .swiper[data-v-ddb1b766] uni-swiper-item .swiper-box .img{width:%?280?%;height:%?198?%;border-radius:%?6?%;background-size:auto %?198?%;background-repeat:no-repeat;background-position:50%}.swiper-container .swiper[data-v-ddb1b766] uni-swiper-item .swiper-box .name{position:absolute;width:%?280?%;height:%?70?%;left:0;right:0;bottom:0;font-size:%?30?%;font-weight:700;color:#484848;background:#fff;line-height:%?70?%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.swiper-container .swiper[data-v-ddb1b766] uni-swiper-item .swiper-box .voice{position:absolute;width:%?36?%;height:%?36?%;background:url('+n(e("599e"))+") 50% no-repeat;background-size:contain;display:inline-block;right:%?14?%;bottom:%?14?%}",""])},8765:function(t,i,e){"use strict";var n=e("d383"),a=e.n(n);a.a},a0e2:function(t,i,e){"use strict";e.r(i);var n=e("5235"),a=e.n(n);for(var o in n)"default"!==o&&function(t){e.d(i,t,(function(){return n[t]}))}(o);i["default"]=a.a},b041:function(t,i){t.exports=function(t){return"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),/["'() \t\n]/.test(t)?'"'+t.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':t)}},c3c3:function(t,i,e){i=t.exports=e("2350")(!1),i.push([t.i,'.boder-top[data-v-7169d7b2]{border-top:%?1?% solid #eaeaea}.detail-main[data-v-7169d7b2]{width:%?750?%}.detail-main .head[data-v-7169d7b2]{border-bottom:%?20?% solid #f5f5f5}.detail-main .head .top[data-v-7169d7b2]{position:relative}.detail-main .head .top .swiper[data-v-7169d7b2]{width:100%;height:%?450?%}.detail-main .head .top .swiper uni-image[data-v-7169d7b2]{width:100%}.detail-main .head .top .current[data-v-7169d7b2]{position:absolute;right:%?0?%;top:%?305?%;color:#fff;z-index:999;background:rgba(0,0,0,.6);text-align:center;opacity:.9;font-size:%?28?%;border-radius:%?38?% 0 0 %?38?%;padding:%?13?% %?20?%;width:%?160?%;box-sizing:border-box}.detail-main .head .top .current uni-image[data-v-7169d7b2]{margin-right:%?8?%;width:%?30?%;height:%?24?%}.detail-main .head .top .virtualTour[data-v-7169d7b2]{display:inline-block;position:absolute;top:%?26?%;right:%?34?%;background:rgba(0,0,0,.5);border-radius:%?4?%;font-size:%?26?%;line-height:%?45?%;color:#fff;padding:%?6?% %?20?%;opacity:.9;text-decoration:none}.detail-main .head .top .slope[data-v-7169d7b2]{position:absolute;bottom:%?30?%}.detail-main .head .top .slope img[data-v-7169d7b2]{width:100%;height:%?76?%}.detail-main .head .top .slope .btn[data-v-7169d7b2]{position:absolute;left:%?20?%;bottom:%?60?%;display:inline-block;width:%?160?%;height:%?54?%;background-size:contain}.detail-main .head .body[data-v-7169d7b2]{background-color:#fff;position:relative;top:0;margin-top:%?-60?%;border-radius:%?30?% %?30?% %?0?% %?0?%;padding:%?38?% 0 %?10?%}.detail-main .head .body .item[data-v-7169d7b2]{margin:0 %?28?%;border-bottom:%?1?% solid #eaeaea}.detail-main .head .body .item[data-v-7169d7b2]:first-child{padding-top:0}.detail-main .head .body .item[data-v-7169d7b2]:last-child{border-bottom-width:0}.detail-main .head .body .item .title h3[data-v-7169d7b2]{font-size:%?38?%;line-height:1.5;color:#333;display:inline-block;font-weight:600;width:100%}.detail-main .head .body .item .rankOuter[data-v-7169d7b2]{display:inline-block;height:%?50?%;padding:%?5?% 0 0}.detail-main .head .body .item .rank[data-v-7169d7b2]{box-sizing:border-box;display:inline-block;vertical-align:top;font-size:%?24?%;color:#fff;height:%?30?%;line-height:%?28?%;background:linear-gradient(90deg,#ff6414,#ff8a00);border-radius:%?4?%;text-align:center;padding:%?1?% %?9?%;margin-right:%?4?%}.detail-main .head .body .item .tags[data-v-7169d7b2]{box-sizing:border-box;overflow:hidden;width:%?580?%;height:%?30?%;display:inline-block;vertical-align:top}.detail-main .head .body .item .tag[data-v-7169d7b2]{box-sizing:border-box;display:inline-block;vertical-align:top;font-size:%?24?%;color:#999;height:%?30?%;line-height:%?24?%;border:%?1?% solid #999;border-radius:%?4?%;text-align:center;padding:%?1?% %?10?%;margin:0 %?8?%}.detail-main .head .body .item p[data-v-7169d7b2]{font-size:%?28?%;color:#666;line-height:%?90?%}.detail-main .head .body .item p .address[data-v-7169d7b2],.detail-main .head .body .item p .time[data-v-7169d7b2]{display:inline-block;margin-right:%?14?%;font-size:%?30?%;font-weight:700;color:#333}.detail-main .head .body .item p .right[data-v-7169d7b2]{float:right;color:#7e7d7d;line-height:%?90?%;font-size:%?28?%;margin:0 %?10?%}.detail-main .head .body .item .desc[data-v-7169d7b2]{width:%?640?%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:%?45?%;padding-bottom:%?25?%}.detail-main .head .body .item a.telphone[data-v-7169d7b2]{position:relative;float:right;margin-right:%?46?%;top:%?-40?%}.detail-main .head .body .item a.telphone .icon-tel[data-v-7169d7b2]{width:%?30?%;position:relative;top:%?-8?%}.detail-main .head .body .item a.telphone[data-v-7169d7b2]:before{content:"|";position:absolute;top:0;left:%?-44?%;width:%?1?%;height:%?29?%;color:#e2e2e2;display:inline-block}.detail-main .content[data-v-7169d7b2]{overflow:hidden;background-color:#fff}.detail-main .content[data-v-7169d7b2]:not(:last-child){border-bottom:%?20?% solid #f5f5f5}.detail-main .content>.title[data-v-7169d7b2]{padding:%?30?% %?30?%;position:relative}.detail-main .content>.title h1[data-v-7169d7b2]{font-size:%?34?%;color:#333;font-weight:700;padding-left:%?50?%}.detail-main .content>.title .icon[data-v-7169d7b2]{display:inline-block;width:%?30?%;height:%?32?%;position:absolute;left:%?30?%;top:%?32?%}.detail-main .content>.title .icon.icon2[data-v-7169d7b2]{width:%?39?%;height:%?25?%;top:%?35.5?%}.detail-main .content>.title .icon.icon1[data-v-7169d7b2]{width:%?32?%;height:%?26?%;top:%?35?%}.detail-main .content .body[data-v-7169d7b2]{padding:0 %?30?% %?30?%}.detail-main .content .body.video[data-v-7169d7b2]{padding:0 %?30?% %?20?% %?50?%}.detail-main .content .body.video .name[data-v-7169d7b2]{padding-top:%?10?%;color:#484848;font-size:%?30?%;font-weight:700;line-height:%?42?%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.detail-main .content .body.video .videoShow[data-v-7169d7b2]{width:%?660?%;height:%?338?%;border-radius:%?4?%;overflow:hidden}.detail-main .content .tabs[data-v-7169d7b2]{background:#fff;position:relative;width:%?750?%;margin:0 auto %?15?%}.detail-main .content .tabs .tab[data-v-7169d7b2]{font-size:%?30?%;display:inline-block;width:25%;line-height:%?86?%;color:#666;transition:all .3s;padding-left:%?30?%}.detail-main .content .tabs .active[data-v-7169d7b2]{position:relative;color:#333;font-size:%?34?%;font-weight:700}.detail-main .content .tabs .disbale[data-v-7169d7b2]{pointer-events:none}.detail-main .content .tabs .line[data-v-7169d7b2]{height:%?7?%;width:%?40?%;box-sizing:border-box;background-color:#ff740b;position:absolute;left:%?0?%;bottom:%?0?%;z-index:1;transition:all .3s}.detail-main .content .tabs .line[data-type="0"][data-v-7169d7b2]{left:4%}.detail-main .content .tabs .line[data-type="1"][data-v-7169d7b2]{left:33%}.detail-main .content .tabs .line[data-type="2"][data-v-7169d7b2]{left:74.5%}.arrow[data-v-7169d7b2]{width:%?13?%;height:%?23?%;vertical-align:middle;margin-left:%?5?%}',""])},c534:function(t,i,e){"use strict";var n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"swiper-container"},[e("v-uni-view",[e("v-uni-swiper",{staticClass:"swiper",attrs:{"indicator-dots":!1,circular:!0}},t._l(t.viewspotInfo,(function(i,n){return e("v-uni-swiper-item",{key:n,staticClass:"swiper-item",on:{click:function(e){e=t.$handleEvent(e),t.handleClick(i)}}},[e("div",{staticClass:"swiper-box"},[e("v-uni-image",{staticClass:"img",attrs:{src:t.$getImg(i.coverImagesUrl),mode:"aspectFill"}}),e("div",{directives:[{name:"lazy",rawName:"v-lazy:background-image",value:t.$getImg(i.coverPlanUrl),expression:"$getImg(item.coverPlanUrl)",arg:"background-image"}],staticClass:"img"}),e("span",{staticClass:"name"},[t._v(t._s(i.name))])],1)])})),1)],1)],1)},a=[];e.d(i,"a",(function(){return n})),e.d(i,"b",(function(){return a}))},d383:function(t,i,e){var n=e("7c51");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=e("4f06").default;a("432ddb21",n,!0,{sourceMap:!1,shadowMode:!1})},d3ed:function(t,i,e){"use strict";function n(t,i){var e=/[^\\x00-\xff]/g;if(t.replace(e,"mm").length<=i)return t;for(var n=Math.floor(i/2),a=n;a<t.length;a++)if(t.substr(0,a).replace(e,"mm").length>=i)return t.substr(0,a)+"...";return t}Object.defineProperty(i,"__esModule",{value:!0}),i.default=n,e("a481")},d7399:function(t,i,e){"use strict";var n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"detail-main"},[e("div",{staticClass:"head"},[e("div",{staticClass:"top"},[e("div",{staticClass:"img"},[e("v-uni-swiper",{staticClass:"swiper swipe-style",attrs:{"indicator-dots":t.indicatorDots,circular:t.circular,autoplay:t.autoplay,interval:t.interval,duration:t.duration},on:{change:function(i){i=t.$handleEvent(i),t.changeImg(i)}}},t._l(t.imgList,(function(i,n){return e("v-uni-swiper-item",{key:n},[e("v-uni-view",{staticClass:"swiper-item"},[e("v-uni-image",{attrs:{src:t.$getImg(i),mode:"widthFix"}})],1)],1)})),1)],1),e("div",{staticClass:"current"},[e("v-uni-image",{attrs:{src:"/static/scenicTutorials/camera.png",mode:"widthFix"}}),t._v(t._s(t.current)+"/"+t._s(t.currentLength))],1),t.scenicspotInfo.virtualTourUrl?e("a",{staticClass:"virtualTour",attrs:{href:t.scenicspotInfo.virtualTourUrl}},[t._v("虚拟游")]):t._e(),e("div",{staticClass:"slope"},[t.scenicspotInfo.scenicspotAudioUrl?e("v-uni-image",{staticClass:"btn",attrs:{src:t.videoIcon,mode:"aspectFill"},on:{click:function(i){i=t.$handleEvent(i),t.playAudio(i)}}}):t._e()],1)]),e("div",{staticClass:"body"},[e("div",{staticClass:"item"},[e("div",{staticClass:"title"},[e("h3",[t._v(t._s(t.scenicspotInfo.name))])]),e("div",{staticClass:"rankOuter"},[e("span",{staticClass:"rank"},[t._v(t._s(t.rank))]),t.tagList.length>0?e("span",{staticClass:"tags"},t._l(t.tagList,(function(i,n){return e("span",{key:n,staticClass:"tag"},[t._v(t._s(i))])})),0):t._e()]),e("p",{staticClass:"desc"},[t._v(t._s(t.scenicspotInfo.description))])]),t.scenicspotInfo.openingTime?e("div",{staticClass:"item"},[e("p",[e("span",{staticClass:"time"},[t._v("开放时间")]),t._v(t._s(t.scenicspotInfo.openingTime))])]):t._e(),e("div",{staticClass:"item",on:{click:function(i){i=t.$handleEvent(i),t.showPosition(i)}}},[e("p",[e("span",{staticClass:"address"},[t._v("地理位置")]),t._v(t._s(t.address)),e("span",{staticClass:"right"},[t._v("导航"),e("uni-icons",{attrs:{type:"forward",size:"16"}})],1)])])])]),t.viewspotInfo.length>0&&t.viewspotInfo[0].id?e("div",{staticClass:"content"},[e("div",{staticClass:"title"},[e("v-uni-image",{staticClass:"icon icon1",attrs:{src:"/static/scenicTutorials/icon1.png",mode:"aspectFill"}}),e("h1",[t._v("景点推荐")])],1),e("div",{staticClass:"spot-list body"},[e("spot-list",{attrs:{viewspotInfo:t.viewspotInfo}})],1)]):t._e(),t.scenicspotInfo.videoUrl?e("div",{staticClass:"content"},[e("div",{staticClass:"title"},[e("v-uni-image",{staticClass:"icon icon2",attrs:{src:"/static/scenicTutorials/icon2.png",mode:"aspectFill"}}),e("h1",[t._v("视频短片")])],1),t.scenicspotInfo.videoUrl?e("div",{staticClass:"body video"},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.scenicspotInfo.videoUrl,expression:"scenicspotInfo.videoUrl"}],staticClass:"videoShow",domProps:{innerHTML:t._s(t.scenicspotInfo.videoUrl)}}),e("div",{staticClass:"name"},[t._v(t._s(t.scenicspotInfo.videoName))])]):t._e()]):t._e(),t.scenicspotInfo.introduction?e("div",{staticClass:"content"},[e("div",{staticClass:"title"},[e("v-uni-image",{staticClass:"icon icon3",attrs:{src:"/static/public/introIcon.png",mode:"aspectFill"}}),e("h1",[t._v("景区简介")])],1),e("v-uni-view",{staticClass:"body"},[e("my-content",{staticClass:"boder-top",attrs:{introduce:t.scenicspotInfo.introduction}})],1)],1):t._e()])},a=[];e.d(i,"a",(function(){return n})),e.d(i,"b",(function(){return a}))},d837:function(t,i,e){"use strict";e.r(i);var n=e("6827"),a=e.n(n);for(var o in n)"default"!==o&&function(t){e.d(i,t,(function(){return n[t]}))}(o);i["default"]=a.a},d9a5:function(t,i,e){"use strict";var n=e("1ae2"),a=e.n(n);a.a}}]);