You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
const app = getApp<IAppOption>();
|
|
|
|
|
|
|
|
Page({
|
|
|
|
data: {
|
|
|
|
popupShow: false,
|
|
|
|
// popupType: 'popup1', // 绑定医生弹窗
|
|
|
|
// popupType: 'popup2', // 去关注弹窗
|
|
|
|
// popupType: 'popup3', // 问题反馈弹窗
|
|
|
|
popupType: 'popup4', // 登录失败弹窗
|
|
|
|
popupParams: {
|
|
|
|
close: true,
|
|
|
|
} as any,
|
|
|
|
},
|
|
|
|
onLoad() {
|
|
|
|
// app.waitLogin().then(() => {});
|
|
|
|
},
|
|
|
|
handlePopupOk() {
|
|
|
|
const { popupType } = this.data;
|
|
|
|
},
|
|
|
|
handlePopupCancel() {
|
|
|
|
const { popupType } = this.data;
|
|
|
|
this.setData({
|
|
|
|
popupShow: false,
|
|
|
|
});
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
export {};
|