From 201354dd14fbcabe592ac72a4b4478f70efc088a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=8E=AB=E5=94=90=E5=B0=BC?= Date: Tue, 8 Sep 2026 22:08:23 +0800 Subject: [PATCH] =?UTF-8?q?refactor(love-module):=20=E9=87=8D=E6=9E=84?= =?UTF-8?q?=E6=81=8B=E7=88=B1=E6=A8=A1=E5=9D=97=E9=A1=B5=E9=9D=A2=E4=B8=8E?= =?UTF-8?q?=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 统一主题色小写格式,新增恋爱页面渐变背景类 2. 替换旧版相册解锁弹窗为新版弹窗组件 3. 重构相册查看器样式与布局,适配新的玻璃态弹窗 4. 优化恋爱相册与故事页面的UI布局、样式与交互 5. 新增回顶按钮的样式适配,统一使用love主题色 --- .../uh-album-photo-viewer.vue | 283 ++++----- .../uh-album-unlock-modal.vue | 193 ------ .../uh-album-unlock-popup.vue | 188 ++++++ .../uh-scroll-top/uh-scroll-top.vue | 20 +- src/pages-blog/love/album.vue | 484 ++++++++------- src/pages-blog/love/list.vue | 557 ++++++++++++------ src/pages-blog/love/stories.vue | 534 +++++++++-------- src/style/index.scss | 17 +- 8 files changed, 1235 insertions(+), 1041 deletions(-) delete mode 100644 src/components/uh-album-unlock-modal/uh-album-unlock-modal.vue create mode 100644 src/components/uh-album-unlock-popup/uh-album-unlock-popup.vue diff --git a/src/components/uh-album-photo-viewer/uh-album-photo-viewer.vue b/src/components/uh-album-photo-viewer/uh-album-photo-viewer.vue index 70e887a..f20d136 100644 --- a/src/components/uh-album-photo-viewer/uh-album-photo-viewer.vue +++ b/src/components/uh-album-photo-viewer/uh-album-photo-viewer.vue @@ -1,156 +1,159 @@ + + + + 关闭 + + + + + \ No newline at end of file diff --git a/src/components/uh-album-unlock-modal/uh-album-unlock-modal.vue b/src/components/uh-album-unlock-modal/uh-album-unlock-modal.vue deleted file mode 100644 index 26b58dc..0000000 --- a/src/components/uh-album-unlock-modal/uh-album-unlock-modal.vue +++ /dev/null @@ -1,193 +0,0 @@ - - - - - diff --git a/src/components/uh-album-unlock-popup/uh-album-unlock-popup.vue b/src/components/uh-album-unlock-popup/uh-album-unlock-popup.vue new file mode 100644 index 0000000..d56dfca --- /dev/null +++ b/src/components/uh-album-unlock-popup/uh-album-unlock-popup.vue @@ -0,0 +1,188 @@ + + + \ No newline at end of file diff --git a/src/components/uh-scroll-top/uh-scroll-top.vue b/src/components/uh-scroll-top/uh-scroll-top.vue index 8f9a8f6..4d4e017 100644 --- a/src/components/uh-scroll-top/uh-scroll-top.vue +++ b/src/components/uh-scroll-top/uh-scroll-top.vue @@ -1,11 +1,10 @@ \ No newline at end of file diff --git a/src/pages-blog/love/album.vue b/src/pages-blog/love/album.vue index 1dcc4a5..4316c02 100644 --- a/src/pages-blog/love/album.vue +++ b/src/pages-blog/love/album.vue @@ -1,278 +1,264 @@ + .app-page { + background: linear-gradient(-135deg, rgb(247 149 51 / 10%), rgb(243 112 85 / 10%) 15%, rgb(239 78 123 / 10%) 30%, rgb(161 102 171 / 10%) 44%, rgb(80 115 184 / 10%) 58%, rgb(16 152 173 / 10%) 72%, rgb(7 179 155 / 10%) 86%, rgb(109 186 130 / 10%)); + } + \ No newline at end of file diff --git a/src/pages-blog/love/list.vue b/src/pages-blog/love/list.vue index 4a95e95..752e494 100644 --- a/src/pages-blog/love/list.vue +++ b/src/pages-blog/love/list.vue @@ -1,212 +1,387 @@ + + + + 看看我们的恋爱清单都完成了哪些吧 + + + + + + {{ index + 1 }} + + + + {{ item.title }} + + + 完成状态:{{ getCardStatusText(item) }} + + + + + + + + + + 计划内容 + + + {{ item.content || '-' }} + + + + + 计划时间 + + + {{ item.planDate || '-' }} + + + + + 完成时间 + + + {{ item.completeDate || '-' }} + + + + + 完成感想 + + + {{ item.completeRemark || '-' }} + + + + + 回忆图片 + + + + + + + + + + + + + - + + + + + + + + + {{ filterPopup.item.label }} + + + + {{ opt.label }} + + + + + + + + \ No newline at end of file diff --git a/src/pages-blog/love/stories.vue b/src/pages-blog/love/stories.vue index ded70b8..a5f4e68 100644 --- a/src/pages-blog/love/stories.vue +++ b/src/pages-blog/love/stories.vue @@ -1,282 +1,300 @@ - + \ No newline at end of file diff --git a/src/style/index.scss b/src/style/index.scss index e1f198e..db569cb 100644 --- a/src/style/index.scss +++ b/src/style/index.scss @@ -7,10 +7,10 @@ :root, page { // 修改按主题色 - --wot-color-theme: #B9E424; + --wot-color-theme: #b9e424; // 修改按钮背景色 - --wot-button-primary-bg-color: #B9E424; + --wot-button-primary-bg-color: #b9e424; } .uh-global-page { @@ -34,6 +34,19 @@ page { box-shadow: inset 0 1rpx 0 rgb(255 255 255 / 75%), 0 8rpx 32rpx rgb(90 105 200 / 7%); } +.uh-global-love-page { + background: linear-gradient( + 135deg, + rgb(247 149 51 / 10%), + rgb(243 112 85 / 10%) 15%, + rgb(239 78 123 / 10%) 30%, + rgb(161 102 171 / 10%) 44%, + rgb(80 115 184 / 10%) 58%, + rgb(16 152 173 / 10%) 72%, + rgb(7 179 155 / 10%) 86%, + rgb(109 186 130 / 10%) + ); +} /* border-t-1 由于uniapp中无法使用*选择器,使用魔法代替*,加上此规则可以简化border与divide的使用,并提升布局的兼容性