|
|
@@ -1,141 +1,122 @@
|
|
|
<template>
|
|
|
- <view class="confirm-order-box iPhone-bottom flex-common-css box-border-box">
|
|
|
- <view class="bg-box"></view>
|
|
|
- <Nav title='订单支付' bgckgroundBox='transparent'></Nav>
|
|
|
- <view class="scroll-view-css box-border-box p-24">
|
|
|
- <view class="box-card box-border-box mb-20 bgc-f">
|
|
|
- <view class="box-input box-border-box p-b-20 mb-20" @click="selectFun(2)">
|
|
|
- <view class="flex-justify-space mb-12">
|
|
|
- <view v-if="addressData.id" class="fs-36 fw-600 text-overflow-ellipsis w570">
|
|
|
- {{addressData.address||''}}{{addressData.school_name||''}}{{addressData.dorm_name||''}}
|
|
|
+ <view class="flex-common-css iPhone-bottom box-border-box bgc-F5F4F9">
|
|
|
+ <image class="order-bg" src="@/static/img/order-food/order-bg.png" mode=""></image>
|
|
|
+ <newNav textName="提交订单" class="mb-20"></newNav>
|
|
|
+ <view class="scroll-view-css plr-24 box-border-box z-3">
|
|
|
+ <view class="way-box bgc-f b-rad-20 mb-20 p-24 box-border-box">
|
|
|
+ <view class="fc-6 fw-400 fs-28 mb-24">
|
|
|
+ 请选择就餐方式
|
|
|
+ </view>
|
|
|
+ <view class="align-items-center">
|
|
|
+ <view class="pl-32 pr-24 box-border-box align-items-center flex-justify-space flex-1 mr-18 b-rad-16"
|
|
|
+ :class="wayType === 1?'bgc-FFF3F3 b-FF3333':'b-b-d'" @click="wayTypeStyle(1)">
|
|
|
+ <view class="fw-600 fs-32" :class="wayType === 1?'fc-FF3333':'fc-3'">
|
|
|
+ 堂食
|
|
|
</view>
|
|
|
- <view v-else class="fs-36 fw-600 text-overflow-ellipsis w570">请选择地址</view>
|
|
|
- <image class="right-icon" src="@/static/img/toRight.png" mode=""></image>
|
|
|
+ <image class="ts-img" src="/static/img/order-food/ts-img.png" mode="aspectFill"></image>
|
|
|
</view>
|
|
|
- <view class="" v-if="addressData.id">
|
|
|
- <span class="mr-24 fs-28 fc-9">{{addressData.consignee||''}}</span><span
|
|
|
- class="fs-28 fc-9">{{addressData.phone||''}}</span>
|
|
|
+ <view class="pl-32 pr-24 box-border-box align-items-center flex-justify-space flex-1 b-rad-16"
|
|
|
+ :class="wayType === 2?'bgc-FFF3F3 b-FF3333':'b-b-d'" @click="wayTypeStyle(2)">
|
|
|
+ <view class="fw-600 fs-32" :class="wayType === 2?'fc-FF3333':'fc-3'">
|
|
|
+ 打包
|
|
|
+ </view>
|
|
|
+ <image class="ts-img" src="/static/img/order-food/db-img.png" mode="aspectFill"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="box-input flex-justify-space align-items-center box-border-box p-b-20 mb-20"
|
|
|
- @click="selectFun(3)">
|
|
|
- <view class="fs-28 fw-600">预计送达</view>
|
|
|
- <view class="align-items-center">
|
|
|
- <view class="fs-28 fw-400 fc-41ABF5"> {{deliverText?'预计'+ deliverText+ '送达':'选择送达时间'}} </view>
|
|
|
- <image class="right-icon" src="@/static/img/toRight.png" mode=""></image>
|
|
|
- </view>
|
|
|
+ </view>
|
|
|
+ <view class="align-items-center b-rad-16 bgc-f mb-20 p-20 box-border-box">
|
|
|
+ <uni-icons type="notification" size="15" color="#FF8D28" class="mr-12"></uni-icons>
|
|
|
+ <view class="fs-24 fc-FF8D28">
|
|
|
+ 依据法律规定,18周岁以下未成年人限制购买酒类商品
|
|
|
</view>
|
|
|
- <!-- <view class="box-input flex-justify-space box-border-box p-b-20 mb-20">
|
|
|
- <view class="fs-28 fw-600">配送方式</view>
|
|
|
- <view class="fs-24 fw-400 sd-box fc-FB3D03">送达宿舍</view>
|
|
|
- </view> -->
|
|
|
</view>
|
|
|
|
|
|
- <view class="box-card box-border-box bgc-f mb-20">
|
|
|
- <view class="mb-32 b-b-F9F9F9">
|
|
|
- <!-- <view class="fs-28 fw-600 mb-24">宋氏重庆鸡公煲(重工业店)宋氏重庆鸡公煲(重工业店)宋氏重庆鸡公煲(重工业店)</view> -->
|
|
|
+ <view class="box-card bgc-f b-rad-16 p-24 box-border-box mb-16">
|
|
|
+ <view class="align-items-center flex-justify-space pb-24 b-b-F9F9F9">
|
|
|
+ <view class="fs-28 fc-6">
|
|
|
+ 店内点单
|
|
|
+ </view>
|
|
|
+ <view class="align-items-center">
|
|
|
+ <image class="zz-icon mr-4" src="@/static/img/order-food/zz-icon.png" mode=""></image>
|
|
|
+ <view class="fs-28 fc-6">
|
|
|
+ 桌号:17
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="mb-24 b-b-F9F9F9">
|
|
|
<view class="flex-justify-space mb-28" v-for="(item,i) in cardData.goods_list" :key="i">
|
|
|
<image class="goods-img" :src="item.goods_image" mode="aspectFill"></image>
|
|
|
<view class="w376">
|
|
|
- <view class="fs-28 fw-400 mb-4">
|
|
|
+ <view class="fs-28 fw-600 mb-2">
|
|
|
{{item.goods_name}}
|
|
|
</view>
|
|
|
- <view class="fs-24 fc-9 mb-4">{{item.goods_desc}}</view>
|
|
|
+ <view class="fs-24 fc-9 mb-2">{{item.goods_desc}}</view>
|
|
|
<view class="fs-24 fc-9">x{{item.goods_number}}</view>
|
|
|
</view>
|
|
|
- <view class="fs-32 fw-600">¥{{item.goods_money}}</view>
|
|
|
+ <view class="fs-32 fw-600 fc-3">¥{{item.goods_money}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="flex-justify-space mb-24">
|
|
|
- <view class="fs-28 fw-400">打包费</view>
|
|
|
- <view class="fs-32 fw-600">¥{{cardData.pack_price}}</view>
|
|
|
+ <view class="flex-justify-space mb-30">
|
|
|
+ <view class="fs-28 fw-400">就餐人数</view>
|
|
|
+ <view class="align-items-center" @click="openPop">
|
|
|
+ <view class="fs-32 fw-600 fc-3 mr-4">2人</view>
|
|
|
+ <image class="right-b" src="@/static/img/order-food/right-b.png" mode=""></image>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view class="flex-justify-space mb-24">
|
|
|
- <view class="fs-28 fw-400">配送费</view>
|
|
|
- <view class="fs-32 fw-600">¥{{delivery_money}}</view>
|
|
|
+ <view class="flex-justify-space mb-30">
|
|
|
+ <view class="fs-28 fw-400">餐位费</view>
|
|
|
+ <view class="fs-32 fw-600 fc-3">¥4</view>
|
|
|
</view>
|
|
|
- <view class="flex-justify-space mb-24 p-b-20 b-b-F9F9F9" @click="selectFun(1)">
|
|
|
- <view class="align-items-center">
|
|
|
- <image class="yhq-icons" src="@/static/img/order/yhq.png" mode=""></image>
|
|
|
- <view class="fs-28 fw-400">优惠券</view>
|
|
|
- </view>
|
|
|
- <view class="align-items-center">
|
|
|
- <view class="" v-if="!fromData.coupon_id && (receiveLength>0 || CouponLength>0)">
|
|
|
- <view class="fs-28 fc-ED301D" v-if='CouponLength>0'>
|
|
|
- 有{{CouponLength}}张优惠券可用
|
|
|
- </view>
|
|
|
- <view class="fs-28 fc-ED301D" v-else>
|
|
|
- 可领{{receiveLength}}张优惠券
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view v-else :class="fromData.coupon_id?'fc-FB3D03 fw-600 fs-32':'fw-400 fs-28'">
|
|
|
- {{fromData.coupon_id?'-¥'+ quanMoney:'暂无可用优惠券'}}
|
|
|
- </view>
|
|
|
- <image class="right-icon" src="@/static/img/toRight.png" mode=""></image>
|
|
|
+ <!-- <view class="flex-justify-space mb-30">
|
|
|
+ <view class="fs-28 fw-400">店铺优惠</view>
|
|
|
+ <view class="fs-32 fw-600">¥{{cardData.pack_price}}</view>
|
|
|
+ </view> -->
|
|
|
+ <view class="align-items-center flex-justify-end pt-20 b-t-F9F9F9">
|
|
|
+ <view class="fs-28 fc-0 fw-400 mr-4">
|
|
|
+ 应付
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="text-align-right p-b-20">
|
|
|
- <span class="fc-9 fs-28">共{{cardData.total_num||0}}件,</span>
|
|
|
- <span class="fw-400 fc-0 fs-28">合计¥</span>
|
|
|
+ <span class="fw-600 fc-0 fs-28">¥</span>
|
|
|
<span
|
|
|
class="fw-600 fc-0 fs-44">{{(total_price - quanMoney) < 0?'0':(total_price - quanMoney).toFixed(2)||0}}</span>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
-
|
|
|
- <view class="box-card box-border-box bgc-f mb-20">
|
|
|
- <view class="flex-justify-space b-b-F9F9F9">
|
|
|
- <view class="fs-28 fw-600 w158 mr-12">备注</view>
|
|
|
+ <view class="p-24 box-border-box bgc-f mb-20 b-rad-20 flex-justify-space">
|
|
|
+ <view class="fs-28 fw-600">备注</view>
|
|
|
<input v-model="fromData.note" class="flex-1 text-align-right fs-28" type="text"
|
|
|
- placeholder="请填写你的备注">
|
|
|
- </view>
|
|
|
- <!-- <view class="fs-28 fw-600 mb-16">平台将通过服务通知向你推送最新动态</view>
|
|
|
- <view class="p-16 bgc-F3F4F6 b-rad-12 tz-an-f">
|
|
|
- <view class="fc-0 fw-400 fs-24 mb-4">是否电话通知</view>
|
|
|
- <view class="fc-9 fw-400 fs-24">若开启,则订单送达系统自动曝光(电话)通知</view>
|
|
|
- <view class="tz-an">
|
|
|
- <view class="r-right" @click="fromData.is_default == 1?fromData.is_default=0:fromData.is_default=1"
|
|
|
- :class="fromData.is_default == 0?'n-r':'s-r'">
|
|
|
- <view class="r-y"></view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view> -->
|
|
|
- <view class="p-b-20"></view>
|
|
|
+ placeholder="请填写你的需求">
|
|
|
</view>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-<!-- <view class="box-card box-border-box mb-20 bgc-f flex-justify-space">
|
|
|
- <view class="fs-28 fw-600 w158">支付方式</view>
|
|
|
- <view class="wx-box display-flex">
|
|
|
- <image src="@/static/img/common/wx-zf.png" mode="scaleToFill"></image>
|
|
|
- <view class="fs-28 fw-400 ml-10">微信支付</view>
|
|
|
+ <view class="p-24 box-border-box bgc-f mb-20 b-rad-20 flex-justify-space">
|
|
|
+ <view class="fs-28 fw-600">备注</view>
|
|
|
+ <view class="align-items-center">
|
|
|
+ <image class="wx-zf mr-6" src="@/static/img/common/wx-zf.png" mode=""></image>
|
|
|
+ <view class="fs-28 fc-3">
|
|
|
+ 微信支付
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- </view> -->
|
|
|
+ </view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="bottom-box box-border-box p-24">
|
|
|
- <view class="flex-justify-space">
|
|
|
- <view class="align-items-flex-end box-1">
|
|
|
- <span class="fs-28 fc-f fw-600">¥</span>
|
|
|
- <span
|
|
|
- class="fs-44 fc-f fw-600">{{(total_price - quanMoney) < 0?'0':(total_price - quanMoney).toFixed(2)||0}}</span>
|
|
|
+ <view class="plr-24 box-border-box">
|
|
|
+ <view class="bottom-box flex-justify-space align-items-center pl-24 box-border-box pr-8 b-rad-200 bgc-f">
|
|
|
+ <view class="align-items-baseline">
|
|
|
+ <view class="fs-28 fc-3 fw-600">¥</view>
|
|
|
+ <view
|
|
|
+ class="fs-44 fc-3 fw-600">{{(total_price - quanMoney) < 0?'0':(total_price - quanMoney).toFixed(2)||0}}</view>
|
|
|
</view>
|
|
|
- <view class="text-align-center box-2 fs-32 fc-f fw-600" @click="toSave()">立即支付</view>
|
|
|
+ <view class="box-2 text-align-center fc-f fs-32 fw-600 b-rad-200" @click="toSave()">立即支付</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
- <Coupon ref="coupon" @giveCouPon='giveCouPon' @gbCouopnPop='shopOrderCoupon'></Coupon>
|
|
|
- <SelectAddress ref="selectAddress" @giveAddress='giveAddress'></SelectAddress>
|
|
|
- <Time ref="selectTime" @giveTime='giveTime' @timeAndType='timeAndType'></Time>
|
|
|
- <EditCode ref='editCode' v-model="fromData.pickup_code"></EditCode>
|
|
|
+
|
|
|
+ <uni-popup ref="popup" type="bottom" background-color="transparent" borderRadius='10px 10px 0 0'>
|
|
|
+ <view class="b-rad-20-20-0-0 bgc-f">
|
|
|
+
|
|
|
+ </view>
|
|
|
+ </uni-popup>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
- import {
|
|
|
- getAddressDefault
|
|
|
- } from '@/api/member.js'
|
|
|
import {
|
|
|
getShopIngList
|
|
|
} from '@/api/shopping.js'
|
|
|
@@ -147,23 +128,11 @@
|
|
|
orderPay
|
|
|
} from '@/api/order.js'
|
|
|
import tools from "@/service/tools";
|
|
|
- import Coupon from './confirm-mod/coupon.vue';
|
|
|
- import SelectAddress from './confirm-mod/select-address.vue';
|
|
|
- import Time from './confirm-mod/time.vue';
|
|
|
- import EditCode from './confirm-mod/edit-code.vue';
|
|
|
- import {
|
|
|
- shopOrderCoupon
|
|
|
- } from '@/api/shop.js'
|
|
|
export default {
|
|
|
- components: {
|
|
|
- Coupon,
|
|
|
- SelectAddress,
|
|
|
- Time,
|
|
|
- EditCode
|
|
|
- },
|
|
|
+ components: {},
|
|
|
data() {
|
|
|
return {
|
|
|
- type: 1, //1外卖 2代取 3干洗
|
|
|
+ wayType: 1, //1堂食 2打包
|
|
|
fromData: {
|
|
|
school_id: '',
|
|
|
shop_id: '',
|
|
|
@@ -189,46 +158,19 @@
|
|
|
receiveLength: 0 // 可领优惠券数量
|
|
|
}
|
|
|
},
|
|
|
- onLoad(e) {
|
|
|
- // if (e) {
|
|
|
- // this.fromData.shop_id = e.shop_id
|
|
|
- // this.getCard(e.shop_id)
|
|
|
- // // this.getDeliveryMoney(e.shop_id)
|
|
|
- // }
|
|
|
- // this.getAddressDefault();
|
|
|
- },
|
|
|
- onShow() {
|
|
|
- // let isConfirmAddressFlag = uni.getStorageSync('isConfirmAddressFlag');
|
|
|
- // console.log("支付完后走了咩", isConfirmAddressFlag);
|
|
|
- // if (isConfirmAddressFlag.flag) {
|
|
|
- // this.selectFun(2, isConfirmAddressFlag);
|
|
|
- // }
|
|
|
- // this.shopOrderCoupon()
|
|
|
- },
|
|
|
- onUnload() {
|
|
|
- uni.removeStorageSync('isConfirmAddressFlag')
|
|
|
- },
|
|
|
+ onLoad(e) {},
|
|
|
+ onShow() {},
|
|
|
+ onUnload() {},
|
|
|
methods: {
|
|
|
- shopOrderCoupon(shop_id) {
|
|
|
- // 下单是获取优惠卷
|
|
|
- let operate_id = uni.getStorageSync('operate_id');
|
|
|
- shopOrderCoupon({
|
|
|
- operate_id: operate_id,
|
|
|
- shop_id: this.fromData.shop_id
|
|
|
- }).then((res) => {
|
|
|
- if (res.code === 1) {
|
|
|
- if (res.data.coupon.length > 0) {
|
|
|
- this.CouponLength = res.data.coupon.length
|
|
|
- } else {
|
|
|
- this.CouponLength = 0
|
|
|
- }
|
|
|
- if (res.data.receive.length > 0) {
|
|
|
- this.receiveLength = res.data.receive.length
|
|
|
- } else {
|
|
|
- this.receiveLength = 0
|
|
|
- }
|
|
|
- }
|
|
|
- })
|
|
|
+ openPop(){
|
|
|
+ this.$refs.popup.open()
|
|
|
+ },
|
|
|
+ wayTypeStyle(type) {
|
|
|
+ if (type === this.wayType) {
|
|
|
+ return
|
|
|
+ } else {
|
|
|
+ this.wayType = type
|
|
|
+ }
|
|
|
},
|
|
|
getDeliveryMoney(shop_id) {
|
|
|
// 获取外卖配送费
|
|
|
@@ -255,40 +197,6 @@
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- // 获取默认地址
|
|
|
- getAddressDefault() {
|
|
|
- getAddressDefault().then((res) => {
|
|
|
- if (res.code === 1) {
|
|
|
- this.addressData = res.data
|
|
|
- if (this.addressData.id) {
|
|
|
- this.fromData.address_id = this.addressData.id;
|
|
|
- }
|
|
|
- }
|
|
|
- })
|
|
|
- },
|
|
|
- selectFun(type, addressData) {
|
|
|
- if (type === 1) {
|
|
|
- // 选择优惠券
|
|
|
- this.$refs.coupon.getList(this.type, this.fromData.coupon_id, this.fromData.shop_id);
|
|
|
- } else if (type === 2) {
|
|
|
- // 选择地址
|
|
|
- if (this.addressData.id) {
|
|
|
- this.$refs.selectAddress.id = this.addressData.id;
|
|
|
- }
|
|
|
- if (addressData && addressData.is_default == 1) {
|
|
|
- this.$refs.selectAddress.id = addressData.id;
|
|
|
- this.$refs.selectAddress.getList(addressData.id);
|
|
|
- } else {
|
|
|
- this.$refs.selectAddress.getList();
|
|
|
- }
|
|
|
- } else if (type === 3) {
|
|
|
- // 选择时间
|
|
|
- this.$refs.selectTime.getList(this.fromData.shop_id);
|
|
|
- } else if (type === 4) {
|
|
|
- // 编辑code
|
|
|
- this.$refs.editCode.getList();
|
|
|
- }
|
|
|
- },
|
|
|
giveCouPon(e) {
|
|
|
if (e.id) {
|
|
|
this.quanMoney = Number(e.money);
|
|
|
@@ -298,86 +206,17 @@
|
|
|
this.fromData.coupon_id = 0
|
|
|
}
|
|
|
},
|
|
|
- timeAndType(type, time) {
|
|
|
- // 时间选择
|
|
|
- this.fromData.type = type
|
|
|
- this.fromData.time = time
|
|
|
- if (type == 1) {
|
|
|
- this.deliverText = '今天' + time
|
|
|
- } else {
|
|
|
- this.deliverText = '明天' + time
|
|
|
- }
|
|
|
- console.log(type, time, '&&&&&&&&&&&&&&&&&&&&&&&&');
|
|
|
- },
|
|
|
- giveAddress(e) {
|
|
|
- this.addressData = e;
|
|
|
- this.fromData.address_id = this.addressData.id;
|
|
|
- },
|
|
|
- giveTime(e) {
|
|
|
- console.log(e);
|
|
|
- },
|
|
|
toSave() {
|
|
|
- if (!this.fromData.address_id) {
|
|
|
- return tools.error('请先选择地址')
|
|
|
- }
|
|
|
if (this.isAJAX) {
|
|
|
return
|
|
|
}
|
|
|
this.isAJAX = true;
|
|
|
this.fromData.school_id = uni.getStorageSync('school_id');
|
|
|
- // this.fromData.site_id = uni.getStorageSync('site_id');
|
|
|
orderCreate(this.fromData).then((res) => {
|
|
|
if (res.code === 1) {
|
|
|
uni.redirectTo({
|
|
|
url: `/pages-takeout/pay-page?orderId=${res.data.order_id}`
|
|
|
});
|
|
|
- // orderPay({
|
|
|
- // order_id: res.data.order_id,
|
|
|
- // pay_type: 1
|
|
|
- // }).then((ret) => {
|
|
|
- // if (ret.code === 1) {
|
|
|
- // uni.requestPayment({
|
|
|
- // provider: "wxpay", //支付类型-固定值
|
|
|
- // timeStamp: ret.data.wx_pay.timeStamp + "", // 时间戳(单位:秒)
|
|
|
- // nonceStr: ret.data.wx_pay.nonceStr, // 随机字符串
|
|
|
- // package: ret.data.wx_pay.package, // 固定值
|
|
|
- // signType: ret.data.wx_pay.signType, //固定值
|
|
|
- // paySign: ret.data.wx_pay.paySign, //签名
|
|
|
- // success: (ren) => {
|
|
|
- // uni.removeStorageSync('isConfirmAddressFlag')
|
|
|
- // tools.success("支付成功");
|
|
|
- // this.isAJAX = false;
|
|
|
- // setTimeout(() => {
|
|
|
- // uni.switchTab({
|
|
|
- // url: '/pages/order/index'
|
|
|
- // })
|
|
|
- // uni.setStorageSync('orderPayType', 1)
|
|
|
- // }, 1000)
|
|
|
- // },
|
|
|
- // fail: (err) => {
|
|
|
- // uni.removeStorageSync('isConfirmAddressFlag')
|
|
|
- // this.isAJAX = false;
|
|
|
- // tools.error("支付失败");
|
|
|
- // setTimeout(() => {
|
|
|
- // uni.switchTab({
|
|
|
- // url: '/pages/order/index'
|
|
|
- // })
|
|
|
- // uni.setStorageSync('orderPayType', 1)
|
|
|
- // }, 1000)
|
|
|
- // },
|
|
|
- // });
|
|
|
- // } else {
|
|
|
- // uni.removeStorageSync('isConfirmAddressFlag')
|
|
|
- // this.isAJAX = false;
|
|
|
- // tools.error("支付失败");
|
|
|
- // setTimeout(() => {
|
|
|
- // uni.switchTab({
|
|
|
- // url: '/pages/order/index'
|
|
|
- // })
|
|
|
- // uni.setStorageSync('orderPayType', 1)
|
|
|
- // }, 1000)
|
|
|
- // }
|
|
|
- // })
|
|
|
} else {
|
|
|
this.isAJAX = false;
|
|
|
tools.error(res.msg);
|
|
|
@@ -389,74 +228,40 @@
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
- .yhq-icons {
|
|
|
+ .wx-zf{
|
|
|
+ width: 40rpx;
|
|
|
+ height: 40rpx;
|
|
|
+ }
|
|
|
+ .zz-icon {
|
|
|
width: 32rpx;
|
|
|
height: 32rpx;
|
|
|
- margin: 0 6rpx 0 0;
|
|
|
}
|
|
|
|
|
|
- .code-box {
|
|
|
- min-height: 100rpx;
|
|
|
- background-color: #F3F4F6;
|
|
|
- border-radius: 12rpx;
|
|
|
- padding: 24rpx 24rpx 0 24rpx;
|
|
|
-
|
|
|
- .code-item {
|
|
|
- width: 156rpx;
|
|
|
- margin-right: 52rpx;
|
|
|
- margin-bottom: 16rpx;
|
|
|
- }
|
|
|
-
|
|
|
- .code-item:nth-child(3n) {
|
|
|
- margin-right: 0 !important;
|
|
|
- }
|
|
|
+ .right-b {
|
|
|
+ width: 32rpx;
|
|
|
+ height: 32rpx;
|
|
|
}
|
|
|
|
|
|
- .tz-an-f {
|
|
|
- position: relative;
|
|
|
-
|
|
|
- .tz-an {
|
|
|
- position: absolute;
|
|
|
- right: 16rpx;
|
|
|
- top: 0;
|
|
|
- }
|
|
|
+ .ts-img {
|
|
|
+ width: 128rpx;
|
|
|
+ height: 128rpx;
|
|
|
}
|
|
|
|
|
|
- .r-right {
|
|
|
- margin-top: 24rpx;
|
|
|
- width: 88rpx;
|
|
|
- height: 52rpx;
|
|
|
- border-radius: 200rpx;
|
|
|
- position: relative;
|
|
|
-
|
|
|
- .r-y {
|
|
|
- width: 44rpx;
|
|
|
- height: 44rpx;
|
|
|
- background: #FFFFFF;
|
|
|
- border-radius: 200rpx;
|
|
|
- position: absolute;
|
|
|
- top: 4rpx;
|
|
|
- }
|
|
|
+ .way-box {
|
|
|
+ box-shadow: 0rpx 8rpx 56rpx 0rpx rgba(154, 152, 152, 0.34);
|
|
|
}
|
|
|
|
|
|
- .s-r {
|
|
|
- background-color: #41ABF5;
|
|
|
- transition: all 1s;
|
|
|
-
|
|
|
- .r-y {
|
|
|
- right: 4rpx !important;
|
|
|
- transition: all 1s;
|
|
|
- }
|
|
|
+ .z-3 {
|
|
|
+ position: relative;
|
|
|
+ z-index: 3;
|
|
|
}
|
|
|
|
|
|
- .n-r {
|
|
|
- background-color: #ccc;
|
|
|
- transition: all 1s;
|
|
|
-
|
|
|
- .r-y {
|
|
|
- left: 4rpx !important;
|
|
|
- transition: all 1s;
|
|
|
- }
|
|
|
+ .order-bg {
|
|
|
+ width: 100%;
|
|
|
+ height: 15vh;
|
|
|
+ position: fixed;
|
|
|
+ left: 0;
|
|
|
+ top: 0;
|
|
|
}
|
|
|
|
|
|
.goods-img {
|
|
|
@@ -487,60 +292,14 @@
|
|
|
border-radius: 8rpx 8rpx 8rpx 8rpx;
|
|
|
}
|
|
|
|
|
|
- .confirm-order-box {
|
|
|
- position: relative;
|
|
|
-
|
|
|
- .bg-box {
|
|
|
- width: 100%;
|
|
|
- height: 448rpx;
|
|
|
- filter: blur(80rpx);
|
|
|
- background: linear-gradient(to right, rgba(176, 252, 250, 0.6), rgba(249, 246, 224, 0.87), rgba(249, 246, 224, 0.87));
|
|
|
- position: absolute;
|
|
|
- top: 0;
|
|
|
- left: 0;
|
|
|
- z-index: -1;
|
|
|
- }
|
|
|
-
|
|
|
- .bottom-box {
|
|
|
- background-color: #fff;
|
|
|
-
|
|
|
- .box-1 {
|
|
|
- flex: 1;
|
|
|
- height: 100rpx;
|
|
|
- background: #333;
|
|
|
- border-radius: 200rpx 0rpx 0rpx 200rpx;
|
|
|
- box-sizing: border-box;
|
|
|
- padding-left: 32rpx;
|
|
|
- padding-bottom: 20rpx;
|
|
|
- }
|
|
|
-
|
|
|
- .box-2 {
|
|
|
- width: 200rpx;
|
|
|
- height: 100rpx;
|
|
|
- line-height: 100rpx;
|
|
|
- background: #41ABF5;
|
|
|
- border-radius: 0rpx 200rpx 200rpx 0rpx;
|
|
|
- text-align: center;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .box-card {
|
|
|
- width: 100%;
|
|
|
- min-height: 88rpx;
|
|
|
- border-radius: 20rpx;
|
|
|
- padding: 24rpx 24rpx 0 24rpx;
|
|
|
- }
|
|
|
-
|
|
|
- .wx-box {
|
|
|
- image {
|
|
|
- width: 40rpx;
|
|
|
- height: 40rpx;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .box-input {
|
|
|
- border-bottom: 2rpx solid #F9F9F9;
|
|
|
-
|
|
|
- }
|
|
|
+ .box-2 {
|
|
|
+ width: 200rpx;
|
|
|
+ height: 80rpx;
|
|
|
+ line-height: 80rpx;
|
|
|
+ background: linear-gradient(270deg, #FF3333 0%, #FE6122 100%);
|
|
|
+ }
|
|
|
+ .bottom-box{
|
|
|
+ width: 100%;
|
|
|
+ height: 96rpx;
|
|
|
}
|
|
|
</style>
|