From 917252ef3ea2b63c74d162cc67a6fbe103cb9b4d Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期五, 25 十月 2024 14:06:09 +0800
Subject: [PATCH] 1.开关阀记录界面。2.虚拟卡充值相关。3.问题反馈相关
---
pages/home/home.wxml | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/pages/home/home.wxml b/pages/home/home.wxml
index 5fab6fa..b1ca00f 100644
--- a/pages/home/home.wxml
+++ b/pages/home/home.wxml
@@ -5,11 +5,11 @@
<view class="head-top">
<t-avatar class="avatar-example" image="{{image}}" size="120rpx" />
<view class="head-text-wrapper">
- <text>{{userName}}</text>
- <text class="head-bottom">{{userPhone}}</text>
+ <text bind:tap="wxLogin">{{userName}}</text>
+ <text wx:if="{{isLogin}}" class="head-bottom">{{userPhone}}</text>
</view>
<view class="head-button-wrapper">
- <text class="unbind" bind:tap="">瑙g粦</text>
+ <text wx:if="{{isLogin}}" class="unbind" bind:tap="unbind">瑙g粦</text>
<text class="head-bottom" bind:tap="feedBack">鑱旂郴瀹㈡湇</text>
</view>
<view class="scen-view" bind:tap="scenCode">
@@ -42,7 +42,7 @@
<view class="bottom-title">
<text class="bottom-title-text">蹇�熷叧闃�</text>
- <text class="refresh-button" bind:tap="startPullDownRefresh">鍒锋柊</text>
+ <text class="refresh-button" bind:tap="startPullDownRefresh">鍒锋柊</text>
</view>
<view class="divider"></view>
<!-- refresher-enabled="true" refresher-threshold="50" -->
@@ -67,7 +67,7 @@
<text class="item-button" bind:tap="handleChange" data-item="{{item}}">鍏抽榾</text>
</view>
</view>
- <view slot="right" class="delete-btn" bind:tap="onDelete">鍒犻櫎</view>
+ <view slot="right" class="delete-btn" bind:tap="onDelete" data-item="{{item}}">{{item.displayText}}</view>
</t-swipe-cell>
</view>
</view>
--
Gitblit v1.8.0