diff --git a/src/pages.json b/src/pages.json
index 7a611ca4..cbf31b09 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -42,6 +42,17 @@
}
}
},
+ {
+ "path": "pages/face-auth/index",
+ "style": {
+ "navigationStyle": "custom",
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false,
+ "app-plus": {
+ "titleNView": false // 禁用原生导航
+ }
+ }
+ },
{
"path": "pages/home/index",
"style": {
@@ -120,6 +131,7 @@
}
}
},
+
{
"path": "pages/mine/index",
"style": {
diff --git a/src/pages/face-auth/index.vue b/src/pages/face-auth/index.vue
new file mode 100644
index 00000000..e052ba00
--- /dev/null
+++ b/src/pages/face-auth/index.vue
@@ -0,0 +1,111 @@
+
+
+
+
+
+
+
+
+
+ 人像识别认证
+
+
+
+
+
+
+
+ 提交
+
+
+
+
+
+
diff --git a/src/pages/mine/index.vue b/src/pages/mine/index.vue
index bbb47fb9..6a39e629 100644
--- a/src/pages/mine/index.vue
+++ b/src/pages/mine/index.vue
@@ -59,7 +59,7 @@
-
+
@@ -141,26 +141,11 @@ const switchOptions=async (num)=>{
}
currentTab.value=num
}
-const exchange=async ()=>{
- const data={
- "userName": userInfo.value.realName, //用户姓名
- "idCard": userInfo.value.idNum, //用户身份证号
- "phone": userInfo.value.telNum, //预约电话
- "blindBoxName": "博物馆开馆纪念盲盒" //盲盒名称
- }
- const res=await extractingBlindBoxes(data)
- if (res.code===0){
- uni.showToast({
- icon:'none',
- title: res.msg,
- duration: 1000
- })
- }else if (res.code===200){
- const res1= await getQrCode({appointUid:res.data.appointmentUid})
- const arrayBuffer = new Uint8Array(res1)
- imageSrc.value = "data:image/png;base64," + uni.arrayBufferToBase64(arrayBuffer)
- showWin4.value=true
- }
+const exchange=async (item)=>{
+ const res1= await getQrCode({appointUid:item.appointmentUid})
+ const arrayBuffer = new Uint8Array(res1)
+ imageSrc.value = "data:image/png;base64," + uni.arrayBufferToBase64(arrayBuffer)
+ showWin4.value=true
}
const goViewVenues = (item) => {
uni.setStorageSync('ticket',item)
@@ -180,6 +165,49 @@ const goSetUp = () => {
}