Browse Source

upload

master
HolyKnightIX 1 year ago
parent
commit
4ab3384c97
2 changed files with 7 additions and 7 deletions
  1. +2
    -2
      miniprogram/pages/index/index.js
  2. +5
    -5
      miniprogram/pages/index/index.wxml

+ 2
- 2
miniprogram/pages/index/index.js View File

@@ -95,7 +95,7 @@ Page({
})
},

checkChatCode(e) {
checkCheatCode(e) {
const flag = e.currentTarget.dataset.flag
const touchFlag = this.data.touchFlag
/** 更改data中touchFlag的数据 */
@@ -154,7 +154,7 @@ Page({
clearTimeout(this.data.timer)
},

checkChatCodeStatus() {
checkCheatCodeStatus() {
if (this.data.logoActive) {
this.setData({
isDevMode: true


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

@@ -1,6 +1,6 @@
<!--index.wxml-->
<view class="content">
<view class="{{logoActive ? 'logo active' : 'logo' }}" bindtap="checkChatCodeStatus">
<view class="{{logoActive ? 'logo active' : 'logo' }}" bindtap="checkCheatCodeStatus">
𝑺𝒎𝒂𝒓𝒕-𝑪𝒉𝒂𝒕
</view>
<view class="introduction">
@@ -11,10 +11,10 @@
</view>
<view class="notice">严格遵守国家法律法规,自觉遵守中国互联网协会《文明上网自律公约》,不发布危害国家安全、违反法律法规、影响社会和谐稳定的有害信息</view>
</view>
<view class="switch topLeft" data-flag="topLeft" bindtap="checkChatCode"></view>
<view class="switch topRight" data-flag="topRight" bindtap="checkChatCode"></view>
<view class="switch bottomLeft" data-flag="bottomLeft" bindtap="checkChatCode"></view>
<view class="switch bottomRight" data-flag="bottomRight" bindtap="checkChatCode"></view>
<view class="switch topLeft" data-flag="topLeft" bindtap="checkCheatCode"></view>
<view class="switch topRight" data-flag="topRight" bindtap="checkCheatCode"></view>
<view class="switch bottomLeft" data-flag="bottomLeft" bindtap="checkCheatCode"></view>
<view class="switch bottomRight" data-flag="bottomRight" bindtap="checkCheatCode"></view>
</view>

<view class="{{holdingSwitch ? 'tinyChatICon active' : 'tinyChatICon' }}" bindtouchstart="iconTouchStart" bindtouchend="iconTouchEnd">


Loading…
Cancel
Save