|
|
@@ -16,9 +16,9 @@
|
|
|
<view class="pt-f pa-v-2 b-d-1" :style="'height:'+seatRow*(20+seatSize*pxNum)+'rpx;top:110rpx;width:0'"></view>
|
|
|
<view v-for="(item,index) in seatArray" :key="index" class="dp-f jc-c mt-20" :style="'width:'+boxWidth+'px;height:'+seatSize+'px'">
|
|
|
<view v-for="(seat,col) in item" :key="col" class="dp-ib" :style="'width:'+seatSize+'px;height:'+seatSize+'px'" @click="handleChooseSeat(index,col)">
|
|
|
- <image v-if="seat.type===0" class="w-100 h-100" src="https://test-api.haocha13.cn/static/img/optional.png" mode="aspectFit"></image>
|
|
|
- <image v-else-if="seat.type===1" class="w-100 h-100" src="https://test-api.haocha13.cn/static/img/set.png" mode="aspectFit"></image>
|
|
|
- <image v-else-if="seat.type===2" class="w-100 h-100" src="https://test-api.haocha13.cn/static/img/sold.png" mode="aspectFit"></image>
|
|
|
+ <image v-if="seat.type===0" class="w-100 h-100" src="https://shop-api.haocha13.cn/static/img/optional.png" mode="aspectFit"></image>
|
|
|
+ <image v-else-if="seat.type===1" class="w-100 h-100" src="https://shop-api.haocha13.cn/static/img/set.png" mode="aspectFit"></image>
|
|
|
+ <image v-else-if="seat.type===2" class="w-100 h-100" src="https://shop-api.haocha13.cn/static/img/sold.png" mode="aspectFit"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="pt-f bg-line br-15 over-h" :style="'left: '+(10-moveX/scale)+'px;top:110rpx;width:30rpx;'">
|
|
|
@@ -51,13 +51,13 @@
|
|
|
</view>
|
|
|
<view class="dp-f jc-c ai-c mb-20 fz-28" v-if="showTis">
|
|
|
<view class="dp-f jc-c ai-c m-0-10">
|
|
|
- <image :style="'width:'+seatSize+'px;height:'+seatSize+'px'" src="https://test-api.haocha13.cn/static/img/optional.png" mode="aspectFit"></image><span class="ml-10">可选</span>
|
|
|
+ <image :style="'width:'+seatSize+'px;height:'+seatSize+'px'" src="https://shop-api.haocha13.cn/static/img/optional.png" mode="aspectFit"></image><span class="ml-10">可选</span>
|
|
|
</view>
|
|
|
<view class="dp-f jc-c ai-c m-0-10">
|
|
|
- <image :style="'width:'+seatSize+'px;height:'+seatSize+'px'" src="https://test-api.haocha13.cn/static/img/sold.png" mode="aspectFit"></image><span class="ml-10">不可选</span>
|
|
|
+ <image :style="'width:'+seatSize+'px;height:'+seatSize+'px'" src="https://shop-api.haocha13.cn/static/img/sold.png" mode="aspectFit"></image><span class="ml-10">不可选</span>
|
|
|
</view>
|
|
|
<view class="dp-f jc-c ai-c m-0-10">
|
|
|
- <image :style="'width:'+seatSize+'px;height:'+seatSize+'px'" src="https://test-api.haocha13.cn/static/img/set.png" mode="aspectFit"></image><span class="ml-10">选中</span>
|
|
|
+ <image :style="'width:'+seatSize+'px;height:'+seatSize+'px'" src="https://shop-api.haocha13.cn/static/img/set.png" mode="aspectFit"></image><span class="ml-10">选中</span>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -698,17 +698,17 @@ export default {
|
|
|
}
|
|
|
|
|
|
.sel-seat {
|
|
|
- background: url('https://test-api.haocha13.cn/static/img/set.png') center center no-repeat;
|
|
|
+ background: url('https://shop-api.haocha13.cn/static/img/set.png') center center no-repeat;
|
|
|
background-size: 100% 100%;
|
|
|
}
|
|
|
|
|
|
.unsel-seat {
|
|
|
- background: url('https://test-api.haocha13.cn/static/img/optional.png') center center no-repeat;
|
|
|
+ background: url('https://shop-api.haocha13.cn/static/img/optional.png') center center no-repeat;
|
|
|
background-size: 100% 100%;
|
|
|
}
|
|
|
|
|
|
.bought-seat {
|
|
|
- background: url('https://test-api.haocha13.cn/static/img/sold.png') center center no-repeat;
|
|
|
+ background: url('https://shop-api.haocha13.cn/static/img/sold.png') center center no-repeat;
|
|
|
background-size: 100% 100%;
|
|
|
}
|
|
|
</style>
|