暂时去除核销状态和核销按钮
This commit is contained in:
parent
36a50f1cda
commit
481710a323
|
|
@ -33,7 +33,7 @@
|
|||
<view class="card-header">
|
||||
<text class="activity-title">{{ item.title }}</text>
|
||||
<view :class="['status-tag', getStatusClass(Number(item.state))]">
|
||||
<text class="status-text"
|
||||
<text v-if="item.state === '3'" class="status-text"
|
||||
>{{ getStatusText(Number(item.state)) }}
|
||||
</text>
|
||||
</view>
|
||||
|
|
@ -58,23 +58,20 @@
|
|||
</view>
|
||||
|
||||
<!-- 操作按钮 -->
|
||||
<view class="card-actions">
|
||||
<view v-if="Number(item.state) === 1" class="card-actions">
|
||||
<!-- 只有待核销状态才显示出示码券按钮 -->
|
||||
<view v-if="Number(item.state) === 1" class="action-btn"></view>
|
||||
<view
|
||||
v-if="Number(item.state) === 1"
|
||||
class="action-btn secondary"
|
||||
@click="showQRCode(item)"
|
||||
>
|
||||
<image :src="urls.qrCodeIcon" class="btn-icon" mode="aspectFit" />
|
||||
<text class="btn-text">出示码券</text>
|
||||
</view>
|
||||
<view class="action-btn"></view>
|
||||
<view class="action-btn"></view>
|
||||
<!-- <view-->
|
||||
<!-- v-if="Number(item.state) === 1"-->
|
||||
<!-- class="action-btn secondary"-->
|
||||
<!-- @click="showQRCode(item)"-->
|
||||
<!-- >-->
|
||||
<!-- <image :src="urls.qrCodeIcon" class="btn-icon" mode="aspectFit" />-->
|
||||
<!-- <text class="btn-text">出示码券</text>-->
|
||||
<!-- </view>-->
|
||||
<!-- 只有待核销状态才显示取消预约按钮 -->
|
||||
<view
|
||||
v-if="Number(item.state) === 1"
|
||||
class="action-btn secondary"
|
||||
@click="cancelAppointment(item)"
|
||||
>
|
||||
<view class="action-btn secondary" @click="cancelAppointment(item)">
|
||||
<image
|
||||
:src="urls.cancelAppointmentIcon"
|
||||
class="btn-icon"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user