|
|
@ -25,25 +25,26 @@ |
|
|
|
|
|
|
|
|
|
|
|
<!-- '文化遗产', '找厕所', '找美食', '找民宿' --> |
|
|
|
<view class="Locations-list" v-if="spotGuideIndex != 1"> |
|
|
|
<view class="main" v-if="spotGuideIndex == 0"> |
|
|
|
<!-- v-if="spotGuideIndex != 1" --> |
|
|
|
<view class="Locations-list"> |
|
|
|
<view class="main" v-if="spotGuideIndex == 0 && area"> |
|
|
|
<image |
|
|
|
class="main-image" |
|
|
|
src="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/BB1msKSi.img" |
|
|
|
:src="area.areaImage" |
|
|
|
mode="aspectFill"></image> |
|
|
|
|
|
|
|
<view class="info"> |
|
|
|
<view class="title"> |
|
|
|
陶阳里景区 |
|
|
|
{{ area.areaName }} |
|
|
|
</view> |
|
|
|
<view class="tips"> |
|
|
|
6个遗产点 |
|
|
|
{{ spotGuide.length }}个遗产点 |
|
|
|
</view> |
|
|
|
<view class="btn"> |
|
|
|
<image src="/static/image/tourGuide/a.png" |
|
|
|
mode=""></image> |
|
|
|
<text class="" |
|
|
|
@click="textToSpeech"> |
|
|
|
@click="textToSpeech(area.areaBrief)"> |
|
|
|
语音讲解 |
|
|
|
</text> |
|
|
|
</view> |
|
|
@ -118,7 +119,7 @@ |
|
|
|
// } |
|
|
|
import { mapState, mapGetters } from 'vuex' |
|
|
|
export default { |
|
|
|
props : ['spotGuide', 'spotGuideMarkers'], |
|
|
|
props : ['spotGuide', 'spotGuideMarkers', 'area'], |
|
|
|
data() { |
|
|
|
return { |
|
|
|
latitude: 23.106574, //纬度 |
|
|
@ -126,7 +127,10 @@ |
|
|
|
scale: 12, //缩放级别 |
|
|
|
show : true, |
|
|
|
context : uni.createInnerAudioContext(), |
|
|
|
tabs : ['文化遗产', '路径定制', '找厕所', '找美食', '找民宿'], |
|
|
|
tabs : ['文化遗产', |
|
|
|
// '路径定制', |
|
|
|
'找厕所' |
|
|
|
, '找美食', '找民宿'], |
|
|
|
} |
|
|
|
}, |
|
|
|
computed : { |
|
|
|