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}`; var url = `/${res.path}`;
uni.navigateTo({ url }); uni.navigateTo({ url });
}, },
fail: (err) => { // fail: (err) => {
uni.showToast({ // uni.showToast({
title: '扫码失败'+JSON.stringify(err), // title: ''+JSON.stringify(err),
icon: 'none' // 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 // #endif

2
pages/visitors/visitors.vue

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

Loading…
Cancel
Save