Commit 8eae6c2a authored by 潘永坪's avatar 潘永坪

详情bug处理

parent db9acfa2
......@@ -34,25 +34,17 @@
<!-- 开放时间 -->
<view class="opentime">
<view class="middle-title">开放时间</view>
<u-table>
<u-tr v-if="!times">
<u-td>每天</u-td>
</u-tr>
<u-tr v-if="!times">
<u-td>
{{detailData.businessStart?detailData.businessStart.substr(0,5):""}}
~{{detailData.businessEnd?detailData.businessEnd.substr(0,5):""}}
</u-td>
</u-tr>
<u-tr v-if="times">
<u-td colspan="2">开放时间</u-td>
</u-tr>
<u-tr v-for="(item,index) of times" :key="index" v-if="times">
<u-td v-for="(items,b) of item" :key="b" v-if="items">
<view class="time-list">
<view v-if="times.length==0">
{{detailData.businessStart?detailData.businessStart.substr(0,5):""}}
~{{detailData.businessEnd?detailData.businessEnd.substr(0,5):""}}
</view>
<view v-for="(item,index) of times" :key="index" v-else>
<text v-for="(items,b) of item" :key="b" style="margin-right: 30rpx;">
{{items}}
</u-td>
</u-tr>
</u-table>
</text>
</view>
</view>
</view>
<!-- 优待政策 -->
<view class="policy" v-if="policy">
......@@ -111,7 +103,7 @@ export default {
return {
currentNum:0,//轮播图下标
showPop: false, //控制弹窗显示隐藏
times: '', //时间数组
times:[], //时间数组
policy:'', //优待政策列表
facilities: '', //景区设施
travelTips: '' //游玩提示
......@@ -121,7 +113,7 @@ export default {
detailData: {
handler(newValue, oldValue) {
if (newValue) {
this.times = ''
this.times = []
this.policy =''
this.facilities = ''
this.travelTips = ''
......@@ -208,6 +200,9 @@ export default {
background: #fff;
margin-top: 24rpx;
}
.time-list>view:not(:first-child){
margin-top: 20rpx;
}
.policy{
padding: 30rpx 16rpx;
background: #fff;
......
......@@ -85,7 +85,7 @@
</view>
</view>
</checkbox-group>
<u-empty text="空空如也..." mode="list" v-if="scenicList.length == 0"></u-empty>
<u-empty text="空空如也..." mode="list" v-if="scenicList.length == 0" width="320" height="320"></u-empty>
</swiper-item>
<swiper-item class="swiper-item">
......@@ -132,16 +132,16 @@
</swiper-item>
<swiper-item class="swiper-item">
<u-empty text="空空如也..." mode="list"></u-empty>
<u-empty text="空空如也..." mode="list" width="320" height="320"></u-empty>
</swiper-item>
<swiper-item class="swiper-item">
<u-empty text="空空如也..." mode="list"></u-empty>
<u-empty text="空空如也..." mode="list" width="320" height="320"></u-empty>
</swiper-item>
</swiper>
</view>
<view class="bottom">
<view class="bottom-left" @click="showCustomer()">
<u-icon name="chat" size="36" style="margin-right: 8rpx; position: relative; top: 2rpx"></u-icon>
<u-icon name="chat" size="36"></u-icon>
客服
</view>
<view class="bottom-middle">
......@@ -789,6 +789,11 @@ export default {
justify-content: space-between;
padding: 0 32rpx;
}
.bottom-left{
display: flex;
flex-direction: column;
align-items: center;
}
.bottom-middle {
position: relative;
padding: 0 40rpx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment