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.
33 lines
622 B
33 lines
622 B
const app = getApp<IAppOption>(); |
|
|
|
Page({ |
|
data: { |
|
list: [], |
|
}, |
|
onLoad() { |
|
const SystemInfo = app.globalSystemInfo; |
|
if (SystemInfo) { |
|
const { bottom } = SystemInfo.capsulePosition; |
|
this.setData({ |
|
bottom: bottom, |
|
}); |
|
} |
|
app.waitLogin().then(() => { |
|
this.getDetail(); |
|
}); |
|
}, |
|
getDetail() { |
|
wx.ajax({ |
|
method: "GET", |
|
url: "?r=zd/patient-score/get-score-explain", |
|
data: {}, |
|
}).then((res) => { |
|
this.setData({ |
|
list: res, |
|
}); |
|
}); |
|
}, |
|
handleBack() { |
|
wx.navigateBack(); |
|
}, |
|
});
|
|
|