1234567891011121314151617181920212223242526272829303132333435363738 |
- <!--index.wxml-->
- <view class="container home">
- <view class="unbind-box" wx:if="{{!userInfo.userNumber && !onQuery}}">
- <image class="unbind-img" src="/static/img/img_no_customer.png"></image>
- <text>您还没绑定您的户号</text>
- <button class="open-button" data-param="customermanage" bindtap="gotopage">去绑定</button>
- </view>
- <view wx:else class="waterInfo">
- <block>
- <view class="dashboard-wrap">
- <dashboard params="{{userInfo}}"></dashboard>
- </view>
- <view class="info clearfix">
- <view class="left">
- <image src="/static/img/icon-code.png"></image>
- <text>{{userInfo.userNumber || '--'}}</text>
- </view>
- <view class="right">
- <image src="/static/img/icon-user.png"></image>
- <text>{{userInfo.username || '--'}}</text>
- </view>
- <view class="bottom">
- <image src="/static/img/icon-address.png"></image>
- <text>{{userInfo.address || '--'}}</text>
- </view>
- </view>
- </block>
- </view>
- <view class="entrance">
- <view>
- <view class="item" wx:for="{{items}}" wx:key="index" data-item="{{item}}" bindtap="gotopage">
- <image src="{{item.icon}}"></image>
- <text>{{item.label}}</text>
- </view>
- </view>
- </view>
- <popup id="popup" bind:cancelEvent="cancelEvent" bind:confirmEvent="confirmEvent"></popup>
- </view>
|