暂时去除核销状态和核销按钮

This commit is contained in:
WindowBird 2025-09-22 11:19:40 +08:00
parent 36a50f1cda
commit 481710a323

View File

@ -33,7 +33,7 @@
<view class="card-header"> <view class="card-header">
<text class="activity-title">{{ item.title }}</text> <text class="activity-title">{{ item.title }}</text>
<view :class="['status-tag', getStatusClass(Number(item.state))]"> <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)) }} >{{ getStatusText(Number(item.state)) }}
</text> </text>
</view> </view>
@ -58,23 +58,20 @@
</view> </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 class="action-btn"></view>
<view <view class="action-btn"></view>
v-if="Number(item.state) === 1" <!-- <view-->
class="action-btn secondary" <!-- v-if="Number(item.state) === 1"-->
@click="showQRCode(item)" <!-- class="action-btn secondary"-->
> <!-- @click="showQRCode(item)"-->
<image :src="urls.qrCodeIcon" class="btn-icon" mode="aspectFit" /> <!-- >-->
<text class="btn-text">出示码券</text> <!-- <image :src="urls.qrCodeIcon" class="btn-icon" mode="aspectFit" />-->
</view> <!-- <text class="btn-text">出示码券</text>-->
<!-- </view>-->
<!-- 只有待核销状态才显示取消预约按钮 --> <!-- 只有待核销状态才显示取消预约按钮 -->
<view <view class="action-btn secondary" @click="cancelAppointment(item)">
v-if="Number(item.state) === 1"
class="action-btn secondary"
@click="cancelAppointment(item)"
>
<image <image
:src="urls.cancelAppointmentIcon" :src="urls.cancelAppointmentIcon"
class="btn-icon" class="btn-icon"