123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811 |
- <template>
- <view class="container" :class="{disableScroll:disableScroll}">
- <u-navbar title="详情" leftIconColor="#ffffff" titleStyle="color:#fff" :autoBack="true" placeholder></u-navbar>
- <view class="topBox" v-if="form.orderStatus==0">
- <view class="topBox_val">¥
- <text>{{form.sellingPrice.split('.')[0]}}</text>.{{form.sellingPrice.split('.')[1]}}
- </view>
- <view class="topBox_lab">待支付</view>
- <view class="topBox_time">
- 请在 <text>{{form.minutes}}:{{form.seconds}}</text>内支付
- </view>
- </view>
- <view class="topBox" v-if="form.orderStatus==10">
- <view class="topBox_val"> <text class="iconfont icon-daishiyong"></text> </view>
- <view class="topBox_lab" style="margin-top: 15rpx;">待使用</view>
- </view>
- <view class="topBox" v-if="form.orderStatus==20&&!form.refundStatus">
- <view class="topBox_val">
- <image style="width: 68rpx;height:79rpx" src="https://guess-shop.oss-cn-beijing.aliyuncs.com/static/online/img18.png" mode="" />
- </view>
- <view class="topBox_lab" style="margin-top: 15rpx;">免单活动进行中!</view>
- </view>
- <view class="topBox" v-if="form.orderStatus==30&&form.refundStatus==2">
- <view class="topBox_val"> <text class="iconfont icon-kapian-yituikuan"></text> </view>
- <view class="topBox_lab" style="margin-top: 15rpx;">已退款</view>
- </view>
- <view class="topBox" v-if="form.orderStatus==20&&form.refundStatus==1">
- <view class="topBox_val"> <text class="iconfont icon-yiwancheng"></text> </view>
- <view class="topBox_lab" style="margin-top: 15rpx;">已完成 <text>(部分退款)</text> </view>
- </view>
- <view class="topBox" v-if="form.orderStatus==30&&form.refundStatus!=2">
- <view class="topBox_val"> <text class="iconfont icon-dingdan_yiquxiao"></text> </view>
- <view class="topBox_lab" style="margin-top: 15rpx;">已取消 <text>(您的订单已取消)</text> </view>
- </view>
- <view class="topBox" v-if="form.refundStatus==0&&form.refundOrderId">
- <view class="topBox_val"> <text class="iconfont icon-tuikuanzhong"></text> </view>
- <view class="topBox_lab" style="margin-top: 15rpx;">退款中</view>
- </view>
- <view class="topBox" v-if="form.refundStatus==1&&form.refundOrderId">
- <view class="topBox_val"> <text class="iconfont icon-kapian-yituikuan"></text> </view>
- <view class="topBox_lab" style="margin-top: 15rpx;">退款成功</view>
- </view>
- <view class="topBox" v-if="form.refundStatus==2&&form.refundOrderId">
- <view class="topBox_val"> <text class="iconfont icon-a-12pt_tuikuanshibai"></text> </view>
- <view class="topBox_lab" style="margin-top: 15rpx;">退款失败</view>
- </view>
- <view class="topBox" v-if="form.refundStatus==3&&form.refundOrderId">
- <view class="topBox_val"> <text class="iconfont icon-tuikuanshibai1"></text> </view>
- <view class="topBox_lab" style="margin-top: 15rpx;">退款拒绝</view>
- </view>
- <view class="topBox" style="padding: 0rpx;">
- <view class="item">
- <view class="item_t">
- <image :src="form.businessImage" mode="" />
- <view>{{form.businessName}}</view>
- </view>
- <view class="item_c">
- <view class="item_c_l">
- <image :src="form.businessProductImage||form.businessImage" mode="" />
- </view>
- <view class="item_c_r">
- <view class="item_c_r_title">{{form.businessProductName}}</view>
- <view class="item_c_r_text">{{form.productDataJosn.costIncluded}}</view>
- <view class="item_c_r_price">
- <view class="item_c_r_price_r font22" @click="openPurchaseNotes(form.productDataJosn)">
- 购买须知<text class="iconfont icon-jiantou2"></text></view>
- <view class="item_c_r_price_r">X{{form.buyQuantity}}</view>
- <view class="item_c_r_price_l" v-if="form.sellingPrice">¥
- <text>{{form.sellingPrice.split('.')[0]}}</text>.{{form.sellingPrice.split('.')[1]}}
- </view>
- </view>
- </view>
- </view>
- <view class="item_c1">
- <view class="item_c1_lab">合计:</view>
- <view class="item_c1_val">¥
- <text>{{String(form.orderAmount).split('.')[0]}}</text>.{{String(form.orderAmount).split('.')[1]}}
- </view>
- </view>
- <view class="item_c2">
- <view class="item_c2_item">
- <view class="item_c2_item_lab">日期:</view>
- <view class="item_c2_item_val">
- {{form.orderTime?form.orderTime.substr(0,10).replace(/-/g,'.'):'--'}}
- </view>
- </view>
- <view class="item_c2_item">
- <view class="item_c2_item_lab">购买数量:</view>
- <view class="item_c2_item_val">x{{form.buyQuantity}}</view>
- </view>
- <view class="item_c2_item">
- <view class="item_c2_item_lab">游客信息:</view>
- <view class="item_c2_item_val" v-if="form.refundOrderId">
- {{form.productOrder.productVisitor.visitorName}},{{form.productOrder.productVisitor.visitorPhone}}
- </view>
- <view class="item_c2_item_val" v-else>
- {{form.productVisitor.visitorName}},{{form.productVisitor.visitorPhone}}
- </view>
- </view>
- <view class="item_c2_item" v-if="form.reservationDate">
- <view class="item_c2_item_lab">预约日期:</view>
- <view class="item_c2_item_val">
- {{form.reservationDate}}
- </view>
- </view>
- <view class="item_c2_item" v-if="form.reservationTime">
- <view class="item_c2_item_lab">预约场次:</view>
- <view class="item_c2_item_val">
- {{form.reservationTime}}
- </view>
- </view>
- </view>
- <!-- v-if="form.orderStatus==10||form.orderStatus==20||form.refundStatus==2||form.refundStatus==1" -->
- <!-- form.orderStatus!=30&&!form.refundOrderId&&form.orderStatus!=0 -->
- <view class="item_c2" v-if="couponList&&couponList.length>0">
- <view class="item_c2_item" v-for="(v,i) in couponList" :key="i" @click="openVoucherDetails(i)">
- <view class="item_c2_item_lab">卡券号:</view>
- <view class="item_c2_item_val" :class="{'line-through':(v.couponStatus==10||v.couponStatus==20)}">{{v.couponCode}} <text class="iconfont icon-jiantou"></text> </view>
- </view>
- <!-- <view class="item_c2_item" @click="openVoucherDetails()">
- <view class="item_c2_item_lab">卡券号:</view>
- <view class="item_c2_item_val">2021312332424433 <text class="iconfont icon-jiantou"></text></view>
- </view> -->
- </view>
- <!-- <view class="item_c2" v-if="form.refundStatus==2||form.refundStatus==1">
- <view class="item_c2_item">
- <view class="item_c2_item_lab">退款信息:</view>
- <view class="item_c2_item_val ">查看详情 <text class="iconfont icon-jiantou"></text> </view>
- </view>
- </view> -->
- <view class="item_c2">
- <view class="item_c2_title">订单信息</view>
- <view class="item_c2_item">
- <view class="item_c2_item_lab">订单编号:</view>
- <view class="item_c2_item_val">{{form.orderNumber}}</view>
- </view>
- <view class="item_c2_item">
- <view class="item_c2_item_lab">订单创建时间:</view>
- <view class="item_c2_item_val">{{form.orderTime?form.orderTime.replace(/-/g,'.'):'--'}}</view>
- </view>
- <view class="item_c2_item" v-if="form.orderType==0&&(form.orderStatus==10||form.orderStatus==20||form.refundStatus==2||form.refundStatus==1)">
- <view class="item_c2_item_lab">支付方式:</view>
- <view class="item_c2_item_val">微信支付</view>
- </view>
- <view class="item_c2_item" v-if="form.orderType==0&&(form.orderStatus==10||form.orderStatus==20||form.refundStatus==2||form.refundStatus==1)">
- <view class="item_c2_item_lab">支付时间:</view>
- <view class="item_c2_item_val" v-if="form.payTime">
- {{form.payTime?form.payTime.replace(/-/g,'.'):'--'}}
- </view>
- <view class="item_c2_item_val" v-else-if="form.productOrder">
- {{form.productOrder.payTime?form.productOrder.payTime.replace(/-/g,'.'):'--'}}
- </view>
- <view class="item_c2_item_val" v-else>
- {{form.productDataJosn.payTime?form.productDataJosn.payTime.replace(/-/g,'.'):'--'}}
- </view>
- </view>
- <view class="item_c2_item" v-if="form.orderStatus==20&&form.refundStatus!=1">
- <view class="item_c2_item_lab">使用时间:</view>
- <view class="item_c2_item_val">{{form.lastUseTime?form.lastUseTime.replace(/-/g,'.'):'--'}}
- </view>
- </view>
- <view class="item_c2_item" v-if="form.orderStatus==30&&form.refundStatus!=2">
- <view class="item_c2_item_lab">取消时间:</view>
- <view class="item_c2_item_val">
- {{form.orderCancelTime?form.orderCancelTime.replace(/-/g,'.'):'--'}}
- </view>
- </view>
- </view>
- <view class="item_c2" v-if="form.refundOrderId">
- <view class="item_c2_title">退款信息</view>
- <view class="item_c2_item">
- <view class="item_c2_item_lab">退款金额:</view>
- <view class="item_c2_item_val">{{form.refundAmount}}</view>
- </view>
- <view class="item_c2_item">
- <view class="item_c2_item_lab">退款数量:</view>
- <view class="item_c2_item_val">{{form.refundQuantity}}</view>
- </view>
- <view class="item_c2_item" v-if="form.refundOrder">
- <view class="item_c2_item_lab">退款流水号:</view>
- <view class="item_c2_item_val">{{form.refundOrder}}</view>
- </view>
- <view class="item_c2_item">
- <view class="item_c2_item_lab">提交退款申请:</view>
- <view class="item_c2_item_val">{{form.refundApplyTime}}</view>
- </view>
- <view class="item_c2_item">
- <view class="item_c2_item_lab">退款原因:</view>
- <view class="item_c2_item_val">{{form.refundReason}}</view>
- </view>
- <view class="item_c2_item">
- <view class="item_c2_item_lab">退款说明:</view>
- <view class="item_c2_item_val">{{form.refundNotes}}</view>
- </view>
- <view class="item_c2_item">
- <view class="item_c2_item_lab">退款方式:</view>
- <view class="item_c2_item_val">原路返回</view>
- </view>
- <view class="item_c2_item" v-if="form.refundStatus==3&&form.refundOrderId">
- <view class="item_c2_item_lab">退款审核说明:</view>
- <view class="item_c2_item_val">{{form.auditNotes||''}}</view>
- </view>
- </view>
- </view>
- </view>
- <view class="btnBox" v-if="form.orderStatus==0">
- <view class="btnBox_l">
- <view class="btnBox_l_lab">应付:</view>
- <view class="btnBox_l_val">¥
- <text>{{String(form.orderAmount).split('.')[0]}}</text>.{{String(form.orderAmount).split('.')[1]}}
- </view>
- </view>
- <view class="btnBox_r" @click="payment()">
- 支付
- </view>
- </view>
- <view class="btnBox1" v-if="form.orderStatus==10">
- <view class="btnBox_l" v-if="form.orderType==0" @click="goPath('/pages/order/applicationDrawback?orderNumber=' +form.orderNumber)">
- 申请退款
- </view>
- <view class="btnBox_r" @click="openVoucherDetails()">
- 去使用
- </view>
- </view>
- <view class="btnBox1" v-if="form.gamesStatus==1&&form.orderType==0">
- <view class="btnBox_r" @click="goPath(`/pages/game/index?orderNumber=${form.orderNumber}`)">
- 参与免单
- </view>
- </view>
- <!-- 购买须知弹窗 -->
- <purchaseNotes :type="2" ref="purchaseNotesRef" />
- <!-- 卡券详情 -->
- <voucherDetails ref="voucherDetailsRef" :list="couponList" @close="voucherDetailsClsoe" />
- <!-- 核销完成 -->
- <writeOffCompleted :form="form" ref="writeOffCompletedRef" />
- </view>
- </template>
- <script>
- import {
- orderInfo,
- orderCouponList,
- orderPay,
- orderIdInfo,
- refundOrderInfo
- } from "@/api/home.js"
- import purchaseNotes from '@/components/purchaseNotes/index.vue'
- import voucherDetails from '@/components/voucherDetails/index.vue'
- import writeOffCompleted from '@/components/writeOffCompleted/index.vue'
- // let intervalId = null
- export default {
- components: {
- purchaseNotes,
- voucherDetails,
- writeOffCompleted
- },
- data () {
- return {
- type: 6, //1待支付 2待使用 3免单 4已退款 5已完成(部分退款) 6已取消
- form: {
- productDataJosn: {},
- },
- couponList: [],
- disableScroll: false,
- timer: null,
- type: undefined,
- intervalId:undefined
- }
- },
- onLoad (options) {
- if (options.orderNumber) {
- this.getOrderInfo(options.orderNumber)
- }
- if (options.orderId) {
- this.getOrderIdInfo(options.orderId)
- }
- if (options.refundOrderId) {
- this.getRefundOrderInfo(options.refundOrderId)
- }
- if (options.type) {
- this.type = options.type
- }
- },
- onUnload () {
- // 当页面关闭或卸载时清除定时器
- if (this.intervalId) {
- clearInterval(this.intervalId);
- }
- },
- methods: {
- // 计算订单取消订单的倒计时
- countDown (row) {
- // 获取当前时间
- let currentTime = new Date();
- // 订单取消时间 时间格式替换为ios支持的格式
- let cancelTime = new Date(row.payExpireTime.replace(/-/g, '/'));
- row.countdownTime = Math.floor((cancelTime - currentTime) / 1000);
- row.minutes = Math.floor(row.countdownTime / 60) < 10 ? '0' + Math.floor(row.countdownTime / 60) : Math
- .floor(row.countdownTime / 60);
- row.seconds = row.countdownTime % 60 < 10 ? '0' + row.countdownTime % 60 : row.countdownTime % 60;
- if (row.countdownTime > 0) {
- this.intervalId = setInterval(() => {
- row.minutes = Math.floor(row.countdownTime / 60) < 10 ? '0' + Math.floor(row
- .countdownTime / 60) : Math.floor(row.countdownTime / 60);
- row.seconds = row.countdownTime % 60 < 10 ? '0' + row.countdownTime % 60 : row
- .countdownTime % 60;
- if (row.countdownTime > 0) {
- row.countdownTime--;
- } else {
- // row.orderStatus = 30;
- clearInterval(this.intervalId);
- this.intervalId = null
- this.getOrderInfo(row.orderNumber)
- }
- }, 1000)
- }
- },
- voucherDetailsClsoe () {
- this.disableScroll = false;
- clearInterval(this.timer);
- this.timer = null;
- },
- openPurchaseNotes (val) {
- val.businessImage = this.form.businessImage;
- this.$refs.purchaseNotesRef.open(val)
- },
- openVoucherDetails (index = null) {
- if (index === null) {
- for (let i = 0; i < this.couponList.length; i++) {
- if (this.couponList[i].couponStatus == 0) {
- index = i;
- break
- }
- }
- }
- // item.businessImage = this.form.businessImage;
- // item.costIncluded = this.form.productDataJosn.costIncluded
- this.$refs.voucherDetailsRef.open(this.couponList, index, this.form);
- // let bool = false;
- // this.couponList.map(v => {
- // if (v.couponStatus == 0) {
- // bool = true
- // }
- // })
- let bool = this.couponList.some(v => {
- return v.couponStatus == 0
- })
- if (bool) {
- this.timer = setInterval(() => {
- this.getOrderInfo(this.form.orderNumber)
- }, 3000)
- }
- this.disableScroll = true;
- },
- openWriteOffCompleted () {
- this.$refs.writeOffCompletedRef.openFun()
- },
- getOrderInfo (orderNo) {
- orderInfo(orderNo).then(res => {
- res.data.productDataJosn = JSON.parse(res.data.productData);
- if (res.data.orderStatus == 0) {
- this.countDown(res.data)
- }
- this.form = res.data;
- if (this.form.refundOrderId) {
- this.getRefundOrderInfo(this.form.refundOrderId)
- } else {
- this.getCouponList(this.form.orderId)
- }
- if (this.timer) {
- let bool = true;
- this.couponList.map(v => {
- if (v.couponStatus != 10) {
- bool = false
- }
- })
- if (bool) {
- this.$refs.voucherDetailsRef.close()
- this.openWriteOffCompleted()
- }
- }
- if (this.type == 'use') {
- this.type = '';
- setTimeout(() => {
- this.openVoucherDetails()
- }, 300)
- }
- })
- },
- getOrderIdInfo (orderId) {
- orderIdInfo(orderId).then(res => {
- res.data.productDataJosn = JSON.parse(res.data.productData);
- if (res.data.orderStatus == 0) {
- this.countDown(res.data)
- }
- this.form = res.data;
- // this.getCouponList(this.form.orderId);
- if (this.form.refundOrderId) {
- this.getRefundOrderInfo(this.form.refundOrderId)
- } else {
- this.getCouponList(this.form.orderId)
- }
- if (this.type == 'use') {
- this.type = '';
- setTimeout(() => {
- this.openVoucherDetails()
- }, 300)
- }
- })
- },
- // 获取退款订单信息
- getRefundOrderInfo (refundOrderId) {
- refundOrderInfo(refundOrderId).then(res => {
- res.data.productDataJosn = JSON.parse(res.data.productOrder.productData);
- this.form = res.data;
- this.getCouponList(this.form.orderId)
- })
- },
- // 支付
- payment () {
- uni.showLoading({
- title: '加载中'
- });
- orderPay({
- orderNumber: this.form.orderNumber
- }).then(res => {
- uni.requestPayment({
- "provider": "wxpay",
- timeStamp: res.data.timeStamp,
- nonceStr: res.data.nonceStr,
- package: res.data.package,
- signType: res.data.signType,
- paySign: res.data.paySign,
- success: (ret) => {
- // this.$refs.checkoutSuccessRef.open(res.data.out_trade_no)
- this.getOrderInfo(this.form.orderNumber)
- },
- complete: () => {
- uni.hideLoading()
- },
- fail (e) {
- // uni.redirectTo({
- // url: '/pages/order/orderDetails?orderNumber=' + res.data.out_trade_no
- // });
- }
- })
- })
- },
- getCouponList (orderId) {
- orderCouponList({
- orderId: orderId
- }).then(res => {
- this.$nextTick(() => {
- this.couponList = res.data;
- })
- })
- },
- goApplicationDrawback () {
- uni.navigateTo({
- url: path
- })
- },
- goPath (path) {
- // let data = {
- // businessName: this.form.businessName,
- // businessImage: this.form.businessImage,
- // businessProductName: this.form.businessProductName,
- // businessProductImage: this.form.businessProductImage,
- // costIncluded: this.form.productDataJosn.costIncluded,
- // sellingPrice: this.form.sellingPrice,
- // payAmount: this.form.payAmount
- // }
- uni.navigateTo({
- url: path,
- })
- }
- },
- }
- </script>
- <style lang='scss' scoped>
- .popupShow {
- overflow: hidden;
- position: fixed;
- }
- ::v-deep .u-navbar__content,
- ::v-deep .u-status-bar {
- background-color: #c90700 !important;
- }
- .disableScroll {
- overflow: hidden;
- position: fixed;
- width: 100%;
- box-sizing: border-box;
- }
- .container {
- padding: 30rpx 30rpx 160rpx;
- background: #f8f8f8;
- .topBox {
- padding: 45rpx 0;
- background: #ffffff;
- border-radius: 30rpx;
- margin-bottom: 30rpx;
- .topBox_val {
- font-size: 40rpx;
- color: #fa353b;
- font-family: FZCuYuan-M03;
- text-align: center;
- text {
- font-size: 80rpx;
- color: #fa353b;
- font-family: FZCuYuan-M03;
- }
- }
- .topBox_lab {
- font-size: 28rpx;
- color: #1a1a1a;
- text-align: center;
- margin-top: 7rpx;
- text {
- font-size: 28rpx;
- color: #808080;
- }
- }
- .topBox_time {
- font-size: 24rpx;
- color: #1a1a1a;
- margin-top: 7rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- text {
- font-size: 28rpx;
- color: #fb0b03;
- font-family: FZCuYuan-M03;
- display: inline-block;
- margin: 0 10rpx;
- }
- }
- }
- .item {
- background: #ffffff;
- margin-bottom: 32rpx;
- border-radius: 30px;
- position: relative;
- .item_t {
- padding: 36rpx 24rpx 29rpx;
- border-bottom: 1rpx solid #cccccc;
- display: flex;
- align-items: center;
- image {
- width: 68rpx;
- height: 68rpx;
- border-radius: 20rpx;
- margin-right: 15rpx;
- flex-shrink: 0;
- }
- view {
- font-size: 28rpx;
- color: #1a1a1a;
- font-family: FZCuYuan-M03;
- }
- }
- .item_c {
- display: flex;
- padding: 30rpx 0;
- margin: 0 24rpx;
- border-bottom: 1rpx solid #cccccc;
- .item_c_l {
- margin-right: 12rpx;
- image {
- width: 172rpx;
- height: 172rpx;
- border-radius: 12rpx;
- }
- }
- .item_c_r {
- flex-grow: 1;
- overflow: hidden;
- .item_c_r_title {
- font-size: 26rpx;
- color: #242424;
- font-family: FZCuYuan-M03;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- }
- .item_c_r_text {
- font-size: 24rpx;
- color: #1a1a1a;
- margin: 15rpx 0 22rpx;
- overflow: hidden;
- height: 56rpx;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- }
- .item_c_r_price {
- display: flex;
- justify-content: space-between;
- align-items: center;
- .item_c_r_price_l {
- font-size: 22rpx;
- color: #ff0000;
- font-family: FZCuYuan-M03;
- text {
- font-size: 34rpx;
- font-family: FZCuYuan-M03;
- }
- }
- .item_c_r_price_r {
- font-size: 26rpx;
- color: #666666;
- text {
- // vertical-align: text-bottom;
- display: inline-block;
- vertical-align: bottom;
- position: relative;
- top: 2rpx;
- }
- }
- .font22 {
- font-size: 22rpx;
- }
- }
- }
- }
- .item_c1 {
- padding: 20rpx 0;
- margin: 0 24rpx;
- text-align: right;
- border-bottom: 1rpx solid #cccccc;
- > view {
- display: inline-block;
- }
- .item_c1_lab {
- font-size: 26rpx;
- color: #1a1a1a;
- }
- .item_c1_val {
- font-size: 22rpx;
- color: #ff0000;
- font-family: FZCuYuan-M03;
- text {
- font-size: 42rpx;
- color: #ff0000;
- font-family: FZCuYuan-M03;
- }
- }
- }
- .item_c2 {
- padding: 20rpx 0;
- margin: 0 24rpx;
- border-bottom: 1rpx solid #cccccc;
- &:last-child {
- border-bottom: none;
- }
- .item_c2_item {
- padding: 12rpx 0;
- display: flex;
- justify-content: space-between;
- align-items: center;
- .item_c2_item_lab {
- font-size: 26rpx;
- color: #1a1a1a;
- }
- .item_c2_item_val {
- font-size: 26rpx;
- color: #666666;
- .iconfont {
- font-size: 28rpx;
- display: inline-block;
- margin-left: 6rpx;
- }
- }
- .line-through {
- text-decoration: line-through;
- }
- }
- .item_c2_title {
- font-size: 26rpx;
- color: #242424;
- font-family: FZCuYuan-M03;
- padding: 12rpx 0;
- }
- }
- }
- }
- .btnBox {
- display: flex;
- align-items: center;
- justify-content: space-between;
- width: 100%;
- padding: 35rpx 30rpx;
- position: fixed;
- bottom: 0;
- left: 0;
- background: #fff;
- box-sizing: border-box;
- border-top: 1rpx solid #e7e7e7;
- .btnBox_l {
- display: flex;
- align-items: baseline;
- .btnBox_l_lab {
- font-size: 28rpx;
- color: #1a1a1a;
- }
- .btnBox_l_val {
- display: flex;
- align-items: baseline;
- font-size: 22rpx;
- color: #ff0000;
- font-family: FZCuYuan-M03;
- text {
- font-size: 42rpx;
- font-family: FZCuYuan-M03;
- }
- }
- }
- .btnBox_r {
- width: 259rpx;
- height: 80rpx;
- background: #fb0b03;
- border-radius: 40rpx;
- font-size: 32rpx;
- color: #ffffff;
- text-align: center;
- line-height: 80rpx;
- }
- }
- .btnBox1 {
- text-align: right;
- width: 100%;
- padding: 35rpx 30rpx;
- position: fixed;
- bottom: 0;
- left: 0;
- background: #fff;
- box-sizing: border-box;
- border-top: 1rpx solid #e7e7e7;
- > view {
- width: 200rpx;
- height: 70rpx;
- display: inline-block;
- font-size: 26rpx;
- color: #ffffff;
- text-align: center;
- line-height: 72rpx;
- }
- .btnBox_r {
- background: #fb0b03;
- border-radius: 40rpx;
- }
- .btnBox_l {
- background: #999999;
- border-radius: 40rpx;
- margin-right: 25rpx;
- }
- }
- </style>
|