From 3af68d968c4f422fea63649ef050db35bcdcd91e Mon Sep 17 00:00:00 2001 From: kron Date: Mon, 27 Oct 2025 14:40:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=BC=96=E8=BE=91=E5=A4=B4?= =?UTF-8?q?=E5=83=8F=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/point-book-profile.vue | 60 +++++++++++++++++++++++++++++++- 1 file changed, 59 insertions(+), 1 deletion(-) diff --git a/src/pages/point-book-profile.vue b/src/pages/point-book-profile.vue index b582efb..fdfb7af 100644 --- a/src/pages/point-book-profile.vue +++ b/src/pages/point-book-profile.vue @@ -7,6 +7,8 @@ import { storeToRefs } from "pinia"; const store = useStore(); const { user } = storeToRefs(store); +const editAvatar = ref(false); + const toEditPage = () => { uni.navigateTo({ url: "/pages/point-book-edit", @@ -18,7 +20,7 @@ const toEditPage = () => { - @@ -46,6 +48,23 @@ const toEditPage = () => { shelingxingqiu@163.com + + + + + + + @@ -134,4 +153,43 @@ const toEditPage = () => { .body > view:last-child > text:last-child { color: $uni-link-color; } +.edit-avatar { + position: fixed; + top: 0; + right: 0; + width: 100vw; + background: rgba(0, 0, 0, 0.7); + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + overflow: hidden; +} +.edit-avatar > image { + width: 85vw; + height: 85vw; + border-radius: 50%; +} +.edit-avatar > view { + border-radius: 25rpx; + margin-top: 100rpx; + width: calc(100% - 150rpx); + padding: 0 40rpx; + background: #585858; +} +.edit-avatar > view > button { + display: flex; + align-items: center; + justify-content: space-between; + font-size: 30rpx; + color: #ffffff; + padding: 40rpx 0; +} +.edit-avatar > view > button:not(:last-child) { + border-bottom: 1rpx solid #fff3; + border-radius: 0; +} +.edit-avatar > view > button > image { + width: 28rpx; +}