|
@@ -29,8 +29,8 @@
|
|
<swiper class="ticket-swiper" :current="ticketIndex" :autoplay="false" :circular="true" @change="changeTicket">
|
|
<swiper class="ticket-swiper" :current="ticketIndex" :autoplay="false" :circular="true" @change="changeTicket">
|
|
<swiper-item v-for="(item, index) in ticketList" :key="index" @click="toTicketBox(item)">
|
|
<swiper-item v-for="(item, index) in ticketList" :key="index" @click="toTicketBox(item)">
|
|
<view class="ticket-swiper-item flex">
|
|
<view class="ticket-swiper-item flex">
|
|
- <image class="box" :src="item.picUrl[2]" mode="scaleToFill"></image>
|
|
|
|
- <image class="prize" :src="item.picUrl[1]" mode="scaleToFill"></image>
|
|
|
|
|
|
+ <image class="ticket-swiper-item-box" :src="item.picUrl[2]" mode="scaleToFill"></image>
|
|
|
|
+ <image class="ticket-swiper-item-prize" :src="item.picUrl[1]" mode="scaleToFill"></image>
|
|
</view>
|
|
</view>
|
|
</swiper-item>
|
|
</swiper-item>
|
|
</swiper>
|
|
</swiper>
|
|
@@ -108,7 +108,7 @@
|
|
<view class="num">{{ $numberFormat(ticketInfo.salePrice) }}</view>
|
|
<view class="num">{{ $numberFormat(ticketInfo.salePrice) }}</view>
|
|
<view class="txt">元/个</view>
|
|
<view class="txt">元/个</view>
|
|
</view>
|
|
</view>
|
|
- <view class="ticket-price-discount flex">
|
|
|
|
|
|
+ <view class="ticket-price-discount flex" v-if="ticketInfo.originPrice != 0">
|
|
<view class="num">原价¥{{ $numberFormat(ticketInfo.originPrice) }}</view>
|
|
<view class="num">原价¥{{ $numberFormat(ticketInfo.originPrice) }}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -597,14 +597,14 @@
|
|
position: relative;
|
|
position: relative;
|
|
height: 100%;
|
|
height: 100%;
|
|
|
|
|
|
- .box {
|
|
|
|
|
|
+ &-box {
|
|
position: absolute;
|
|
position: absolute;
|
|
bottom: 0;
|
|
bottom: 0;
|
|
width: 75vw;
|
|
width: 75vw;
|
|
height: 75%;
|
|
height: 75%;
|
|
}
|
|
}
|
|
|
|
|
|
- .prize {
|
|
|
|
|
|
+ &-prize {
|
|
position: absolute;
|
|
position: absolute;
|
|
top: 0;
|
|
top: 0;
|
|
width: 85vw;
|
|
width: 85vw;
|