103 lines
3.8 KiB
Plaintext
103 lines
3.8 KiB
Plaintext
<view class="wrapper">
|
|
<view class="header">
|
|
<view class="nav" style='height: {{height*2 + 20}}px;padding-top:{{height-10}}px;'>
|
|
<!-- 个人主页 -->
|
|
</view>
|
|
<view class="info">
|
|
<view class="left">
|
|
<image src='../images/headshot.png'></image>
|
|
</view>
|
|
<view class="right">
|
|
<view class="newPhone">
|
|
<text>{{uerName || '-'}}</text>
|
|
<text wx:if="{{uerPhone}}">({{uerPhone}})</text>
|
|
</view>
|
|
<picker wx:if="{{userType == 3}}" bindchange="bindPickerChange" value="{{value}}" range-key="{{'company'}}" range="{{oilstaList}}">
|
|
<view class="address"> {{stationName}} ▸</view>
|
|
</picker>
|
|
<view class="address" wx:else>{{stationName}}</view>
|
|
</view>
|
|
</view>
|
|
|
|
<!-- 提现模块 -->
|
|
<view class="money" >
|
|
<view class="money-box" bind:tap="wallet">
|
|
<view class="money-title">可提取金额(元)</view>
|
|
<view class="money-num">{{totalMoney || '0'}}</view>
|
|
<view class="money-btn" catch:tap="withdrawList" wx:if="{{userType !== 3}}">
|
|
<image class="money-icon" src="../images/ic_list_history.png" mode="" />
|
|
提现记录
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="body">
|
|
<view class="flexBox" bindtap='userManagement' wx:if="{{userType===0}}">
|
|
<view class="cell">
|
|
<image class="icon" src="../images/ic_list_account.png" mode="widthFix" />
|
|
<text class="title">站员管理</text>
|
|
</view>
|
|
<image class="arrow" src="../images/ic_list_arrow.png" mode="widthFix"></image>
|
|
</view>
|
|
<view class="flexBox" bindtap='oilHistory' wx:if="{{userType===0}}">
|
|
<view class="cell">
|
|
<image class="icon" src="../images/ic_list_price.png" mode="widthFix" />
|
|
<text class="title">历史油价</text>
|
|
</view>
|
|
<image class="arrow" src="../images/ic_list_arrow.png" mode="widthFix"></image>
|
|
</view>
|
|
<view class="flexBox" bindtap='resetPassword' wx:if="{{userType===0}}">
|
|
<view class="cell">
|
|
<image class="icon" src="../images/ic_list_password.png" mode="widthFix" />
|
|
<text class="title">密码管理</text>
|
|
</view>
|
|
<image class="arrow" src="../images/ic_list_arrow.png" mode="widthFix"></image>
|
|
</view>
|
|
|
|
<view class="flexBox" bindtap='login'>
|
|
<view class="cell">
|
|
<image class="icon" src="../images/ic_list_change.png" mode="widthFix" />
|
|
<text class="title">切换账户</text>
|
|
</view>
|
|
<image class="arrow" src="../images/ic_list_arrow.png" mode="widthFix"></image>
|
|
</view>
|
|
<view class="flexBox" bindtap='queryLimit'>
|
|
<view class="cell">
|
|
<image class="icon" src="../images/jiayouedu.png" mode="widthFix" />
|
|
<text class="title">额度查询</text>
|
|
</view>
|
|
<image class="arrow" src="../images/ic_list_arrow.png" mode="widthFix"></image>
|
|
</view>
|
|
<view class="footer" bindtap='contactPhone'>
|
|
<view>电话客服</view>
|
|
</view>
|
|
|
|
</view>
|
|
<view>
|
|
</view>
|
|
<view class="limit-modal" wx:if="{{showLimitModal}}">
|
|
<view class="modal-mask" bindtap="closeLimitModal"></view>
|
|
<view class="modal-content" catchtap="noop">
|
|
<view class="modal-header">
|
|
<text class="modal-title">额度查询</text>
|
|
</view>
|
|
<view class="modal-body">
|
|
<view class="input-group">
|
|
<text class="input-label">手机号码</text>
|
|
<input
|
|
class="input-field"
|
|
placeholder="请输入手机号码"
|
|
value="{{phoneNumber}}"
|
|
bindinput="inputPhoneNumber"
|
|
type="digit"
|
|
/>
|
|
<text class="error-text" wx:if="{{phoneError}}">{{phoneError}}</text>
|
|
</view>
|
|
</view>
|
|
<view class="modal-footer">
|
|
<button class="btn-cancel" bindtap="closeLimitModal">取消</button>
|
|
<button class="btn-confirm" bindtap="confirmQueryLimit">确认查询</button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view> |