|
@@ -0,0 +1,817 @@
|
|
|
+<template>
|
|
|
+ <div class="container">
|
|
|
+ <!-- 顶部导航栏 -->
|
|
|
+ <!-- <div class="navbar">
|
|
|
+ <div class="navbar-left" @click="handleBack()">
|
|
|
+ <img src="@/assets/back1.png" alt="" />
|
|
|
+ </div>
|
|
|
+ <div class="navbar-title">详情</div>
|
|
|
+ </div> -->
|
|
|
+ <div class="content-box">
|
|
|
+ <!-- 待使用状态 -->
|
|
|
+ <div class="topBox">
|
|
|
+ <div class="topBox_lab" v-if="form.orderStatus == 10">待使用</div>
|
|
|
+ <div
|
|
|
+ class="topBox_lab"
|
|
|
+ v-if="form.orderStatus == 20 && !form.refundStatus"
|
|
|
+ >
|
|
|
+ 已完成
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <!-- 订单内容 -->
|
|
|
+ <div class="topBox" style="padding: 0px">
|
|
|
+ <div class="item">
|
|
|
+ <!-- 商家信息 -->
|
|
|
+ <div class="item_t">
|
|
|
+ <img v-if="form.businessImage" :src="form.businessImage" />
|
|
|
+ <div>{{ form.businessName }}</div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <!-- 商品信息 -->
|
|
|
+ <div class="item_c">
|
|
|
+ <div class="item_c_l">
|
|
|
+ <img
|
|
|
+ v-if="form.businessProductImage || form.businessImage"
|
|
|
+ :src="form.businessProductImage || form.businessImage"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div class="item_c_r">
|
|
|
+ <div class="item_c_r_title">{{ form.businessProductName }}</div>
|
|
|
+ <div class="item_c_r_text" v-if="form.productDataJosn">
|
|
|
+ {{ form.productDataJosn.costIncluded }}
|
|
|
+ </div>
|
|
|
+ <div class="item_c_r_price">
|
|
|
+ <div class="item_c_r_price_r">X{{ form.buyQuantity }}</div>
|
|
|
+ <div class="item_c_r_price_l" v-if="form.sellingPrice">
|
|
|
+ <span>{{ form.sellingPrice.split(".")[0] }}</span
|
|
|
+ >.{{ form.sellingPrice.split(".")[1] }}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <!-- 合计金额 -->
|
|
|
+ <div class="item_c1">
|
|
|
+ <div class="item_c1_lab">合计:</div>
|
|
|
+ <div class="item_c1_val" v-if="form.orderAmount">
|
|
|
+ ¥ <span>{{ String(form.orderAmount).split(".")[0] }}</span
|
|
|
+ >.{{ String(form.orderAmount).split(".")[1] }}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <!-- 订单基本信息 -->
|
|
|
+ <div class="item_c2">
|
|
|
+ <div class="item_c2_item">
|
|
|
+ <div class="item_c2_item_lab">日期:</div>
|
|
|
+ <div class="item_c2_item_val">
|
|
|
+ {{
|
|
|
+ form.orderTime
|
|
|
+ ? form.orderTime.substr(0, 10).replace(/-/g, ".")
|
|
|
+ : "--"
|
|
|
+ }}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="item_c2_item">
|
|
|
+ <div class="item_c2_item_lab">购买数量:</div>
|
|
|
+ <div class="item_c2_item_val">x{{ form.buyQuantity }}</div>
|
|
|
+ </div>
|
|
|
+ <div class="item_c2_item">
|
|
|
+ <div class="item_c2_item_lab">游客信息:</div>
|
|
|
+ <div class="item_c2_item_val" v-if="form.refundOrderId">
|
|
|
+ {{ form.productOrder.productVisitor.visitorName }},{{
|
|
|
+ form.productOrder.productVisitor.visitorPhone
|
|
|
+ }}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <!-- 订单详细信息 -->
|
|
|
+ <div class="item_c2">
|
|
|
+ <div class="item_c2_title">订单信息</div>
|
|
|
+ <div class="item_c2_item">
|
|
|
+ <div class="item_c2_item_lab">订单编号:</div>
|
|
|
+ <div class="item_c2_item_val">{{ form.orderNumber }}</div>
|
|
|
+ </div>
|
|
|
+ <div class="item_c2_item">
|
|
|
+ <div class="item_c2_item_lab">订单创建时间:</div>
|
|
|
+ <div class="item_c2_item_val">
|
|
|
+ {{ form.orderTime ? form.orderTime.replace(/-/g, ".") : "--" }}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ class="item_c2_item"
|
|
|
+ v-if="
|
|
|
+ form.orderType == 0 &&
|
|
|
+ (form.orderStatus == 10 ||
|
|
|
+ form.orderStatus == 20 ||
|
|
|
+ form.refundStatus == 2 ||
|
|
|
+ form.refundStatus == 1)
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <div class="item_c2_item_lab">支付方式:</div>
|
|
|
+ <div class="item_c2_item_val">
|
|
|
+ <div v-if="form.payMethod == 'wechat'">微信支付</div>
|
|
|
+ <div v-if="form.payMethod == 'balance'">余额支付</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ class="item_c2_item"
|
|
|
+ v-if="
|
|
|
+ form.orderType == 0 &&
|
|
|
+ (form.orderStatus == 10 ||
|
|
|
+ form.orderStatus == 20 ||
|
|
|
+ form.refundStatus == 2 ||
|
|
|
+ form.refundStatus == 1)
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <div class="item_c2_item_lab">支付时间:</div>
|
|
|
+ <div class="item_c2_item_val" v-if="form.payTime">
|
|
|
+ {{ form.payTime ? form.payTime.replace(/-/g, ".") : "--" }}
|
|
|
+ </div>
|
|
|
+ <div class="item_c2_item_val" v-else-if="form.productOrder">
|
|
|
+ {{
|
|
|
+ form.productOrder.payTime
|
|
|
+ ? form.productOrder.payTime.replace(/-/g, ".")
|
|
|
+ : "--"
|
|
|
+ }}
|
|
|
+ </div>
|
|
|
+ <div class="item_c2_item_val" v-else>
|
|
|
+ {{
|
|
|
+ form.productDataJosn.payTime
|
|
|
+ ? form.productDataJosn.payTime.replace(/-/g, ".")
|
|
|
+ : "--"
|
|
|
+ }}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="item_c2" v-if="takeOffObj.queueStatus">
|
|
|
+ <div class="item_c2_title">排队信息</div>
|
|
|
+ <template v-if="!takeOffObj.flightStatus">
|
|
|
+ <div class="item_c2_item">
|
|
|
+ <div class="item_c2_item_lab">排队人员:</div>
|
|
|
+ <div class="item_c2_item_val">
|
|
|
+ {{ takeOffObj.currentMyNum }}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="item_c2_item">
|
|
|
+ <div class="item_c2_item_lab">等候时间:</div>
|
|
|
+ <div class="item_c2_item_val">
|
|
|
+ {{ takeOffObj.waitMyTime }}分钟
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="line_up_btn" @click="getFlightCancelt">
|
|
|
+ <i class="el-icon-remove-outline"></i>
|
|
|
+ <span class="text">取消排队</span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <div class="item_c2_item_prompt" v-else>
|
|
|
+ <img
|
|
|
+ src="https://wrj-songlanyn.oss-cn-beijing.aliyuncs.com/static/img/icon_1.png"
|
|
|
+ mode=""
|
|
|
+ />
|
|
|
+ <div class="text">
|
|
|
+ 请尽快操作起飞,3分钟内未起飞将取消资格,取消后需要重新操作排队
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <!-- 底部按钮 -->
|
|
|
+ <div
|
|
|
+ class="btnBox1"
|
|
|
+ v-if="
|
|
|
+ form.orderStatus == 10 &&
|
|
|
+ takeOffObj.flightStatus != null &&
|
|
|
+ (takeOffObj.flightStatus || !takeOffObj.queueStatus)
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <!-- <div
|
|
|
+ class="btnBox_l"
|
|
|
+ @click="goPath('/pages/order/applicationDrawback')"
|
|
|
+ >
|
|
|
+ 申请退款
|
|
|
+ </div> -->
|
|
|
+ <div
|
|
|
+ class="btnBox_r"
|
|
|
+ v-if="takeOffObj.flightStatus"
|
|
|
+ @click="setTakeOff()"
|
|
|
+ >
|
|
|
+ 起飞拍摄
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ class="btnBox_r"
|
|
|
+ v-if="!takeOffObj.flightStatus && !takeOffObj.queueStatus"
|
|
|
+ @click="lineUpRefClick()"
|
|
|
+ >
|
|
|
+ 排队起飞
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <LineUp ref="lineUpRef" @success="getFlightListAll()" />
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+import wx from "weixin-js-sdk";
|
|
|
+import {
|
|
|
+ orderInfo,
|
|
|
+ flightTakeOff,
|
|
|
+ flightStart,
|
|
|
+ flightCancelt,
|
|
|
+ flightListAll,
|
|
|
+ getDroneFlightTask,
|
|
|
+} from "@/api/home.js";
|
|
|
+import LineUp from "@/components/LineUp.vue";
|
|
|
+// import { mapState } from "vuex";
|
|
|
+export default {
|
|
|
+ name: "OrderDetails",
|
|
|
+ components: { LineUp },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ form: {},
|
|
|
+ couponList: [],
|
|
|
+ disableScroll: false,
|
|
|
+ intervalId: null,
|
|
|
+ takeOffObj: {},
|
|
|
+ };
|
|
|
+ },
|
|
|
+ created() {
|
|
|
+ // 获取订单信息
|
|
|
+ const query = this.$route.query;
|
|
|
+ if (query.orderNumber) {
|
|
|
+ this.getOrderInfo(query.orderNumber);
|
|
|
+ }
|
|
|
+ this.$store.commit("SET_APP_VERSION", {
|
|
|
+ type: "currentPage",
|
|
|
+ value: 1,
|
|
|
+ });
|
|
|
+
|
|
|
+ // console.log(this.$router);
|
|
|
+ this.$store.commit("SET_APP_VERSION", {
|
|
|
+ type: "router",
|
|
|
+ value: this.$router,
|
|
|
+ });
|
|
|
+
|
|
|
+ },
|
|
|
+ computed: {
|
|
|
+ takeOffShow() {
|
|
|
+ return this.$store.state.takeOffShow;
|
|
|
+ },
|
|
|
+ taskNum() {
|
|
|
+ return this.$store.state.taskNum;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ watch: {
|
|
|
+ taskNum(val) {
|
|
|
+ console.log("taskNum", val);
|
|
|
+ if (val) {
|
|
|
+ if (this.$store.state.currentPage == 1) this.setTakeOff();
|
|
|
+ }
|
|
|
+ },
|
|
|
+ takeOffShow(val) {
|
|
|
+ console.log("takeOffShow", val);
|
|
|
+ if (val) {
|
|
|
+ this.getFlightListAll();
|
|
|
+ }
|
|
|
+ },
|
|
|
+ // $route(to, from) {
|
|
|
+ // // console.log("this.$route.query==>", this.$route.query);
|
|
|
+ // // this.width = this.$store.state.width;
|
|
|
+ // // this.height = this.$store.state.height;
|
|
|
+ // console.log("from==>", from);
|
|
|
+ // console.log("to==>", to);
|
|
|
+ // console.log("this.$route==>", this.$route);
|
|
|
+ // if (from) {
|
|
|
+ // this.$nextTick(() => {
|
|
|
+ // this.$router.removeRoute(from.name);
|
|
|
+ // });
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ getOrderInfo(orderNumber) {
|
|
|
+ // 实际项目中应该调用API
|
|
|
+ orderInfo(orderNumber).then((res) => {
|
|
|
+ this.form = res.data;
|
|
|
+ this.form.productDataJosn = JSON.parse(this.form.productData);
|
|
|
+ this.$store.commit("SET_APP_VERSION", {
|
|
|
+ type: "orderInfo",
|
|
|
+ value: res.data,
|
|
|
+ });
|
|
|
+ if (res.data.orderStatus == 10) {
|
|
|
+ console.log(res.data.orderStatus);
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.getFlightListAll(true);
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ goPath(path) {
|
|
|
+ this.$router.push(path);
|
|
|
+ },
|
|
|
+ // 起飞
|
|
|
+ setTakeOff() {
|
|
|
+ if (this.takeOffObj.flightStatus) {
|
|
|
+ const loading = this.$loading({
|
|
|
+ lock: true,
|
|
|
+ text: "起飞准备中",
|
|
|
+ spinner: "el-icon-loading",
|
|
|
+ background: "rgba(0, 0, 0, 0.7)",
|
|
|
+ });
|
|
|
+ flightTakeOff({
|
|
|
+ orderId: this.form.orderId,
|
|
|
+ productId: this.form.businessProductId,
|
|
|
+ })
|
|
|
+ .then((ret) => {
|
|
|
+ console.log("ret.data===>", ret.data);
|
|
|
+ if (ret.code == 200) {
|
|
|
+ this.$store.commit("SET_APP_VERSION", {
|
|
|
+ type: "flightTaskUuid",
|
|
|
+ value: ret.data.flightTaskUuid,
|
|
|
+ });
|
|
|
+ this.$nextTick(() => {
|
|
|
+ if (ret.data.startStreamConvert) {
|
|
|
+ loading.close();
|
|
|
+ console.log('跳转==>', 1111);
|
|
|
+ this.$router.push(
|
|
|
+ `/droneOperation?t=${new Date().getTime()}&flightTaskUuid=${
|
|
|
+ ret.data.flightTaskUuid
|
|
|
+ }`
|
|
|
+ );
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ this.$store.commit("SET_APP_VERSION", {
|
|
|
+ type: "loading",
|
|
|
+ value: loading,
|
|
|
+ });
|
|
|
+ });
|
|
|
+ }
|
|
|
+ })
|
|
|
+ .catch((err) => {
|
|
|
+ loading.close();
|
|
|
+ // console.log(err);
|
|
|
+ if (err.code == 500) {
|
|
|
+ this.$refs.lineUpRef.open({
|
|
|
+ orderId: this.form.orderId,
|
|
|
+ productId: this.form.businessProductId,
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
+ return;
|
|
|
+ } else {
|
|
|
+ this.lineUpRefClick();
|
|
|
+ }
|
|
|
+ },
|
|
|
+ // 排队弹框
|
|
|
+ lineUpRefClick() {
|
|
|
+ this.$refs.lineUpRef.open({
|
|
|
+ orderId: this.form.orderId,
|
|
|
+ productId: this.form.businessProductId,
|
|
|
+ });
|
|
|
+ },
|
|
|
+ getFlightListAll(show = false) {
|
|
|
+ // 实际项目中应该调用API
|
|
|
+ flightListAll({
|
|
|
+ orderId: this.form.orderId,
|
|
|
+ productId: this.form.businessProductId,
|
|
|
+ }).then((res) => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.takeOffObj = res.data;
|
|
|
+ console.log(show);
|
|
|
+ if (show) {
|
|
|
+ // console.log("开始执行");
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$store.dispatch("initWebSocketUtil");
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 取消排队
|
|
|
+ getFlightCancelt() {
|
|
|
+ this.$confirm("是否确认取消排队?", "提示", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning",
|
|
|
+ })
|
|
|
+ .then(() => {
|
|
|
+ flightCancelt({
|
|
|
+ orderId: this.form.orderId,
|
|
|
+ productId: this.form.businessProductId,
|
|
|
+ queueId: this.takeOffObj.id,
|
|
|
+ }).then((res) => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.$message.success("取消成功");
|
|
|
+ this.takeOffObj = {};
|
|
|
+ }
|
|
|
+ });
|
|
|
+ })
|
|
|
+ .catch(() => {});
|
|
|
+ },
|
|
|
+ handleBack() {
|
|
|
+ this.$store.dispatch("disconnect");
|
|
|
+ wx.miniProgram.navigateBack();
|
|
|
+ },
|
|
|
+ },
|
|
|
+};
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped>
|
|
|
+.container {
|
|
|
+ /* padding-top: 44px; */
|
|
|
+ padding-bottom: 60px;
|
|
|
+ background-color: #f8f8f8;
|
|
|
+ min-height: 100vh;
|
|
|
+ position: relative;
|
|
|
+ box-sizing: border-box;
|
|
|
+}
|
|
|
+
|
|
|
+.content-box {
|
|
|
+ padding: 16px 16px;
|
|
|
+}
|
|
|
+
|
|
|
+.disableScroll {
|
|
|
+ overflow: hidden;
|
|
|
+}
|
|
|
+
|
|
|
+/* 导航栏样式 */
|
|
|
+.navbar {
|
|
|
+ width: 100%;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ height: 44px;
|
|
|
+ background-color: #c90700 !important;
|
|
|
+ position: fixed;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ padding: 0 15px;
|
|
|
+ /* box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); */
|
|
|
+}
|
|
|
+
|
|
|
+.navbar-left {
|
|
|
+ width: 18px;
|
|
|
+ height: 18px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ cursor: pointer;
|
|
|
+}
|
|
|
+
|
|
|
+.navbar-left img {
|
|
|
+ width: 18px;
|
|
|
+ height: 18px;
|
|
|
+}
|
|
|
+
|
|
|
+.navbar-title {
|
|
|
+ position: absolute;
|
|
|
+ left: 50%;
|
|
|
+ transform: translateX(-50%);
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 500;
|
|
|
+ color: #ffffff;
|
|
|
+}
|
|
|
+
|
|
|
+.topBox {
|
|
|
+ background-color: #fff;
|
|
|
+ color: #333;
|
|
|
+ padding: 15px;
|
|
|
+ /* text-align: center; */
|
|
|
+ margin-bottom: 10px;
|
|
|
+ border-radius: 15px;
|
|
|
+}
|
|
|
+
|
|
|
+.topBox:first-of-type {
|
|
|
+ background-color: #fff;
|
|
|
+ border-bottom: 1px solid #eee;
|
|
|
+}
|
|
|
+
|
|
|
+.topBox_lab {
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 500;
|
|
|
+ color: #333;
|
|
|
+ text-align: center;
|
|
|
+}
|
|
|
+
|
|
|
+.topBox_val {
|
|
|
+ font-size: 20px;
|
|
|
+}
|
|
|
+
|
|
|
+.topBox_val span {
|
|
|
+ font-size: 32px;
|
|
|
+ font-weight: bold;
|
|
|
+}
|
|
|
+
|
|
|
+.topBox_time {
|
|
|
+ font-size: 14px;
|
|
|
+}
|
|
|
+
|
|
|
+.topBox_time span {
|
|
|
+ color: #ff4d4f;
|
|
|
+}
|
|
|
+
|
|
|
+.item {
|
|
|
+ background-color: #fff;
|
|
|
+ margin: 0;
|
|
|
+ padding: 15px;
|
|
|
+ /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
|
|
|
+ border-radius: 15px;
|
|
|
+ box-sizing: border-box;
|
|
|
+}
|
|
|
+
|
|
|
+.item_t {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ padding-bottom: 15px;
|
|
|
+ border-bottom: 1px solid #eee;
|
|
|
+}
|
|
|
+
|
|
|
+.item_t img {
|
|
|
+ width: 40px;
|
|
|
+ height: 40px;
|
|
|
+ border-radius: 10px;
|
|
|
+ margin-right: 10px;
|
|
|
+ object-fit: cover;
|
|
|
+}
|
|
|
+
|
|
|
+.item_c {
|
|
|
+ display: flex;
|
|
|
+ padding: 15px 0;
|
|
|
+ border-bottom: 1px solid #eee;
|
|
|
+}
|
|
|
+
|
|
|
+.item_c_l img {
|
|
|
+ width: 94px;
|
|
|
+ height: 94px;
|
|
|
+ border-radius: 4px;
|
|
|
+ object-fit: cover;
|
|
|
+ flex-shrink: 0;
|
|
|
+}
|
|
|
+
|
|
|
+.item_c_r {
|
|
|
+ flex: 1;
|
|
|
+ margin-left: 10px;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: space-between;
|
|
|
+ text-align: left;
|
|
|
+}
|
|
|
+
|
|
|
+.item_c_r_title {
|
|
|
+ font-size: 12px;
|
|
|
+ /* font-weight: bold; */
|
|
|
+ margin-bottom: 5px;
|
|
|
+ /* text-align: right; */
|
|
|
+}
|
|
|
+
|
|
|
+.item_c_r_text {
|
|
|
+ font-size: 12px;
|
|
|
+ color: #1a1a1a;
|
|
|
+ margin: 8px 0 11px;
|
|
|
+ overflow: hidden;
|
|
|
+ min-height: 28px;
|
|
|
+ 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;
|
|
|
+ /* margin-top: 10px; */
|
|
|
+}
|
|
|
+
|
|
|
+.item_c_r_price_l {
|
|
|
+ color: #ff4d4f;
|
|
|
+ font-size: 16px;
|
|
|
+}
|
|
|
+
|
|
|
+.item_c_r_price_l span {
|
|
|
+ font-size: 20px;
|
|
|
+ font-weight: bold;
|
|
|
+}
|
|
|
+
|
|
|
+.item_c_r_price_r {
|
|
|
+ color: #666;
|
|
|
+ font-size: 14px;
|
|
|
+}
|
|
|
+
|
|
|
+.font22 {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #3c7eff;
|
|
|
+ cursor: pointer;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+
|
|
|
+.font22 i {
|
|
|
+ font-size: 12px;
|
|
|
+ margin-left: 3px;
|
|
|
+}
|
|
|
+
|
|
|
+.item_c1 {
|
|
|
+ display: flex;
|
|
|
+ justify-content: flex-end;
|
|
|
+ align-items: center;
|
|
|
+ padding: 15px 0;
|
|
|
+ border-bottom: 1px solid #eee;
|
|
|
+}
|
|
|
+
|
|
|
+.item_c1_lab {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #666;
|
|
|
+}
|
|
|
+
|
|
|
+.item_c1_val {
|
|
|
+ color: #ff4d4f;
|
|
|
+ font-size: 16px;
|
|
|
+}
|
|
|
+
|
|
|
+.item_c1_val span {
|
|
|
+ font-size: 20px;
|
|
|
+ font-weight: bold;
|
|
|
+}
|
|
|
+
|
|
|
+.item_c2 {
|
|
|
+ padding: 15px 0;
|
|
|
+ border-bottom: 1px solid #eee;
|
|
|
+}
|
|
|
+
|
|
|
+.item_c2:last-child {
|
|
|
+ border-bottom: none;
|
|
|
+}
|
|
|
+
|
|
|
+.item_c2_title {
|
|
|
+ font-size: 15px;
|
|
|
+ font-weight: bold;
|
|
|
+ margin-bottom: 10px;
|
|
|
+ position: relative;
|
|
|
+ padding: 0 10px;
|
|
|
+ font-weight: 700;
|
|
|
+}
|
|
|
+
|
|
|
+.item_c2_title::before {
|
|
|
+ content: "";
|
|
|
+ /* 必须有content来触发::before */
|
|
|
+ position: absolute;
|
|
|
+ /* 绝对定位 */
|
|
|
+ top: 0;
|
|
|
+ /* 在顶部 */
|
|
|
+ left: 0;
|
|
|
+ /* 在左边 */
|
|
|
+ width: 4px;
|
|
|
+ height: 14px;
|
|
|
+ background-color: #fb0b03;
|
|
|
+ /* 横线的颜色 */
|
|
|
+ border-radius: 2px;
|
|
|
+}
|
|
|
+
|
|
|
+.item_c2_item {
|
|
|
+ display: flex;
|
|
|
+ margin-bottom: 10px;
|
|
|
+}
|
|
|
+
|
|
|
+.item_c2_item:last-child {
|
|
|
+ margin-bottom: 0;
|
|
|
+}
|
|
|
+
|
|
|
+.item_c2_item_lab {
|
|
|
+ width: 100px;
|
|
|
+ color: #666;
|
|
|
+ font-size: 14px;
|
|
|
+}
|
|
|
+
|
|
|
+.item_c2_item_val {
|
|
|
+ flex: 1;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #333;
|
|
|
+ text-align: right;
|
|
|
+}
|
|
|
+
|
|
|
+.btnBox {
|
|
|
+ position: fixed;
|
|
|
+ bottom: 0;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ background-color: #fff;
|
|
|
+ padding: 10px 15px;
|
|
|
+ /* box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); */
|
|
|
+}
|
|
|
+
|
|
|
+.btnBox_l {
|
|
|
+ flex: 1;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+
|
|
|
+.btnBox_l_lab {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #666;
|
|
|
+}
|
|
|
+
|
|
|
+.btnBox_l_val {
|
|
|
+ color: #ff4d4f;
|
|
|
+ font-size: 16px;
|
|
|
+}
|
|
|
+
|
|
|
+.btnBox_l_val span {
|
|
|
+ font-size: 20px;
|
|
|
+ font-weight: bold;
|
|
|
+}
|
|
|
+
|
|
|
+.btnBox_r {
|
|
|
+ width: 110px;
|
|
|
+ height: 40px;
|
|
|
+ /* background-color: #3c7eff; */
|
|
|
+ color: #fff;
|
|
|
+ border-radius: 20px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ font-size: 16px;
|
|
|
+ cursor: pointer;
|
|
|
+}
|
|
|
+
|
|
|
+.btnBox1 {
|
|
|
+ position: fixed;
|
|
|
+ bottom: 0;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: flex-end;
|
|
|
+ background-color: #fff;
|
|
|
+ padding: 10px 15px;
|
|
|
+ box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
|
|
|
+}
|
|
|
+
|
|
|
+.btnBox1 .btnBox_l {
|
|
|
+ width: 100px;
|
|
|
+ height: 40px;
|
|
|
+ background-color: #fff;
|
|
|
+ color: #666;
|
|
|
+ border: 1px solid #ddd;
|
|
|
+ border-radius: 20px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ font-size: 16px;
|
|
|
+ margin-right: 15px;
|
|
|
+ cursor: pointer;
|
|
|
+}
|
|
|
+
|
|
|
+.btnBox1 .btnBox_r {
|
|
|
+ width: 110px;
|
|
|
+ height: 40px;
|
|
|
+ background-color: #ff0000;
|
|
|
+ color: #fff;
|
|
|
+ border-radius: 20px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ font-size: 15px;
|
|
|
+ cursor: pointer;
|
|
|
+}
|
|
|
+
|
|
|
+.item_c2_item_prompt {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ font-size: 13px;
|
|
|
+ padding-top: 7px;
|
|
|
+}
|
|
|
+.item_c2_item_prompt image {
|
|
|
+ flex-shrink: 0;
|
|
|
+ width: 35px;
|
|
|
+ height: 33rpx;
|
|
|
+}
|
|
|
+
|
|
|
+.item_c2_item_prompt .text {
|
|
|
+ margin-left: 10px;
|
|
|
+ color: #666666;
|
|
|
+}
|
|
|
+
|
|
|
+.line_up_btn {
|
|
|
+ width: 70px;
|
|
|
+ margin: 13px auto;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ padding-bottom: 3px;
|
|
|
+ border-bottom: 1px solid #fb0b03;
|
|
|
+}
|
|
|
+
|
|
|
+.line_up_btn .text {
|
|
|
+ font-size: 13px;
|
|
|
+ color: #fb0b03;
|
|
|
+}
|
|
|
+.line_up_btn .el-icon-remove-outline {
|
|
|
+ color: #fb0b03;
|
|
|
+}
|
|
|
+</style>
|