diff --git a/pages/mine/mine.vue b/pages/mine/mine.vue index a8a78c6..c2f1dc6 100644 --- a/pages/mine/mine.vue +++ b/pages/mine/mine.vue @@ -2,6 +2,12 @@ + + + ‹ + 返回首页 + + @@ -119,6 +125,7 @@ function toast(t) { uni.showToast({ title: t, icon: 'none' }); } function go(url) { uni.navigateTo({ url: url }); } + function backHome() { uni.reLaunch({ url: '/YJYF/YJYF' }); } function callService() { uni.makePhoneCall({ phoneNumber: '4000000000' }); } async function load() { @@ -170,6 +177,11 @@ .page { min-height: 100vh; background: #F5F6F8; padding-bottom: 60rpx; } .header { position: relative; padding: 40rpx 32rpx 30rpx; overflow: hidden; background: linear-gradient(160deg, #FFB85C 0%, #F98D25 55%, #ED6F0E 100%); } .deco { position: absolute; width: 320rpx; height: 320rpx; right: -110rpx; top: -130rpx; border-radius: 50%; background: rgba(255,255,255,.14); } + .h-top { position: relative; display: flex; align-items: center; margin-bottom: 16rpx; } + .home-btn { display: flex; align-items: center; height: 54rpx; padding: 0 22rpx 0 16rpx; border-radius: 27rpx; background: rgba(255,255,255,.24); } + .home-btn:active { background: rgba(255,255,255,.38); } + .home-ic { font-size: 34rpx; line-height: 34rpx; color: #fff; margin-top: -4rpx; margin-right: 8rpx; } + .home-tx { font-size: 24rpx; font-weight: 600; color: #fff; } .h-row { position: relative; display: flex; align-items: center; } .avatar { width: 120rpx; height: 120rpx; border-radius: 50%; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; overflow: hidden; } .avatar-img { width: 120rpx; height: 120rpx; }