From 0ee6f4f8db5dc4665dc1bf7274cd2979294c7ee6 Mon Sep 17 00:00:00 2001
From: yangsanTT <812952667@qq.com>
Date: Tue, 3 Aug 2021 22:28:53 +0800
Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages.json | 9 +-
pages/tabBar/category/category.vue | 165 +++++++++++++++++----
pages/user/order_details/order_details.vue | 29 ++--
static/css/login.scss | 1 +
uni.scss | 8 +-
5 files changed, 167 insertions(+), 45 deletions(-)
diff --git a/pages.json b/pages.json
index 72ff2aa..4f06a08 100644
--- a/pages.json
+++ b/pages.json
@@ -3,7 +3,8 @@
{
"path": "pages/tabBar/home/home",
"style": {
- "navigationBarTextStyle": "black",
+ "navigationBarTextStyle": "white",
+ "navigationBarTitleText": "首页",
"navigationBarBackgroundColor": "#0083f5",
"backgroundColorTop": "#0083f5",
"navigationBarTextStyle": "white",
@@ -95,7 +96,8 @@
{
"path": "pages/tabBar/category/category",
"style": {
- "navigationBarTextStyle": "black",
+ "navigationBarTextStyle": "white",
+ "navigationBarTitleText": "分类",
"navigationBarBackgroundColor": "#0083f5",
"backgroundColorTop": "#0083f5",
"navigationBarTextStyle": "white",
@@ -129,6 +131,7 @@
"path": "pages/tabBar/user/user",
"style": {
"enablePullDownRefresh": true,
+ "navigationBarTitleText": "我的",
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#0083f5",
"backgroundColorTop": "#0083f5",
@@ -454,7 +457,7 @@
"pagePath": "pages/tabBar/category/category",
"iconPath": "static/img/tabBar/category.png",
"selectedIconPath": "static/img/tabBar/category-on.png",
- "text": "导航"
+ "text": "分类"
},
// {
// "pagePath": "pages/tabBar/cart/cart",
diff --git a/pages/tabBar/category/category.vue b/pages/tabBar/category/category.vue
index ef736fa..804f17f 100644
--- a/pages/tabBar/category/category.vue
+++ b/pages/tabBar/category/category.vue
@@ -3,9 +3,10 @@
-
-
-
-
+ -->
+
+
+ 筛选门店
+
+
+ {{item.merchantName}}
+
+
+
+
diff --git a/pages/user/order_details/order_details.vue b/pages/user/order_details/order_details.vue
index a1bd4b6..728590e 100644
--- a/pages/user/order_details/order_details.vue
+++ b/pages/user/order_details/order_details.vue
@@ -20,7 +20,7 @@
{{rec.goodsName}}
- {{rec.goodsSpecName}}
+ 规格: {{rec.goodsSpecName}}
赠品
¥{{rec.goodsActualPrice}}
-->
-
@@ -248,7 +249,7 @@
orderId: '',
imageUrl: app.globalData.imgUrl,
imagewxUrl: app.globalData.imageWxImg,
- imgadres1:'dhf.png',
+ imgadres1: 'dhf.png',
};
},
@@ -529,7 +530,6 @@
.spec {
font-size: 22upx;
- background-color: #f3f3f3;
color: #a7a7a7;
height: 40upx;
display: flex;
@@ -544,6 +544,7 @@
background-color: red;
color: #FFFFFF;
height: 40upx;
+ line-height: 40rpx;
display: flex;
align-items: center;
padding: 0 15upx;
@@ -587,7 +588,9 @@
.row {
margin: 20upx 0;
- height: 40upx;
+ height: 80rpx;
+ line-height: 80rpx;
+ border-bottom: 1px solid #f4f4f4;
display: flex;
.left {
@@ -632,24 +635,26 @@
align-items: center;
.sum {
+ color: #FE1A1A;
width: 50%;
font-size: 28upx;
margin-right: 10upx;
display: flex;
- justify-content: flex-end;
+ height: 26px;
+ line-height: 26px;
+ justify-content: flex-start;
.money {
+ font-size: 20px;
font-weight: 600;
}
}
.btn {
padding: 0 20upx;
- height: 60upx;
- width: 20%;
+ height: 70rpx;
+ width: 25%;
margin-left: 10px;
- background-color: #0083f5;
- color: #fff;
display: flex;
justify-content: center;
align-items: center;
diff --git a/static/css/login.scss b/static/css/login.scss
index 5de195a..780c156 100644
--- a/static/css/login.scss
+++ b/static/css/login.scss
@@ -6,6 +6,7 @@ page {
color:#ffffff;
}
.logo {
+ background-color: #0083F5;
width: 100%;
height: 45vw;
display: flex;
diff --git a/uni.scss b/uni.scss
index 52ece5f..171b8cb 100644
--- a/uni.scss
+++ b/uni.scss
@@ -395,6 +395,10 @@ $uni-font-size-paragraph:30upx;
line-height: 40px;
}
+.height45l {
+ height: 45px;
+ line-height: 45px;
+}
.heightl60 {
height: 60px;
@@ -516,7 +520,9 @@ $uni-font-size-paragraph:30upx;
.paddtop15 {
padding-top: 15px;
}
-
+.paddtop20 {
+ padding-top: 20px;
+}
.paddtop25 {
padding-top: 25px;