diff --git a/yudao-ui-app/pages/product/product.vue b/yudao-ui-app/pages/product/product.vue
index a5865e8e0..8729a9142 100644
--- a/yudao-ui-app/pages/product/product.vue
+++ b/yudao-ui-app/pages/product/product.vue
@@ -17,10 +17,92 @@
-
-
+
+
+
+
+
+
+
+
+ 配送
+
+
+
+
+
+ 促销
+
+
+
+
+
+
+
+
+
+
+ 领券
+
+
+
+
+ 已选
+
+
+
+
+
+ 评价
+
+
+
+ {{item.name}}({{item.count}})
+
+
+
+
+
+
+
+
+
+
+ 首页
+
+
+
+ 客服
+
+
+
+ 购物车
+
+
+
+
+
+
+
+
+
+
+
@@ -37,7 +119,36 @@ export default {
title: '山不在高,有仙则名。水不在深,有龙则灵。斯是陋室,惟吾德馨。',
desc: '山不在于高,有了神仙就会有名气。水不在于深,有了龙就会有灵气。这是简陋的房子,只是我品德好就感觉不到简陋了。',
price: '13.00'
- }
+ },
+ promotionPopup: false,
+ currentEvanType: 0,
+ evanTypeList: [
+ {
+ id: '0',
+ name: '全部',
+ count: 0
+ },
+ {
+ id: '1',
+ name: '好评',
+ count: 0
+ },
+ {
+ id: '2',
+ name: '中评',
+ count: 0
+ },
+ {
+ id: '3',
+ name: '差评',
+ count: 0
+ },
+ {
+ id: '4',
+ name: '有图',
+ count: 0
+ },
+ ]
}
},
onLoad(e) {
@@ -53,7 +164,16 @@ export default {
methods: {
loadProductData(){
- }
+ },
+ showPromPopup() {
+ this.promotionPopup = true
+ },
+ closePromPopup(){
+ this.promotionPopup = false
+ },
+ handleEvanTypeClick(e) {
+ this.currentEvanType = e.index;
+ },
},
computed: {
@@ -92,11 +212,103 @@ export default {
justify-content: space-between;
}
}
- .prod-collect {
+ .prod-favor {
margin-top: 15rpx;
}
}
+.info-box {
+ padding: 15rpx 30rpx;
+ .info-title {
+ font-size: 30rpx;
+ }
+}
+
+.prom-popup-slot {
+ width: 750rpx;
+ min-height: 500rpx;
+ .prom-title {
+ background: #f3f3f3;
+ line-height: 100rpx;
+ padding-left: 30rpx;
+ font-size: 36rpx;
+ border-radius: 10px 10px 0 0;
+ }
+ .prom-list{
+ padding: 30rpx;
+ .prom-item{
+ line-height: 40rpx;
+ font-size: 24rpx;
+ }
+ }
+}
+
+.evaluation-box-wrap {
+ background: #f3f3f3;
+
+ .evaluation-box {
+ border-radius: 20rpx 20rpx 0 0;
+ background: $custom-bg-color;
+ padding-bottom: 120rpx;
+
+ .evaluation-title{
+ border-radius: 20rpx 20rpx 0 0;
+ padding: 20rpx 30rpx;
+ border-bottom: $custom-border-style;
+ font-size: 30rpx;
+ }
+
+ .evaluation-info{
+
+ }
+
+ .evan-type-list{
+ padding: 20rpx;
+ display: flex;
+ align-items: center;
+ justify-content: space-around;
+
+ .evan-type-item {
+ border-radius: 8rpx;
+ padding: 8rpx 12rpx;
+ background: #f3f3f3;
+ font-size: 12rpx;
+ text-align: center;
+ }
+ }
+
+ .comment-empty {
+
+ }
+ }
+}
+
+.fixed-btn-box {
+ position: fixed;
+ bottom: 0;
+ left: 0;
+ .btn-group {
+ background: $custom-bg-color;
+ border-top: $custom-border-style;
+
+ width: 750rpx;
+ display: flex;
+ align-items: center;
+ justify-content: space-around;
+ height: 100rpx;
+
+ .btn-item {
+ width: 80rpx;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ .btn-text {
+ font-size: 12rpx;
+ color: #666666;
+ }
+ }
+ }
+}
diff --git a/yudao-ui-app/static/images/empty/address.png b/yudao-ui-app/static/images/empty/address.png
new file mode 100644
index 000000000..15014020a
Binary files /dev/null and b/yudao-ui-app/static/images/empty/address.png differ
diff --git a/yudao-ui-app/static/images/empty/cart.png b/yudao-ui-app/static/images/empty/cart.png
new file mode 100644
index 000000000..7fda8e8e5
Binary files /dev/null and b/yudao-ui-app/static/images/empty/cart.png differ
diff --git a/yudao-ui-app/static/images/empty/comment.png b/yudao-ui-app/static/images/empty/comment.png
new file mode 100644
index 000000000..b24db6a56
Binary files /dev/null and b/yudao-ui-app/static/images/empty/comment.png differ
diff --git a/yudao-ui-app/static/images/empty/coupon.png b/yudao-ui-app/static/images/empty/coupon.png
new file mode 100644
index 000000000..0037367ef
Binary files /dev/null and b/yudao-ui-app/static/images/empty/coupon.png differ
diff --git a/yudao-ui-app/static/images/empty/data.png b/yudao-ui-app/static/images/empty/data.png
new file mode 100644
index 000000000..8b287516e
Binary files /dev/null and b/yudao-ui-app/static/images/empty/data.png differ
diff --git a/yudao-ui-app/static/images/empty/favor.png b/yudao-ui-app/static/images/empty/favor.png
new file mode 100644
index 000000000..23d7dfcdc
Binary files /dev/null and b/yudao-ui-app/static/images/empty/favor.png differ
diff --git a/yudao-ui-app/static/images/empty/history.png b/yudao-ui-app/static/images/empty/history.png
new file mode 100644
index 000000000..b3b6985eb
Binary files /dev/null and b/yudao-ui-app/static/images/empty/history.png differ
diff --git a/yudao-ui-app/static/images/empty/list.png b/yudao-ui-app/static/images/empty/list.png
new file mode 100644
index 000000000..77bbb955e
Binary files /dev/null and b/yudao-ui-app/static/images/empty/list.png differ
diff --git a/yudao-ui-app/static/images/empty/message.png b/yudao-ui-app/static/images/empty/message.png
new file mode 100644
index 000000000..033d7b737
Binary files /dev/null and b/yudao-ui-app/static/images/empty/message.png differ
diff --git a/yudao-ui-app/static/images/empty/news.png b/yudao-ui-app/static/images/empty/news.png
new file mode 100644
index 000000000..ac743d391
Binary files /dev/null and b/yudao-ui-app/static/images/empty/news.png differ
diff --git a/yudao-ui-app/static/images/empty/order.png b/yudao-ui-app/static/images/empty/order.png
new file mode 100644
index 000000000..47695056b
Binary files /dev/null and b/yudao-ui-app/static/images/empty/order.png differ
diff --git a/yudao-ui-app/static/images/empty/page.png b/yudao-ui-app/static/images/empty/page.png
new file mode 100644
index 000000000..181dc9378
Binary files /dev/null and b/yudao-ui-app/static/images/empty/page.png differ
diff --git a/yudao-ui-app/static/images/empty/permission.png b/yudao-ui-app/static/images/empty/permission.png
new file mode 100644
index 000000000..8142421c0
Binary files /dev/null and b/yudao-ui-app/static/images/empty/permission.png differ
diff --git a/yudao-ui-app/static/images/empty/search.png b/yudao-ui-app/static/images/empty/search.png
new file mode 100644
index 000000000..e1e1e49c8
Binary files /dev/null and b/yudao-ui-app/static/images/empty/search.png differ
diff --git a/yudao-ui-app/static/images/empty/wifi.png b/yudao-ui-app/static/images/empty/wifi.png
new file mode 100644
index 000000000..13cb10a33
Binary files /dev/null and b/yudao-ui-app/static/images/empty/wifi.png differ