文字信息走配置

This commit is contained in:
Abin committed 2026-01-14 13:02:00 +08:00
1 parent c363e18fc2
commit 6171e514cd
6 files changed
+70 -10

No files matched your search

+6 -2
View File
@@ -13,7 +13,6 @@ Page({
intervalId: null,
headiconurl: '/static/image/user.png',
urlstring: getApp().globalData.BaseURL + "/Images/ToolsIcon/toolsicon",
CodeURL:getApp().globalData.BaseURL + "/Images/WXCode/Yeomai.png",
LoginBtnText: '登录注册',
UserNameText: '未登录',
user_openid: null,
@@ -22,7 +21,12 @@ Page({
IsAdministor: null,
LastLoginDate: null,
UserName: null,
NewUser: null
NewUser: null,
text2: wx.getStorageSync('Config')[7].value,
text3: wx.getStorageSync('Config')[8].value,
text4: wx.getStorageSync('Config')[9].value,
text5: wx.getStorageSync('Config')[10].value,
CodeURL:getApp().globalData.BaseURL + "/Images/WXCode/"+wx.getStorageSync('Config')[5].value+".png",
},
showdialog() {
if (wx.getStorageSync('UserInfoCache').IsLogin ) {
+4 -4
View File
@@ -63,22 +63,22 @@
</button>
<button wx:if="{{IsLogin}}" class="functions2" bind:tap="ChangeUserInfo">
<text class="zuobianwenzi">修改资料</text>
<text class="zuobianwenzi">{{text2}}</text>
<text class="jiantou"> > </text>
</button>
<button class="functions2" open-type="share">
<text class="zuobianwenzi">好友分享</text>
<text class="zuobianwenzi">{{text3}}</text>
<text class="jiantou"> > </text>
</button>
<button class="functions2" open-type="contact" bindcontact="handleContact">
<text class="zuobianwenzi">在线沟通</text>
<text class="zuobianwenzi">{{text4}}</text>
<text class="jiantou"> > </text>
</button>
<button class="functions2" bind:tap="showCode">
<text class="zuobianwenzi">YelayMaths</text>
<text class="zuobianwenzi">{{text5}}</text>
<text class="jiantou"> > </text>
</button>