From 366de5b4636679392a1e3d2984fc23bd5eaa5ac3 Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期二, 27 八月 2024 17:48:03 +0800
Subject: [PATCH] wenti

---
 pages/personalCenter/index.wxml |   35 +++++++++++++++++++++++++++++++----
 1 files changed, 31 insertions(+), 4 deletions(-)

diff --git a/pages/personalCenter/index.wxml b/pages/personalCenter/index.wxml
index c14b54f..29395d8 100644
--- a/pages/personalCenter/index.wxml
+++ b/pages/personalCenter/index.wxml
@@ -1,13 +1,14 @@
 <view class="container">
+  <view class="bg">
+    <image src="/static/images/personal/my-bg.png" mode="heightFix" class="image" />
+  </view>
   <t-pull-down-refresh value="{{baseRefresh.value}}" loadingProps="{{loadingProps}}" loadingTexts="{{['涓嬫媺鍒锋柊', '姝e湪鍒锋柊', '鍒锋柊瀹屾垚']}}" bind:refresh="onPullDownRefresh" bind:scroll="onScroll">
     <view style="width: 100%; height: {{barHeight}}px;"></view>
     <view class="background {{ isWhite ? 'white':''}}" style="padding-top: {{barHeight}}px">
       <text class="text">涓汉涓績</text>
     </view>
     <view class="home-page">
-      <view class="bg">
-        <image src="/static/images/personal/my-bg.png" mode="heightFix" class="image" />
-      </view>
+
       <t-user-center-card userInfo="{{userInfo}}" isPhoneHide="{{true}}" name-class="custom-name-class" phone-class="custom-phone-class" avatar-class="customer-avatar-class" currAuthStep="{{currAuthStep}}" bind:gotoUserEditPage="gotoUserEditPage" bind:editUserType="editUserType" />
       <view class="content-wrapper">
         <view class="topBox">
@@ -23,7 +24,7 @@
               </view>
             </view>
             <view class="line"></view>
-            <view>
+            <view bindtap="getIntegralList">
               <view>{{integral}}</view>
               <view class="title">绉垎</view>
             </view>
@@ -85,6 +86,32 @@
           </view>
         </view>
       </t-popup>
+      <t-popup visible="{{visibleIntegral}}" bind:visible-change="onVisibleIntegralChange" placement="center">
+        <view class="blockIntegral">
+          <scroll-view class="srcolbox" scroll-y scroll-height-animation="true">
+            <view class="block-content">
+              <view class="tableHeader">
+                <view class="lable">绫诲瀷</view>
+                <view class="value">鏁伴噺</view>
+                <view class="createDate">鏃堕棿</view>
+              </view>
+              <view class="content-item" wx:for="{{recordList}}" wx:for-item="item" wx:for-index="index" wx:key="index">
+                <view class="lable">{{item.type}}</view>
+                <view class="value yes" wx:if="item.value > 0">{{'+' + item.value}}</view>
+                <view class="value no" wx:else>{{item.value}}</view>
+                <view class="createDate">{{item.createDate ? item.createDate : '-'}}</view>
+              </view>
+              <view class="content-item">
+                <view class="lable">鎬昏</view>
+                <view class="value totle">{{integral}}</view>
+                <view class="createDate"></view>
+              </view>
+            </view>
+          </scroll-view>
+          <t-icon t-class="close-btn" name="close-circle" size="64rpx" color="#fff" bind:tap="onClose" />
+        </view>
+      </t-popup>
+
     </view>
   </t-pull-down-refresh>
 </view>
\ No newline at end of file

--
Gitblit v1.9.1