Browse Source

点击医生头像,快速出医生弹窗

dev
kola-web 2 months ago
parent
commit
9b3690afbb
  1. 4
      src/components/doctorAvatar/index.ts
  2. 2
      src/module1/pages/loginProtool/index.ts

4
src/components/doctorAvatar/index.ts

@ -50,6 +50,9 @@ Component({
const did = this.data.did; const did = this.data.did;
if (!did) return; if (!did) return;
const { DoctorTitleType } = await this.getDoctorDict(); const { DoctorTitleType } = await this.getDoctorDict();
this.setData({
showDetail: true,
});
wx.ajax({ wx.ajax({
method: "GET", method: "GET",
url: "?r=takeda/doctor/detail", url: "?r=takeda/doctor/detail",
@ -58,7 +61,6 @@ Component({
}, },
}).then((res) => { }).then((res) => {
this.setData({ this.setData({
showDetail: true,
popupDoctorDetail: { popupDoctorDetail: {
DoctorLevel: res.DoctorLevel, DoctorLevel: res.DoctorLevel,
DoctorImg: res.Img, DoctorImg: res.Img,

2
src/module1/pages/loginProtool/index.ts

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save