diff --git a/buyer/src/api/member.js b/buyer/src/api/member.js
index 7465e123..7cce873e 100644
--- a/buyer/src/api/member.js
+++ b/buyer/src/api/member.js
@@ -158,7 +158,7 @@ export function addEvaluation (params) {
url: `/buyer/member/evaluation`,
method: Method.POST,
needToken: true,
- params
+ data: params
});
}
diff --git a/buyer/src/assets/styles/global-layout.scss b/buyer/src/assets/styles/global-layout.scss
index efd02a2c..08e02376 100644
--- a/buyer/src/assets/styles/global-layout.scss
+++ b/buyer/src/assets/styles/global-layout.scss
@@ -18,5 +18,8 @@
}
// 与 CateNav 商品分类栏、Carousel 左占位一致的列宽
+$index-main-width: 1200px;
$index-side-col-width: 263.2px;
$index-col-gap: 10px;
+// 1200 - 263.2*2 - 10*2 = 653.6px
+$index-center-col-width: $index-main-width - ($index-side-col-width * 2) - ($index-col-gap * 2);
diff --git a/buyer/src/components/goodsDetail/Promotion.vue b/buyer/src/components/goodsDetail/Promotion.vue
index 9051263e..16dc2b4f 100644
--- a/buyer/src/components/goodsDetail/Promotion.vue
+++ b/buyer/src/components/goodsDetail/Promotion.vue
@@ -3,7 +3,12 @@
-
倒计时:
{{ hours }}{{ minutes }}{{ seconds }}
+
倒计时:
+
{{ hours }}
+
:
+
{{ minutes }}
+
:
+
{{ seconds }}
{{end}}
@@ -89,36 +94,35 @@ export default {
font-size: 13px;
}
.count-down {
- margin-right: -20px;
- p{
- float: left;
- line-height: 20px;
+ display: flex;
+ align-items: center;
+ gap: 4px;
+ font-size: 13px;
+ line-height: 1;
+
+ .count-down-label {
+ flex-shrink: 0;
+ white-space: nowrap;
}
- > span {
- position: relative;
- float: left;
- width: 20px;
+
+ .count-down-num {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ min-width: 20px;
height: 20px;
- text-align: center;
+ padding: 0 2px;
background-color: #2f3430;
- margin-right: 20px;
- color: white;
+ color: #fff;
font-size: 14px;
- line-height: 20px;
- &::after {
- content: ":";
- display: block;
- position: absolute;
- right: -20px;
- font-weight: bolder;
- font-size: 14px;
- width: 20px;
- height: 100%;
- top: 0;
- }
+ line-height: 1;
+ border-radius: 2px;
}
- > span:last-child::after {
- content: "";
+
+ .count-down-colon {
+ font-weight: bold;
+ font-size: 14px;
+ line-height: 1;
}
}
diff --git a/buyer/src/components/goodsDetail/ShowGoodsDetail.vue b/buyer/src/components/goodsDetail/ShowGoodsDetail.vue
index 63909e4a..e4c4d177 100644
--- a/buyer/src/components/goodsDetail/ShowGoodsDetail.vue
+++ b/buyer/src/components/goodsDetail/ShowGoodsDetail.vue
@@ -69,7 +69,12 @@