|
|
@@ -4,31 +4,29 @@
|
|
|
<template slot="from">
|
|
|
<!-- 提交订单弹窗 -->
|
|
|
<div class="order-detail-dialog">
|
|
|
+
|
|
|
+ <div class="close" @click="handleClose">
|
|
|
+ <img class="close-img" src="@/assets/img/close.png" alt="">
|
|
|
+ </div>
|
|
|
+
|
|
|
<div class="goods-img">
|
|
|
- <img class="g-img" src="@/assets/img/home/2-1.png" alt="">
|
|
|
+ <img class="g-img" :src="orderDetail.cover_img" alt="">
|
|
|
</div>
|
|
|
<div class="content">
|
|
|
- <div class="title">泰国曼谷大皇宫</div>
|
|
|
- <div class="desc">它是曼谷王朝的象征,是旅游者的垂爱之地,暹罗式风格的皇宫建筑群汇集了泰国书画、雕刻和装饰艺术的精华。</div>
|
|
|
+ <div class="title">{{ orderDetail.goods_name }}</div>
|
|
|
+ <div class="desc">{{ orderDetail.contents }}</div>
|
|
|
+
|
|
|
<div class="money">
|
|
|
- <div class="i">
|
|
|
- <div class="label">票价</div>
|
|
|
- <div class="val">
|
|
|
- <span>888.88</span>
|
|
|
- <span class="unit">USDT</span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="i">
|
|
|
- <div class="label">票价</div>
|
|
|
- <div class="val">
|
|
|
- <span>888.88</span>
|
|
|
- <span class="unit">USDT</span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="operates">
|
|
|
- <div class="btn submit">提交</div>
|
|
|
- <div class="btn cancel">关闭</div>
|
|
|
+ <i class="item">
|
|
|
+ <div class="label">{{$t('other.text11')}}:</div>
|
|
|
+ <div class="num">{{ orderDetail.price }}</div>
|
|
|
+ <div class="unit">USDT</div>
|
|
|
+ </i>
|
|
|
+ <i class="item">
|
|
|
+ <div class="label">{{$t('other.text12')}}:</div>
|
|
|
+ <div class="num special">{{ orderDetail.yield_money }}</div>
|
|
|
+ <div class="unit">USDT</div>
|
|
|
+ </i>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -42,7 +40,9 @@ import Bounced from '@/components/Admin/bounced.vue'
|
|
|
export default {
|
|
|
name: 'order-sett',
|
|
|
components: { Bounced },
|
|
|
- props: {},
|
|
|
+ props: {
|
|
|
+ orderDetail: {}
|
|
|
+ },
|
|
|
data() {
|
|
|
return {
|
|
|
dialogVisible: false,
|
|
|
@@ -69,9 +69,21 @@ export default {
|
|
|
}
|
|
|
}, 1000);
|
|
|
}
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
+ },
|
|
|
+
|
|
|
+ handleClose() {
|
|
|
+ // 关闭弹窗
|
|
|
+ this.dialogVisible = false;
|
|
|
+
|
|
|
+ // 清除倒计时定时器
|
|
|
+ if (this.timeServe) {
|
|
|
+ clearInterval(this.timeServe);
|
|
|
+ this.timeServe = undefined;
|
|
|
+ }
|
|
|
+
|
|
|
+ // 重置倒计时时间(可选)
|
|
|
+ this.time = 0;
|
|
|
+ },
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
@@ -79,23 +91,40 @@ export default {
|
|
|
<style lang="scss" scoped>
|
|
|
/* 订单提交弹窗 */
|
|
|
.order-detail-dialog {
|
|
|
+ position: relative;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
- width: 550px;
|
|
|
- min-height: 529px;
|
|
|
- margin: 0 auto;
|
|
|
- border-radius: 10px!important;
|
|
|
+ width: 100%;
|
|
|
+ min-height: 495px;
|
|
|
+/* margin: 0 auto; */
|
|
|
background-color: #ffffff;
|
|
|
+ border-radius: 10px;
|
|
|
overflow: hidden;
|
|
|
|
|
|
+ .close {
|
|
|
+ position: absolute;
|
|
|
+ top: 20px;
|
|
|
+ right: 20px;
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+ border-radius: 50%;
|
|
|
+ cursor: pointer;
|
|
|
+
|
|
|
+ .close-img {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
.goods-img {
|
|
|
- width: 550px;
|
|
|
+ width: 100%;
|
|
|
height: 210px;
|
|
|
+ border-radius: 10px;
|
|
|
|
|
|
.g-img {
|
|
|
- width: 550px;
|
|
|
+ width: 100%;
|
|
|
height: 100%;
|
|
|
- border-radius: 10px!important;
|
|
|
+ border-radius: 10px;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -106,6 +135,7 @@ export default {
|
|
|
width: 100%;
|
|
|
|
|
|
.title {
|
|
|
+ color: #171717;
|
|
|
font-size: 24px;
|
|
|
font-weight: 700;
|
|
|
line-height: 34px;
|
|
|
@@ -113,61 +143,83 @@ export default {
|
|
|
}
|
|
|
|
|
|
.desc {
|
|
|
+ color: #171717;
|
|
|
margin: 0 20px;
|
|
|
font-size: 14px;
|
|
|
line-height: 20px;
|
|
|
}
|
|
|
|
|
|
.money {
|
|
|
- width: 100%;
|
|
|
- margin-top: 15px;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ text-align: center;
|
|
|
+ align-items: center;
|
|
|
+ margin-top: 25px;
|
|
|
|
|
|
- .i {
|
|
|
+ .item {
|
|
|
display: flex;
|
|
|
- padding: 0 20px;
|
|
|
- height: 44px;
|
|
|
|
|
|
&:not(:first-child) {
|
|
|
- margin-top: 10px;
|
|
|
+ margin-top: 11px;
|
|
|
}
|
|
|
|
|
|
.label {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
- width: 86px;
|
|
|
- height: 44px;
|
|
|
- font-size: 14px;
|
|
|
- background-color: #C1B5C5;
|
|
|
+ color: #171717;
|
|
|
+ font-size: 20px;
|
|
|
+ line-height: 50px;
|
|
|
}
|
|
|
-
|
|
|
- .val {
|
|
|
- flex: 1;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
- padding: 0 15px 0 20px;
|
|
|
- border: 1px solid #C1B5C5;
|
|
|
+
|
|
|
+ .num {
|
|
|
+ color: #171717;
|
|
|
+ font-size: 32px;
|
|
|
+ font-weight: 700;
|
|
|
+ line-height: 47px;
|
|
|
+
|
|
|
+ &.special {
|
|
|
+ line-height: 42px;
|
|
|
+ font-size: 40px;
|
|
|
+ color: #D43030;
|
|
|
+ font-weight: 700;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .unit {
|
|
|
+ margin-left: 5px;
|
|
|
+ color: #707070;
|
|
|
+ font-size: 16px;
|
|
|
+ line-height: 54px;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ .tips {
|
|
|
+ margin-top: 15px;
|
|
|
+ color: #D43030;
|
|
|
+ font-size: 16px;
|
|
|
+ text-align: center;
|
|
|
}
|
|
|
|
|
|
.operates {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
|
- margin: 28px 20px;
|
|
|
+ margin: 20px 0;
|
|
|
|
|
|
.btn {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
width: 245px;
|
|
|
- height: 44px;
|
|
|
- font-size: 16px;
|
|
|
+ height: 60px;
|
|
|
+ color: #171717;
|
|
|
+ font-size: 20px;
|
|
|
+ font-weight: 500;
|
|
|
+ background-color: #C7AB7B;
|
|
|
border-radius: 4px;
|
|
|
+ cursor: pointer;
|
|
|
|
|
|
- &:not(:first-child) {
|
|
|
+ /* &:not(:first-child) {
|
|
|
margin-left: 20px;
|
|
|
}
|
|
|
|
|
|
@@ -177,7 +229,7 @@ export default {
|
|
|
|
|
|
&.cancel {
|
|
|
background-color: #cccccc
|
|
|
- }
|
|
|
+ } */
|
|
|
}
|
|
|
}
|
|
|
}
|