feat: 刷卡正常跳转

This commit is contained in:
yangzhe 2025-04-14 16:51:36 +08:00
parent d6a4b332fc
commit e3fd78a618
2 changed files with 6 additions and 4 deletions

View File

@ -31,7 +31,6 @@
class="image" class="image"
v-for="(v, i) in dataInfo.pictures" v-for="(v, i) in dataInfo.pictures"
:key="i" :key="i"
mode="aspectFill"
:src="BASE_URL + '/uploads/' + v.path" :src="BASE_URL + '/uploads/' + v.path"
@click="previewImage(i)" @click="previewImage(i)"
></image> ></image>
@ -72,7 +71,9 @@ export default {
// //
previewImage(index) { previewImage(index) {
uni.previewImage({ uni.previewImage({
urls: this.dataInfo.pictures.map((v) => BASE_URL + "/uploads/" + v.path), urls: this.dataInfo.pictures.map(
(v) => BASE_URL + "/uploads/" + v.path
),
current: index, current: index,
}); });
}, },

View File

@ -78,7 +78,7 @@
</view> </view>
</view> </view>
</view> </view>
<!-- <button @click="nfcResFn(true)">刷卡成功</button> --> <!-- <button @click="successShow = true">刷卡成功</button> -->
<!-- <button @click="nfcResFn(false)">刷卡失败</button> --> <!-- <button @click="nfcResFn(false)">刷卡失败</button> -->
<!-- nfc刷卡成功弹窗 --> <!-- nfc刷卡成功弹窗 -->
<u-popup v-model="successShow" mode="center" :round="30"> <u-popup v-model="successShow" mode="center" :round="30">
@ -115,7 +115,8 @@
</view> </view>
<view class="btn-box"> <view class="btn-box">
<view class="btn-cancel" @click="errorShow = false">暂不</view> <view class="btn-cancel" @click="errorShow = false">暂不</view>
<view class="btn-success" @click="exceptionReportFn">异常上报</view> <view class="btn-success" @click="errorShow = false">异常上报</view>
<!-- <view class="btn-success" @click="exceptionReportFn">异常上报</view> -->
</view> </view>
</view> </view>
</view> </view>