2024-09-19 17:33:39 +08:00
|
|
|
|
<template>
|
|
|
|
|
<view class="page">
|
|
|
|
|
<view class="fixed">
|
|
|
|
|
<u-navbar title=" " :border-bottom="false" :background="background" title-color='#fff' title-size='36'
|
|
|
|
|
height='45' back-icon-color='#000'></u-navbar>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="backimg">
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
<view class="tit">
|
2024-09-30 18:02:38 +08:00
|
|
|
|
{{typeReturn(orderInfo.status)}}
|
2024-09-19 17:33:39 +08:00
|
|
|
|
</view>
|
2024-09-30 18:02:38 +08:00
|
|
|
|
<view class="tips" v-if="orderInfo.status==0">
|
|
|
|
|
剩余支付时间:{{countdown}}
|
2024-09-19 17:33:39 +08:00
|
|
|
|
</view>
|
2024-09-30 18:02:38 +08:00
|
|
|
|
<view class="order_code" v-if="orderInfo.status==8">
|
2024-09-19 17:33:39 +08:00
|
|
|
|
<view class="tits" style="color: #3D3D3D;font-weight: 600;font-size: 32rpx;">
|
|
|
|
|
已还车
|
|
|
|
|
</view>
|
|
|
|
|
<view class="tits">
|
2024-09-30 18:02:38 +08:00
|
|
|
|
押金将退还原支付账户
|
2024-09-19 17:33:39 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="tits">
|
2024-09-30 18:02:38 +08:00
|
|
|
|
还车时间:09月05日(周四)16:00
|
2024-09-19 17:33:39 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="store_car">
|
|
|
|
|
<view class="top">
|
|
|
|
|
<view class="type">
|
|
|
|
|
租车门店
|
|
|
|
|
</view>
|
2024-09-30 18:02:38 +08:00
|
|
|
|
{{storeInfo.name}}
|
2024-09-19 17:33:39 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="address">
|
2024-09-30 18:02:38 +08:00
|
|
|
|
{{storeInfo.simpleAddress}}
|
2024-09-19 17:33:39 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="time">
|
|
|
|
|
营业时间:09:00-21:00
|
|
|
|
|
</view>
|
|
|
|
|
<view class="store_btn_li">
|
|
|
|
|
<view class="store_btn">
|
|
|
|
|
<image src="https://lxnapi.ccttiot.com/bike/img/static/umkJCfPac4Mrzni8aoda" mode=""></image>
|
|
|
|
|
联系门店
|
|
|
|
|
</view>
|
2024-09-30 18:02:38 +08:00
|
|
|
|
<view class="store_btn" @click="mapFun">
|
2024-09-19 17:33:39 +08:00
|
|
|
|
<image src="https://lxnapi.ccttiot.com/bike/img/static/uolYZ4dLvxxI2n2WzZ4J" mode=""></image>
|
|
|
|
|
导航到店
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="getType">
|
|
|
|
|
<view class="type">
|
|
|
|
|
还取方式
|
|
|
|
|
</view>
|
2024-09-30 18:02:38 +08:00
|
|
|
|
<view class="txt" v-if="orderInfo.returnMethod==1">
|
2024-09-19 17:33:39 +08:00
|
|
|
|
自行前往门店还车
|
|
|
|
|
</view>
|
2024-09-30 18:02:38 +08:00
|
|
|
|
<view class="txt" v-if="orderInfo.returnMethod==2">
|
|
|
|
|
上门取车
|
|
|
|
|
</view>
|
2024-09-19 17:33:39 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="info_box">
|
|
|
|
|
<view class="car_info">
|
2024-09-30 18:02:38 +08:00
|
|
|
|
<image :src="modelInfo.picture" mode=""></image>
|
2024-09-19 17:33:39 +08:00
|
|
|
|
<view class="right_info">
|
|
|
|
|
<view class="tits">
|
2024-09-30 18:02:38 +08:00
|
|
|
|
{{modelInfo.model}}
|
2024-09-19 17:33:39 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="txt">
|
2024-09-30 18:02:38 +08:00
|
|
|
|
套餐:{{orderInfo.rentalPeriodText}}
|
2024-09-19 17:33:39 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="txt">
|
2024-09-30 18:02:38 +08:00
|
|
|
|
租赁周期:{{orderInfo.num}}{{timetype(orderInfo.rentalUnit)}}
|
2024-09-19 17:33:39 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="data">
|
|
|
|
|
<view class="text">
|
|
|
|
|
租车时间
|
|
|
|
|
</view>
|
2024-09-30 18:02:38 +08:00
|
|
|
|
<view class="time" v-if="orderInfo.pickupTime">
|
|
|
|
|
共{{orderInfo.num}}{{timetype(orderInfo.rentalUnit)}}({{returnTime(orderInfo.pickupTime)}}-{{returnTime(orderInfo.expiryTime)}})
|
2024-09-19 17:33:39 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="info_li">
|
|
|
|
|
<view class="text">
|
|
|
|
|
租金
|
|
|
|
|
</view>
|
|
|
|
|
<view class="price">
|
2024-09-30 18:02:38 +08:00
|
|
|
|
<!-- <span>¥108×1</span> -->
|
|
|
|
|
¥{{orderInfo.price}}
|
2024-09-19 17:33:39 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="info_li">
|
|
|
|
|
<view class="text">
|
2024-09-30 18:02:38 +08:00
|
|
|
|
车辆派送费
|
2024-09-19 17:33:39 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="price">
|
|
|
|
|
|
2024-09-30 18:02:38 +08:00
|
|
|
|
¥{{orderInfo.deliveryFee}}
|
2024-09-19 17:33:39 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="info_li">
|
|
|
|
|
<view class="text">
|
|
|
|
|
押金
|
|
|
|
|
</view>
|
|
|
|
|
<view class="price">
|
2024-09-30 18:02:38 +08:00
|
|
|
|
<!-- <span>¥108×1</span> -->
|
|
|
|
|
¥{{orderInfo.deposit}}
|
2024-09-19 17:33:39 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="line">
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
<view class="info_li">
|
|
|
|
|
<view class="text">
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
<view class="price" style="font-size: 40rpx;">
|
|
|
|
|
<span style="font-size: 28rpx;">实付款</span>
|
2024-09-30 18:02:38 +08:00
|
|
|
|
¥{{orderInfo.payFee}}
|
2024-09-19 17:33:39 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="info_li" style="margin-top: 16rpx;">
|
|
|
|
|
<view class="text"></view>
|
|
|
|
|
<view class="price" style="font-size: 40rpx;">
|
|
|
|
|
<span>还车成功后押金将退回原支付账户</span>
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="tab_box">
|
|
|
|
|
<view class="choose_tab">
|
2024-09-30 18:02:38 +08:00
|
|
|
|
<view class="tab_li" @click="tabindex=0">
|
2024-09-19 17:33:39 +08:00
|
|
|
|
取车须知
|
2024-09-30 18:02:38 +08:00
|
|
|
|
<view class="tab_line" v-if="tabindex==0"></view>
|
|
|
|
|
<view class="tab_line" v-else style="background: #fff;"></view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="tab_li" @click="tabindex=1">
|
|
|
|
|
取消规则
|
|
|
|
|
<view class="tab_line" v-if="tabindex==1"></view>
|
|
|
|
|
<view class="tab_line" v-else style="background: #fff;"></view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="tab_li" @click="tabindex=2">
|
|
|
|
|
超时规则
|
|
|
|
|
<view class="tab_line" v-if="tabindex==2"></view>
|
|
|
|
|
<view class="tab_line" v-else style="background: #fff;"></view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="tab_li" @click="tabindex=3">
|
|
|
|
|
还车规则
|
|
|
|
|
<view class="tab_line" v-if="tabindex==3"></view>
|
|
|
|
|
<view class="tab_line" v-else style="background: #fff;"></view>
|
2024-09-19 17:33:39 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-09-30 18:02:38 +08:00
|
|
|
|
<view class="text" v-if="tabindex==0">
|
|
|
|
|
请在{{orderInfo.pickupTime}}前取车,超出时间将无法保证 车辆库存。
|
2024-09-19 17:33:39 +08:00
|
|
|
|
</view>
|
2024-09-30 18:02:38 +08:00
|
|
|
|
<view class="tabble" v-if="tabindex==1">
|
|
|
|
|
<view class="tabble_top">
|
|
|
|
|
<view class="tabbl_left">
|
|
|
|
|
取消时间
|
|
|
|
|
</view>
|
|
|
|
|
<view class="tabble_right">
|
|
|
|
|
扣费标准
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="tabble_cont" v-for="(item,index) in agentInfo.cancelRuleList" :key="index">
|
|
|
|
|
<view class="tabbl_left">
|
|
|
|
|
{{item.instructions}}
|
|
|
|
|
</view>
|
|
|
|
|
<view class="tabble_right">
|
|
|
|
|
{{backDedu(item.deductPercent)}}
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
<image src="https://lxnapi.ccttiot.com/bike/img/static/ucMwistLU09PNS4YqXgr" mode="" v-if="tabindex==3" style="width: 698rpx;height: 1142rpx;margin-left: -28rpx;"></image>
|
2024-09-19 17:33:39 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="order_code">
|
|
|
|
|
<view class="tits">
|
|
|
|
|
订单编号
|
|
|
|
|
</view>
|
|
|
|
|
<view class="code_li">
|
|
|
|
|
<view class="code">
|
2024-09-30 18:02:38 +08:00
|
|
|
|
{{orderInfo.orderNo}}
|
2024-09-19 17:33:39 +08:00
|
|
|
|
</view>
|
2024-09-30 18:02:38 +08:00
|
|
|
|
<view class="btn" @click="copy(orderInfo.orderNo)">
|
2024-09-19 17:33:39 +08:00
|
|
|
|
复制
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-09-30 18:02:38 +08:00
|
|
|
|
<view class="bot_btn">
|
|
|
|
|
<view class="btn_li" v-if="orderInfo.status==0">
|
|
|
|
|
<view class="txt2" @click="orderCancel">
|
|
|
|
|
取消订单
|
|
|
|
|
</view>
|
|
|
|
|
<view class="btn">
|
|
|
|
|
确认支付
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-09-19 17:33:39 +08:00
|
|
|
|
<view class="btn_li" v-if="false">
|
|
|
|
|
<view class="txt2">
|
|
|
|
|
取消订单
|
|
|
|
|
</view>
|
|
|
|
|
<view class="btn">
|
|
|
|
|
扫码用车
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="btn_li2" v-if="false">
|
|
|
|
|
<view class="btn3">
|
|
|
|
|
去还车
|
|
|
|
|
</view>
|
|
|
|
|
<view class="btn3">
|
|
|
|
|
用车
|
|
|
|
|
</view>
|
|
|
|
|
<view class="btn4">
|
|
|
|
|
续租
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-09-30 18:02:38 +08:00
|
|
|
|
<view class="btn_li3" v-if="orderInfo.status==8||orderInfo.status==5||orderInfo.status==6">
|
2024-09-19 17:33:39 +08:00
|
|
|
|
<view class="btn3" style="width: 1rpx;"></view>
|
2024-09-30 18:02:38 +08:00
|
|
|
|
<view class="btn5" @click="tosubOrder()">
|
2024-09-19 17:33:39 +08:00
|
|
|
|
重新下单
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-09-30 18:02:38 +08:00
|
|
|
|
<u-mask :show="showaddress" :z-index='100' duration='0' />
|
2024-09-19 17:33:39 +08:00
|
|
|
|
<view class="address_box" v-if="showaddress">
|
|
|
|
|
<view class="close">
|
|
|
|
|
<image src="https://lxnapi.ccttiot.com/bike/img/static/uBhLz9V8ZDw6PfEfQHL9" mode=""></image>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="tit5">
|
|
|
|
|
支持多店还车
|
|
|
|
|
</view>
|
|
|
|
|
<view class="tip">
|
|
|
|
|
还车可选择以下任意一家门店
|
|
|
|
|
</view>
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
2024-09-19 17:33:39 +08:00
|
|
|
|
<view class="card_box">
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
2024-09-19 17:33:39 +08:00
|
|
|
|
<view class="card" v-for=" item in 3" :key="item">
|
|
|
|
|
<view class="chose_img">
|
|
|
|
|
<image src="https://lxnapi.ccttiot.com/bike/img/static/uwsRz4zY4kaKnkYt3EFS" mode=""></image>
|
|
|
|
|
<!-- <image src="https://lxnapi.ccttiot.com/bike/img/static/uYzjRBaXWfUiqYeQj77R" mode=""></image> -->
|
|
|
|
|
</view>
|
|
|
|
|
<view class="card_tit">
|
|
|
|
|
云行租车(汇丰公寓)
|
|
|
|
|
</view>
|
|
|
|
|
<view class="card_txt">
|
|
|
|
|
<image src="https://lxnapi.ccttiot.com/bike/img/static/utT79qEWjVeXaZXTihtW" mode=""></image>
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
2024-09-19 17:33:39 +08:00
|
|
|
|
<view class="words">
|
|
|
|
|
营业时间:09:00-21:00
|
|
|
|
|
</view>
|
|
|
|
|
<view class="km">
|
|
|
|
|
961.0m
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="card_txt">
|
2024-09-30 18:02:38 +08:00
|
|
|
|
<image src="https://lxnapi.ccttiot.com/bike/img/static/uBa17CwWo6fhf1csWoko" mode=""></image>
|
2024-09-19 17:33:39 +08:00
|
|
|
|
<view class="words">
|
|
|
|
|
人民南路110号(通过街地铁站C口步行120 米)
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="store_btn_li">
|
|
|
|
|
<view class="store_btn">
|
2024-09-30 18:02:38 +08:00
|
|
|
|
<image src="https://lxnapi.ccttiot.com/bike/img/static/umkJCfPac4Mrzni8aoda" mode="">
|
|
|
|
|
</image>
|
2024-09-19 17:33:39 +08:00
|
|
|
|
联系门店
|
|
|
|
|
</view>
|
|
|
|
|
<view class="store_btn">
|
2024-09-30 18:02:38 +08:00
|
|
|
|
<image src="https://lxnapi.ccttiot.com/bike/img/static/uolYZ4dLvxxI2n2WzZ4J" mode="">
|
|
|
|
|
</image>
|
2024-09-19 17:33:39 +08:00
|
|
|
|
导航到店
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="btn">
|
|
|
|
|
确认选择
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<u-mask :show="showsub" :z-index='100' duration='0' />
|
|
|
|
|
<view class="sub_car" v-if="showsub">
|
|
|
|
|
<view class="tit3">
|
|
|
|
|
确认用车
|
|
|
|
|
</view>
|
|
|
|
|
<view class="car_info">
|
|
|
|
|
<image src="https://lxnapi.ccttiot.com/bike/img/static/ucOJVTe4wsXSKAH181k9" mode=""></image>
|
|
|
|
|
<view class="right_infos">
|
|
|
|
|
<view class="tit4">
|
|
|
|
|
全新车网红泡泡50KM...
|
|
|
|
|
</view>
|
|
|
|
|
<view class="txt3" style="margin-top: 16rpx;">
|
|
|
|
|
手机开关锁 | 定位防盗
|
|
|
|
|
</view>
|
|
|
|
|
<view class="txt3">
|
|
|
|
|
车辆编号:21358941
|
|
|
|
|
</view>
|
|
|
|
|
<view class="txt3">
|
2024-09-30 18:02:38 +08:00
|
|
|
|
<image src="https://lxnapi.ccttiot.com/bike/img/static/uDlsHeWoSBa8Sj4dAhYx" mode=""></image>
|
|
|
|
|
90% <span style="margin-left: 40rpx;">可骑行35km</span>
|
2024-09-19 17:33:39 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
2024-09-19 17:33:39 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="btn_li">
|
|
|
|
|
<view class="btn1">
|
|
|
|
|
换一辆
|
|
|
|
|
</view>
|
|
|
|
|
<view class="btn2">
|
|
|
|
|
确认
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
2024-09-19 17:33:39 +08:00
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
showsub: false,
|
2024-09-30 18:02:38 +08:00
|
|
|
|
showaddress: false,
|
|
|
|
|
orderNo: '',
|
|
|
|
|
orderInfo: {},
|
|
|
|
|
countdown: '',
|
|
|
|
|
countdownTimer: null,
|
|
|
|
|
storeInfo: {},
|
|
|
|
|
modelInfo: {},
|
|
|
|
|
tabindex:0,
|
|
|
|
|
agentInfo:{}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onLoad(e) {
|
|
|
|
|
if (e.orderNo) {
|
|
|
|
|
this.orderNo = e.orderNo
|
2024-09-19 17:33:39 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
2024-09-30 18:02:38 +08:00
|
|
|
|
onShow() {
|
|
|
|
|
this.getOrderInfo()
|
|
|
|
|
},
|
2024-09-19 17:33:39 +08:00
|
|
|
|
methods: {
|
2024-09-30 18:02:38 +08:00
|
|
|
|
copy(orderNo) {
|
|
|
|
|
uni.setClipboardData({
|
|
|
|
|
data: orderNo,
|
|
|
|
|
success: () => {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: '复制成功',
|
|
|
|
|
icon: 'success',
|
|
|
|
|
duration: 2000
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
fail: () => {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: '复制失败',
|
|
|
|
|
icon: 'none',
|
|
|
|
|
duration: 2000
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
tosubOrder(){
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url:'/page_user/ordder?storeId='+this.orderInfo.storeId+'&modelId='+this.orderInfo.modelId
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
orderCancel(){
|
|
|
|
|
|
|
|
|
|
this.$u.post(`appVerify/orderCancel?orderNo=`+this.orderInfo.orderNo).then((res) => {
|
|
|
|
|
if (res.code == 200) {
|
|
|
|
|
this.getOrderInfo()
|
2024-09-19 17:33:39 +08:00
|
|
|
|
|
2024-09-30 18:02:38 +08:00
|
|
|
|
} else {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: res.msg,
|
|
|
|
|
icon: 'none',
|
|
|
|
|
duration: 2000
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
returnTime(time) {
|
|
|
|
|
// 将时间字符串转换为 Date 对象
|
|
|
|
|
let date = new Date(time.replace(/-/g, "/"));
|
|
|
|
|
|
|
|
|
|
// 获取月份(注意:月份从 0 开始,需要加 1)
|
|
|
|
|
let month = (date.getMonth() + 1).toString().padStart(2, "0");
|
|
|
|
|
|
|
|
|
|
// 获取日期
|
|
|
|
|
let day = date.getDate().toString().padStart(2, "0");
|
|
|
|
|
|
|
|
|
|
// 获取小时
|
|
|
|
|
let hours = date.getHours().toString().padStart(2, "0");
|
|
|
|
|
|
|
|
|
|
// 获取分钟
|
|
|
|
|
let minutes = date.getMinutes().toString().padStart(2, "0");
|
|
|
|
|
|
|
|
|
|
// 返回指定格式
|
|
|
|
|
return `${month}/${day} ${hours}:${minutes}`;
|
|
|
|
|
},
|
|
|
|
|
timetype(time) {
|
|
|
|
|
if (time == 'hour') {
|
|
|
|
|
return '小时'
|
|
|
|
|
} else if (time == 'day') {
|
|
|
|
|
return '天'
|
|
|
|
|
} else if (time == 'week') {
|
|
|
|
|
return '周'
|
|
|
|
|
} else if (time == 'month') {
|
|
|
|
|
return '月'
|
|
|
|
|
} else if (time == 'quarter') {
|
|
|
|
|
return '季度'
|
|
|
|
|
} else if (time == 'year') {
|
|
|
|
|
return '年'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
typeReturn(num) {
|
|
|
|
|
if (num == 0) {
|
|
|
|
|
return '待支付'
|
|
|
|
|
} else if (num == 1) {
|
|
|
|
|
return '待取车'
|
|
|
|
|
} else if (num == 2) {
|
|
|
|
|
return '待送车'
|
|
|
|
|
} else if (num == 3) {
|
|
|
|
|
return '送车中'
|
|
|
|
|
} else if (num == 4) {
|
|
|
|
|
return '进行中'
|
|
|
|
|
} else if (num == 5) {
|
|
|
|
|
return '超时取消'
|
|
|
|
|
} else if (num == 6) {
|
|
|
|
|
return '已取消'
|
|
|
|
|
} else if (num == 1) {
|
|
|
|
|
return '已结束'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mapFun() {
|
|
|
|
|
console.log('点击了');
|
|
|
|
|
uni.openLocation({
|
|
|
|
|
latitude: this.storeInfo.lat,
|
|
|
|
|
//纬度 - 目的地/坐标点
|
|
|
|
|
longitude: this.storeInfo.lng,
|
|
|
|
|
//经度 - 目的地/坐标点
|
|
|
|
|
// name: "荆门市",
|
|
|
|
|
address: this.storeInfo.simpleAddress
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
getstoreInfo() {
|
|
|
|
|
let data = {
|
|
|
|
|
storeId: this.orderInfo.storeId
|
|
|
|
|
}
|
|
|
|
|
this.$u.get(`app/getStore?`, data).then((res) => {
|
|
|
|
|
if (res.code == 200) {
|
|
|
|
|
this.storeInfo = res.data
|
|
|
|
|
} else {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: res.msg,
|
|
|
|
|
icon: 'none',
|
|
|
|
|
duration: 2000
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
getmodelInfo() {
|
|
|
|
|
let data = {
|
|
|
|
|
modelId: this.orderInfo.modelId
|
|
|
|
|
}
|
|
|
|
|
this.$u.get(`app/getModelById?`, data).then((res) => {
|
|
|
|
|
if (res.code == 200) {
|
|
|
|
|
this.modelInfo = res.data
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: res.msg,
|
|
|
|
|
icon: 'none',
|
|
|
|
|
duration: 2000
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
getAgent() {
|
|
|
|
|
let data = {
|
|
|
|
|
agentId: this.orderInfo.agentId
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
this.$u.get(`app/getAgentByAgentId?`, data).then((res) => {
|
|
|
|
|
if (res.code == 200) {
|
|
|
|
|
this.agentInfo = res.data;
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: res.msg,
|
|
|
|
|
icon: 'none',
|
|
|
|
|
duration: 2000
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
backDedu(info) {
|
|
|
|
|
if (info == 0) {
|
|
|
|
|
return '免费取消'
|
|
|
|
|
} else {
|
|
|
|
|
return '扣费' + info * 100 + '%'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
getOrderInfo() {
|
|
|
|
|
let data = {
|
|
|
|
|
orderNo: this.orderNo
|
|
|
|
|
};
|
|
|
|
|
this.$u.get(`appVerify/orderInfo?`, data).then((res) => {
|
|
|
|
|
if (res.code === 200) {
|
|
|
|
|
this.orderInfo = res.data;
|
|
|
|
|
this.getstoreInfo()
|
|
|
|
|
this.getmodelInfo()
|
|
|
|
|
this.getAgent()
|
|
|
|
|
// 调用倒计时方法
|
|
|
|
|
if (this.orderInfo.status == 0) {
|
|
|
|
|
this.startCountdown(this.orderInfo.autoCancelTime);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: res.msg,
|
|
|
|
|
icon: 'none',
|
|
|
|
|
duration: 2000
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
startCountdown(autoCancelTime) {
|
|
|
|
|
// 清除之前的倒计时,防止多次调用导致冲突
|
|
|
|
|
if (this.countdownTimer) {
|
|
|
|
|
clearInterval(this.countdownTimer);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 将时间字符串转为时间对象
|
|
|
|
|
let cancelTime = new Date(autoCancelTime.replace(/-/g, "/")).getTime();
|
|
|
|
|
|
|
|
|
|
// 定时器,每秒更新一次倒计时
|
|
|
|
|
this.countdownTimer = setInterval(() => {
|
|
|
|
|
let currentTime = new Date().getTime();
|
|
|
|
|
|
|
|
|
|
// 计算剩余的毫秒数
|
|
|
|
|
let diff = cancelTime - currentTime;
|
|
|
|
|
|
|
|
|
|
// 如果倒计时时间已到,清除定时器并设置倒计时为 "00:00"
|
|
|
|
|
if (diff <= 0) {
|
|
|
|
|
clearInterval(this.countdownTimer);
|
|
|
|
|
this.countdown = "00:00";
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 计算小时、分钟和秒
|
|
|
|
|
let hours = Math.floor(diff / (1000 * 60 * 60));
|
|
|
|
|
let minutes = Math.floor((diff % (1000 * 60 * 60)) / (1000 * 60));
|
|
|
|
|
let seconds = Math.floor((diff % (1000 * 60)) / 1000);
|
|
|
|
|
|
|
|
|
|
// 格式化显示
|
|
|
|
|
if (hours > 0) {
|
|
|
|
|
this.countdown = `${hours}小时 ${minutes}分钟 ${seconds}秒`;
|
|
|
|
|
} else {
|
|
|
|
|
this.countdown = `${minutes}分钟 ${seconds}秒`;
|
|
|
|
|
}
|
|
|
|
|
}, 1000);
|
|
|
|
|
},
|
2024-09-19 17:33:39 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
|
|
|
|
|
2024-09-19 17:33:39 +08:00
|
|
|
|
<style lang="scss">
|
|
|
|
|
page {
|
|
|
|
|
background-color: #F7F7F7;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.page {
|
|
|
|
|
padding-bottom: 200rpx;
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
|
|
|
|
.address_box {
|
2024-09-19 17:33:39 +08:00
|
|
|
|
z-index: 110;
|
|
|
|
|
position: fixed;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
padding: 28rpx 46rpx;
|
|
|
|
|
width: 750rpx;
|
|
|
|
|
border-radius: 30rpx 30rpx 0 0;
|
|
|
|
|
background: #FFFFFF;
|
2024-09-30 18:02:38 +08:00
|
|
|
|
box-shadow: 0rpx 8rpx 20rpx 0rpx rgba(0, 0, 0, 0.3);
|
|
|
|
|
|
|
|
|
|
.close {
|
2024-09-19 17:33:39 +08:00
|
|
|
|
position: absolute;
|
|
|
|
|
top: 56rpx;
|
|
|
|
|
right: 50rpx;
|
|
|
|
|
width: 33.99rpx;
|
|
|
|
|
height: 33.99rpx;
|
|
|
|
|
}
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
2024-09-19 17:33:39 +08:00
|
|
|
|
.card_box::-webkit-scrollbar {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
|
|
|
|
.btn {
|
2024-09-19 17:33:39 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
margin-top: 46rpx;
|
|
|
|
|
width: 696rpx;
|
|
|
|
|
height: 100rpx;
|
|
|
|
|
background: #4297F3;
|
|
|
|
|
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 40rpx;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
}
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
|
|
|
|
.card_box {
|
2024-09-19 17:33:39 +08:00
|
|
|
|
margin-top: 36rpx;
|
2024-09-30 18:02:38 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
max-height: 740rpx;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
/* 允许上下滚动 */
|
|
|
|
|
overflow-x: hidden;
|
|
|
|
|
|
|
|
|
|
/* 禁止左右滚动 */
|
|
|
|
|
.card {
|
2024-09-19 17:33:39 +08:00
|
|
|
|
margin-top: 22rpx;
|
|
|
|
|
position: relative;
|
|
|
|
|
padding: 30rpx 24rpx 0 24rpx;
|
|
|
|
|
width: 656rpx;
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
2024-09-19 17:33:39 +08:00
|
|
|
|
background: #FFFFFF;
|
2024-09-30 18:02:38 +08:00
|
|
|
|
box-shadow: 0rpx 2rpx 20rpx 0rpx rgba(0, 0, 0, 0.2);
|
|
|
|
|
|
2024-09-19 17:33:39 +08:00
|
|
|
|
border-radius: 30rpx;
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
|
|
|
|
.chose_img {
|
2024-09-19 17:33:39 +08:00
|
|
|
|
position: absolute;
|
|
|
|
|
right: 0;
|
|
|
|
|
top: 0;
|
|
|
|
|
width: 66rpx;
|
|
|
|
|
height: 68rpx;
|
|
|
|
|
}
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
|
|
|
|
.card_tit {
|
|
|
|
|
|
2024-09-19 17:33:39 +08:00
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 40rpx;
|
|
|
|
|
color: #3D3D3D;
|
|
|
|
|
}
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
|
|
|
|
.card_txt {
|
2024-09-19 17:33:39 +08:00
|
|
|
|
margin-top: 8rpx;
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: inline-flex;
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
2024-09-19 17:33:39 +08:00
|
|
|
|
// align-items: center;
|
2024-09-30 18:02:38 +08:00
|
|
|
|
image {
|
2024-09-19 17:33:39 +08:00
|
|
|
|
margin-top: 6rpx;
|
|
|
|
|
margin-right: 8rpx;
|
|
|
|
|
width: 28rpx;
|
|
|
|
|
height: 28rpx;
|
|
|
|
|
}
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
|
|
|
|
.words {
|
2024-09-19 17:33:39 +08:00
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
color: #3D3D3D;
|
|
|
|
|
}
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
|
|
|
|
.km {
|
2024-09-19 17:33:39 +08:00
|
|
|
|
margin-left: auto;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
color: #4297F3;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
2024-09-19 17:33:39 +08:00
|
|
|
|
.store_btn_li {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
margin-top: 26rpx;
|
|
|
|
|
margin-left: -28rpx;
|
|
|
|
|
border-top: 1rpx solid #D8D8D8;
|
|
|
|
|
width: 696rpx;
|
|
|
|
|
height: 102rpx;
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
2024-09-19 17:33:39 +08:00
|
|
|
|
.store_btn:first-child {
|
|
|
|
|
border-right: 1rpx solid #D8D8D8;
|
|
|
|
|
}
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
2024-09-19 17:33:39 +08:00
|
|
|
|
.store_btn {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 50%;
|
|
|
|
|
height: 102rpx;
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
2024-09-19 17:33:39 +08:00
|
|
|
|
image {
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
color: #3D3D3D;
|
|
|
|
|
margin-right: 18rpx;
|
|
|
|
|
width: 40rpx;
|
|
|
|
|
height: 40rpx;
|
|
|
|
|
}
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
2024-09-19 17:33:39 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
|
|
|
|
.tit5 {
|
2024-09-19 17:33:39 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 44rpx;
|
|
|
|
|
color: #3D3D3D;
|
|
|
|
|
}
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
|
|
|
|
.tip {
|
2024-09-19 17:33:39 +08:00
|
|
|
|
margin-top: 18rpx;
|
|
|
|
|
width: 100%;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
color: #3D3D3D;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
2024-09-19 17:33:39 +08:00
|
|
|
|
.sub_car {
|
|
|
|
|
position: fixed;
|
|
|
|
|
padding: 56rpx 60rpx;
|
|
|
|
|
top: 500rpx;
|
|
|
|
|
left: 50rpx;
|
|
|
|
|
z-index: 110;
|
|
|
|
|
width: 650rpx;
|
|
|
|
|
background: #ffffff;
|
|
|
|
|
border-radius: 20rpx 20rpx 20rpx 20rpx;
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
|
|
|
|
.btn_li {
|
2024-09-19 17:33:39 +08:00
|
|
|
|
margin-top: 40rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
|
|
|
|
.btn1 {
|
2024-09-19 17:33:39 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 238rpx;
|
|
|
|
|
height: 74rpx;
|
|
|
|
|
background: #EFEFEF;
|
|
|
|
|
border-radius: 37rpx 37rpx 37rpx 37rpx;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 36rpx;
|
|
|
|
|
color: #3D3D3D;
|
|
|
|
|
}
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
|
|
|
|
.btn2 {
|
2024-09-19 17:33:39 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 238rpx;
|
|
|
|
|
height: 74rpx;
|
|
|
|
|
background: #4297F3;
|
|
|
|
|
border-radius: 37rpx 37rpx 37rpx 37rpx;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 36rpx;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
2024-09-19 17:33:39 +08:00
|
|
|
|
.tit3 {
|
|
|
|
|
width: 100%;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 36rpx;
|
|
|
|
|
color: #3d3d3d;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.car_info {
|
|
|
|
|
margin-top: 38rpx;
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
|
|
|
|
|
image {
|
|
|
|
|
width: 194rpx;
|
|
|
|
|
height: 148rpx;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
/* 防止图片被压缩 */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.right_infos {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
flex-grow: 1;
|
|
|
|
|
/* 允许其他内容占用剩余空间 */
|
|
|
|
|
|
|
|
|
|
.tit4 {
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
color: #3d3d3d;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.txt3 {
|
|
|
|
|
margin-top: 6rpx;
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
2024-09-19 17:33:39 +08:00
|
|
|
|
image {
|
|
|
|
|
width: 32rpx;
|
|
|
|
|
height: 32rpx;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
2024-09-19 17:33:39 +08:00
|
|
|
|
.bot_btn {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
width: 750rpx;
|
|
|
|
|
height: 174rpx;
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
box-shadow: 0rpx 8rpx 20rpx 0rpx rgba(0, 0, 0, 0.3);
|
|
|
|
|
border-radius: 0rpx 0rpx 0rpx 0rpx;
|
|
|
|
|
position: fixed;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
padding: 0 50rpx;
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
|
|
|
|
.btn_li3 {
|
2024-09-19 17:33:39 +08:00
|
|
|
|
width: 100%;
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
|
|
|
|
.btn5 {
|
2024-09-19 17:33:39 +08:00
|
|
|
|
margin-left: auto;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 434rpx;
|
|
|
|
|
height: 84rpx;
|
|
|
|
|
background: #4297F3;
|
|
|
|
|
border-radius: 42rpx 42rpx 42rpx 42rpx;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 36rpx;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
|
|
|
|
.btn_li2 {
|
2024-09-19 17:33:39 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
justify-content: space-between;
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
|
|
|
|
.btn3 {
|
2024-09-19 17:33:39 +08:00
|
|
|
|
padding: 10rpx 54rpx;
|
|
|
|
|
border-radius: 42rpx 42rpx 42rpx 42rpx;
|
|
|
|
|
border: 2rpx solid #4297F3;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
font-size: 36rpx;
|
|
|
|
|
color: #4297F3;
|
|
|
|
|
}
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
|
|
|
|
.btn4 {
|
2024-09-19 17:33:39 +08:00
|
|
|
|
padding: 10rpx 54rpx;
|
|
|
|
|
border-radius: 42rpx 42rpx 42rpx 42rpx;
|
|
|
|
|
background: #4297F3;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
font-size: 36rpx;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-09-30 18:02:38 +08:00
|
|
|
|
|
2024-09-19 17:33:39 +08:00
|
|
|
|
.btn_li {
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
|
|
.txt2 {
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
color: #3D3D3D;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 434rpx;
|
|
|
|
|
height: 84rpx;
|
|
|
|
|
background: #4297F3;
|
|
|
|
|
border-radius: 42rpx 42rpx 42rpx 42rpx;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
font-size: 36rpx;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.order_code {
|
|
|
|
|
width: 696rpx;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
margin-top: 16rpx;
|
|
|
|
|
padding: 20rpx 28rpx;
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
border-radius: 20rpx 20rpx 20rpx 20rpx;
|
|
|
|
|
|
|
|
|
|
.tits {
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
color: #3D3D3D;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.code_li {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
|
|
.code {
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
color: #3D3D3D;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
color: #4297F3;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tab_box {
|
|
|
|
|
width: 696rpx;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
margin-top: 16rpx;
|
|
|
|
|
padding: 20rpx 28rpx;
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
border-radius: 20rpx 20rpx 20rpx 20rpx;
|
2024-09-30 18:02:38 +08:00
|
|
|
|
.tabble {
|
|
|
|
|
margin-top: 20rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
|
|
.tabble_top {
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
|
|
|
|
|
.tabbl_left {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 50%;
|
|
|
|
|
height: 93rpx;
|
|
|
|
|
background: #D8D8D8;
|
|
|
|
|
border-radius: 30rpx 0 0 0;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
color: #3D3D3D;
|
|
|
|
|
border-right: 1rpx solid #fff;
|
|
|
|
|
border-bottom: 1rpx solid #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tabble_right {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 50%;
|
|
|
|
|
height: 93rpx;
|
|
|
|
|
background: #D8D8D8;
|
|
|
|
|
border-radius: 0 30rpx 0 0;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
color: #3D3D3D;
|
|
|
|
|
border-bottom: 1rpx solid #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tabble_cont:last-child {
|
|
|
|
|
.tabbl_left {
|
|
|
|
|
border-radius: 0 0 0 30rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tabble_right {
|
|
|
|
|
border-radius: 0 0 30rpx 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tabble_cont {
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
|
|
|
|
|
.tabbl_left {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 50%;
|
|
|
|
|
height: 93rpx;
|
|
|
|
|
background: #EFEFEF;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
color: #3D3D3D;
|
|
|
|
|
border-right: 1rpx solid #fff;
|
|
|
|
|
border-bottom: 1rpx solid #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tabble_right {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 50%;
|
|
|
|
|
height: 93rpx;
|
|
|
|
|
background: #EFEFEF;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
color: #3D3D3D;
|
|
|
|
|
border-bottom: 1rpx solid #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-09-19 17:33:39 +08:00
|
|
|
|
.text {
|
|
|
|
|
margin-top: 30rpx;
|
|
|
|
|
padding: 0 22rpx;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
color: #6F6F6F;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.choose_tab {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-around;
|
|
|
|
|
|
|
|
|
|
.tab_li {
|
|
|
|
|
width: 112rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
color: #3D3D3D;
|
|
|
|
|
|
|
|
|
|
.tab_line {
|
|
|
|
|
width: 58rpx;
|
|
|
|
|
height: 6rpx;
|
|
|
|
|
background: #4297F3;
|
|
|
|
|
border-radius: 3rpx 3rpx 3rpx 3rpx;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.line {
|
|
|
|
|
margin-top: 20rpx;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 1rpx;
|
|
|
|
|
background: #D8D8D8;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.info_box {
|
|
|
|
|
width: 696rpx;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
margin-top: 16rpx;
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
border-radius: 20rpx 20rpx 20rpx 20rpx;
|
|
|
|
|
padding: 20rpx 18rpx;
|
|
|
|
|
|
|
|
|
|
.info_li {
|
|
|
|
|
margin-top: 20rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
padding: 0 22rpx;
|
|
|
|
|
|
|
|
|
|
.text {
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
color: #6F6F6F;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.price {
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
color: #808080;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
color: #FF1C1C;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.data {
|
|
|
|
|
margin-top: 16rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 16rpx 22rpx;
|
|
|
|
|
background: #EFEFEF;
|
|
|
|
|
border-radius: 10rpx 10rpx 10rpx 10rpx;
|
|
|
|
|
|
|
|
|
|
.text {
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
color: #6F6F6F;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.time {
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
color: #4297F3;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.car_info {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
|
|
|
|
|
image {
|
|
|
|
|
width: 156rpx;
|
|
|
|
|
height: 120rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.right_info {
|
|
|
|
|
|
|
|
|
|
margin-left: 18rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
|
|
.tits {
|
|
|
|
|
width: 100%;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
color: #3D3D3D;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.txt {
|
|
|
|
|
width: 100%;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
color: #6F6F6F;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.getType {
|
|
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
margin-top: 16rpx;
|
|
|
|
|
padding: 30rpx;
|
|
|
|
|
width: 696rpx;
|
|
|
|
|
// height: 108rpx;
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
border-radius: 20rpx 20rpx 20rpx 20rpx;
|
|
|
|
|
|
|
|
|
|
.type {
|
|
|
|
|
padding: 6rpx 12rpx;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
color: #0D75E5;
|
|
|
|
|
background: #DCEDFF;
|
|
|
|
|
border-radius: 8rpx 8rpx 8rpx 8rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.txt {
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
color: #3D3D3D;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.store_car {
|
|
|
|
|
|
|
|
|
|
border-radius: 30rpx;
|
|
|
|
|
width: 696rpx;
|
|
|
|
|
padding: 30rpx 28rpx 0 28rpx;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
margin-top: 50rpx;
|
|
|
|
|
// height: 342rpx;
|
|
|
|
|
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
|
|
|
|
|
.store_btn_li {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
margin-top: 26rpx;
|
|
|
|
|
margin-left: -28rpx;
|
|
|
|
|
border-top: 1rpx solid #D8D8D8;
|
|
|
|
|
width: 696rpx;
|
|
|
|
|
height: 102rpx;
|
|
|
|
|
|
|
|
|
|
.store_btn:first-child {
|
|
|
|
|
border-right: 1rpx solid #D8D8D8;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.store_btn {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 50%;
|
|
|
|
|
height: 102rpx;
|
|
|
|
|
|
|
|
|
|
image {
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
color: #3D3D3D;
|
|
|
|
|
margin-right: 18rpx;
|
|
|
|
|
width: 40rpx;
|
|
|
|
|
height: 40rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.line {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 1rpx;
|
|
|
|
|
background: #D8D8D8;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.address {
|
|
|
|
|
margin-top: 48rpx;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 36rpx;
|
|
|
|
|
color: #3D3D3D;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.time {
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
color: #3D3D3D;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.top {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 36rpx;
|
|
|
|
|
color: #3D3D3D;
|
|
|
|
|
|
|
|
|
|
.type {
|
|
|
|
|
margin-right: 10rpx;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
color: #0D75E5;
|
|
|
|
|
padding: 6rpx 12rpx;
|
|
|
|
|
background: #DCEDFF;
|
|
|
|
|
border-radius: 8rpx 8rpx 8rpx 8rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tit {
|
|
|
|
|
margin-left: 38rpx;
|
|
|
|
|
margin-top: -400rpx;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 48rpx;
|
|
|
|
|
color: #3D3D3D;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tips {
|
|
|
|
|
margin-top: 18rpx;
|
|
|
|
|
margin-left: 38rpx;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
color: #3D3D3D;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.fixed {
|
|
|
|
|
z-index: 999;
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.backimg {
|
|
|
|
|
// position: fixed;
|
|
|
|
|
width: 750rpx;
|
|
|
|
|
height: 696rpx;
|
|
|
|
|
|
|
|
|
|
z-index: -10;
|
|
|
|
|
background-image: url('https://lxnapi.ccttiot.com/bike/img/static/uxg5vXhH35evswvIKxJt');
|
|
|
|
|
background-size: cover;
|
|
|
|
|
/* 背景图片等比缩放以覆盖整个容器 */
|
|
|
|
|
background-position: center;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|