|
|
@@ -23,18 +23,13 @@
|
|
|
<view class="">
|
|
|
营业时间:{{timeData}}
|
|
|
</view>
|
|
|
- <image src="@/static/img/takeout/info-phone.png" mode="" class="phone" @click="phoneBut(shopInfo.shop_phone)"></image>
|
|
|
+ <image src="@/static/img/takeout/info-phone.png" mode="" class="phone"
|
|
|
+ @click="phoneBut(shopInfo.shop_phone)"></image>
|
|
|
</view>
|
|
|
- <view class="uni-margin-wrap mb-18">
|
|
|
+ <view class="uni-margin-wrap mb-18" v-if="shopInfo.shop_album.length>0">
|
|
|
<swiper class="swiper" :circular='true' :autoplay="true" :interval="3000" :duration="500">
|
|
|
- <swiper-item>
|
|
|
- <view class="swiper-item bgc-B3DDFB">A</view>
|
|
|
- </swiper-item>
|
|
|
- <swiper-item>
|
|
|
- <view class="swiper-item bgc-3">B</view>
|
|
|
- </swiper-item>
|
|
|
- <swiper-item>
|
|
|
- <view class="swiper-item fc-65420c">C</view>
|
|
|
+ <swiper-item v-for="(item,index) in shopInfo.shop_album">
|
|
|
+ <image :src="item" mode="" class="swiper-img"></image>
|
|
|
</swiper-item>
|
|
|
</swiper>
|
|
|
</view>
|
|
|
@@ -130,7 +125,9 @@
|
|
|
lon: '',
|
|
|
shop_id: ''
|
|
|
},
|
|
|
- shopInfo: {},
|
|
|
+ shopInfo: {
|
|
|
+ shop_album: []
|
|
|
+ },
|
|
|
timeData: '',
|
|
|
array: '',
|
|
|
shopList: []
|
|
|
@@ -306,6 +303,12 @@
|
|
|
border-radius: 20rpx;
|
|
|
}
|
|
|
|
|
|
+ .swiper-img {
|
|
|
+ width: 100%;
|
|
|
+ height: 200rpx;
|
|
|
+ border-radius: 20rpx;
|
|
|
+ }
|
|
|
+
|
|
|
.swiper-item {
|
|
|
display: block;
|
|
|
height: 200rpx;
|