fix:页面调整
This commit is contained in:
parent
5e84eae788
commit
4baf5d307c
@ -167,14 +167,9 @@ async function scanInsuranceCode() {
|
||||
uni.navigateTo({
|
||||
url: `/pages/member/detail?type=ybQrcode&feeType=${feeType.value}`,
|
||||
});
|
||||
} catch (error) {
|
||||
if (!error || !/cancel/i.test(error.errMsg || error.message || "")) {
|
||||
toast(error.message || error.errMsg || error || "扫码失败");
|
||||
}
|
||||
} finally {
|
||||
} catch (error) { }
|
||||
scanning.value = false;
|
||||
}
|
||||
}
|
||||
|
||||
async function nextStep() {
|
||||
if (!currentProfile.value) {
|
||||
|
||||
@ -51,7 +51,7 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view @click="ybAuth()" style="padding: 30rpx; background: green;">医保授权</view>
|
||||
<!-- <view @click="ybAuth()" style="padding: 30rpx; background: green;">医保授权</view> -->
|
||||
</view>
|
||||
</view>
|
||||
</full-page>
|
||||
@ -109,7 +109,7 @@ const menuList = [
|
||||
},
|
||||
];
|
||||
|
||||
const { userInfo, logined, login, loginout, getAuthCode, drugStore, getStore } = useUser();
|
||||
const { userInfo, logined, login, loginout, getAuthCode, drugStore, getStore, storeId } = useUser();
|
||||
const statusBarHeight = ref(20);
|
||||
const count = ref({ rxUnpay: 0 });
|
||||
const confirmVisible = ref(false);
|
||||
@ -190,10 +190,13 @@ async function autoAddPatient() {
|
||||
})
|
||||
}
|
||||
|
||||
onLoad(() => {
|
||||
onLoad((opts) => {
|
||||
if (opts.storeId) {
|
||||
storeId.value = opts.storeId
|
||||
}
|
||||
const systemInfo = uni.getSystemInfoSync();
|
||||
statusBarHeight.value = systemInfo.statusBarHeight || 20;
|
||||
ybPlugin.init()
|
||||
// ybPlugin.init()
|
||||
});
|
||||
|
||||
onHide(() => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user