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


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

@ -70,31 +70,31 @@
title : '遗产概况', title : '遗产概况',
path : '/pages_order/service/situation', 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', icon : '/static/image/home/g8.png',
title : '无忧服务', title : '无忧服务',


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

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


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

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


Loading…
Cancel
Save