添加人脸识别

This commit is contained in:
wangxiaowei
2026-01-06 16:16:57 +08:00
parent 42f3dbd362
commit a564ef78bd
18 changed files with 1300 additions and 7 deletions

View File

@ -133,6 +133,11 @@
<block v-if="item.order_status >= 2">
<button class="theme-btn del-btn" @click="onDelOrder(item.id)">删除订单</button>
</block>
<!-- 在篮球场下且订单是已预约有个人脸录入 -->
<block v-if="item.order_status == 1 && ballType == 2 && item.face_status == 0">
<button class="theme-btn pay-btn" @click="onTakePhoto(item.id)">人脸录入</button>
</block>
</block>
</view>
@ -251,6 +256,10 @@
}
},
onLoad(e) {
if (e.type) {
this.ballType = e.type;
}
if (typeof e.dataType != 'undefined') {
this.dataType = e.dataType;
}
@ -572,6 +581,12 @@
uni.navigateTo({
url: `/bundle/reserve/details?id=${ground_id}&typeId=${this.ballType}`
});
},
onTakePhoto(order_id) {
uni.navigateTo({
url: `/bundle/face/face-info?order_id=${order_id}`
});
}
}
};