From cfcc0aa6ddc932ab4dd8652b912925d3da825e71 Mon Sep 17 00:00:00 2001 From: sfmind Date: Tue, 12 Apr 2022 22:25:56 +0800 Subject: [PATCH] 充实商品静态页,增加empty图片 --- yudao-ui-app/pages/product/product.vue | 222 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- yudao-ui-app/static/images/empty/address.png | Bin 0 -> 19443 bytes yudao-ui-app/static/images/empty/cart.png | Bin 0 -> 28547 bytes yudao-ui-app/static/images/empty/comment.png | Bin 0 -> 13930 bytes yudao-ui-app/static/images/empty/coupon.png | Bin 0 -> 23450 bytes yudao-ui-app/static/images/empty/data.png | Bin 0 -> 17165 bytes yudao-ui-app/static/images/empty/favor.png | Bin 0 -> 16647 bytes yudao-ui-app/static/images/empty/history.png | Bin 0 -> 26607 bytes yudao-ui-app/static/images/empty/list.png | Bin 0 -> 17619 bytes yudao-ui-app/static/images/empty/message.png | Bin 0 -> 16362 bytes yudao-ui-app/static/images/empty/news.png | Bin 0 -> 16711 bytes yudao-ui-app/static/images/empty/order.png | Bin 0 -> 16135 bytes yudao-ui-app/static/images/empty/page.png | Bin 0 -> 28220 bytes yudao-ui-app/static/images/empty/permission.png | Bin 0 -> 19627 bytes yudao-ui-app/static/images/empty/search.png | Bin 0 -> 18545 bytes yudao-ui-app/static/images/empty/wifi.png | Bin 0 -> 21381 bytes 16 files changed, 217 insertions(+), 5 deletions(-) create mode 100644 yudao-ui-app/static/images/empty/address.png create mode 100644 yudao-ui-app/static/images/empty/cart.png create mode 100644 yudao-ui-app/static/images/empty/comment.png create mode 100644 yudao-ui-app/static/images/empty/coupon.png create mode 100644 yudao-ui-app/static/images/empty/data.png create mode 100644 yudao-ui-app/static/images/empty/favor.png create mode 100644 yudao-ui-app/static/images/empty/history.png create mode 100644 yudao-ui-app/static/images/empty/list.png create mode 100644 yudao-ui-app/static/images/empty/message.png create mode 100644 yudao-ui-app/static/images/empty/news.png create mode 100644 yudao-ui-app/static/images/empty/order.png create mode 100644 yudao-ui-app/static/images/empty/page.png create mode 100644 yudao-ui-app/static/images/empty/permission.png create mode 100644 yudao-ui-app/static/images/empty/search.png create mode 100644 yudao-ui-app/static/images/empty/wifi.png diff --git a/yudao-ui-app/pages/product/product.vue b/yudao-ui-app/pages/product/product.vue index a5865e8..8729a91 100644 --- a/yudao-ui-app/pages/product/product.vue +++ b/yudao-ui-app/pages/product/product.vue @@ -17,10 +17,92 @@ - - + + + + + + + + 配送 + + + + + + 促销 + + + + + + 促销信息 + + 全场满500减100 + 全场满300减50 + 全场满200减20 + 全场满100减5 + + + + + + + 领券 + + + + + 已选 + + + + + + 评价 + + + + {{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 0000000..1501402 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 0000000..7fda8e8 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 0000000..b24db6a 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 0000000..0037367 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 0000000..8b28751 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 0000000..23d7dfc 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 0000000..b3b6985 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 0000000..77bbb95 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 0000000..033d7b7 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 0000000..ac743d3 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 0000000..4769505 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 0000000..181dc93 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 0000000..8142421 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 0000000..e1e1e49 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 0000000..13cb10a Binary files /dev/null and b/yudao-ui-app/static/images/empty/wifi.png differ -- libgit2 0.21.4