diff --git a/components/UiGoodsItem.vue b/components/UiGoodsItem.vue index 4b716c8..074d468 100644 --- a/components/UiGoodsItem.vue +++ b/components/UiGoodsItem.vue @@ -8,7 +8,7 @@ {{ item.name }}
- + {{ item.startingPrice }}
@@ -41,9 +41,10 @@ export default { return str; }, onItem() { - this.$router.push({ - path: "/goods/detail/" + this.item.id, - }); + // this.$router.push({ + // path: "/goods/detail/" + this.item.id, + // }); + window.open("/goods/detail/" + this.item.id); }, }, }; @@ -55,7 +56,7 @@ export default { cursor: pointer; background: #ffffff; - &:hover{ + &:hover { box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.10000000149011612); } @@ -92,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/nuxt.config.js b/nuxt.config.js index c7a1bb2..1288de9 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -46,7 +46,7 @@ export default { '@plugins/axiosTk.js', '@plugins/vue-inject.js', '@/plugins/v-distpicker', - // '@/plugins/router', + '@/plugins/router', '@/plugins/im' ], diff --git a/pages/account/index/order/saleAfter/detail.vue b/pages/account/index/order/saleAfter/detail.vue index e69de29..4549e35 100644 --- a/pages/account/index/order/saleAfter/detail.vue +++ b/pages/account/index/order/saleAfter/detail.vue @@ -0,0 +1,25 @@ + + + + + diff --git a/pages/account/index/order/saleAfter/list.vue b/pages/account/index/order/saleAfter/list.vue index e69de29..a69994a 100644 --- a/pages/account/index/order/saleAfter/list.vue +++ b/pages/account/index/order/saleAfter/list.vue @@ -0,0 +1,58 @@ + + + + + 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 + }}