12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- const app = getApp<IAppOption>()
- Page({
-
- data: {
- src: app.globalData.baseUrl + '/classroom-app/#/preview-protocol?wx=2'
- },
-
- onLoad(options: any) {
-
- if(options.type) {
- if(options.type === "privacy") {
- this.setData({
- src: app.globalData.baseUrl + '/classroom-app/#/privacy-protocol?wx=2'
- })
- } else if(options.type === "register") {
- this.setData({
- src: app.globalData.baseUrl + '/classroom-app/#/preview-protocol?wx=2'
- })
- } else if(options.type == 'activation') {
- this.setData({
- src: app.globalData.baseUrl + '/classroom-app/?random='+ Math.random() +'#/activationRegister?wx=wx_lite&code=' + options.code
- })
-
-
-
- }
- }
- },
- onPostMessage() {
-
-
-
-
-
-
-
-
-
-
-
- },
-
- onReady() {
- },
-
- onShow() {
- },
-
- onHide() {
- },
-
- onUnload() {
- },
-
- onPullDownRefresh() {
- },
-
- onReachBottom() {
- },
-
- onShareAppMessage() {
- }
- })
|