|
|
@@ -3,7 +3,7 @@
|
|
|
<!-- 轮播图区域 -->
|
|
|
<swiper class="banner" indicator-dots indicator-color="rgba(255, 255, 255, 0.5)" indicator-active-color="#1E7DFB" autoplay circular>
|
|
|
<swiper-item v-for="item in lunbo" :key="item.id">
|
|
|
- <img :src="item" />
|
|
|
+ <img mode="aspectFill" :src="item" />
|
|
|
</swiper-item>
|
|
|
</swiper>
|
|
|
|
|
|
@@ -13,7 +13,7 @@
|
|
|
|
|
|
<view class="search_box">
|
|
|
<!-- 每一个图标区域 -->
|
|
|
- <view class="box_item" v-for="item in iconsList" :key="item.id">
|
|
|
+ <view class="box_item" v-for="item in iconsList" :key="item.id" @click="handleTip">
|
|
|
<img :src="item.imgUrl"></img>
|
|
|
<view class="item_text">
|
|
|
{{item.text}}
|
|
|
@@ -32,11 +32,11 @@
|
|
|
|
|
|
<view class="trave_box">
|
|
|
<!-- 每一个图标区域 -->
|
|
|
- <view class="box_item" v-for="item in traveList" :key="item.id">
|
|
|
+ <view class="box_item" v-for="item in traveList" :key="item.id" @click="handleTip">
|
|
|
<view style="height: 218rpx;">
|
|
|
<img :src="item.imgUrl"></img>
|
|
|
<view class="trave_dian">
|
|
|
- <img src="../../static/search/trave_map.png"></img>
|
|
|
+ <img mode="aspectFill" src="../../static/search/trave_map.png"></img>
|
|
|
<view class="trave_length">{{item.juli}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -59,14 +59,14 @@
|
|
|
|
|
|
<view class="techan_box">
|
|
|
<view class="techan_list" v-for="item in techanList" :key="item.id">
|
|
|
- <img :src="item.imgUrl" class="techan_img"></img>
|
|
|
+ <img :src="item.imgUrl" class="techan_img" mode="aspectFill"></img>
|
|
|
<view>
|
|
|
<text class="techan_name">{{item.name}}</text>
|
|
|
<text class="techan_type">{{item.type}}</text>
|
|
|
<text class="techan_liang">{{item.liang}}</text>
|
|
|
<text class="techan_price">{{item.price}}</text>
|
|
|
</view>
|
|
|
- <img src="../../static/search/gouwuche.png" class="techan_jiagou"></img>
|
|
|
+ <img src="../../static/search/gouwuche.png" class="techan_jiagou" @click="handleTip"></img>
|
|
|
<view class="techan_line"></view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -121,7 +121,8 @@ export default {
|
|
|
],
|
|
|
// 景区导览
|
|
|
traveList:[
|
|
|
- {id:1,imgUrl:'https://jtishfw.ncjti.edu.cn/homestay/scenicguide/中部梦幻城.png',juli:'45.96km',name:'中部梦幻城',jibie:'4A'},
|
|
|
+ {id:1,
|
|
|
+ imgUrl:'https://jtishfw.ncjti.edu.cn/homestay/scenicguide/中部梦幻城.png',juli:'45.96km',name:'中部梦幻城',jibie:'4A'},
|
|
|
{id:2,imgUrl:'https://jtishfw.ncjti.edu.cn/homestay/scenicguide/中华传统文化园.png',juli:'45.96km',name:'中华传统文化园',jibie:'4A'},
|
|
|
{id:3,imgUrl:'https://jtishfw.ncjti.edu.cn/homestay/scenicguide/靖安宝峰寺.png',juli:'45.96km',name:'靖安宝峰寺',jibie:'4A'},
|
|
|
{id:4,imgUrl:'https://jtishfw.ncjti.edu.cn/homestay/scenicguide/九岭森林温泉度假村.png',juli:'45.96km',name:'九岭森林温泉度假村',jibie:'4A'},
|
|
|
@@ -131,9 +132,23 @@ export default {
|
|
|
{id:1,imgUrl:'https://jtishfw.ncjti.edu.cn/homestay/productpicture/靖安木耳.png',name:'靖安木耳',type:'手工产品 营养丰富',liang:'500kg',price:'¥200',},
|
|
|
{id:1,imgUrl:'https://jtishfw.ncjti.edu.cn/homestay/productpicture/靖安白茶.jpg',name:'靖安白茶',type:'经典茶品 营养丰富',liang:'500kg',price:'¥400',},
|
|
|
{id:1,imgUrl:'https://jtishfw.ncjti.edu.cn/homestay/productpicture/靖安椪柑.jpg',name:'靖安椪柑',type:'汁水丰富 营养丰富',liang:'500kg',price:'¥80',},
|
|
|
- {id:1,imgUrl:'https://jtishfw.ncjti.edu.cn/homestay/productpicture/猕猴桃糕.jpg',name:'猕猴桃糕',type:'手工制作 回味无穷',liang:'500kg',price:'¥50',}
|
|
|
+ {
|
|
|
+ id:1,
|
|
|
+ imgUrl:'https://jtishfw.ncjti.edu.cn/homestay/productpicture/猕猴桃糕.jpg',
|
|
|
+ name:'猕猴桃糕',
|
|
|
+ type:'手工制作 回味无穷',
|
|
|
+ liang:'500kg',
|
|
|
+ price:'¥50',}
|
|
|
],
|
|
|
}
|
|
|
+ },
|
|
|
+ methods:{
|
|
|
+ handleTip(){
|
|
|
+ uni.showToast({
|
|
|
+ title: '功能开发中',
|
|
|
+ icon: 'none'
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</script>
|