|
@@ -1,183 +1,112 @@
|
|
|
<template>
|
|
|
<div v-if="orderDetail && orderDetail.parkingRecord && orderDetail.parkingRecord.vehicleNo">
|
|
|
<div class="scroll-Y">
|
|
|
- <div >
|
|
|
- <!-- <div @click="scan">扫一扫</div> -->
|
|
|
- <div class="warp">
|
|
|
- <div
|
|
|
- :class="{
|
|
|
- warp_index: true,
|
|
|
- warp_index1: true,
|
|
|
- }"
|
|
|
- >
|
|
|
- {{ orderDetail.parkingRecord.vehicleNo | formatCarno }}
|
|
|
- <!-- {{ $route.query.carno | formatCarno }} -->
|
|
|
- </div>
|
|
|
- <div class="warp_index">
|
|
|
- <div>停车场</div>
|
|
|
- <div class="warp_index_color">{{ orderDetail.parkInfo.parkName }}</div>
|
|
|
- </div>
|
|
|
- <div class="warp_index">
|
|
|
- <div>入场时间</div>
|
|
|
- <div class="warp_index_color">{{ orderDetail.parkingRecord.enterTime }}</div>
|
|
|
- </div>
|
|
|
- <div class="warp_index">
|
|
|
- <div>已停车时长</div>
|
|
|
- <div class="warp_index_color">{{ orderDetail.parkingRecord.serviceMin }}</div>
|
|
|
- </div>
|
|
|
- <div class="warp_index">
|
|
|
- <div>应缴</div>
|
|
|
- <div class="warp_index_color">
|
|
|
- {{ (orderDetail.parkingRecord.totalFeeInYuan) | currency }}
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ <div
|
|
|
+ class="vehicleNo"
|
|
|
+ >
|
|
|
+ {{ orderDetail.parkingRecord.vehicleNo | formatCarno }}
|
|
|
+ <!-- {{ $route.query.carno | formatCarno }} -->
|
|
|
+ </div>
|
|
|
+ <div class="info-box mb--20">
|
|
|
+ <div class="info-item-box">
|
|
|
+ <div class="label">停车场</div>
|
|
|
+ <div class="value">{{ orderDetail.parkInfo.parkName }}</div>
|
|
|
</div>
|
|
|
- <div class="warp">
|
|
|
- <div
|
|
|
- class="warp_index warp_index_da"
|
|
|
- v-if="enableConsume"
|
|
|
- >
|
|
|
- <div>停车优惠</div>
|
|
|
- <div class="warp_index_color" @click="discounts">
|
|
|
- <div
|
|
|
- style="margin-right: 10px"
|
|
|
- :class="discountDesc === '暂无可用优惠' ? '' : 'text-red'"
|
|
|
- >
|
|
|
- {{ discountDesc }}
|
|
|
- </div>
|
|
|
- <van-icon name="arrow" />
|
|
|
- <!-- <img style="width: 26px; height: 26px" src="static/images/arrows.png" /> -->
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div
|
|
|
- class="warp_index warp_index_da"
|
|
|
- v-if="orderDetail && orderDetail.discountInfo"
|
|
|
- >
|
|
|
- <div>积分减免</div>
|
|
|
- <div class="warp_index_color" @click="showPointsMathPopup('bottom')">
|
|
|
- <div
|
|
|
- style="margin-right: 10px"
|
|
|
- :class="
|
|
|
- integralDesc === '今日已达上限' ? 'text-disable' : 'text-red'
|
|
|
- "
|
|
|
- >
|
|
|
- {{ integralDesc }}
|
|
|
- </div>
|
|
|
- <van-icon name="arrow" />
|
|
|
- <!-- <img style="width: 26px; height: 26px" src="static/images/arrows.png" /> -->
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div
|
|
|
- class="warp_index warp_index_da"
|
|
|
- v-if="orderDetail && orderDetail.discountInfo"
|
|
|
- >
|
|
|
- <div>优惠劵</div>
|
|
|
- <div class="warp_index_color" @click="coupon">
|
|
|
- <div
|
|
|
- style="margin-right: 10px"
|
|
|
- :class="coupons.length > 0 ? 'text-red' : 'text-disable'"
|
|
|
- >
|
|
|
- {{ couponDesc }}
|
|
|
- </div>
|
|
|
- <van-icon name="arrow" />
|
|
|
- <!-- <img style="width: 26px; height: 26px" src="static/images/arrows.png" /> -->
|
|
|
- </div>
|
|
|
+ <div class="info-item-box">
|
|
|
+ <div class="label">入场时间</div>
|
|
|
+ <div class="value">{{ orderDetail.parkingRecord.enterTime }}</div>
|
|
|
+ </div>
|
|
|
+ <div class="info-item-box">
|
|
|
+ <div class="label">已停车时长</div>
|
|
|
+ <div class="value">{{ orderDetail.parkingRecord.serviceMin }}</div>
|
|
|
+ </div>
|
|
|
+ <div class="van-hairline--bottom hr"></div>
|
|
|
+ <div class="info-item-box">
|
|
|
+ <div class="label pb--27">应缴</div>
|
|
|
+ <div class="value bold-fz">
|
|
|
+ {{ ( orderDetail.parkingRecord.totalFeeInYuan ) | currency }}
|
|
|
</div>
|
|
|
- <!-- 纸质券 -->
|
|
|
- <div
|
|
|
- class="warp_index warp_index_da"
|
|
|
- v-if="enablePaperCoupons"
|
|
|
- >
|
|
|
- <div>纸质优惠劵</div>
|
|
|
- <div class="warp_index_color" @click="paperCoupon">
|
|
|
- <div style="margin-right: 10px" class="text-red">
|
|
|
- 扫描纸质优惠劵二维码
|
|
|
- </div>
|
|
|
- <!-- <img style="width: 26px; height: 26px" src="static/images/arrows.png" /> -->
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="info-box mb--30">
|
|
|
+ <div class="info-item-box" v-if="enableConsume">
|
|
|
+ <div class="label">停车优惠</div>
|
|
|
+ <div @click="discounts" :class="['value',discountDesc === '暂无可用优惠' ? '' : 'text-red']">{{ discountDesc }}
|
|
|
+ <van-icon name="arrow"/>
|
|
|
</div>
|
|
|
- <div
|
|
|
- :class="{
|
|
|
- warp_index: true,
|
|
|
- color_warp_index: custTypeId !== 0,
|
|
|
- warp_index_da: true,
|
|
|
- }"
|
|
|
- >
|
|
|
- <div>优惠金额:</div>
|
|
|
- <div class="warp_index_color" style="color: #333">
|
|
|
- -{{ usingTotalDiscount | currency }}
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ <div class="info-item-box" v-if="orderDetail && orderDetail.discountInfo">
|
|
|
+ <div class="label">积分减免</div>
|
|
|
+ <div :class="['value', integralDesc === '今日已达上限' ? 'text-disable' : 'text-red']" @click="showPointsMathPopup('bottom')">{{ integralDesc }}
|
|
|
+ <van-icon name="arrow"/>
|
|
|
</div>
|
|
|
- <div
|
|
|
- :class="{ warp_index: true, color_warp_index: custTypeId !== 0 }"
|
|
|
- >
|
|
|
- <div>应付金额:</div>
|
|
|
- <div class="warp_index_color" style="color: #333">
|
|
|
- {{ actualPayFee | currency }}
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ <div class="info-item-box" v-if="orderDetail && orderDetail.discountInfo">
|
|
|
+ <div class="label">优惠劵</div>
|
|
|
+ <div :class="['value', coupons.length > 0 ? 'text-red' : 'text-disable']" @click="coupon">{{ couponDesc }}
|
|
|
+ <van-icon name="arrow"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div
|
|
|
- class="top_content"
|
|
|
- v-if="orderDetail.parkInfo && orderDetail.parkInfo.description"
|
|
|
- >
|
|
|
- <div class="title_box">
|
|
|
- <span class="title">缴费说明</span>
|
|
|
+ <div class="info-item-box" v-if="enablePaperCoupons">
|
|
|
+ <div class="label">纸质优惠劵</div>
|
|
|
+ <div :class="['value', 'text-red']">扫描纸质优惠劵二维码
|
|
|
+ <van-icon name="arrow"/>
|
|
|
</div>
|
|
|
- <div class="info" :class="!isShowDescription ? 'info_show' : ''">
|
|
|
-<!-- <span>{{ orderDetail.parkInfo.description }}</span>-->
|
|
|
- <div v-html="setDescription()"></div>
|
|
|
+ </div>
|
|
|
+ <div class="info-item-box">
|
|
|
+ <div class="label">优惠金额:</div>
|
|
|
+ <div :class="['value']">-{{ usingTotalDiscount | currency }}</div>
|
|
|
+ </div>
|
|
|
+ <div class="van-hairline--bottom hr"></div>
|
|
|
+ <div class="info-item-box">
|
|
|
+ <div class="label pb--27">应付金额</div>
|
|
|
+ <div class="value bold-fz">
|
|
|
+ {{ actualPayFee | currency }}
|
|
|
</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
|
|
|
- <div
|
|
|
- class="top_down"
|
|
|
- @click="togglePayinstruction"
|
|
|
- v-if="!isShowDescription && orderDetail.parkInfo.description.length > 60"
|
|
|
- >
|
|
|
- <van-icon name="arrow-down" />
|
|
|
- </div>
|
|
|
- <div
|
|
|
- class="top_down"
|
|
|
- @click="togglePayinstruction"
|
|
|
- v-if="isShowDescription && orderDetail.parkInfo.description.length > 60"
|
|
|
- >
|
|
|
- <van-icon name="arrow-up" />
|
|
|
- </div>
|
|
|
+ <div class="description-box">
|
|
|
+ <div class="title_box">
|
|
|
+ <span class="title">缴费说明</span>
|
|
|
</div>
|
|
|
+ <div class="info" v-html="setDescription()"></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="flewx">
|
|
|
- <div class="flewx-content">
|
|
|
- 合计<span style="color: #333; font-size: 36px; padding-left: 20px">{{
|
|
|
- actualPayFee | currency
|
|
|
- }}</span>
|
|
|
- 元
|
|
|
- <span style="color: #dc5948; padding-left: 30px; font-size: 28px"
|
|
|
- >已优惠{{ usingTotalDiscount | currency }}元</span
|
|
|
- >
|
|
|
- <!-- <van-count-down :time="3 * 60 * 1000" /> -->
|
|
|
- <div class="count-down-box">
|
|
|
- <van-count-down
|
|
|
- v-if="orderDetail.parkingRecord.vehicleNo"
|
|
|
- format="mm:ss"
|
|
|
- :time="refreshTime * 1000"
|
|
|
- @finish="resetCountDown()"
|
|
|
- >
|
|
|
- <!-- -->
|
|
|
- </van-count-down>
|
|
|
- <span class="desc">后同步最新费用</span>
|
|
|
+ <div class="control-box">
|
|
|
+ <div class="flewx-content">
|
|
|
+ <div class="fee-box">
|
|
|
+ <div>合计:</div>
|
|
|
+ <div class="actualPayFee">{{
|
|
|
+ actualPayFee | currency
|
|
|
+ }}
|
|
|
+ </div>
|
|
|
+ <div :class="['van-hairline--surround','usingTotalDiscount', usingTotalDiscount > 0 && 'usingTotalDiscount-red']"
|
|
|
+ >已优惠{{ usingTotalDiscount | currency }}元
|
|
|
+ </div
|
|
|
+ >
|
|
|
+ <!-- <van-count-down :time="3 * 60 * 1000" /> -->
|
|
|
+ </div>
|
|
|
+ <div class="count-down-box">
|
|
|
+ <van-count-down
|
|
|
+ v-if="orderDetail.parkingRecord.vehicleNo"
|
|
|
+ format="mm:ss"
|
|
|
+ :time="refreshTime * 1000"
|
|
|
+ @finish="resetCountDown()"
|
|
|
+ >
|
|
|
+ <!-- -->
|
|
|
+ </van-count-down>
|
|
|
+ <span class="desc">后同步最新费用</span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+ <div class="btn-box">
|
|
|
+ <k-button style="width: 240px;" borderColor="var(--k-color-primary-01, #064c8a)" title="支付" disabledColor="#D1D2D9" @click="toPay"/>
|
|
|
+ </div>
|
|
|
+
|
|
|
</div>
|
|
|
- <div
|
|
|
- :class="[
|
|
|
- 'flewx_index3',
|
|
|
- payBtnDisabled && 'btn-disabled',
|
|
|
- btnLoading && 'btn-disabled',
|
|
|
- ]"
|
|
|
- @click="toPay"
|
|
|
- >
|
|
|
- 支付
|
|
|
- </div>
|
|
|
+ <!-- 开启底部安全区适配 -->
|
|
|
+ <van-number-keyboard safe-area-inset-bottom />
|
|
|
</div>
|
|
|
<van-popup
|
|
|
v-model="popup"
|
|
@@ -199,7 +128,7 @@
|
|
|
<div class="popue_box_index">
|
|
|
<div>抵扣{{ orderDetail.parkInfo.parkMallCode === 5 ? '金额' : '时长' }}</div>
|
|
|
<div class="popue_box_index" style="width: 325px">
|
|
|
- <div class="popue_box_index4_xs">
|
|
|
+ <div class="popue_box_index4_xs van-hairline--surround">
|
|
|
<div class="popue_box_index4_xs_index1" @click="$store.dispatch('order/pointsMath',{type: 'minus', callback: pointsMathCallback})">
|
|
|
-
|
|
|
</div>
|
|
@@ -231,6 +160,7 @@
|
|
|
确定
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <van-number-keyboard safe-area-inset-bottom/>
|
|
|
</div>
|
|
|
</van-popup>
|
|
|
</div>
|
|
@@ -238,20 +168,354 @@
|
|
|
|
|
|
<script>
|
|
|
import parkingFeeDetailJs from '../../mixins/parkingFeeDetail'
|
|
|
+
|
|
|
export default {
|
|
|
- mixins:[parkingFeeDetailJs]
|
|
|
+ mixins: [parkingFeeDetailJs]
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
<style lang="less" scoped>
|
|
|
.scroll-Y {
|
|
|
width: 100%;
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
+ //display: flex;
|
|
|
+ //flex-direction: column;
|
|
|
height: 100vh;
|
|
|
- background: #f4f7ff;
|
|
|
+ overflow-y: scroll;
|
|
|
+ background: #F5F7FE;
|
|
|
padding-bottom: 300px;
|
|
|
//padding-bottom: 20px;
|
|
|
+ padding-top: 24px;
|
|
|
+}
|
|
|
+
|
|
|
+/*车牌号*/
|
|
|
+.vehicleNo {
|
|
|
+ width: 666px;
|
|
|
+ height: 109.5px;
|
|
|
+ line-height: 109.5px;
|
|
|
+ margin-left: 24px;
|
|
|
+
|
|
|
+ background-color: #FAFBFF;
|
|
|
+ border-radius: 4px;
|
|
|
+ margin-bottom: 20px;
|
|
|
+
|
|
|
+ font-style: normal;
|
|
|
+ font-weight: 600;
|
|
|
+ font-size: 36px;
|
|
|
+ padding-left: 36px;
|
|
|
+ color: #333333;
|
|
|
+}
|
|
|
+
|
|
|
+.pb--27 {
|
|
|
+ padding-bottom: 27px;
|
|
|
+}
|
|
|
+
|
|
|
+.mb--20 {
|
|
|
+ margin-bottom: 20px;
|
|
|
+}
|
|
|
+
|
|
|
+.mb--30 {
|
|
|
+ margin-bottom: 30px;
|
|
|
+}
|
|
|
+
|
|
|
+.info-box {
|
|
|
+ background: #FAFBFF;
|
|
|
+ padding-top: 48.5px;
|
|
|
+
|
|
|
+ width: 702px;
|
|
|
+ margin-left: 24px;
|
|
|
+
|
|
|
+ .info-item-box {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+
|
|
|
+ .label {
|
|
|
+ padding-left: 36px;
|
|
|
+ padding-bottom: 39px;
|
|
|
+ text-align: left;
|
|
|
+
|
|
|
+ font-family: 'PingFang SC';
|
|
|
+ font-style: normal;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 30px;
|
|
|
+ color: #999999;
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ .value {
|
|
|
+ text-align: right;
|
|
|
+ padding-right: 36px;
|
|
|
+ font-family: 'PingFang SC';
|
|
|
+ font-style: normal;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 30px;
|
|
|
+ color: #333333;
|
|
|
+
|
|
|
+ &.bold-fz {
|
|
|
+ font-family: 'PingFang SC';
|
|
|
+ font-style: normal;
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 34px;
|
|
|
+ color: #333333;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .hr {
|
|
|
+ margin-bottom: 23px;
|
|
|
+ }
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+.description-box {
|
|
|
+ padding-left: 30px;
|
|
|
+
|
|
|
+ .title_box {
|
|
|
+ .title {
|
|
|
+ font-family: 'PingFang SC';
|
|
|
+ font-style: normal;
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 30px;
|
|
|
+ color: #333333;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .info {
|
|
|
+ font-family: 'PingFang SC';
|
|
|
+ font-style: normal;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 26px;
|
|
|
+ line-height: 40px;
|
|
|
+ /* or 154% */
|
|
|
+ color: #999999;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+/*积分*/
|
|
|
+.popue_box {
|
|
|
+ height: 695px;
|
|
|
+ background-color: #fff;
|
|
|
+ position: fixed;
|
|
|
+ bottom: 0;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+
|
|
|
+ .popue_box_index {
|
|
|
+ width: 92%;
|
|
|
+ margin-left: 4%;
|
|
|
+ height: 117px;
|
|
|
+ border-bottom: 1px solid #f5f5f5;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ font-family: 'PingFang SC';
|
|
|
+ font-style: normal;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 34px;
|
|
|
+ text-align: right;
|
|
|
+ color: #333333;
|
|
|
+ }
|
|
|
+
|
|
|
+ .popue_box_index1 {
|
|
|
+ width: 92%;
|
|
|
+ font-size: 34px;
|
|
|
+ margin-left: 4%;
|
|
|
+ font-weight: 700;
|
|
|
+ height: 117px;
|
|
|
+ line-height: 117px;
|
|
|
+ border-bottom: 1px solid #f5f5f5;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+
|
|
|
+ .popue_box_index4_xs {
|
|
|
+ width: 260px;
|
|
|
+ height: 72px;
|
|
|
+ border: 2px solid #D8DAE0;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ border-radius: 10px;
|
|
|
+
|
|
|
+ .popue_box_index4_xs_index1 {
|
|
|
+ width: 72px;
|
|
|
+ height: 72px;
|
|
|
+ background-color: #FAFBFF;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 72px;
|
|
|
+ border-right: 1px solid #e5e6ec;
|
|
|
+ }
|
|
|
+
|
|
|
+ .popue_box_index4_xs_index2 {
|
|
|
+ width: 116px;
|
|
|
+ height: 72px;
|
|
|
+ line-height: 72px;
|
|
|
+ text-align: center;
|
|
|
+ background-color: #FFFFFF;
|
|
|
+ }
|
|
|
+
|
|
|
+ .popue_box_index4_xs_index3 {
|
|
|
+ width: 72px;
|
|
|
+ height: 72px;
|
|
|
+ background-color: #f5f8fb;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 72px;
|
|
|
+ border-left: 1px solid #e5e6ec;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .popue_box_index5 {
|
|
|
+ font-size: 30px;
|
|
|
+ width: 92%;
|
|
|
+ margin-left: 4%;
|
|
|
+ font-weight: 700;
|
|
|
+ height: 214px;
|
|
|
+ line-height: 90px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ }
|
|
|
+
|
|
|
+ .popue_box_index4_by {
|
|
|
+ width: 320px;
|
|
|
+ height: 90px;
|
|
|
+ line-height: 90px;
|
|
|
+ color: #fff;
|
|
|
+ border-radius: 60px;
|
|
|
+ text-align: center;
|
|
|
+ color: #064c8a;
|
|
|
+ font-weight: 700;
|
|
|
+ border: 1px solid #064c8a;
|
|
|
+ }
|
|
|
+
|
|
|
+ .blue_popue_box_index4_by {
|
|
|
+ .color_popue_box_index4_by('blue');
|
|
|
+ }
|
|
|
+
|
|
|
+ .green_popue_box_index4_by {
|
|
|
+ .color_popue_box_index4_by('green');
|
|
|
+ }
|
|
|
+
|
|
|
+ .color_popue_box_index4_by(@value) {
|
|
|
+ @color: 'color-@{value}';
|
|
|
+ color: @@color;
|
|
|
+ border: 1px solid @@color;
|
|
|
+ }
|
|
|
+
|
|
|
+ .popue_box_index4_by1 {
|
|
|
+ width: 320px;
|
|
|
+ height: 90px;
|
|
|
+ line-height: 90px;
|
|
|
+ color: #fff;
|
|
|
+ border-radius: 60px;
|
|
|
+ text-align: center;
|
|
|
+ // background-image: linear-gradient(to right, #7e4fa1, #433c7f);
|
|
|
+ background-color: #064c8a;
|
|
|
+ border: 1px solid #064c8a;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+/*页面底部操作区*/
|
|
|
+.flewx {
|
|
|
+ position: fixed;
|
|
|
+ bottom: 0;
|
|
|
+ right: 0;
|
|
|
+ left: 0;
|
|
|
+ background-color: #fff;
|
|
|
+ .control-box {
|
|
|
+ width: 100%;
|
|
|
+ box-sizing: border-box;
|
|
|
+
|
|
|
+ display: flex;
|
|
|
+ align-content: flex-start;
|
|
|
+ align-items: center;
|
|
|
+ //padding-bottom: constant(safe-area-inset-bottom);
|
|
|
+ //padding-bottom: env(safe-area-inset-bottom);
|
|
|
+ padding: 30px 24px 30px 30px;
|
|
|
+ justify-content: space-between;
|
|
|
+ .flewx-content {
|
|
|
+ font-size: 28px;
|
|
|
+ .fee-box {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: flex-start;
|
|
|
+ }
|
|
|
+
|
|
|
+ .actualPayFee {
|
|
|
+ color: #333;
|
|
|
+ font-size: 40px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .usingTotalDiscount {
|
|
|
+ font-family: 'PingFang SC';
|
|
|
+ font-style: normal;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 22px;
|
|
|
+ //height: 22px;
|
|
|
+ //line-height: 22px;
|
|
|
+ margin-left: 7px;
|
|
|
+ //border: 1px solid var(--k-color-red-01);
|
|
|
+ background-color: #F4F7FF;
|
|
|
+ border-radius: 2px;
|
|
|
+ &::after {
|
|
|
+ border-color: #999999;
|
|
|
+ }
|
|
|
+
|
|
|
+ color: #999999;
|
|
|
+ padding: 1px 3px;
|
|
|
+
|
|
|
+ &.usingTotalDiscount-red {
|
|
|
+ color: var(--k-color-red-01);
|
|
|
+ background-color: var(--k-color-red-06);
|
|
|
+ &::after {
|
|
|
+ border-color: var(--k-color-red-01);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .count-down-box {
|
|
|
+ display: flex;
|
|
|
+ font-weight: 400;
|
|
|
+ align-items: center;
|
|
|
+ color: var(--k-color-red-01);
|
|
|
+ font-family: 'PingFang SC';
|
|
|
+ font-style: normal;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 26px;
|
|
|
+ margin-top: 5px;
|
|
|
+ .van-count-down {
|
|
|
+ font-size: 30px;
|
|
|
+ color: var(--k-color-red-01);
|
|
|
+ }
|
|
|
+
|
|
|
+ .desc {
|
|
|
+ font-size: 30px;
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .btn-box {
|
|
|
+ display: flex;
|
|
|
+ justify-content: flex-end;
|
|
|
+ margin-left: 35px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ .flewx_index3 {
|
|
|
+ width: 150px;
|
|
|
+ height: 70px;
|
|
|
+ border-radius: 45px;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 34px;
|
|
|
+ line-height: 70px;
|
|
|
+ color: #fff;
|
|
|
+ // background-image: linear-gradient(to right, #7e4fa1, #433c7f);
|
|
|
+ background: #064c8a;
|
|
|
+ box-shadow: 2px 3px 5px #888888;
|
|
|
+ //position: absolute;
|
|
|
+ //right: 16px;
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
.wrap {
|
|
@@ -929,330 +1193,4 @@ export default {
|
|
|
border-radius: 40px;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
-.warp {
|
|
|
- width: clac(100% - 60px);
|
|
|
- margin: 30px;
|
|
|
- // background-color: #fff;
|
|
|
- background: #fafbff;
|
|
|
- border-radius: 4px;
|
|
|
- padding-bottom: 10px;
|
|
|
- border: 1px solid #d8dae0;
|
|
|
-
|
|
|
- .warp_index {
|
|
|
- // width: 650px;
|
|
|
- width: calc(100% - 60px);
|
|
|
- margin-left: 27.5px;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
- // padding: 30px;
|
|
|
- padding-bottom: 20px;
|
|
|
- font-size: 30px;
|
|
|
- color: #999999;
|
|
|
- font-weight: 400;
|
|
|
- }
|
|
|
-
|
|
|
- .warp_index1 {
|
|
|
- justify-content: center;
|
|
|
- font-size: 40px;
|
|
|
- padding: 40px 0 60px;
|
|
|
-
|
|
|
- font-size: 38px;
|
|
|
- font-weight: 500;
|
|
|
- color: #0c0c0c;
|
|
|
- line-height: 53px;
|
|
|
- // border-bottom: 1px solid #f2f2f2;
|
|
|
- }
|
|
|
-
|
|
|
- .color_warp_index {
|
|
|
- color: #000000;
|
|
|
- }
|
|
|
-
|
|
|
- .bgc-blue {
|
|
|
- .bgc-color('blue');
|
|
|
- }
|
|
|
-
|
|
|
- .bgc-green {
|
|
|
- .bgc-color('green');
|
|
|
- }
|
|
|
-
|
|
|
- .bgc-color(@value) {
|
|
|
- @color: 'color-@{value}';
|
|
|
- color: #fff;
|
|
|
- background-color: @@color;
|
|
|
- margin: 0;
|
|
|
- width: 100%;
|
|
|
- border-radius: 10px 10px 0 0;
|
|
|
- }
|
|
|
-
|
|
|
- .warp_index_da {
|
|
|
- padding: 30px 0;
|
|
|
- // border-bottom: 1px solid #f2f2f2;
|
|
|
- }
|
|
|
-
|
|
|
- .warp_index_color {
|
|
|
- color: #333;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.flewx {
|
|
|
- width: 100%;
|
|
|
- height: 130px;
|
|
|
- background-color: #fff;
|
|
|
- position: fixed;
|
|
|
- bottom: 0;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: space-around;
|
|
|
- padding-bottom: constant(safe-area-inset-bottom);
|
|
|
- padding-bottom: env(safe-area-inset-bottom);
|
|
|
- padding-bottom: 20px;
|
|
|
-
|
|
|
- .flewx-content {
|
|
|
- position: absolute;
|
|
|
- left: 16px;
|
|
|
-
|
|
|
- .count-down-box {
|
|
|
- display: flex;
|
|
|
- font-weight: 400;
|
|
|
- align-items: center;
|
|
|
- font-size: 30px;
|
|
|
-
|
|
|
- .van-count-down {
|
|
|
- font-size: 30px;
|
|
|
- }
|
|
|
-
|
|
|
- .desc {
|
|
|
- font-size: 30px;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .flewx_index3 {
|
|
|
- width: 150px;
|
|
|
- height: 70px;
|
|
|
- border-radius: 45px;
|
|
|
- text-align: center;
|
|
|
- font-size: 34px;
|
|
|
- line-height: 70px;
|
|
|
- color: #fff;
|
|
|
- // background-image: linear-gradient(to right, #7e4fa1, #433c7f);
|
|
|
- background: #064c8a;
|
|
|
- box-shadow: 2px 3px 5px #888888;
|
|
|
- position: absolute;
|
|
|
- right: 16px;
|
|
|
- }
|
|
|
-
|
|
|
- .blue_flewx_index3 {
|
|
|
- .color_flewx_index3('blue');
|
|
|
- }
|
|
|
-
|
|
|
- .green_flewx_index3 {
|
|
|
- .color_flewx_index3('green');
|
|
|
- }
|
|
|
-
|
|
|
- .color_flewx_index3(@value) {
|
|
|
- @color: 'color-@{value}';
|
|
|
- background-image: none;
|
|
|
- background-color: @@color;
|
|
|
- }
|
|
|
-
|
|
|
- .btn-disabled {
|
|
|
- color: hsla(0, 0%, 100%, 0.6);
|
|
|
- cursor: not-allowed;
|
|
|
- background-color: rgb(128, 128, 128);
|
|
|
- background-image: none;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.popue_box {
|
|
|
- height: 530px;
|
|
|
- background-color: #fff;
|
|
|
- position: fixed;
|
|
|
- bottom: 0;
|
|
|
- left: 0;
|
|
|
- right: 0;
|
|
|
-
|
|
|
- .popue_box_index {
|
|
|
- width: 92%;
|
|
|
- margin-left: 4%;
|
|
|
- font-size: 30px;
|
|
|
- height: 90px;
|
|
|
- border-bottom: 1px solid #f5f5f5;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
- }
|
|
|
-
|
|
|
- .popue_box_index1 {
|
|
|
- font-size: 32px;
|
|
|
- width: 92%;
|
|
|
- margin-left: 4%;
|
|
|
- font-weight: 700;
|
|
|
- height: 90px;
|
|
|
- line-height: 90px;
|
|
|
- border-bottom: 1px solid #f5f5f5;
|
|
|
- text-align: center;
|
|
|
- }
|
|
|
-
|
|
|
- .popue_box_index4_xs {
|
|
|
- width: 250px;
|
|
|
- height: 55px;
|
|
|
- border: 2px solid #e5e6ec;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
- border-radius: 10px;
|
|
|
-
|
|
|
- .popue_box_index4_xs_index1 {
|
|
|
- width: 54px;
|
|
|
- height: 54px;
|
|
|
- background-color: #f5f8fb;
|
|
|
- text-align: center;
|
|
|
- line-height: 54px;
|
|
|
- border-right: 1px solid #e5e6ec;
|
|
|
- }
|
|
|
-
|
|
|
- .popue_box_index4_xs_index3 {
|
|
|
- width: 54px;
|
|
|
- height: 54px;
|
|
|
- background-color: #f5f8fb;
|
|
|
- text-align: center;
|
|
|
- line-height: 54px;
|
|
|
- border-left: 1px solid #e5e6ec;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .popue_box_index5 {
|
|
|
- font-size: 30px;
|
|
|
- width: 92%;
|
|
|
- margin-left: 4%;
|
|
|
- font-weight: 700;
|
|
|
- height: 140px;
|
|
|
- line-height: 90px;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
- }
|
|
|
-
|
|
|
- .popue_box_index4_by {
|
|
|
- width: 320px;
|
|
|
- height: 90px;
|
|
|
- line-height: 90px;
|
|
|
- color: #fff;
|
|
|
- border-radius: 60px;
|
|
|
- text-align: center;
|
|
|
- color: #064c8a;
|
|
|
- font-weight: 700;
|
|
|
- border: 1px solid #064c8a;
|
|
|
- }
|
|
|
-
|
|
|
- .blue_popue_box_index4_by {
|
|
|
- .color_popue_box_index4_by('blue');
|
|
|
- }
|
|
|
-
|
|
|
- .green_popue_box_index4_by {
|
|
|
- .color_popue_box_index4_by('green');
|
|
|
- }
|
|
|
-
|
|
|
- .color_popue_box_index4_by(@value) {
|
|
|
- @color: 'color-@{value}';
|
|
|
- color: @@color;
|
|
|
- border: 1px solid @@color;
|
|
|
- }
|
|
|
-
|
|
|
- .popue_box_index4_by1 {
|
|
|
- width: 320px;
|
|
|
- height: 90px;
|
|
|
- line-height: 90px;
|
|
|
- color: #fff;
|
|
|
- border-radius: 60px;
|
|
|
- text-align: center;
|
|
|
- // background-image: linear-gradient(to right, #7e4fa1, #433c7f);
|
|
|
- background-color: #064c8a;
|
|
|
- border: 1px solid #064c8a;
|
|
|
- }
|
|
|
-
|
|
|
-}
|
|
|
-
|
|
|
-.text-purple {
|
|
|
- color: #703a98;
|
|
|
-}
|
|
|
-
|
|
|
-.text-red {
|
|
|
- color: #333;
|
|
|
-}
|
|
|
-
|
|
|
-.text-disable {
|
|
|
- color: #999;
|
|
|
-}
|
|
|
-
|
|
|
-.top_content {
|
|
|
- width: calc(100% - 60px);
|
|
|
- padding: 30px 30px;
|
|
|
- margin-left: 30px;
|
|
|
- margin-bottom: constant(safe-area-inset-bottom); // 兼容 IOS<11.2
|
|
|
- margin-bottom: env(safe-area-inset-bottom); // 兼容 IOS>=11.2
|
|
|
- box-sizing: border-box;
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
-
|
|
|
- //width: 750px;
|
|
|
- //height: 280px;
|
|
|
- background: #fafbff;
|
|
|
- border: 1px solid #d8dae0;
|
|
|
-
|
|
|
- span {
|
|
|
- font-size: 24px;
|
|
|
- color: #898989;
|
|
|
- text-align: left;
|
|
|
- }
|
|
|
-
|
|
|
- .title_box {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
-
|
|
|
- // margin-bottom: 20px;
|
|
|
- .title {
|
|
|
- // padding: 0px 14px;
|
|
|
- box-sizing: border-box;
|
|
|
- border-radius: 20px;
|
|
|
- font-size: 36px;
|
|
|
- color: #000;
|
|
|
- font-weight: 500;
|
|
|
- text-align: left;
|
|
|
- line-height: 50px;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .info {
|
|
|
- // padding-left: 18px;
|
|
|
- font-size: 30px;
|
|
|
- width: 100%;
|
|
|
- color: #999999;
|
|
|
- line-height: 45px;
|
|
|
- }
|
|
|
-
|
|
|
- .info_show {
|
|
|
- word-break: break-all;
|
|
|
- text-overflow: ellipsis;
|
|
|
- overflow: hidden;
|
|
|
- display: -webkit-box;
|
|
|
- -webkit-line-clamp: 2;
|
|
|
- -webkit-box-orient: vertical;
|
|
|
- }
|
|
|
-
|
|
|
- .top_down {
|
|
|
- margin-top: 20px;
|
|
|
- width: 100%;
|
|
|
- // font-size: 20PX;
|
|
|
- line-height: 20px;
|
|
|
- text-align: center;
|
|
|
- color: #999999;
|
|
|
- }
|
|
|
-}
|
|
|
</style>
|