沙盘演示系统应用的微信小程序
zuoxiao
2024-11-04 21525f47ca011b149a3674d0926cbe495ec872c8
pages/rechargeMoney/rechargMoney.wxml
@@ -17,19 +17,19 @@
    <view class="row">
      <view class="item{{activeIndex === 0 ? 'active' : ''}}" bindtap="handleMoneyWrapperTap" data-index="0">
        <view class="money-wrapper">
          <text class="money-number">{{moneyList[0].rechargeAmount}}</text>
          <text class="money-number">{{moneyList[0].money}}</text>
          <text class="money-label">元</text>
        </view>
      </view>
      <view class="item{{activeIndex === 1 ? 'active' : ''}}" bindtap="handleMoneyWrapperTap" data-index="1">
        <view class="money-wrapper">
          <text class="money-number">{{moneyList[1].rechargeAmount}}</text>
          <text class="money-number">{{moneyList[1].money}}</text>
          <text class="money-label">元</text>
        </view>
      </view>
      <view class="item{{activeIndex === 2 ? 'active' : ''}}" bindtap="handleMoneyWrapperTap" data-index="2">
        <view class="money-wrapper">
          <text class="money-number">{{moneyList[2].rechargeAmount}}</text>
          <text class="money-number">{{moneyList[2].money}}</text>
          <text class="money-label">元</text>
        </view>
      </view>
@@ -37,19 +37,19 @@
    <view class="row">
      <view class="item{{activeIndex === 3 ? 'active' : ''}}" bindtap="handleMoneyWrapperTap" data-index="3">
        <view class="money-wrapper">
          <text class="money-number">{{moneyList[3].rechargeAmount}}</text>
          <text class="money-number">{{moneyList[3].money}}</text>
          <text class="money-label">元</text>
        </view>
      </view>
      <view class="item{{activeIndex === 4 ? 'active' : ''}}" bindtap="handleMoneyWrapperTap" data-index="4">
        <view class="money-wrapper">
          <text class="money-number">{{moneyList[4].rechargeAmount}}</text>
          <text class="money-number">{{moneyList[4].money}}</text>
          <text class="money-label">元</text>
        </view>
      </view>
      <view class="item{{activeIndex === 5 ? 'active' : ''}}" bindtap="handleMoneyWrapperTap" data-index="5">
        <view class="money-wrapper">
          <text class="money-number">{{moneyList[5].rechargeAmount}}</text>
          <text class="money-number">{{moneyList[5].money}}</text>
          <text class="money-label">元</text>
        </view>
      </view>
@@ -58,14 +58,13 @@
  <view class="rechage-view">
    <view class="rechage{{activeIndex === -1 ? 'active' : ''}}" disabled="{{isClickable}}" bind:tap="creatOrder">
      <text class="rechage-text"  >充值</text>
      <text class="rechage-text">充值</text>
    </view>
  </view>
  <view class="rechageList-view">
    <text class="rechageList-view-head">充值记录</text>
    <scroll-view class="list-container" scroll-y="true" scroll-x="false" refresher-enabled="true" refresher-threshold="50"
    bindrefresherrefresh="onPullDownRefresh" refresher-triggered="{{isWXRefreshing}}"  bindscrolltolower="loadMore">
    <scroll-view class="list-container" scroll-y="true" scroll-x="false" refresher-enabled="true" refresher-threshold="50" bindrefresherrefresh="onPullDownRefresh" refresher-triggered="{{isWXRefreshing}}" bindscrolltolower="loadMore">
      <block wx:if="{{allRechargeList.length > 0}}" wx:for="{{allRechargeList}}" wx:key="index">
        <view class="itemList">
          <text class="item-card-text">{{item.rechargeTime}}</text>
@@ -78,6 +77,7 @@
        <text class="noMore-text">没有数据</text>
      </view>
      <view wx:if="{{loading}}" class="loading">加载中...</view> <!-- 加载指示器 -->
      <view wx:if="{{!hasMore&&allRechargeList.length>0}}" class="loading">没有更多数据</view>
    </scroll-view>