diff --git a/manifest.json b/manifest.json
index 5162ff4..80e7e2b 100644
--- a/manifest.json
+++ b/manifest.json
@@ -50,7 +50,7 @@
"quickapp" : {},
/* 小程序特有相关 */
"mp-weixin" : {
- "appid" : "",
+ "appid" : "wx2128cb0ee735d71a",
"setting" : {
"urlCheck" : false
},
diff --git a/pages/classify/classify.vue b/pages/classify/classify.vue
index bf71b85..909ec1b 100644
--- a/pages/classify/classify.vue
+++ b/pages/classify/classify.vue
@@ -32,13 +32,15 @@
-
- ¥{{item.price_text}}
+ ¥{{item.price_text}}
可定制
+
+ 会员价:¥{{item.vip_price}}
+
@@ -71,14 +73,18 @@
size: 10,
is_home: 0,
},
-
+ ifMember:false,
+ ifMemberPrice:false
}
},
onLoad() {
this.getNavData()
},
-
+ onShow() {
+ this.ifMember = uni.getStorageSync('ifMember');
+ this.ifMemberPrice = uni.getStorageSync('ifMemberPrice');
+ },
methods: {
@@ -314,12 +320,13 @@
}
.classifyConList .list {
width: 276rpx;
- height: 373rpx;
+ /* height: 373rpx; */
margin-top: 30rpx;
margin-right: 28rpx;
position: relative;
border-radius: 30rpx;
background-color: #FFFFFF;
+ padding-bottom: 20rpx;
}
.classifyConList .list:nth-child(2n) {
@@ -342,6 +349,7 @@
-webkit-box-orient: vertical;
font-size: 24rpx;
margin-top: 15rpx;
+ height: 90rpx;
line-height: 44rpx;
padding: 0 12rpx;
font-weight: bold;
@@ -355,9 +363,9 @@
box-sizing: border-box;
width: 100%;
align-items: center;
- position: absolute;
+ /* position: absolute;
left: 0rpx;
- bottom: 32rpx;
+ bottom: 32rpx; */
justify-content: space-between;
}
@@ -385,4 +393,8 @@
line-height: 28rpx;
background-color: #D33333;
}
+
+ .memberPrice{
+ font-size: 28rpx;font-weight: bold;padding-left: 20rpx;margin-top: 10rpx;
+ }
diff --git a/pages/commodity/commodity.vue b/pages/commodity/commodity.vue
index 7f59121..048f990 100644
--- a/pages/commodity/commodity.vue
+++ b/pages/commodity/commodity.vue
@@ -18,8 +18,9 @@
可定制
-
+
¥{{ commodityData.detail.price_text}}
+ 会员价:¥ {{ commodityData.detail.vip_price}}
@@ -66,14 +67,15 @@
-
- ¥{{item.price_text}}
+ ¥{{item.price_text}}
可定制
-
+
+ 会员价:¥{{item.vip_price}}
+
@@ -88,9 +90,10 @@