diff --git a/components/UiGoodsItem.vue b/components/UiGoodsItem.vue
index 240f517..074d468 100644
--- a/components/UiGoodsItem.vue
+++ b/components/UiGoodsItem.vue
@@ -8,7 +8,7 @@
{{ item.name }}
-
+ {{ item.startingPrice }}
@@ -44,7 +44,7 @@ export default {
// this.$router.push({
// path: "/goods/detail/" + this.item.id,
// });
- window.open("/goods/detail/" + this.item.id)
+ window.open("/goods/detail/" + this.item.id);
},
},
};
@@ -56,7 +56,7 @@ export default {
cursor: pointer;
background: #ffffff;
- &:hover{
+ &:hover {
box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.10000000149011612);
}
@@ -93,6 +93,15 @@ export default {
&__price {
width: 200px;
margin: 0 auto;
+
+ &--txt {
+ font-size: 14px;
+ color: #ff512b;
+ &::before {
+ content: "¥";
+ font-size: 14px;
+ }
+ }
}
}
diff --git a/pages/goods/detail/_id.vue b/pages/goods/detail/_id.vue
index af7ba91..48f70ea 100644
--- a/pages/goods/detail/_id.vue
+++ b/pages/goods/detail/_id.vue
@@ -104,13 +104,11 @@
售价
-
+
{{
+ detailData.productActivityVO.isStartActivity
+ ? detailData.productActivityVO.activityPrice
+ : detailData.startingPrice
+ }}