|
@@ -37,7 +37,7 @@
|
|
|
<div class="j-container content" v-else>
|
|
|
<div class="j-main no-scrollbar">
|
|
|
<div>
|
|
|
- <div class="header-pic" :class="orderStateMap[orderInfo.state].bgcClassName">
|
|
|
+ <div class="header-pic arc-container" :class="orderStateMap[orderInfo.state].bgcClassName">
|
|
|
<div class="order-state">{{ orderStateMap[orderInfo.state].text }}</div>
|
|
|
<div class="surplus-time" v-if="orderStateMap[orderInfo.state].surplusTimeShow && orderInfo.surplusTime > 0">
|
|
|
<span>剩余支付时间:</span>
|
|
@@ -401,23 +401,10 @@ export default class OrderDetail extends Vue {
|
|
|
}
|
|
|
}
|
|
|
// content 部分
|
|
|
- .content .header-pic {
|
|
|
+ // 头部使用header-mask实现
|
|
|
+ // 参考: https://www.sunzhongwei.com/css-div-arc-at-bottom
|
|
|
+ .arc-container {
|
|
|
position: relative;
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
- width: 100%;
|
|
|
- height: 220px;
|
|
|
- color: #F7F9FA;
|
|
|
- box-sizing: border-box;
|
|
|
-
|
|
|
- // 头部使用header-mask实现
|
|
|
- // 参考: https://www.sunzhongwei.com/css-div-arc-at-bottom
|
|
|
- &>div {
|
|
|
- position: relative;
|
|
|
- z-index: 2;
|
|
|
- }
|
|
|
&:after {
|
|
|
content: '';
|
|
|
width: 150%;
|
|
@@ -441,6 +428,11 @@ export default class OrderDetail extends Vue {
|
|
|
background-color: #C0C4CC;
|
|
|
}
|
|
|
|
|
|
+ &>div {
|
|
|
+ position: relative;
|
|
|
+ z-index: 2;
|
|
|
+ }
|
|
|
+
|
|
|
// &.blue {
|
|
|
// background: transparent url(~@/assets/image/order-detail-bg-blue2x.png) no-repeat top left;
|
|
|
// background-size: cover;
|
|
@@ -453,6 +445,17 @@ export default class OrderDetail extends Vue {
|
|
|
// background: transparent url(~@/assets/image/order-detail-bg-grey2x.png) no-repeat top left;
|
|
|
// background-size: cover;
|
|
|
// }
|
|
|
+ }
|
|
|
+
|
|
|
+ .content .header-pic {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ width: 100%;
|
|
|
+ height: 220px;
|
|
|
+ color: #F7F9FA;
|
|
|
+ box-sizing: border-box;
|
|
|
|
|
|
.order-state {
|
|
|
margin-top: 30px;
|