init
This commit is contained in:
27
pages/subpages/aboutus/aboutus.js
Normal file
27
pages/subpages/aboutus/aboutus.js
Normal file
@@ -0,0 +1,27 @@
|
||||
import tool from "../../../utils/tool"
|
||||
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
clientLogo: null,
|
||||
version: null,
|
||||
title: null,
|
||||
introduce: null
|
||||
},
|
||||
|
||||
goback(){
|
||||
wx.navigateBack(1)
|
||||
},
|
||||
onLoad(){
|
||||
const clientConfig = tool.data.get('CLIENT_CONFIG')
|
||||
let introduce = clientConfig.CLIENT_ABOUTUS
|
||||
let version = clientConfig.CLIENT_VERSION
|
||||
let clientLogo = clientConfig.CLIENT_LOGO
|
||||
let title = clientConfig.CLIENT_TITLE
|
||||
this.setData({introduce,version,clientLogo,title})
|
||||
}
|
||||
|
||||
})
|
||||
Reference in New Issue
Block a user