开始做充值,,调整了首页
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
<page-meta page-style="{{ show ? 'overflow: hidden;' : '' }}" />
|
||||
<view>
|
||||
<view class="top">
|
||||
<custom-status-bar />
|
||||
<custom-status-bar transparent="{{true}}" />
|
||||
<view class="chooseParkWrapper">
|
||||
用电管理服务 ·
|
||||
<view class="parkContent" bind:tap="choosePark">
|
||||
用电管理服务 ·
|
||||
<view class="parkContent" bind:tap="choosePark" wx:if="{{park.id}}">
|
||||
<view class="park">
|
||||
{{park.name}}
|
||||
</view>
|
||||
@@ -19,7 +19,7 @@
|
||||
</view>
|
||||
<view class="login" wx:if="{{!user || !user.id}}" class="notLoginWrapper">
|
||||
<van-image width="100rpx" height="100rpx" src="/assets/images/defaultAvatar.png" class="defaultAvatar"/>
|
||||
<van-button type="info" size="small" plain="{{true}}" class="loginBtn" bind:tap="jumpToLogin">请登录</van-button>
|
||||
<van-button type="primary" size="small" plain="{{true}}" class="loginBtn" bind:tap="jumpToLogin">请登录</van-button>
|
||||
</view>
|
||||
<view class="logined" wx:else>
|
||||
<avatar text="{{ user.nickName }}" />
|
||||
@@ -34,7 +34,7 @@
|
||||
<view class="cardTopLeft">
|
||||
<view> 华昌宝能 - 软c307 </view>
|
||||
</view>
|
||||
<van-button type="info" size="small" plain="{{true}}" class="loginBtn">
|
||||
<van-button type="info" size="small" plain="{{true}}" class="loginBtn" bind:click="changeMeter">
|
||||
<van-icon name="exchange" />
|
||||
切换电表
|
||||
</van-button>
|
||||
@@ -52,7 +52,7 @@
|
||||
<view class="cardItemLabel"> 电表余额: </view>
|
||||
<view class="cardItemValue">
|
||||
<view class="text"> 200 </view>
|
||||
<van-button type="info" size="small" plain="{{true}}">
|
||||
<van-button type="info" size="small" plain="{{true}}" bind:click="refreshMeter">
|
||||
<van-icon name="replay" />
|
||||
刷新
|
||||
</van-button>
|
||||
@@ -82,6 +82,17 @@
|
||||
<view class="operate">
|
||||
<van-button color="rgb(88, 165, 141)" block>去缴费</van-button>
|
||||
</view>
|
||||
<view class="others">
|
||||
<van-grid direction="horizontal" column-num="2">
|
||||
<van-grid-item icon="balance-list-o" text="电费账单" bind:click="jumpToOrder">
|
||||
<!-- <view slot="icon"> 111 </view> -->
|
||||
<!-- <van-icon slot="icom" name="balance-list-o" /> -->
|
||||
</van-grid-item>
|
||||
<van-grid-item icon="after-sale" text="缴费记录" bind:click="jumpToRecord" />
|
||||
<van-grid-item icon="bar-chart-o" text="用电查询" />
|
||||
<van-grid-item icon="bill-o" text="去开票" />
|
||||
</van-grid>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
|
Reference in New Issue
Block a user