Suzhou-SafetyToolsWarning-WX/pages/profile/index/index.js

39 lines
682 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// pages/profile/index/index.js
Page({
goToUnitManage() {
wx.showToast({
title: '功能开发中',
icon: 'none'
});
},
goToWarningSettings() {
wx.navigateTo({
url: '/pages/warning/settings/settings'
});
},
exportData() {
wx.showToast({
title: '功能开发中',
icon: 'none'
});
},
goToAbout() {
wx.showModal({
title: '关于我们',
content: '安全工器具预警小程序\n版本v1.0.0\n\n专注于施工安全工器具的管理、维保和预警',
showCancel: false
});
},
goToHelp() {
wx.showToast({
title: '功能开发中',
icon: 'none'
});
}
});