// pages/set/set.js const app = getApp() Page({ /** * 页面的初始数据 */ data: { bindPhone: '' }, /** * 生命周期函数--监听页面加载 */ onLoad(options) { this.setData({ bindPhone: app.globalData.userInfo.phoneNumber }) }, /** * 联系我们 */ handleLinkus() { wx.showModal({ content: '感谢您选择ITT,如你有疑问,欢迎您拨打打电话:400-,我们的客服人员在早上9点到晚上18点都会在线为您服务', confirmColor: '#333', showCancel: false }) } })