From 6283842089a4586b379ab91f46401e713e14fd2a Mon Sep 17 00:00:00 2001 From: kk_888 <1422704179@qq.com> Date: Wed, 22 Dec 2021 14:14:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=91=E7=94=9F=E6=80=817?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 7 ++ pages/demandHall/projectDetail/index.vue | 17 ++- pages/home/activityCenter/index.vue | 145 +++++++++++++++++++++++ pages/home/index.vue | 44 ++++--- static/images/center-img.png | Bin 0 -> 333882 bytes 5 files changed, 190 insertions(+), 23 deletions(-) create mode 100644 pages/home/activityCenter/index.vue create mode 100644 static/images/center-img.png diff --git a/pages.json b/pages.json index 16542d8..20477bf 100644 --- a/pages.json +++ b/pages.json @@ -18,6 +18,13 @@ "enablePullDownRefresh": true } }, + { + "path": "pages/home/activityCenter/index", + "style": { + "navigationStyle": "custom", + "enablePullDownRefresh": true + } + }, { "path": "pages/user/index", "style": { diff --git a/pages/demandHall/projectDetail/index.vue b/pages/demandHall/projectDetail/index.vue index 4c73d11..6f79c64 100644 --- a/pages/demandHall/projectDetail/index.vue +++ b/pages/demandHall/projectDetail/index.vue @@ -50,7 +50,7 @@ - + 蜂蜜供应商 优质的供应源,多元化的土地sssssssssssss @@ -247,21 +247,25 @@ color: #FFFFFF; text-align: center; } - + .recommend-box .title{ + margin-left: 32rpx; + } .recommend-box { width: 750rpx; height: 528rpx; background: #FFFFFF; margin: 32rpx 0; - padding: 24rpx 0 0 32rpx; + // padding: 24rpx 0 0 32rpx; + padding: 24rpx 0 0 0rpx; } - + .update-box { width: 670rpx; height: 48rpx; color: #FF6D31; font-size: 24rpx; margin-bottom: 26rpx; + margin-left: 32rpx; } .update-icon{ width: 118rpx; @@ -281,8 +285,9 @@ } .scroll-view_H{ width: 100%; - height: 338rpx; + height: 345rpx; white-space: nowrap; + padding-left: 22rpx; } .recommend-list{ width: 392rpx; @@ -291,8 +296,8 @@ border-radius: 12rpx; font-size: 24rpx; color: #707070; - margin-right: 32rpx; display: inline-block; + margin: 0 22rpx 0 10rpx; } .recommend-list image{ width: 392rpx; diff --git a/pages/home/activityCenter/index.vue b/pages/home/activityCenter/index.vue new file mode 100644 index 0000000..6cd7306 --- /dev/null +++ b/pages/home/activityCenter/index.vue @@ -0,0 +1,145 @@ + + + + + diff --git a/pages/home/index.vue b/pages/home/index.vue index 9af1613..d4fb918 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -1,7 +1,7 @@