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.
29 lines
446 B
29 lines
446 B
const app = getApp<IAppOption>() |
|
|
|
Page({ |
|
data: { |
|
pageTop: 0, |
|
background: 'transparent', |
|
}, |
|
onLoad() { |
|
app.waitLogin().then(() => { |
|
this.getCodeImg() |
|
}) |
|
}, |
|
getCodeImg() { |
|
wx.ajax({ |
|
method: 'GET', |
|
url: '?r=wtx/common/get-channel-wx-code', |
|
data: {}, |
|
}).then((res) => { |
|
this.setData({ |
|
codeImg: res, |
|
}) |
|
}) |
|
}, |
|
handleBack() { |
|
wx.navigateBack() |
|
}, |
|
}) |
|
|
|
export {}
|
|
|