Browse Source

upload

master
HolyKnightIX 2 years ago
parent
commit
ac227d38a7
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      miniprogram/pages/index/index.js
  2. +1
    -1
      miniprogram/pages/index/index.wxml

+ 1
- 0
miniprogram/pages/index/index.js View File

@@ -11,6 +11,7 @@ Page({
canIUseOpenData: wx.canIUse('open-data.type.userAvatarUrl') && wx.canIUse('open-data.type.userNickName'), canIUseOpenData: wx.canIUse('open-data.type.userAvatarUrl') && wx.canIUse('open-data.type.userNickName'),
isPhone: false, isPhone: false,
isDevMode: false, isDevMode: false,
devMode: '开发者模式',
holdingSwitch: false, holdingSwitch: false,
logoActive: false, logoActive: false,
timer: null, timer: null,


+ 1
- 1
miniprogram/pages/index/index.wxml View File

@@ -63,7 +63,7 @@
</block> </block>


<block wx:if="{{isDevMode}}"> <block wx:if="{{isDevMode}}">
<view class="userPhone" style="color: #ff0000;font-weight: 600;">开发者模式</view>
<view class="userPhone" style="color: #ff0000;font-weight: 600;">{{devMode}}</view>
<button type="primary" bindtap="goToChat">开始聊天</button> <button type="primary" bindtap="goToChat">开始聊天</button>
</block> </block>
</view> </view>


Loading…
Cancel
Save