Browse Source

Merge branch 'bug-rework-2025-0603' of gitea.intra.yunpaper.com:kuaileadmin/acupuncture_register_system_uniapp into bug-rework-2025-0603

master
kuaileWu 3 months ago
parent
commit
483f485779
  1. 23
      components/tabbar.vue
  2. 2
      pages/visitors/visitors.vue

23
components/tabbar.vue

@ -95,11 +95,24 @@
var url = `/${res.path}`;
uni.navigateTo({ url });
},
fail: (err) => {
uni.showToast({
title: '扫码失败'+JSON.stringify(err),
icon: 'none'
})
// fail: (err) => {
// uni.showToast({
// title: ''+JSON.stringify(err),
// icon: 'none'
// })
// }
complete(res) {
// console.log(':', res);
if (res.errMsg === 'scanCode:ok') {
console.log('扫码成功:', res.result);
} else if (res.errMsg === 'scanCode:fail cancel') {
console.log('用户取消扫码');
} else {
uni.showToast({
title: '扫码失败'+JSON.stringify(res.errMsg),
icon: 'none'
})
}
}
})
// #endif

2
pages/visitors/visitors.vue

@ -515,7 +515,7 @@
width: 100%;
top: 82.41%;
.submitbtn{
width: 646rpx;
// width: 646rpx;
margin: 0 auto;
}
.tip{

Loading…
Cancel
Save