Browse Source

上传

master
前端-胡立永 4 months ago
parent
commit
e67730a39d
4 changed files with 47 additions and 35 deletions
  1. +17
    -5
      components/tourGuide/locations.vue
  2. +25
    -25
      pages/index/index.vue
  3. +2
    -2
      pages_order/service/carefree.vue
  4. +3
    -3
      pages_order/service/situation.vue

+ 17
- 5
components/tourGuide/locations.vue View File

@ -38,7 +38,9 @@
<!-- '文化遗产', '找厕所', '找美食', '找民宿' -->
<!-- v-if="spotGuideIndex != 1" -->
<view class="Locations-list">
<view class="main" v-if="spotGuideIndex == 0 && area">
<view class="main"
@click="selectArea"
v-if="spotGuideIndex == 0 && area">
<image
class="main-image"
:src="area.areaImage"
@ -55,7 +57,7 @@
<image src="/static/image/tourGuide/a.png"
mode=""></image>
<text class=""
@click="textToSpeech(area.areaBrief)">
@click.stop="textToSpeech(area.areaBrief)">
语音讲解
</text>
</view> -->
@ -66,7 +68,7 @@
<image src="/static/image/tourGuide/f.png" mode=""></image>
</view> -->
<view class="btn"
@click="show = !show">
@click.stop="show = !show">
<text class="">
{{ show ? '收起' : '展开' }}
</text>
@ -207,7 +209,11 @@
//
markertap(e) {
console.log("markertap===你点击了标记点===", e)
// let spot = this.spotGuideMarkers[e.markerId]
let spot = this.spotGuideMarkers[e.markerId]
this.toUrl(spot)
// uni.openLocation({
// latitude: spot.latitude,
// longitude: spot.longitude,
@ -280,7 +286,13 @@
})
// this.onRegionChange('',true)
},
//
selectArea(){
let item = this.spotGuide[0]
if(item && item.spotLatitude && item.spotLongitude){
this.moveTolocation(item.spotLatitude, item.spotLongitude)
}
},
}
}
</script>


+ 25
- 25
pages/index/index.vue View File

@ -70,31 +70,31 @@
title : '遗产概况',
path : '/pages_order/service/situation',
},
{
icon : '/static/image/home/g3.png',
title : '遗产讲述',
path : '/pages_order/service/tellList?type=tell',
},
{
icon : '/static/image/home/g4.png',
title : '达人同游',
path : '/pages_order/service/tellList?type=travel',
},
{
icon : '/static/image/home/g5.png',
title : '遗产路径',
path : '/pages_order/service/heritagePath',
},
{
icon : '/static/image/home/g6.png',
title : '我要跟拍',
path : '/pages_order/service/following' ,
},
{
icon : '/static/image/home/g7.png',
title : '非遗体验',
path : '/pages_order/service/experience',
},
// {
// icon : '/static/image/home/g3.png',
// title : '',
// path : '/pages_order/service/tellList?type=tell',
// },
// {
// icon : '/static/image/home/g4.png',
// title : '',
// path : '/pages_order/service/tellList?type=travel',
// },
// {
// icon : '/static/image/home/g5.png',
// title : '',
// path : '/pages_order/service/heritagePath',
// },
// {
// icon : '/static/image/home/g6.png',
// title : '',
// path : '/pages_order/service/following' ,
// },
// {
// icon : '/static/image/home/g7.png',
// title : '',
// path : '/pages_order/service/experience',
// },
{
icon : '/static/image/home/g8.png',
title : '无忧服务',


+ 2
- 2
pages_order/service/carefree.vue View File

@ -34,13 +34,13 @@
无忧租车
</view>
</view>
<view class="button4"
<!-- <view class="button4"
@click="$utils.navigateTo('/pages_order/service/StudyFurther')">
<image src="../static/service/carefree/4.png" mode=""></image>
<view class="">
我要研学
</view>
</view>
</view> -->
</view>
</view>


+ 3
- 3
pages_order/service/situation.vue View File

@ -189,7 +189,7 @@
height: 360rpx;
position: relative;
border-radius: 30rpx;
overflow: hidden;
// overflow: hidden;
.text{
.title{
font-size: 80rpx;
@ -206,7 +206,7 @@
height: 300rpx;
position: relative;
border-radius: 30rpx;
overflow: hidden;
// overflow: hidden;
.text{
.title{
font-size: 60rpx;
@ -228,7 +228,7 @@
height: 260rpx;
position: relative;
border-radius: 20rpx;
overflow: hidden;
// overflow: hidden;
.text{
.title{
font-size: 34rpx;


Loading…
Cancel
Save