diff --git a/pages/index/index.wxml b/pages/index/index.wxml
index 0341df0..963ea03 100644
--- a/pages/index/index.wxml
+++ b/pages/index/index.wxml
@@ -220,7 +220,7 @@
书香借阅
-
文化配送
diff --git a/pages/info/hotelProductInfo/index.js b/pages/info/hotelProductInfo/index.js
index 15b2229..b42b444 100644
--- a/pages/info/hotelProductInfo/index.js
+++ b/pages/info/hotelProductInfo/index.js
@@ -215,7 +215,7 @@ Page({
item.rate = Number(item.rate)
})
this.setData({
- comment: res.data.list,
+ comment: res.data.list.splice(0, 2),
commentTotal: res.data.total
})
let arr = this.data.comment
diff --git a/pages/info/hotelProductInfo/index.wxml b/pages/info/hotelProductInfo/index.wxml
index 02b3b4f..298959e 100644
--- a/pages/info/hotelProductInfo/index.wxml
+++ b/pages/info/hotelProductInfo/index.wxml
@@ -121,6 +121,8 @@
+ {{item.sku_name}}
+
diff --git a/pages/info/hotelProductInfo/index.wxss b/pages/info/hotelProductInfo/index.wxss
index cbec603..4dfc461 100644
--- a/pages/info/hotelProductInfo/index.wxss
+++ b/pages/info/hotelProductInfo/index.wxss
@@ -580,4 +580,10 @@ page {
}
.all view:last-child{
margin-top: 10rpx;
+}
+.sku{
+ margin-left: 10rpx;
+ color: #666;
+ font-size: 24rpx;
+ margin-top: 8rpx;
}
\ No newline at end of file
diff --git a/pages/info/postProductInfo/index.js b/pages/info/postProductInfo/index.js
index 0f20584..e12939f 100644
--- a/pages/info/postProductInfo/index.js
+++ b/pages/info/postProductInfo/index.js
@@ -89,7 +89,7 @@ Page({
item.rate = Number(item.rate)
})
this.setData({
- comment: res.data.list,
+ comment: res.data.list.splice(0, 2),
commentTotal: res.data.total
})
let arr = this.data.comment
diff --git a/pages/info/postProductInfo/index.wxml b/pages/info/postProductInfo/index.wxml
index 686cd76..f7cc4bb 100644
--- a/pages/info/postProductInfo/index.wxml
+++ b/pages/info/postProductInfo/index.wxml
@@ -70,7 +70,7 @@
-
+
@@ -83,6 +83,7 @@
+ {{item.sku_name}}
diff --git a/pages/info/postProductInfo/index.wxss b/pages/info/postProductInfo/index.wxss
index 7f8a890..ef9c716 100644
--- a/pages/info/postProductInfo/index.wxss
+++ b/pages/info/postProductInfo/index.wxss
@@ -836,4 +836,10 @@ page {
}
.all view:last-child{
margin-top: 10rpx;
+}
+.sku{
+ margin-left: 10rpx;
+ color: #666;
+ font-size: 24rpx;
+ margin-top: 8rpx;
}
\ No newline at end of file
diff --git a/pages/info/sceneProductInfo/index.js b/pages/info/sceneProductInfo/index.js
index 95fced5..41e4c81 100644
--- a/pages/info/sceneProductInfo/index.js
+++ b/pages/info/sceneProductInfo/index.js
@@ -128,7 +128,7 @@ Page({
item.rate = Number(item.rate)
})
this.setData({
- comment: res.data.list.splice(0, 3),
+ comment: res.data.list.splice(0, 2),
commentTotal: res.data.total
})
let arr = this.data.comment
diff --git a/pages/info/sceneProductInfo/index.wxml b/pages/info/sceneProductInfo/index.wxml
index 4ddb5b9..0d5438e 100644
--- a/pages/info/sceneProductInfo/index.wxml
+++ b/pages/info/sceneProductInfo/index.wxml
@@ -148,7 +148,8 @@
游客点评{{info.rate}}分
-
+
+
这里空空如也,快去点评吧!
@@ -161,7 +162,7 @@
{{item.nickname}}
-
+
@@ -174,6 +175,7 @@
+ {{item.sku_name}}
diff --git a/pages/info/sceneProductInfo/index.wxss b/pages/info/sceneProductInfo/index.wxss
index ccf0343..e90e3f3 100644
--- a/pages/info/sceneProductInfo/index.wxss
+++ b/pages/info/sceneProductInfo/index.wxss
@@ -252,6 +252,7 @@ page {
.product-comment-top .comment-info .iconfont {
color: #D62828;
font-size: 22rpx;
+ margin-top: 6rpx;
}
.product-comment-top .comment-info .iconfont text {
@@ -285,6 +286,7 @@ page {
color: #999999;
font-size: 27rpx;
font-weight: 400;
+ font-family: PingFang SC !important;
}
.ask-list .ask-item:nth-child(1) {
@@ -819,9 +821,17 @@ page {
text-align: center;
}
.all view:first-child{
- font-size: 45rpx;
+ font-size: 40rpx;
margin-top: 40rpx;
}
.all view:last-child{
margin-top: 10rpx;
+ font-size: 30rpx;
+
+}
+.sku{
+ margin-left: 10rpx;
+ color: #666;
+ font-size: 24rpx;
+ margin-top: 8rpx;
}
\ No newline at end of file
diff --git a/pages/list/comments/index.js b/pages/list/comments/index.js
index de1df8f..d769cad 100644
--- a/pages/list/comments/index.js
+++ b/pages/list/comments/index.js
@@ -50,6 +50,7 @@ Page({
})
let arr = this.data.list
arr.map((item)=>{
+ item.rate = Number(item.rate)
if (item.img_list) {
item.img_list = item.img_list.split(',')
}else{
diff --git a/pages/list/comments/index.wxml b/pages/list/comments/index.wxml
index a452885..23c31fb 100644
--- a/pages/list/comments/index.wxml
+++ b/pages/list/comments/index.wxml
@@ -5,9 +5,15 @@
diff --git a/pages/list/comments/index.wxss b/pages/list/comments/index.wxss
index c2e2f7d..5300d8a 100644
--- a/pages/list/comments/index.wxss
+++ b/pages/list/comments/index.wxss
@@ -30,6 +30,7 @@
flex: 1;
font-size: 27rpx;
color: #333;
+
}
.author-time {
color: #999999;
@@ -50,4 +51,24 @@
height: 200rpx;
margin: 10rpx;
border-radius: 8rpx;
+}
+.iconfont {
+ color: #D62828;
+ font-size: 22rpx;
+ line-height: 30rpx;
+}
+.top{
+ display: flex;
+ justify-content: space-between;
+}
+.bot{
+ margin-top: 10rpx;
+ display: flex;
+ justify-content: left;
+ align-self: center;
+}
+.sku{
+ color: #666;
+ margin-left:20rpx ;
+ font-size: 24rpx;
}
\ No newline at end of file