From 32881769ed0f93f49ad0fe3d087381ee827326e8 Mon Sep 17 00:00:00 2001 From: modendeveloper Date: Tue, 21 Jan 2025 00:54:51 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A3115=20=E3=80=90=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E5=85=A8=E5=9B=BD=E7=89=B9?= =?UTF-8?q?=E4=BA=A7=E9=9C=80=E8=A6=81=E5=A2=9E=E5=8A=A0=E8=B4=AD=E7=89=A9?= =?UTF-8?q?=E8=BD=A6=E6=8C=89=E9=92=AE=EF=BC=8C=E5=B9=B6=E5=8F=AF=E4=BB=A5?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E5=8A=A0=E5=85=A5=E8=B4=AD=E7=89=A9=E8=BD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg_product/views/nativeList.vue | 59 ++++++++++++++++++++++++++++++-- 1 file changed, 56 insertions(+), 3 deletions(-) diff --git a/pkg_product/views/nativeList.vue b/pkg_product/views/nativeList.vue index c86e77d..14782fb 100644 --- a/pkg_product/views/nativeList.vue +++ b/pkg_product/views/nativeList.vue @@ -44,7 +44,18 @@ mode="scaleToFill" /> {{ item.storeName }} - ¥{{ item.price }} + + + + ¥{{ item.price }} + + + + + + @@ -62,9 +82,14 @@ // 特产-城市商品列表 import { fetchNormal, getCategory } from "@/api/store" import { pageListenMixins } from '@/mixins/pageListenMixins' +import ProductWindow from '@/components/ProductWindow' +import goCartMixin from '@/mixins/goCartMixins' export default { name: 'NativeListPage', - mixins: [pageListenMixins], + components: { + ProductWindow + }, + mixins: [pageListenMixins, goCartMixin], data() { return { webUrl: this.$VUE_APP_RESOURCES_URL, @@ -191,7 +216,7 @@ export default { } .item { width: 345rpx; - height: 465rpx; + height: auto; .cover { width: 345rpx; height: 345rpx; @@ -209,4 +234,32 @@ export default { height: 338rpx; } } +.price-wrap { + display: flex; + justify-content: space-between; + align-items: flex-end; + padding: 10rpx 0 0 0; + .price { + font-size: 24rpx; + line-height: 40rpx; + .price-txt { + font-size: 40rpx; + font-weight: bold; + } + } + .price-red { + margin: 0 10rpx 0 0; + color: #C52733; + } + .price-grey { + color: #C4C4C4; + } + .btn { + .img { + display: block; + width: 48rpx; + height: 48rpx; + } + } +} \ No newline at end of file