feat: 新增预约二维码弹窗功能
This commit is contained in:
@@ -23,7 +23,9 @@
|
||||
<view class="record-list" wx:if="{{!loading && filteredRecords.length > 0}}">
|
||||
<view class="record-card" wx:for="{{filteredRecords}}" wx:key="_id">
|
||||
<view class="record-header">
|
||||
<text class="record-id">{{item._id}}</text>
|
||||
<view wx:if="{{item.status === 'approved'}}" class="qrcode-btn" bindtap="showQrcode" data-id="{{item._id}}">
|
||||
出示凭证
|
||||
</view>
|
||||
<view class="status-tag status-{{item.status}}">
|
||||
{{item.statusText}}
|
||||
</view>
|
||||
@@ -74,4 +76,7 @@
|
||||
<text class="empty-text">暂无预约记录</text>
|
||||
<view class="empty-btn" bindtap="goAppointment">去预约</view>
|
||||
</view>
|
||||
|
||||
<!-- 二维码弹窗 -->
|
||||
<qrcode-modal visible="{{qrcodeVisible}}" qrcode-id="{{qrcodeId}}" bind:close="hideQrcode" />
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user