From 77a1343963a1f24c9e0138aa06d171d68cbbb9d3 Mon Sep 17 00:00:00 2001 From: ltlzx <942659938@qq.com> Date: Fri, 17 Jun 2022 18:11:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=B4=AD=E7=89=A9=E8=BD=A6?= =?UTF-8?q?=E5=92=8C=E5=95=86=E5=93=81=E5=88=97=E8=A1=A8=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 6 +- common/common.scss | 97 ++++++++--- common/scss/order.scss | 71 +------- pages.json | 16 +- pages/account/pointsDetails.vue | 26 ++- pages/category/index.vue | 7 +- pages/category/productList.vue | 297 ++++++++++++++++++++++++++++++++ pages/order/details.vue | 2 +- pages/order/refundDetails.vue | 1 + pages/shippingCart/index.vue | 278 ++++++++++++++++++++++++++++++ static/img/bottom1.png | Bin 0 -> 604 bytes static/img/cart3.png | Bin 0 -> 7674 bytes static/img/delete1.png | Bin 0 -> 1211 bytes static/img/delete2.png | Bin 0 -> 1692 bytes static/img/pets_nav.png | Bin 0 -> 1075 bytes static/img/pets_nav1.png | Bin 0 -> 2635 bytes static/img/seach1.png | Bin 0 -> 1717 bytes static/img/top.png | Bin 0 -> 540 bytes 18 files changed, 685 insertions(+), 116 deletions(-) create mode 100644 pages/category/productList.vue create mode 100644 pages/shippingCart/index.vue create mode 100644 static/img/bottom1.png create mode 100644 static/img/cart3.png create mode 100644 static/img/delete1.png create mode 100644 static/img/delete2.png create mode 100644 static/img/pets_nav.png create mode 100644 static/img/pets_nav1.png create mode 100644 static/img/seach1.png create mode 100644 static/img/top.png diff --git a/App.vue b/App.vue index d06ff34..8187f76 100644 --- a/App.vue +++ b/App.vue @@ -1,13 +1,13 @@ diff --git a/common/common.scss b/common/common.scss index 7efe9e0..a575b86 100644 --- a/common/common.scss +++ b/common/common.scss @@ -3,30 +3,6 @@ width: 100%; } -// 导航栏 -.nav_title{ - position: fixed; - z-index: 99; - top: 0; - width: 100%; - background-color: white; - &::after{ - content: ""; - background-color: #F6F5FA; - height: 14.67rpx; - width: 100%; - position: absolute; - bottom: -14.67rpx; - } - .uni-navbar{ - font-size: 32rpx; - font-weight: bold; - } - -} -.nav_body{ - padding-top: 100rpx + var(--status-bar-height); -} //地址信息 .address{ @@ -395,4 +371,75 @@ margin: 0 4px; } } - } \ No newline at end of file + } + + // 商品展示 +.good_info{ + padding: 40rpx 0; + font-size: 22.67rpx; + color: #666666; + font-weight: bold; + border-bottom: 2.67rpx solid #F1F1F1; + &:last-child{ + border-bottom: none; + } + .good_info_left{ + display: flex; + align-items: center; + .good_info_image{ + width: 200rpx ; + height: 200rpx; + background-color: #999999; + margin-right: 32.67rpx; + } + .left_info{ + + .info_name{ + font-size: 26.67rpx; + font-weight: 400; + width: 461.33rpx; + } + .left_info_bottom{ + display: flex; + align-items: center; + justify-content: space-between; + font-size: 32rpx; + color: #909090; + margin-top: 24rpx; + .info_lable{ + padding: 5.33rpx 20rpx; + font-size: 22.67rpx; + border-radius: 33.33rpx; + border: 1px solid #D3D3D3; + image{ + width: 17.33rpx; + height: 17.33rpx; + margin-left: 14.67rpx; + } + } + } + .info_price{ + font-size: 28rpx; + color: black; + font-weight: bold; + margin-top: 43.33rpx; + display: flex; + align-items: center; + justify-content: space-between; + + button{ + margin: 0; + height: 45.33rpx; + line-height: 45.33rpx; + border: #999999 solid 1px; + font-size: 17.33rpx; + color: #999999; + background: none; + &::after{ + content: none; + } + } + } + } + } +} \ No newline at end of file diff --git a/common/scss/order.scss b/common/scss/order.scss index fc9a282..a58442c 100644 --- a/common/scss/order.scss +++ b/common/scss/order.scss @@ -1,76 +1,7 @@ .order_popup_commodity{ padding:0 26rpx; - .good_info{ - padding: 40rpx 0; - font-size: 22.67rpx; - color: #666666; - font-weight: bold; - border-bottom: 2.67rpx solid #F1F1F1; - &:last-child{ - border-bottom: none; - } - .good_info_left{ - display: flex; - align-items: center; - width: 100%; - .good_info_image{ - width: 200rpx ; - height: 200rpx; - background-color: #999999; - margin-right: 32.67rpx; - } - .left_info{ - - .info_name{ - font-size: 26.67rpx; - font-weight: 400; - width: 461.33rpx; - } - .left_info_bottom{ - display: flex; - align-items: center; - justify-content: space-between; - font-size: 32rpx; - color: #909090; - margin-top: 24rpx; - .info_lable{ - padding: 5.33rpx 20rpx; - font-size: 22.67rpx; - border-radius: 33.33rpx; - border: 1px solid #D3D3D3; - image{ - width: 17.33rpx; - height: 17.33rpx; - margin-left: 14.67rpx; - } - } - } - .info_price{ - font-size: 28rpx; - color: black; - font-weight: bold; - margin-top: 43.33rpx; - display: flex; - align-items: center; - justify-content: space-between; - - button{ - margin: 0; - height: 45.33rpx; - line-height: 45.33rpx; - border: #999999 solid 1px; - font-size: 17.33rpx; - color: #999999; - background: none; - &::after{ - content: none; - } - } - } - } - } - } + } diff --git a/pages.json b/pages.json index 802d5bf..7bd4e60 100644 --- a/pages.json +++ b/pages.json @@ -173,6 +173,18 @@ "navigationBarTitleText": "Refund Details", "navigationBarBackgroundColor":"#FFFFFF" } + }, + { + "path": "pages/category/productList", + "style": { + "titleNView":false + } + }, + { + "path": "pages/shippingCart/index", + "style": { + "titleNView":false + } } ], "globalStyle": { @@ -206,9 +218,9 @@ "text": "Category" }, { - "pagePath": "pages/tabbar/tabbar-4/tabbar-4", + "pagePath": "pages/shippingCart/index", "iconPath": "static/img/Cart.png", - "selectedIconPath": "static/img/Cart1.png", + "selectedIconPath": "static/img/cart1.png", "text": "Cart" }, { diff --git a/pages/account/pointsDetails.vue b/pages/account/pointsDetails.vue index d22ca1a..fa816dd 100644 --- a/pages/account/pointsDetails.vue +++ b/pages/account/pointsDetails.vue @@ -1,20 +1,13 @@