暂存首页改造,banner
This commit is contained in:
@@ -20,7 +20,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-image width="80rpx" height="80rpx" src="/assets/images/defaultAvatar.png" class="defaultAvatar"/>
|
||||
<van-button type="primary" size="small" plain="{{true}}" class="loginBtn" bind:tap="jumpToLogin">请登录</van-button>
|
||||
</view>
|
||||
<view class="logined" wx:else>
|
||||
@@ -30,9 +30,10 @@
|
||||
<view class="companyName"> {{tenement.name}} </view>
|
||||
<van-icon name="arrow-down" style="margin-left: 16rpx;" />
|
||||
</view>
|
||||
<view class="welcome"> 欢迎使用华昌宝能用电管理系统! </view>
|
||||
<!-- <view class="welcome"> 欢迎使用华昌宝能用电管理系统! </view> -->
|
||||
</view>
|
||||
</view>
|
||||
<home-swiper wx:if="{{park.id}}" park="{{park.id}}" />
|
||||
<view class="rechargeWrapper">
|
||||
<view class="card">
|
||||
<view class="cardTop">
|
||||
@@ -40,13 +41,13 @@
|
||||
<view wx:if="{{user.id}}"> {{ tenement.shortName}} - {{ meter.address }} </view>
|
||||
<view wx:else> -- </view>
|
||||
</view>
|
||||
<van-button type="info" size="small" plain="{{true}}" class="loginBtn" bind:click="changeMeter" wx:if="{{user.id}}">
|
||||
<van-icon name="exchange" />
|
||||
切换电表
|
||||
<van-button type="info" size="small" plain="{{true}}" class="loginBtn" bind:click="changeMeter" wx:if="{{user.id}}" >
|
||||
<view style="width: 160rpx;display: flex;justify-content: center;"><van-icon name="exchange" />
|
||||
切换电表</view>
|
||||
</van-button>
|
||||
</view>
|
||||
<view class="cardContent">
|
||||
<view class="cardItem">
|
||||
<!-- <view class="cardItem">
|
||||
<view class="cardItemLabel"> 电表编号: </view>
|
||||
<view class="cardItemValue" wx:if="{{user.id}}"> {{meter.code}} </view>
|
||||
<view class="cardItemValue" wx:else> -- </view>
|
||||
@@ -55,15 +56,15 @@
|
||||
<view class="cardItemLabel"> 电表地址: </view>
|
||||
<view class="cardItemValue" wx:if="{{user.id}}"> {{meter.address}} </view>
|
||||
<view class="cardItemValue" wx:else> -- </view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="cardItem">
|
||||
<view class="cardItemLabel"> 电表余额: </view>
|
||||
<view class="cardItemValue" style="position: relative;">
|
||||
<view class="text" wx:if="{{user.id}}"> {{meter.money}} </view>
|
||||
<view class="text" wx:else> --- </view>
|
||||
<van-button type="info" size="small" plain="{{true}}" custom-style="position: absolute; right: 0; bottom: 0;z-index: 99;" bind:click="refreshMeter" wx:if="{{user.id}}">
|
||||
<van-icon name="replay" />
|
||||
刷新
|
||||
<van-button type="info" size="small" plain="{{true}}" custom-style="position: absolute; right: -20rpx; bottom: -20rpx;z-index: 99;" bind:click="refreshMeter" wx:if="{{user.id}}">
|
||||
<view style="width: 160rpx;display: flex;justify-content: center;"><van-icon name="replay" />
|
||||
刷新</view>
|
||||
</van-button>
|
||||
</view>
|
||||
</view>
|
||||
@@ -86,11 +87,14 @@
|
||||
size="large"
|
||||
type="digit"
|
||||
/>
|
||||
<van-button color="rgb(88, 165, 141)" bind:click="recharge">
|
||||
<view style="width: 100rpx"> 去缴费 </view>
|
||||
</van-button>
|
||||
</view>
|
||||
</view>
|
||||
<view class="operate">
|
||||
<van-button color="rgb(88, 165, 141)" block bind:click="recharge">去缴费</van-button>
|
||||
</view>
|
||||
<!-- <view class="operate">
|
||||
|
||||
</view> -->
|
||||
<view class="others">
|
||||
<van-grid direction="horizontal" column-num="2">
|
||||
<van-grid-item icon="balance-list-o" text="电费账单" bind:click="jumpToOrder">
|
||||
|
Reference in New Issue
Block a user