From e41a81096025af9b746dfd124c7c52d1c6860856 Mon Sep 17 00:00:00 2001
From: lin <1005713861@163.com>
Date: Tue, 16 Jun 2026 17:43:21 +0800
Subject: [PATCH] UI:澜品优选新增会员价
---
static/css/index.css | 3 ++-
pages/catesList/catesList.vue | 6 ++++++
pages/ginfo/ginfo.vue | 7 +++++++
manifest.json | 4 ++--
static/css/search.css | 5 +++--
pages/search/search.vue | 6 ++++++
static/css/ginfo.css | 2 +-
pages/index/index.vue | 11 ++++++-----
8 files changed, 33 insertions(+), 11 deletions(-)
diff --git a/manifest.json b/manifest.json
index 556d908..4c6e201 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,8 +2,8 @@
"name" : "澜品优选",
"appid" : "__UNI__27C0349",
"description" : "",
- "versionName" : "1.4.0",
- "versionCode" : 140,
+ "versionName" : "1.4.1",
+ "versionCode" : 141,
"transformPx" : false,
/* 5+App特有相关 */
"app-plus" : {
diff --git a/pages/catesList/catesList.vue b/pages/catesList/catesList.vue
index 6e86750..fcddd1f 100644
--- a/pages/catesList/catesList.vue
+++ b/pages/catesList/catesList.vue
@@ -6,9 +6,15 @@
<image lazy-load class="goods-icon" :src="itm.icon" mode="widthFix"></image>
<view class="goods-title">{{itm.title}}</view>
<view class="goods-price">
+ <view>原价</view>
<view>¥</view>
<view class="red">{{itm.price}}</view>
</view>
+ <view class="goods-price">
+ <view>会员价</view>
+ <view>¥</view>
+ <view class="red">{{itm.vprice}}</view>
+ </view>
</view>
</view>
<view class="noData" v-else>
diff --git a/pages/ginfo/ginfo.vue b/pages/ginfo/ginfo.vue
index 9260862..04288d5 100644
--- a/pages/ginfo/ginfo.vue
+++ b/pages/ginfo/ginfo.vue
@@ -12,10 +12,17 @@
<view class="gTitle">
<view class="">{{goodsData.title}}</view>
<view class="">
+ <text>原价</text>
<text>¥</text>
<text>{{goodsData.price}}</text>
<!-- <text>积分:{{goodsData.points}}</text> -->
</view>
+ <view class="">
+ <text>会员价</text>
+ <text>¥</text>
+ <text>{{goodsData.vprice}}</text>
+ <!-- <text>积分:{{goodsData.points}}</text> -->
+ </view>
<view class="collect" @tap="collectGoods">
<image :src="goodsData.collect == 1 ? '/static/imgs/colls.png' : '/static/imgs/coll.png'" mode=""></image>
</view>
diff --git a/pages/index/index.vue b/pages/index/index.vue
index c8f400e..5a73150 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -110,13 +110,14 @@
<image lazy-load class="goods-icon" :src="itm.icon" mode=""></image>
<view class="goods-title">{{itm.title}}</view>
<view class="goods-price">
+ <view class="">原价</view>
<view>¥</view>
<view class="red">{{itm.price}}</view>
- <!-- <view class="hyj">
- <image src="@/static/imgs/hyj.png" mode=""></image>
- </view> -->
- <!-- <view>¥</view>
- <view class="red">{{itm.price}}</view> -->
+ </view>
+ <view class="goods-price">
+ <view class="">会员价</view>
+ <view>¥</view>
+ <view class="red">{{itm.vprice}}</view>
</view>
</view>
</view>
diff --git a/pages/search/search.vue b/pages/search/search.vue
index 05dbaf8..9ee0920 100644
--- a/pages/search/search.vue
+++ b/pages/search/search.vue
@@ -26,9 +26,15 @@
<image lazy-load class="goods-icon" :src="itm.icon" mode="widthFix"></image>
<view class="goods-title">{{itm.title}}</view>
<view class="goods-price">
+ <view>原价</view>
<view>¥</view>
<view class="red">{{itm.price}}</view>
</view>
+ <view class="goods-price">
+ <view>会员价</view>
+ <view>¥</view>
+ <view class="red">{{itm.vprice}}</view>
+ </view>
</view>
</view>
</view>
diff --git a/static/css/ginfo.css b/static/css/ginfo.css
index a20fcd2..998994f 100644
--- a/static/css/ginfo.css
+++ b/static/css/ginfo.css
@@ -62,7 +62,7 @@
}
.gTitle view text:nth-child(2){
font-size: 36upx;
- margin: 0 50upx 0 10upx;
+ margin: 0 10upx 0 10upx;
}
.gInfo-title{
width: 100%;
diff --git a/static/css/index.css b/static/css/index.css
index f73eb0f..252349f 100644
--- a/static/css/index.css
+++ b/static/css/index.css
@@ -149,6 +149,7 @@
border-radius: 18upx;
background-color: #fbf8f8;
margin-bottom: 30upx;
+ padding-bottom: 20rpx;
}
.goods-icon{
width: 100%;
@@ -162,7 +163,7 @@
color: #F75451;
font-size: 26upx;
padding: 0 14upx;
- padding-bottom: 20upx;
+ padding-bottom: 0upx;
}
.goods-price .red{
margin-left: 10upx;
diff --git a/static/css/search.css b/static/css/search.css
index 4a67a06..dfd4745 100644
--- a/static/css/search.css
+++ b/static/css/search.css
@@ -78,6 +78,7 @@
border-radius: 18upx;
background-color: #fbf8f8;
margin-bottom: 30upx;
+ padding-bottom: 20rpx;
}
.goods-icon{
width: 100%;
@@ -85,13 +86,13 @@
margin-bottom: 20upx;
}
.goods-price{
- margin-top: 16upx;
+ margin-top: 10upx;
display: flex;
align-items: center;
color: #F75451;
font-size: 26upx;
padding: 0 14upx;
- padding-bottom: 20upx;
+ padding-bottom: 0upx;
}
.goods-price .red{
margin-left: 10upx;
--
Gitblit v1.9.3