管灌系统农户端微信小程序(嘉峪关应用)
zuoxiao
2024-06-13 5dc54a59184b305a85aaad31dd4cce01b31a8a2d
pages/rechargeMoney/rechargMoney.wxml
@@ -15,19 +15,19 @@
  <view class="money-base-wrapper">
    <view class="row">
      <view class="item {{activeIndex === 0 ? 'active' : ''}}" bindtap="handleMoneyWrapperTap" data-index="0">
      <view class="item{{activeIndex === 0 ? 'active' : ''}}" bindtap="handleMoneyWrapperTap" data-index="0">
        <view class="money-wrapper">
          <text class="money-number">100</text>
          <text class="money-label">元</text>
        </view>
      </view>
      <view class="item {{activeIndex === 1 ? 'active' : ''}}" bindtap="handleMoneyWrapperTap" data-index="1">
      <view class="item{{activeIndex === 1 ? 'active' : ''}}" bindtap="handleMoneyWrapperTap" data-index="1">
        <view class="money-wrapper">
          <text class="money-number">200</text>
          <text class="money-label">元</text>
        </view>
      </view>
      <view class="item {{activeIndex === 2 ? 'active' : ''}}" bindtap="handleMoneyWrapperTap" data-index="2">
      <view class="item{{activeIndex === 2 ? 'active' : ''}}" bindtap="handleMoneyWrapperTap" data-index="2">
        <view class="money-wrapper">
          <text class="money-number">300</text>
          <text class="money-label">元</text>
@@ -35,19 +35,19 @@
      </view>
    </view>
    <view class="row">
      <view class="item {{activeIndex === 3 ? 'active' : ''}}" bindtap="handleMoneyWrapperTap" data-index="3">
      <view class="item{{activeIndex === 3 ? 'active' : ''}}" bindtap="handleMoneyWrapperTap" data-index="3">
        <view class="money-wrapper">
          <text class="money-number">400</text>
          <text class="money-label">元</text>
        </view>
      </view>
      <view class="item {{activeIndex === 4 ? 'active' : ''}}" bindtap="handleMoneyWrapperTap" data-index="4">
      <view class="item{{activeIndex === 4 ? 'active' : ''}}" bindtap="handleMoneyWrapperTap" data-index="4">
        <view class="money-wrapper">
          <text class="money-number">500</text>
          <text class="money-label">元</text>
        </view>
      </view>
      <view class="item {{activeIndex === 5 ? 'active' : ''}}" bindtap="handleMoneyWrapperTap" data-index="5">
      <view class="item{{activeIndex === 5 ? 'active' : ''}}" bindtap="handleMoneyWrapperTap" data-index="5">
        <view class="money-wrapper">
          <text class="money-number">600</text>
          <text class="money-label">元</text>
@@ -57,12 +57,28 @@
  </view>
  <view class="rechage-view">
    <view class="rechage {{activeIndex === -1 ? 'active' : ''}}">
      <text>充值</text>
    <view class="rechage{{activeIndex === -1 ? 'active' : ''}}">
      <text class="rechage-text">充值</text>
    </view>
  </view>
  <!--
  <view class="rechageList-view">
  </view>
  -->
</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">
      <block wx:if="{{allRechargeList.length > 0}}" wx:for="{{allRechargeList}}" wx:key="index">
        <view class="itemList">
          <text class="item-card-text">{{item.time}}</text>
          <text class="item-card-text">{{item.type}}</text>
          <text class="item-card-text">{{item.morny}}</text>
        </view>
      </block>
      <view wx:if="{{allRechargeList.length === 0}}" class="noMore-View">
        <image class="noMore-img" src="/images/no_more.svg" />
        <text class="noMore-text">没有数据</text>
      </view>
    </scroll-view>
  </view>
</view>