<!--pages/home/home.wxml-->
|
<!-- <navBar title-text="咸宁出租车" other-title="{{}}" bind:myevent="onMyEvent" step="{{endChangeCar?4:0}}"></navBar> -->
|
<view class='nav' style='height: {{status + navHeight}}px'>
|
<view class='status' style='height: {{status}}px;{{containerStyle}}'></view>
|
<view class='navbar' style='height:{{navHeight}}px;{{containerStyle}}'>
|
<view class='back-icon' bindtap='homeBack' wx:if="{{endChangeCar}}" catchtap="homeBack">
|
<image src='../../img/back@3x.png'></image>
|
</view>
|
<view class='nav-title'>
|
<text style="height:{{navHeight}}px;line-height:{{navHeight}}px;font-size:30rpx;">咸宁出租车</text>
|
</view>
|
</view>
|
</view>
|
|
<view hidden="{{modeSelectId != 1}}">
|
|
<view>
|
<!---->
|
<!--表头-->
|
<view class="adver" wx:if="{{showSwiperTop}}">
|
<swiper class="adver_item" indicator-dots indicator-active-color="white" indicator-color="rgba(255, 255, 255, 0.31)">
|
<swiper-item class="adver_image" wx:for="{{swiperTop}}">
|
<image src="{{item.imgUrl}}" mode="widthFix"></image>
|
</swiper-item>
|
</swiper>
|
<image src="/img/icon_close@2x.png" catchtap="onCloseTop" class="adver-img"></image>
|
</view>
|
|
<view class="home_top {{endChangeCar?'home_top_after':''}}" id="top" style="top:{{sendHeight}}px">
|
<view class="home_top_action" wx:if="{{startChangeCar}}">
|
<!--我的-->
|
<view class="home_main" catchtap="openMessage">
|
<image src="../../img/icon_nav_user.png"></image>
|
</view>
|
<!--地区选择-->
|
<view class="home_location" catchtap="changeCity" data-value="{{newCityName||cityName}}">
|
{{newCityName||cityName}}
|
<image src="../../img/icon_nav_open.png" class="sanjiao"></image>
|
</view>
|
<!--消息 扫一扫-->
|
<view class="home_image_action">
|
<image src="../../img/icon_nav_news.png" catchtap="info"></image>
|
<view class="red_block" wx:if="{{show_block}}"></view>
|
<!-- <image src="../../img/icon_nav_scan.png" catchtap="scan"></image> -->
|
</view>
|
</view>
|
<!--滑动选择框-->
|
<view style="display: flex;width: 100%;" wx:if="{{!chartered}}">
|
<view style="flex: 1;overflow: auto;">
|
<scroll-view scroll-x="true" style="white-space: nowrap; height:24px;margin-bottom: 20rpx;background-color: #fff;padding-bottom: 20rpx;">
|
<view class="bus_styles {{busId==item.id?'active_style':''}}" wx:key='index' catchtap="changCarID" wx:for="{{busStyle}}" data-id="{{item.id}}">{{item.name}}</view>
|
</scroll-view>
|
</view>
|
<view class="more-serve" bindtap="showgengduos" wx:if="{{visibleMoreServe}}">
|
<image src="https://cy-kuanzhai.oss-cn-shenzhen.aliyuncs.com/applet/static/img/gengduo.png"></image>
|
</view>
|
</view>
|
|
|
<!-- 普通与老人模式切换 -->
|
<view style="display: flex;justify-content: center; align-items: center;">
|
<view class="bus_style">
|
<view wx:for="{{modoList}}" wx:key="id" class="{{item.id == modeSelectId ? 'select' : ''}}" bindtap="modeChange" data-id="{{item.id}}">{{item.name}}</view>
|
</view>
|
</view>
|
|
<view class="can_use_car {{endChangeCar?'top_tt':''}}">
|
<image src="../../img/icon_notice.png" class="use_car_icon"></image>
|
<view class="use_car_text" hidden="{{nowOrder}}">当前附近有{{carNum}}辆车可用</view>
|
<view class="use_car_text" hidden="{{!nowOrder}}" data-orderid="{{orderIdIng}}" data-ordertype="{{orderTypeIng}}" data-self="{{selfOrder}}" data-state="{{stateInd}}" catchtap="goWaiting">您有一笔订单正在进行中</view>
|
</view>
|
|
</view>
|
|
<!--地图专栏 专车 出租车 专栏-->
|
<view hidden="{{busId==3||busId==4||busId==5||busId==6}}">
|
<scroll-view class="bottom_box" scroll-top="{{index}}" style='height:{{scrollHeight}}px;bottom:16rpx' scroll-y="true">
|
<map enable-scroll show-location="true" polyline="{{polyline}}" id="map4select" include-points='{{points}}' polyline="{{polyline}}" style="height:{{endChangeCar?60:70}}vh;width:100%" class="mapDom" markers="{{markers}}" latitude="{{latitude}}" longitude="{{longitude}}" bindregionchange="regionchange">
|
<view class="map_center" wx:if="{{showLocationIcon}}">
|
<image src="../../img/icon_location.png" mode="widthFix" class="cover-image"></image>
|
</view>
|
<!-- <view class="remove_view" wx:if="{{showLocationIcon}}">
|
<view class="cover_view" hidden="{{showCover}}">在这里上车</view>
|
<view class="cover_view_move" hidden="{{!showCover}}">拖到路边,接驾更快</view>
|
</view> -->
|
<!--目前都有多少车辆可以用-->
|
</map>
|
<!--安全-->
|
<!-- <view class="can_use_car_now" wx:if="{{nowOrder}}" data-orderid="{{orderIdIng}}" data-state="{{stateInd}}" catchtap="goWaiting">您有正在进行中的订单!</view> -->
|
<view wx:if="{{swiper.length>0}}" class="{{btuBottom==0?'use_car_infrom_icon':'use_car_infrom_icon1'}} {{endChangeCar&&btuBottom==0?'bestTop1':endChangeCar&&btuBottom!==0?'bestTop2':''}}">
|
<image src="../../img/icon_inform.png" class="use_car_infrom"></image>
|
<!-- <view class="use_car_infrom_text">平台已要求所有司机佩戴口罩</view> -->
|
<swiper style="height:60rpx" class="swiper_info" autoplay="true" circular vertical>
|
<swiper-item class="use_car_infrom_text" wx:for="{{swiper}}" wx:key="index">
|
<view>{{item.content}}</view>
|
</swiper-item>
|
</swiper>
|
</view>
|
<!--报警 客服 定位-->
|
<view class="{{btuBottom==0?'use_car_server':'use_car_server1'}} {{endChangeCar&&btuBottom==0?'bestTop':endChangeCar&&btuBottom!==0?'bestTopSave':''}}">
|
<view class="use_car_server_icon" catchtap="get">
|
<image src="../../img/icon_110.png" class="server_icon"></image>
|
<view>报警</view>
|
</view>
|
<view class="use_car_server_icon" catchtap="serverPhone">
|
<image src="../../img/icon_service.png" class="server_icon_bule"></image>
|
<view>客服</view>
|
</view>
|
</view>
|
<!--一键打车-->
|
<!-- <view class="one-key-button" wx:if="{{busId==2&&!endChangeCar}}" catchtap="btnCar" data-index="1">
|
一键打的
|
</view> -->
|
<!--当前定位-->
|
<image src="../../img/location_icon.png" class="{{btuBottom==0?'location_icon':'location_icon1'}} {{endChangeCar&&btuBottom==0?'bestTop1':endChangeCar&&btuBottom!==0?'bestTop2':''}}" catchtap="getMylocation"></image>
|
<!-- <image src="../../img/location_icon.png" class="{{btuBottom==0?'location_icon':'location_icon1'}} {{endChangeCar?'{{btuBottom==0?bestTop1:bestTop2}}':''}}"></image> -->
|
<!--没有选择起始点之前-->
|
<view class="use_car_way" id="indexDom" wx:if="{{startChangeCar&&busId==1}}" style="padding-bottom:{{btuBottom}}rpx">
|
<!--现在 预约 代叫-->
|
<view class="change_way">
|
<view class="change_way_title {{checkDown==item.id?'activeWayTitle':''}}" wx:key="index" wx:for="{{taxiCode}}" data-id="{{item.id}}" catchtap="changeWayApiDown">
|
{{item.name}}
|
<view class="{{checkDown==item.id?'activeWay':''}}"></view>
|
</view>
|
<!--选择乘车人-->
|
<view class="use_people" catchtap="changePeople" hidden="{{checkDown!==3}}">
|
{{changePeople}} > 222222222222
|
</view>
|
|
<!--预约原则时间-->
|
<view class="use_people" catchtap="selecttime" hidden="{{checkDown!==2}}">
|
{{yyTime=='现在'?'选择时间':yyTime}} >
|
</view>
|
</view>
|
<!--从哪来到哪去-->
|
<view class="from_go" catchtap="from">
|
<span></span>
|
<view class="from_name">{{changeStartName||cityNameStart}}</view>
|
</view>
|
<view class="from_where from_go">
|
<span></span>
|
<view class="from_name {{nextCityName!=='您要去哪儿'?'':'go'}}" catchtap="goWhere">{{nextCityName}}</view>
|
</view>
|
<view style="background:white">
|
<view wx:for="{{swiperBottom}}" wx:key="index" class="bottomImg">
|
<image src="{{item.imgUrl}}"></image>
|
</view>
|
</view>
|
</view>
|
|
<!--出租车 一键打车-->
|
<view class="use_car_way one-key" wx:if="{{startChangeCar&&busId==2}}">
|
<!--现在 预约 代叫-->
|
<view class="change_way">
|
<view class="change_way_title {{checkDown==item.id?'activeWayTitle':''}}" wx:key="index" wx:for="{{taxiCode}}" data-id="{{item.id}}" catchtap="changeWayApiDown">
|
{{item.name}}
|
<view class="{{checkDown==item.id?'activeWay':''}}"></view>
|
</view>
|
<!--选择乘车人-->
|
<view class="use_people" catchtap="changePeople" hidden="{{checkDown!==3}}">
|
{{changePeople}} >
|
</view>
|
|
<!--预约原则时间-->
|
<view class="use_people" catchtap="selecttime" hidden="{{checkDown!==2}}">
|
{{yyTime=='现在'?'选择时间':yyTime}} >
|
</view>
|
</view>
|
|
<!--从哪来到哪去-->
|
<view class="from_go ok-key-box">
|
<view class="one-key-view"></view>
|
<view class="from_name one-key-view_from" catchtap="from">{{changeStartName||cityNameStart}}</view>
|
<!-- <image src="/img/update@2x.png" catchtap="getMylocation" mode="widthFix" style="width:70rpx"></image> -->
|
</view>
|
<view class="from_where from_go ok-key-box">
|
<view class="one-key-view one-key-view-end"></view>
|
<view class="from_name one-key-view_from {{nextCityName!=='您要去哪儿'?'':'go'}}" catchtap="goWhere">{{nextCityName}} <span wx:if="nextCityName=='您要去哪儿"></span></view>
|
</view>
|
<view style="background:white">
|
<view wx:for="{{swiperBottom}}" wx:key="index" class="bottomImg">
|
<image src="{{item.imgUrl}}"></image>
|
</view>
|
</view>
|
</view>
|
<!--选择起始点之后-->
|
<view class="user_car_style use_car_way {{endChangeCar?'way_bottom':''}}" wx:if="{{endChangeCar}}" style="padding-bottom:{{btuBottom}}rpx">
|
<view class="change_way" wx:if="{{busId==2}}">
|
<view class="change_way_title {{checkDown==item.id?'activeWayTitle':''}}" wx:key="index" wx:for="{{taxiCode}}" data-id="{{item.id}}" catchtap="changeWayApiDown">
|
{{item.name}}
|
<view class="{{checkDown==item.id?'activeWay':''}}"></view>
|
</view>
|
</view>
|
<!--出租车图片-->
|
<view class="car_style" wx:if="{{busId==2}}">
|
<view class="car_name">出租车</view>
|
<image src="../../img/taxi.png" class="taxi_img"></image>
|
<view class="car_driveText">预估{{changeModel=='线上计费'?priceObj.online:priceObj.offline}}元</view>
|
<!-- <view class="sosPeople" catchtap="setSosPeople">紧急联系人<image src="../../img/icon_nav_open.png" class="jiantou"></image>
|
</view> -->
|
</view>
|
<!--专车 滑动块-->
|
<van-loading class="loading" color="#F07207" wx:if="{{haveQueryServerCarLodaing&&busId==1}}" type="spinner" />
|
<view class="no-special" wx:if="{{special.length==0&&busId==1&&!haveQueryServerCarLodaing}}">附近暂无车辆</view>
|
<scroll-view scroll-x="true" class="special-box" wx:if="{{special.length>0&&busId==1}}">
|
<view class="special {{specialId == item.id ?'special-active':''}}" wx:for="{{special}}" catchtap="getSpecial" data-id="{{item.id}}" wx:key="index">
|
<view>{{item.name}}</view>
|
<image src="{{item.img}}" class="taxi_img"></image>
|
<view>预估{{item.amount||0}}</view>
|
</view>
|
</scroll-view>
|
<!--乘车人和消费-->
|
<view class="car_change" hidden="{{checkDown==2}}">
|
<view wx:if="{{busId==2}}" style="display: flex;align-items: center;justify-content: center;width: 100%;">
|
<view class="people_selsect bor-R" catchtap="changePeople">
|
{{changePeople}}
|
<image src="../../img/icon_nav_open.png" class="jiantou"></image>
|
</view>
|
|
<view class="people_selsect" catchtap="changeModel">
|
{{payModel}}
|
<image src="../../img/icon_nav_open.png" class="jiantou"></image>
|
</view>
|
</view>
|
<view class="people_selsect {{checkDown==2?'three':''}}" catchtap="selecttime" wx:else>
|
{{yyTime=='现在'?'现在':yyTime}}
|
<image src="../../img/icon_nav_open.png" class="jiantou"></image>
|
</view>
|
<!-- <view class="people_selsect" catchtap="selecttip" wx:if="{{busId == 2}}">
|
{{tip=='0元'?'小费':tip}}
|
<image src="../../img/icon_nav_open.png" class="jiantou"></image>
|
</view> -->
|
<view class="people_selsect" catchtap="changePeople" wx:if="{{busId==1}}">
|
{{changePeople}}
|
<image src="../../img/icon_nav_open.png" class="jiantou"></image>
|
</view>
|
<view wx:if="{{busId==1}}" class="people_selsect" catchtap="setSosPeople">紧急联系人<image src="../../img/icon_nav_open.png" class="jiantou"></image>
|
</view>
|
</view>
|
<view class="car_change" style="display: flex;align-items: center;" hidden="{{checkDown==1||checkDown==3}}" wx:if="{{checkDown==2}}">
|
<view class="people_selsect bor-R {{checkDown==2?'three':''}}" catchtap="selecttime">
|
{{yyTime=='现在'?'选择时间':yyTime}}
|
<image src="../../img/icon_nav_open.png" class="jiantou"></image>
|
</view>
|
<view class="people_selsect bor-R {{checkDown==2?'three':''}}" catchtap="changePeople">
|
{{changePeople}}
|
<image src="../../img/icon_nav_open.png" class="jiantou"></image>
|
</view>
|
|
<view class="people_selsect {{checkDown==2?'three':''}}" catchtap="changeModel">
|
{{payModel}}
|
<image src="../../img/icon_nav_open.png" class="jiantou"></image>
|
</view>
|
<!-- <view class="people_selsect {{checkDown==2?'three':''}}" catchtap="selecttip">
|
{{tip=='0元'?'小费':tip}}
|
<image src="../../img/icon_nav_open.png" class="jiantou"></image>
|
</view> -->
|
</view>
|
<!--呼叫出租车-->
|
<button class="btnCar" disabled="{{btnDisabled}}" catchtap="btnCar" data-index="0">{{carName}}</button>
|
</view>
|
</scroll-view>
|
</view>
|
<!--跨城出行 专栏-->
|
<view class="abvoad" hidden="{{busId!==3}}" style="top:{{sendHeight+80}}px;height:{{scrollHeight-sendHeight}}px">
|
<image src="/img/banner@2x.png" mode="widthFix" style="width:100vw"></image>
|
<!--没有选择起始点之前-->
|
<view class="use_car_way abvoad-way" id="indexDom" style="padding-bottom:{{btuBottom}}rpx">
|
<!--从哪来到哪去-->
|
<view class="from_go abovad-flex" catchtap="abvoadStartLocation">
|
<span></span>
|
<view class="from_name abvoad-where {{abvoadStartLocation!=='请选择起点'?' ':'go'}}">{{abvoadStartLocation}}</view>
|
</view>
|
<view class="from_where from_go abovad-flex">
|
<span></span>
|
<view class="from_name abvoad-where {{abvoadEndLocation!=='请选择终点'?' ':'go'}}" catchtap="abvoadEndLocationClick">{{abvoadEndLocation}}</view>
|
</view>
|
<image src="/img/icon_exchange @2x.png" catchtap="abovadCityChange" hidden="{{abvoadEndLocation=='请选择终点'}}" mode="widthFix" style="width:26rpx" class="abovad-change"></image>
|
<button class="abovad-search" catchtap="searchAbovad" hidden="{{abvoadEndLocation=='请选择终点'}}">
|
查询车辆
|
</button>
|
</view>
|
</view>
|
<!--同城小件物流 跨城小件物流-->
|
<view wx:if="{{busId==5||busId==4}}" class="abvoad" style="top:{{sendHeight+80}}px;height:{{scrollHeight-sendHeight}}px">
|
<map id="someCityMap" bindregionchange="startChangeMap" style="height:70vh;width:100%" show-location latitude="{{latitude}}" longitude="{{longitude}}" subkey="QYRBZ-GUGWW-A3XRS-OV3VK-22K6K-7RB3Q" layer-style="1">
|
<view class="map_center">
|
<image src="../../img/icon_location.png" mode="widthFix" class="cover-image"></image>
|
</view>
|
<view class="remove_view">
|
<view class="cover_view some-city">在这里领取</view>
|
</view>
|
</map>
|
<!--同城小件物流操作-->
|
<view class="same-city-box">
|
<view class="same-city-active" catchtap="from">
|
<image src="/img/position.png" style="width:22rpx" mode="widthFix"></image>
|
<view class="same-info-input">{{changeStartName||cityNameStart}}</view>
|
</view>
|
<view class="same-city-active" catchtap="sameCityInfo">
|
<image src="/img/receiver.png" style="width:28rpx" mode="widthFix"></image>
|
<view class="same-info-input same-nothing" wx:if="{{sameUserInfo}}">完善收货人信息</view>
|
<view class="same-have-message" wx:else>
|
<view class="same-name"><span>{{sameUserInfoObj.name}}</span><span>{{sameUserInfoObj.phone}}</span></view>
|
<view class="same-info-address">{{sameUserInfoObj.city}}{{sameUserInfoObj.address}}</view>
|
</view>
|
</view>
|
<view class="same-city-active" catchtap="changeCityTypeStyle">
|
<image src="/img/types.png" style="width:26rpx" mode="widthFix"></image>
|
<view class="same-info-input same-nothing">选择您需要邮寄的物品类型</view>
|
</view>
|
</view>
|
<!--我的订单个数-->
|
<view class="same-city-left {{!sameUserInfo?'same-active':''}}" catchtap="toTip">
|
<image src="../../img/order@2x.png" class="use_car_infrom"></image>
|
<!-- <view class="use_car_infrom_text">平台已要求所有司机佩戴口罩</view> -->
|
<view class="same-order-num ">我的订单({{queryLogisticsNumber||0}}) ></view>
|
</view>
|
<!--当前定位-->
|
<image src="../../img/location_icon.png" class="{{btuBottom==0?'location_icon':'location_icon1'}} {{endChangeCar&&btuBottom==0?'bestTop1':endChangeCar&&btuBottom!==0?'bestTop2':''}}" catchtap="getMylocation"></image>
|
</view>
|
<!--包车-->
|
<view wx:if="{{busId==6}}" class="abvoad" style="top:{{sendHeight+80}}px;height:{{scrollHeight-sendHeight}}px;background:rgba(243, 244, 245, 1)">
|
<view class="input-bc">
|
<view class="bc-active" catchtap="clickCarTime">
|
<view class="bc-title">用车时间</view>
|
<view class="bc-right">
|
<view class="{{useTimeInfo == '' ? 'bc-nothing' : '' }}">{{useTimeInfo == '' ? useTime : useTimeInfo }}</view>
|
<image src="/img/arrows@3x.png" mode="widthFix" style="width:15rpx"></image>
|
</view>
|
</view>
|
<view class="bc-active" catchtap="clickCarDay">
|
<view class="bc-title">用车时长</view>
|
<view class="bc-right">
|
<view class="{{dayNum == '' ? 'bc-nothing' : '' }}">{{dayNum == '' ? useHours : dayNum }}</view>
|
<image src="/img/arrows@3x.png" mode="widthFix" style="width:15rpx"></image>
|
</view>
|
</view>
|
<view class="bc-active" catchtap="clickCarStyleBc">
|
<view class="bc-title">车型要求</view>
|
<view class="bc-right">
|
<view class="{{useCarType == '' ? 'bc-nothing' : '' }}">{{useCarType == '' ? useCarTypeText : useCarType }}</view>
|
<image src="/img/arrows@3x.png" mode="widthFix" style="width:15rpx"></image>
|
</view>
|
</view>
|
<view class="bc-active" catchtap="clickCarTypeBc">
|
<view class="bc-title">车辆用途</view>
|
<view class="bc-right">
|
<view class="{{useHowdo == '' ? 'bc-nothing' : '' }}">{{useHowdo == '' ? useHow : useHowdo }}</view>
|
<image src="/img/arrows@3x.png" mode="widthFix" style="width:15rpx"></image>
|
</view>
|
</view>
|
</view>
|
<view class="input-bc-botom">
|
<view class="bc-active">
|
<view class="bc-title">乘车人数</view>
|
<view class="bc-right">
|
<input placeholder-class="placeholder" value="{{bcPeopleNum}}" bindinput="bcPeople" maxlength="3" type="number" placeholder="填写乘车人数"></input>
|
</view>
|
</view>
|
<view class="bc-active">
|
<view class="bc-title">联系人</view>
|
<view class="bc-right">
|
<input placeholder-class="placeholder" value="{{bcUseInfoNum}}" bindinput="bcUseInfo" placeholder="填写联系人姓名"></input>
|
</view>
|
</view>
|
<view class="bc-active">
|
<view class="bc-title">联系人电话</view>
|
<view class="bc-right">
|
<input placeholder-class="placeholder" value="{{bcUsePhoneNum}}" type="number" bindinput="bcUsePhone" maxlength="11" placeholder="填写联系人电话"></input>
|
</view>
|
</view>
|
</view>
|
<view class="pull-price" wx:if="{{dayNum!==''&&useCarTypeId!==''}}">预计价:{{allPrice}}</view>
|
<view class="bottom-bc-title">
|
<view catchtap="clickPhone" data-phone="{{homePhone[2].phone}}">旅游包车调度电话:{{homePhone[2].phone}}</view>
|
<view catchtap="clickWeb">点击提交则表示同意《咸宁出租车包车规则》</view>
|
</view>
|
<view class="bc-push" catchtap="pushBcClick">提交</view>
|
</view>
|
<view class="Pop" wx:if="{{showPop}}">
|
<view class="pop_view">
|
<view class="pop_title">提示</view>
|
<view class="pop_center">请选择城市服务</view>
|
<view class="prp_btn_bottom">
|
<button class="share" catchtap="go_share" data-value="{{newCityName||cityName}}">确认</button>
|
</view>
|
</view>
|
</view>
|
</view>
|
<van-popup show="{{openMessage}}" position="left" overlay="false" class="message_box" bind:close="close">
|
<view class="message">
|
<view style="margin-top:90px">
|
<image catchtap="changeInfo" class="user_img" src="{{userInfo.avatar||'../../img/icon_logo.png'}}"></image>
|
<view class="user_name">{{userInfo.nickName||nickName||userInfo.emergencyContact}}</view>
|
<!-- <view class="user_num" catchtap="handelClickintegral">当前积分{{userInfo.integral}}</view> -->
|
</view>
|
<view class="item_user" wx:for="{{personalList}}" wx:key="index" catchtap="clickPersonal" data-name="{{item.name}}">
|
<image src="{{item.imgSrc}}" style="width:28rpx;height:28rpx;margin-right:30rpx;"></image>
|
<view>{{item.name}}</view>
|
</view>
|
<button class="item_user" open-type="share" style="padding:0;background:white;margin:0">
|
<image src="/img/icon_me_share.png" style="width:28rpx;height:28rpx;margin-right:30rpx;"></image>
|
<view>分享</view>
|
</button>
|
|
<view class="item_user" catchtap="shareGift">
|
<image src="../../img/message.png" style="width:34rpx;height:32rpx;margin-right:30rpx;"></image>
|
<view>邀请有礼</view>
|
</view>
|
|
</view>
|
</van-popup>
|
|
|
<!--取消订单弹窗-->
|
<view class="close_view" wx:if="{{busId==6&&BcSuccess}}">
|
|
<view class="close_btn_close">
|
<view class="close-img" catchtap="handelcloseOrder">
|
<image src="/img/icon_close@2x.png" mode="widthFix" style="width:32rpx"></image>
|
</view>
|
<view class="close_title">提示</view>
|
<view class="close_other">提交成功!我们将根据您的需求,与您</view>
|
<view class="close_other">取得联系,请您保持手机的畅通</view>
|
<view class="close_button">
|
<view class="close_y" catchtap="handelcloseOrder">确认</view>
|
</view>
|
</view>
|
</view>
|
|
<tip selecttip="{{selecttip}}" bind:parentEventTip="onParentEventTip" style="padding-bottom:{{btuBottom}}rpx"></tip>
|
|
<time selecttime="{{selecttime}}" bind:parentEvent='onParentEvent' style="padding-bottom:{{btuBottom}}rpx"></time>
|
|
<bcTime selecttime="{{selecttimeBc}}" bind:parentEventBcTime='onParentEventBcTime' style="padding-bottom:{{btuBottom}}rpx"></bcTime>
|
|
<dayNum selecttip="{{selectdayNum}}" bind:parentEventDayNum="onParentEventDayNum" style="padding-bottom:{{btuBottom}}rpx"></dayNum>
|
</view>
|
|
<!-- 老人模式 -->
|
<view class="elderly-model" style="top:{{sendHeight}}px" hidden="{{modeSelectId != 2}}">
|
<!-- 普通与老人模式切换 -->
|
<view style="display: flex;justify-content: center; align-items: center;">
|
<view class="bus_style" style="margin-bottom: 50rpx;">
|
<view wx:for="{{modoList}}" wx:key="id" class="{{item.id == modeSelectId ? 'select' : ''}}" bindtap="modeChange" data-id="{{item.id}}">{{item.name}}</view>
|
</view>
|
</view>
|
<elderly-model cityName="{{cityName}}" busId="{{busId}}" city="{{changeStartName||cityNameStart}}" bindclickCall="clickCall" bindcallPhone="callPhone" homePhone="{{homePhone}}" />
|
</view>
|
|
<!-- 一键打车确认弹窗 -->
|
<popup wx:if="{{confirmPopupShow}}" content="您确定叫车吗?" bindcancel="clickCall" bindconfirm="confirmClickCall" />
|
|
<!-- 未选择城市 -->
|
<view class="selectCity" wx:if="{{newCityName == '正在定位中'||cityName == '正在定位中' || !isLocation}}">
|
<view class="selectCity-box">
|
<view class="title">提示</view>
|
<view class="content">请选择服务城市</view>
|
<view class="confirm" bindtap="selectCity">确定</view>
|
</view>
|
</view>
|
|
<!-- 未登录同意协议 -->
|
<view class="agreement" wx:if="{{agreementShow}}">
|
<view class="agreement-box">
|
<view class="tabs">
|
<view class="{{agreementSelect == 1 ? 'select' : ''}}" bindtap="agreementChange" data-id="1">隐私协议</view>
|
<view bindtap="agreementChange" data-id="2" class="{{agreementSelect == 2 ? 'select' : ''}}">用户协议</view>
|
</view>
|
|
<view class="content">
|
<view style="text-align:center;font-size:36rpx;margin-bottom:30rpx;">欢迎使用“咸宁出租车”</view>
|
<view class="detail-wrapper">
|
<rich-text nodes="{{content}}"></rich-text>
|
</view>
|
</view>
|
|
<view class="agreement-btn">
|
<view bindtap="disagree">不同意并退出</view>
|
<view bindtap="agree">同意</view>
|
</view>
|
</view>
|
</view>
|
<view wx:if="{{showNotice}}" class="overlay">
|
<view class="notice">
|
<view bindtap="goWebView">
|
<image src="{{noticeInfo.imgUrl}}" mode="aspectFill"></image>
|
<view class="subTitle">
|
<rich-text nodes="{{ noticeInfo.content }}"></rich-text>
|
</view>
|
</view>
|
<image bindtap="closeNotice" class="close" src="/img/icon_close1.png"></image>
|
</view>
|
</view>
|
<view wx:if="{{showBlack}}" class="overlay">
|
<view class="blackList">
|
<view class="title">提示</view>
|
<view class="content">
|
您的账号存在已被司机多次投诉,平台已将您加入黑名单!
|
<view>请联系平台处理,联系电话:{{ homePhone[1].phone }}</view>
|
</view>
|
<view class="contact" catchtap="serverPhone">去联系</view>
|
<image catchtap="closeBlack" class="close" src="/img/icon_close@2x.png"></image>
|
</view>
|
</view>
|
|
<van-popup position="bottom" overlay="{{ true }}" show="{{showModel}}" bind:close="onClose">
|
<view class="van_top">
|
<view class="van_title" style="font-weight: 600;">选择计费方式</view>
|
<image src="../../img/icon_close.png" catchtap="onClose"></image>
|
</view>
|
|
<view class="van-content">
|
<view class="van-item" bindtap="changeTab1">
|
<image src="../../img/xuanzhong@2x.png" wx:if="{{changeModel=='线上计费'}}" class="check-icon-item" />
|
<image src="../../img/icon_raidobutton.png" wx:if="{{changeModel=='打表计费'}}" class="check-icon-item" />
|
<view style="width: 100%;">
|
<view style="font-weight: 600; display: flex; justify-content: space-between;width: 100%;"> <view>线上计费</view> <view>预估{{priceObj.online}}元</view></view>
|
<view>平台计费在线付款给平台</view>
|
</view>
|
|
</view>
|
<view class="van-item" bindtap="changeTab2">
|
<image src="../../img/icon_raidobutton.png" wx:if="{{changeModel=='线上计费'}}" class="check-icon-item" />
|
<image src="../../img/xuanzhong@2x.png" wx:if="{{changeModel=='打表计费'}}" class="check-icon-item" />
|
<view style="width: 100%;">
|
<view style="font-weight: 600; display: flex; justify-content: space-between;width: 100%;"> <view>打表计费</view> <view>预估{{priceObj.offline}}元</view></view>
|
<view>司机打表计费</view>
|
</view>
|
</view>
|
</view>
|
|
<button disabled="{{btnDisabled}}" catchtap="changePayModel" class="sure-btn">确认</button>
|
</van-popup>
|