From 79527573940d9f27514995073915e0809910ee52 Mon Sep 17 00:00:00 2001 From: liuye Date: Thu, 18 Jul 2024 15:06:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=85=E6=B0=91=E4=B8=8A=E6=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../weiyang/AppPhotoReport/AppPhotoReport.vue | 93 ++++++---- .../weiyang/AppPhotoReport/PhotoDetail.vue | 159 ++++++++++++------ .../weiyang/AppPhotoReport/PhotoForm.vue | 80 ++++++--- .../weiyang/AppPhotoReport/PhotoResult.vue | 25 ++- 4 files changed, 240 insertions(+), 117 deletions(-) diff --git a/src/project/weiyang/AppPhotoReport/AppPhotoReport.vue b/src/project/weiyang/AppPhotoReport/AppPhotoReport.vue index 8fb84b2..871108a 100644 --- a/src/project/weiyang/AppPhotoReport/AppPhotoReport.vue +++ b/src/project/weiyang/AppPhotoReport/AppPhotoReport.vue @@ -27,7 +27,7 @@ {{ item.statusName }} - +
去评价
已评价
@@ -36,8 +36,11 @@ -
+ +
@@ -133,50 +136,46 @@ export default { } } + .photo-list__wrapper { + padding: 16px 0 252px 0; + } + .photo-item { - width: 686px; - margin: 0 32px 24px; - background: #FFFFFF; - box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.02); - border-radius: 16px; - overflow: hidden; + width: calc(100% - 64px); + margin: 0 0 32px 32px; .photo-item__top { - padding: 32px; + padding: 32px 32px 24px 32px; text-align: justify; h2 { - margin-bottom: 32px; - line-height: 1.4; - color: #333333; + width: 100%; + line-height: 44px; + font-family: PingFangSC-Medium; + font-weight: 500; font-size: 32px; - font-weight: 600; + color: #333; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; + margin-bottom: 24px; } .photo-item__top--info-item { - // display: flex; - // align-items: center; - - &:last-child { - margin-bottom: 8px; - } + line-height: 40px; + font-family: PingFangSC-Regular; + font-size: 28px; + margin-bottom: 8px; label { display: inline-block; - margin-right: 32px; - color: #999999; - font-size: 26px; + margin-right: 24px; + color: #999; } - span { - display: inline-block; - color: #333333; - font-size: 26px; + color: #333; } } } @@ -187,22 +186,23 @@ export default { height: 104px; padding: 0 32px; border-top: 1px solid #DDDDDD; - + font-family: PingFangSC-Regular; + font-size: 24px; + line-height: 40px; i { - width: 8px; - height: 8px; - margin-right: 8px; + display: inline-block; + width: 16px; + height: 16px; + margin-right: 16px; border-radius: 50%; background: #FF883C; } .itemBtn { border: 1px solid #4181FF; - border-radius: 8px; + border-radius: 4px; color: #4181FF; - padding: 8px 22px; - - + padding: 8px 24px; } .finish { @@ -232,5 +232,30 @@ export default { } } } + + ::v-deep .u-swipe-action { + border-radius: 16px; + } + + .footer { + width: 100%; + position: fixed; + bottom: 0; + left: 0; + background-color: #F4F5FA; + padding: 64px 64px 68px 64px; + z-index: 9; + .btn { + width: calc(100% - 128px); + line-height: 88px; + background: #026AF2; + border-radius: 44px; + font-family: PingFangSC-Medium; + font-weight: 500; + font-size: 34px; + color: #FFF; + text-align: center; + } + } } diff --git a/src/project/weiyang/AppPhotoReport/PhotoDetail.vue b/src/project/weiyang/AppPhotoReport/PhotoDetail.vue index b13058a..4f3ccef 100644 --- a/src/project/weiyang/AppPhotoReport/PhotoDetail.vue +++ b/src/project/weiyang/AppPhotoReport/PhotoDetail.vue @@ -1,26 +1,26 @@ @@ -154,9 +159,9 @@ export default { diff --git a/src/project/weiyang/AppPhotoReport/PhotoForm.vue b/src/project/weiyang/AppPhotoReport/PhotoForm.vue index 920d96e..4b2243f 100644 --- a/src/project/weiyang/AppPhotoReport/PhotoForm.vue +++ b/src/project/weiyang/AppPhotoReport/PhotoForm.vue @@ -1,6 +1,6 @@