zjk
2 天以前 8ea021b366a7fa2715c79089d5604032ae77cfcf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!--pages/home/drivePage/drivePage.wxml-->
<view class="driveEves">
    <view class="drive_Info">
        <!--司机头像-->
        <image src="{{drive.avatar}}" mode="aspectFill" class="drive_img"></image>
        <view class="drive_message">
            <view class="drive_message_name">{{drive.name}} {{drive.licensePlate}}</view>
            <view class="drive_car">{{drive.brand}}</view>
            <view class="drive_fen">
                <image src="../../../img/icon_score.png"   class="fenimg"></image>
                <view>{{fraction||0}}</view>
                <view>{{drive.orderNum}}单</view>
            </view>
        </view>
        <image src="../../../img/icon_dial.png" class="dial" catchtap="callPhone"></image>
    </view>
    <!--乘车信息-->
    <view>
        <view class="drive_time" catchtap="from">
            <view class="yellow"></view>
            <view class="drive_time_vw">{{cityNameStart}}</view>
        </view>
        <view class="drive_time">
            <view class="black"></view>
            <view class="drive_time_vw {{nextCityName!=='您要去哪里儿'?'':'go'}}" catchtap="goWhere">{{nextCityName}}</view>
        </view>
    </view>
 
 
<view class="driveStyle dark" wx:if="{{drive.state==3}}">该司机正在服务请稍后在下单</view>
<view class="driveStyle" wx:elif="{{drive.state==2}}" catchtap="downOrder">确认</view>
<view class="driveStyle dark" wx:elif="{{drive.state==1}}" >该司机未出车</view>
</view>