Commit c75ee663 authored by 潘永坪's avatar 潘永坪

产品页面优化

parent 8edfa81e
......@@ -3,7 +3,7 @@
<view class="banner" v-if="detailData">
<u-swiper :list="detailData.imgList" @change="e => currentNum = e.current" indicatorStyle="right: 20px;bottom:25px" height="400" circular>
<view slot="indicator" class="indicator-num">
<text class="indicator-num__text">{{ currentNum + 1 }}/{{detailData.imgList.length}}</text>
<text class="indicator-num__text">{{ currentNum + 1 }}/{{detailData.imgList.length?detailData.imgList.length:0}}</text>
</view>
</u-swiper>
</view>
......@@ -11,7 +11,7 @@
<view class="middle-introduce" v-if="detailData">
<view class="introduce-one" @click="showDetail()">
<view class="merchantname">
{{detailData.name}}
{{detailData.name||''}}
</view>
<view class="businesstime">
<view style="font-size: 24rpx;">
......@@ -37,7 +37,7 @@
<view class="introduce-three">
<view style="flex: 1;margin-right: 20rpx;">
{{detailData.address}}
{{detailData.address||''}}
</view>
<view class="introduce-icon">
<u-icon name='map-fill' color='#3688ff' size='44' @click="navigation()"></u-icon>
......
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