You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
11 KiB
1 lines
11 KiB
<view hidden="{{!(dirverDetails)}}"><view class="header"><image style="position:absolute;width:100%;height:403rpx;top:0;z-index:-1;" src="https://xoi-support.oss-cn-hangzhou.aliyuncs.com/星油admin小程序/sjbj.png"></image><view class="top" style="{{'height:'+(styles.top+'px')+';'}}"></view><uni-nav-bar vue-id="5bd6edb7-1" color="white" backgroundColor="rgba(0,0,0,0)" left-icon="back" title="司机详情" data-event-opts="{{[['^clickLeft',[['jump',[-1]]]]]}}" bind:clickLeft="__e" bind:__l="__l"></uni-nav-bar><view class="dirver_car"><view class="dirver_car_body"><swiper style="flex:1;" current="{{current}}" vertical="{{true}}" interval="{{1000}}" duration="{{300}}"><swiper-item data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" catchtouchmove="__e"><view class="dirver_car_body_left"><view class="dirver_car_body_left_id"><view>{{"ID:"+dirverDetails.customerInfoVo.customerId}}</view><view style="display:flex;"><uni-icons vue-id="5bd6edb7-2" type="compose" bind:__l="__l"></uni-icons><view data-event-opts="{{[['tap',[['jump',[1]]]]]}}" style="font-size:28rpx;" bindtap="__e">修改</view></view></view><view class="name" style="position:relative;"><block wx:if="{{dirverDetails.customerInfoVo.headPhoto!=null}}"><image style="height:100rpx;width:100rpx;border-radius:50px;" src="{{dirverDetails.customerInfoVo.headPhoto}}" mode></image></block><block wx:if="{{dirverDetails.customerInfoVo.headPhoto==null}}"><image style="height:100rpx;width:100rpx;border-radius:50px;" src="../../static/tx.png" mode></image></block><view style="margin-left:20rpx;font-size:font-size: 28rpx;"><view style="display:flex;align-items:center;"><view style="margin-right:10rpx;">{{''+(dirverDetails.customerInfoVo.userName?dirverDetails.customerInfoVo.userName:'暂无设置')+''}}</view><u-switch vue-id="5bd6edb7-3" openText="{{openText}}" asyncChange="{{true}}" activeColor="#17A00E" inactive-color="#BBBBBB" size="35" value="{{switchOpen}}" data-event-opts="{{[['^change',[['change']]],['^input',[['__set_model',['','switchOpen','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></u-switch></view><view>{{dirverDetails.customerInfoVo.phone}}</view><view style="font-size:22rpx;color:#999999;">{{''+dirverDetails.customerInfoVo.createTime+''}}</view></view></view></view></swiper-item><swiper-item data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" catchtouchmove="__e"><view class="dirver_car_body_left"><view class="dirver_car_body_left_id"><view>{{dirverDetails.customerInfoVo.id}}</view><view style="display:flex;"><uni-icons vue-id="5bd6edb7-4" type="compose" bind:__l="__l"></uni-icons><view data-event-opts="{{[['tap',[['jump',[3]]]]]}}" style="font-size:28rpx;" bindtap="__e">修改</view></view></view><view class="name" style="position:relative;"><block wx:if="{{dirverDetails.customerInfoVo.headPhoto!=null}}"><image style="height:100rpx;width:100rpx;border-radius:50px;" src="{{dirverDetails.customerInfoVo.headPhoto}}" mode></image></block><block wx:if="{{dirverDetails.customerInfoVo.headPhoto==null}}"><image style="height:100rpx;width:100rpx;border-radius:50px;" src="../../static/tx.png" mode></image></block><view style="margin-left:20rpx;font-size:font-size: 28rpx;"><view style="display:flex;margin-bottom:15rpx;">{{''+(dirverDetails.customerInfoVo.plateNumber?dirverDetails.customerInfoVo.plateNumber:'暂未设置')+''}}<block wx:if="{{dirverDetails.customerInfoVo.plateNumber}}"><text class="tbb">个人</text></block></view><view style="display:flex;">{{''+(dirverDetails.customerInfoVo.plateNumberCompany?dirverDetails.customerInfoVo.plateNumberCompany:'暂未设置')+''}}<block wx:if="{{dirverDetails.customerInfoVo.plateNumberCompany}}"><text class="tbb" style="background-color:#2866FF;">企业</text></block></view></view></view></view></swiper-item></swiper><view class="dirver_car_body_right"><view data-event-opts="{{[['tap',[['dirverIndexFn',[0]]]]]}}" class="dirver_car_body_right_butten" style="{{'background-color:'+(dirverIndex==0?'#FFFFFF':'#F1F1F1')+';'}}" bindtap="__e"><view class="{{[dirverIndex==0?'dirver_car_body_right_butten_seleitem':'dirver_car_body_right_butten_item']}}">个人</view></view><view data-event-opts="{{[['tap',[['dirverIndexFn',[1]]]]]}}" class="dirver_car_body_right_butten" style="{{'background-color:'+(dirverIndex==1?'#FFFFFF':'#F1F1F1')+';'}}" bindtap="__e"><view class="{{[dirverIndex==1?'dirver_car_body_right_butten_seleitem':'dirver_car_body_right_butten_item']}}">车辆</view></view></view></view><view class="dirver_car_footer"><view class="dirver_car_footer_felx"><view class="dirver_car_footer_felx_top">{{dirverDetails.zyBalance}}</view><view class="dirver_car_footer_felx_tip">自营账户余额</view></view><view class="dirver_car_footer_felx"><view class="dirver_car_footer_felx_top">{{''+(dirverDetails.customerAccountVo.balance?$root.g0:0.00)+''}}</view><view class="dirver_car_footer_felx_tip">个人账户余额</view></view><view class="dirver_car_footer_felx"><view class="dirver_car_footer_felx_top">{{dirverDetails.wqBalance}}</view><view class="dirver_car_footer_felx_tip">外请账户余额</view></view></view></view></view><view class="dirver_account"><view class="dirver_account_title"><view data-event-opts="{{[['tap',[['titleIndexFn',[1]]]]]}}" style="{{'color:'+(titleIndex==1?'':'#999999')+';'}}" bindtap="__e">企业油卡账户</view><view data-event-opts="{{[['tap',[['titleIndexFn',[2]]]]]}}" style="{{'color:'+(titleIndex==2?'':'#999999')+';'}}" bindtap="__e">个人油卡账户</view><view class="{{[titleIndex==1?'dirver_account_title_tiao':'dirver_account_sele_title_tiao']}}"></view></view><view hidden="{{!(titleIndex==1)}}" class="dirver_account_car"><view class="dirver_account_car_header"><view class="jiaobiao"></view>自营企业账户</view><view class="swiper_car"><swiper style="height:233rpx;" next-margin="150rpx" autoplay="{{false}}" duration="{{500}}"><block wx:for="{{swiperData.zy}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item data-event-opts="{{[['tap',[['jump',[0,'$0',index],[[['swiperData.zy','',index]]]]]]]}}" bindtap="__e"><view class="swiper_car_item"><view class="swiper_car_item_title"><view class="{{[item.accountState==1?'typeyuan':'seletypeyuan']}}"></view>{{''+item.companyName+''}}</view><view style="display:flex;justify-content:space-between;"><view><text class="swiper_car_item_name">总余额</text><text class="swiper_car_item_price">{{item.balance}}</text></view><block wx:if="{{item.shareCompanyQuota==1}}"><view class="gxtip">共享</view></block></view><view style="display:flex;"><view style="flex:1;"><view><text class="swiper_car_item_name">充值</text><text class="swiper_car_item_price">{{item.rechargeBalance}}</text></view><view class="swiper_car_item_div"><text class="swiper_car_item_name">赊销</text><text class="swiper_car_item_price">{{item.chargeRechargeBalance}}</text></view></view><view style="flex:1;"><view><text class="swiper_car_item_name">充返</text><text class="swiper_car_item_price">{{item.rebateBalance}}</text></view><view class="swiper_car_item_div"><text class="swiper_car_item_name">消返</text><text class="swiper_car_item_price">{{item.consumeRebateBalance}}</text></view></view></view></view></swiper-item></block><block wx:if="{{swiperData.zy.length==0}}"><swiper-item data-event-opts="{{[['tap',[['jump',[4]]]]]}}" bindtap="__e"><image style="width:100%;height:100%;" src="../../static/add.png"></image></swiper-item></block></swiper></view></view><view hidden="{{!(titleIndex==2)}}" class="dirver_account_car"><view class="dirver_account_car_header"><view class="jiaobiao"></view>个人油卡账户</view><view class="swiper_car"><swiper style="height:250rpx;" next-margin="150rpx" autoplay="{{false}}" duration="{{500}}"><swiper-item data-event-opts="{{[['tap',[['jump',[5,'$0'],['dirverDetails.customerAccountVo']]]]]}}" bindtap="__e"><view class="swiper_car_item"><view class="swiper_car_item_title"><view class="typeyuan"></view>{{''+dirverDetails.customerAccountVo.id+''}}</view><view><text class="swiper_car_item_name">总余额</text><text class="swiper_car_item_price">{{dirverDetails.customerAccountVo.balance}}</text></view><view style="display:flex;"><view style="flex:1;"><view><text class="swiper_car_item_name">账户充值余额</text><text class="swiper_car_item_price">{{dirverDetails.customerAccountVo.rechargeBalance}}</text></view><view class="swiper_car_item_div"><text class="swiper_car_item_name">账户充值返利余额</text><text class="swiper_car_item_price">{{dirverDetails.customerAccountVo.rechargeRebateBalance}}</text></view></view></view></view></swiper-item></swiper></view></view></view><view hidden="{{!(titleIndex==1)}}" class="dirver_account"><view class="dirver_account_car" style="height:405rpx;"><view class="dirver_account_car_header" style="justify-content:space-between;align-items:center;"><view style="display:flex;align-items:center;"><view class="jiaobiao"></view><text>外请企业账户</text><text style="color:#BBBBBB;font-size:20rpx;margin-left:20rpx;">{{"合计"+swiperData.wq.length+"张油卡"}}</text></view><view data-event-opts="{{[['tap',[['jump',[2]]]]]}}" style="color:#2866FF;font-size:26rpx;" bindtap="__e">添加</view></view><view class="navbar"><view class="sele_tiao" style="{{'transform:'+('translateX('+xTranslation+'rpx)')+';'}}"></view><view data-event-opts="{{[['tap',[['seleFn',[0,1]]]]]}}" class="{{[seleindex==0?'navbar_seleItem':'navbar_item']}}" bindtap="__e">启用</view><view data-event-opts="{{[['tap',[['seleFn',[1,0]]]]]}}" class="{{[seleindex==1?'navbar_seleItem':'navbar_item']}}" style="margin:0 60rpx;" bindtap="__e">禁用</view><view data-event-opts="{{[['tap',[['seleFn',[2,2]]]]]}}" class="{{[seleindex==2?'navbar_seleItem':'navbar_item']}}" bindtap="__e">所有</view></view><view class="swiper_car"><swiper style="height:233rpx;" current="{{currents}}" next-margin="150rpx" autoplay="{{false}}" duration="{{500}}"><block wx:for="{{swiperData.wq}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{item.swiperOpen}}"><swiper-item data-event-opts="{{[['tap',[['jump',[0,'$0',index],[[['swiperData.wq','',index]]]]]]]}}" bindtap="__e"><view class="swiper_car_item"><view class="swiper_car_item_title"><view class="{{[item.accountState==1?'typeyuan':'seletypeyuan']}}"></view>{{''+item.companyName+''}}</view><view style="width:100%;"><text class="swiper_car_item_name">总余额</text><text class="swiper_car_item_price">{{item.balance}}</text></view><view style="display:flex;width:100%;"><view style="flex:1;"><view><text class="swiper_car_item_name">充值</text><text class="swiper_car_item_price">{{item.rechargeBalance}}</text></view><view class="swiper_car_item_div"><text class="swiper_car_item_name">赊销</text><text class="swiper_car_item_price">{{item.chargeRechargeBalance}}</text></view></view><view style="flex:1;"><view><text class="swiper_car_item_name">充返</text><text class="swiper_car_item_price">{{item.rebateBalance}}</text></view><view class="swiper_car_item_div"><text class="swiper_car_item_name">消返</text><text class="swiper_car_item_price">{{item.consumeRebateBalance}}</text></view></view></view></view></swiper-item></block></block><block wx:if="{{swiperData.wq.length==0}}"><swiper-item data-event-opts="{{[['tap',[['jump',[2]]]]]}}" bindtap="__e"><image style="width:100%;height:100%;" src="../../static/add.png"></image></swiper-item></block></swiper></view></view></view></view> |