优化会员信息模块及首页组件,清理冗余图片资源

This commit is contained in:
future
2026-06-07 22:41:55 +08:00
parent be7eabdbb1
commit 51bdf15613
111 changed files with 667 additions and 523 deletions
@@ -13,7 +13,7 @@
<text class="body-report-section__history-link">历史记录</text>
<image
class="body-report-section__link-arrow"
src="/static/images/chevronright3.png"
src="https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/chevronright3.png"
mode="aspectFit"
/>
</view>
@@ -34,7 +34,7 @@
>
<image
class="body-report-section__view-icon"
src="/static/images/filetext.png"
src="https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/filetext.png"
mode="aspectFit"
/>
<text class="body-report-section__view-report">查看报告</text>
@@ -77,7 +77,7 @@
<view class="body-report-section__goal">
<image
class="body-report-section__goal-icon"
src="/static/images/target.png"
src="https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/target.png"
mode="aspectFit"
/>
<text class="body-report-section__goal-text">
@@ -87,7 +87,7 @@
<view class="body-report-section__change">
<image
class="body-report-section__change-icon"
src="/static/images/trendingdown.png"
src="https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/trendingdown.png"
mode="aspectFit"
/>
<text class="body-report-section__metric-value-2">
@@ -13,7 +13,7 @@
<text class="booking-section__view-all">预约记录</text>
<image
class="booking-section__link-arrow"
src="/static/images/chevronright4.png"
src="https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/chevronright4.png"
mode="aspectFit"
/>
</view>
@@ -41,13 +41,13 @@
<view class="booking-section__meta-inner">
<image
class="booking-section__icon-coach"
src="/static/images/user2.png"
src="https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/user2.png"
mode="aspectFit"
/>
<text class="booking-section__coach">教练{{ item.coach }}</text>
<image
class="booking-section__icon-location"
src="/static/images/mappin1.png"
src="https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/mappin1.png"
mode="aspectFit"
/>
<text class="booking-section__text">{{ item.location }}</text>
@@ -13,7 +13,7 @@
<text class="checkin-section__view-all">查看全部</text>
<image
class="checkin-section__link-arrow"
src="/static/images/chevronright2.png"
src="https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/chevronright2.png"
mode="aspectFit"
/>
</view>
@@ -13,7 +13,7 @@
<text class="coupon-section__view-all">更多详情</text>
<image
class="coupon-section__link-arrow"
src="/static/images/chevronright5.png"
src="https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/chevronright5.png"
mode="aspectFit"
/>
</view>
@@ -6,12 +6,12 @@
<view class="profile-header__nav-left">
<image
class="profile-header__icon-bell"
src="/static/images/bell.png"
src="https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/bell.png"
mode="aspectFit"
/>
<image
class="profile-header__icon-settings"
src="/static/images/settings.png"
src="https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/settings.png"
mode="aspectFit"
/>
</view>
@@ -37,7 +37,7 @@
<view class="profile-header__avatar-badge">
<image
class="profile-header__avatar-badge-icon"
src="/static/images/camera.png"
src="https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/camera.png"
mode="aspectFit"
/>
</view>
@@ -49,7 +49,7 @@
<view class="profile-header__badge">
<image
class="profile-header__badge-icon"
src="/static/images/crown0.png"
src="https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/crown0.png"
mode="aspectFit"
/>
<text class="profile-header__level">{{ userInfo.memberLevel }}</text>
@@ -100,7 +100,7 @@ export default {
emits: ['user-info'],
computed: {
displayAvatar() {
return this.userInfo.avatar || '/static/images/AvatarEditWrap.png'
return this.userInfo.avatar || 'https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/AvatarEditWrap.png'
}
},
data() {
@@ -8,7 +8,7 @@
>
<image
class="logout-section__icon"
src="/static/images/logout.png"
src="https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/logout.png"
mode="aspectFit"
/>
<text class="logout-section__text">退出登录</text>
@@ -17,7 +17,7 @@
>
查看全部
</text>
<image class="member-card-section__link-arrow" src="/static/images/chevronright12.png" mode="aspectFit" />
<image class="member-card-section__link-arrow" src="https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/chevronright12.png" mode="aspectFit" />
</view>
</view>
</view>
@@ -46,7 +46,7 @@
class="member-card-preview__icon-stroke"
></view>
</view>
<image class="member-card-preview__icon-line" src="/static/images/Line_2_468.png" mode="aspectFill" />
<image class="member-card-preview__icon-line" src="https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/Line_2_468.png" mode="aspectFill" />
</view>
<text
class="member-card-preview__name"
@@ -101,7 +101,7 @@
<view class="member-card-tip">
<view class="member-card-tip__inner">
<view class="member-card-tip__content">
<image class="member-card-tip__icon" src="/static/images/clock1.png" mode="aspectFit" />
<image class="member-card-tip__icon" src="https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/clock1.png" mode="aspectFit" />
<text
class="member-card-tip__text"
>
@@ -17,12 +17,12 @@
<view v-if="item.key === 'booking'" class="quick-actions__icon">
<image
class="quick-actions__icon-part"
src="/static/images/Vector_2_490.png"
src="https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/Vector_2_490.png"
mode="aspectFit"
/>
<image
class="quick-actions__icon-part"
src="/static/images/Vector_2_491.png"
src="https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/Vector_2_491.png"
mode="aspectFit"
/>
<view class="quick-actions__border-wrap">
@@ -31,12 +31,12 @@
</view>
<image
class="quick-actions__icon-part"
src="/static/images/Vector_2_493.png"
src="https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/Vector_2_493.png"
mode="aspectFit"
/>
<image
class="quick-actions__icon-part"
src="/static/images/Vector_2_494.png"
src="https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/Vector_2_494.png"
mode="aspectFit"
/>
</view>
@@ -94,15 +94,15 @@ export default {
return {
row1: [
{ key: 'booking', label: '预约课程', textClass: 'quick-actions__title', icon: '' },
{ key: 'bodyTest', label: '智能体测', textClass: 'quick-actions__title-2', icon: '/static/images/mappin2.png' },
{ key: 'bodyReport', label: '体测报告', textClass: 'quick-actions__title-3', icon: '/static/images/activity.png' },
{ key: 'trainReport', label: '训练报告', textClass: 'quick-actions__coach', icon: '/static/images/usercheck.png' }
{ key: 'bodyTest', label: '智能体测', textClass: 'quick-actions__title-2', icon: 'https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/mappin2.png' },
{ key: 'bodyReport', label: '体测报告', textClass: 'quick-actions__title-3', icon: 'https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/activity.png' },
{ key: 'trainReport', label: '训练报告', textClass: 'quick-actions__coach', icon: 'https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/usercheck.png' }
],
row2: [
{ key: 'coupon', label: '我的优惠券', textClass: 'quick-actions__text', icon: '/static/images/ticket.png' },
{ key: 'points', label: '我的积分', textClass: 'quick-actions__points-desc', icon: '/static/images/star.png' },
{ key: 'referral', label: '邀请好友', textClass: 'quick-actions__title-4', icon: '/static/images/share2.png' },
{ key: 'course', label: '我的课程', textClass: 'quick-actions__text-2', icon: '/static/images/play.png' }
{ key: 'coupon', label: '我的优惠券', textClass: 'quick-actions__text', icon: 'https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/ticket.png' },
{ key: 'points', label: '我的积分', textClass: 'quick-actions__points-desc', icon: 'https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/star.png' },
{ key: 'referral', label: '邀请好友', textClass: 'quick-actions__title-4', icon: 'https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/share2.png' },
{ key: 'course', label: '我的课程', textClass: 'quick-actions__text-2', icon: 'https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/play.png' }
]
}
}
@@ -12,7 +12,7 @@
<text class="referral-section__records-link">规则说明</text>
<image
class="referral-section__link-arrow"
src="/static/images/chevronright11.png"
src="https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/chevronright11.png"
mode="aspectFit"
/>
</view>
@@ -43,7 +43,7 @@
</text>
<image
class="settings-section__item-arrow"
src="/static/images/chevronright10.png"
src="https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/chevronright10.png"
mode="aspectFit"
/>
</view>
@@ -68,32 +68,32 @@ export default {
{
key: 'notify',
label: '通知设置',
icon: '/static/images/bell.png',
icon: 'https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/bell.png',
iconWrapClass: ''
},
{
key: 'password',
label: '修改密码',
icon: '/static/images/Vector_2_727.png',
icon: 'https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/Vector_2_727.png',
iconWrapClass: 'settings-section__item-icon-wrap--blue'
},
{
key: 'privacy',
label: '隐私政策',
icon: '/static/images/shield.png',
icon: 'https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/shield.png',
iconWrapClass: 'settings-section__item-icon-wrap--green'
},
{
key: 'nfc',
label: 'NFC 门禁卡',
subtitle: '已绑定',
icon: '/static/images/ticket.png',
icon: 'https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/ticket.png',
iconWrapClass: ''
},
{
key: 'delete',
label: '注销账户',
icon: '/static/images/userx.png',
icon: 'https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/userx.png',
iconWrapClass: 'settings-section__item-icon-wrap--red',
labelClass: 'settings-section__item-label--danger'
}
@@ -5,7 +5,7 @@
<view class="sub-nav__back" @tap.stop="$emit('back')">
<image
class="sub-nav__back-icon"
src="/static/images/chevronleft.png"
src="https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/chevronleft.png"
mode="aspectFit"
/>
</view>