管灌系统农户端微信小程序(嘉峪关应用)
zuoxiao
2024-05-27 dc01187c6ca2cf46fef268e84a7ac7fc171f2ebb
pages/recharge/recharge.wxml
@@ -1,71 +1,2 @@
<!--pages/recharge/recharge.wxml-->
<view class="base-wrapper">
  <view class="user-wrapper">
    <view>
      <text>{{userName}}</text>
      <text>{{userPhone}}</text>
    </view>
    <view>
      <text>用户编号:</text>
      <text>{{userCode}}</text>
    </view>
    <view>
      <text>余额:</text>
      <text>{{balance}}</text>
    </view>
  </view>
  <view class="money-base-wrapper">
    <view class="row">
      <view class="item{{activeIndex === 0 ? 'active' : ''}}" bindtap="handleMoneyWrapperTap" data-index="0">
      <view class="money-wrapper">
        <text class="money-number">30</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">50</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">100</text>
        <text class="money-label">元</text>
        </view>
      </view>
    </view>
    <view class="row">
      <view class="item{{activeIndex === 3 ? 'active' : ''}}" bindtap="handleMoneyWrapperTap" data-index="3">
        <view class="money-wrapper">
        <text class="money-number">200</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">300</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">500</text>
        <text class="money-label">元</text>
        </view>
      </view>
    </view>
  </view>
<view class="rechage-view">
  <view class="rechage{{activeIndex === -1 ? 'active' : ''}}">
  <text >充值</text>
  </view>
  <view class="rechageList-view">
  <text class="rechageList">充值记录</text>
  </view>
</view>
</view>
<text>pages/recharge/recharge.wxml</text>