fix: 我的页外层包裹改template去除双重间距
This commit is contained in:
parent
c03a7709c8
commit
79bc0860cb
@ -86,7 +86,7 @@ function editProfile() {
|
||||
/>
|
||||
|
||||
<!-- ============ 移动端我的 ============ -->
|
||||
<div v-else-if="isMobile && d" class="profile-mobile">
|
||||
<template v-else-if="isMobile && d">
|
||||
<header class="profile-mobile__head">
|
||||
<h1>我的</h1>
|
||||
</header>
|
||||
@ -165,10 +165,10 @@ function editProfile() {
|
||||
<p class="profile-tip__text">{{ weakTip }}</p>
|
||||
</div>
|
||||
</AppCard>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<!-- ============ 桌面端我的 ============ -->
|
||||
<div v-else-if="d" class="profile-desktop">
|
||||
<template v-else-if="d">
|
||||
<AppPageHeader title="我的" subtitle="管理个人资料与备考偏好" sticky-mobile>
|
||||
<AppButton variant="secondary" @click="editProfile">
|
||||
<AppIcon name="user" :size="16" />编辑资料
|
||||
@ -243,7 +243,7 @@ function editProfile() {
|
||||
</div>
|
||||
<RouterLink class="tip-banner__action" to="/plan/review">去加强</RouterLink>
|
||||
</AppStack>
|
||||
</div>
|
||||
</template>
|
||||
</AppStack>
|
||||
</template>
|
||||
|
||||
@ -433,11 +433,6 @@ function editProfile() {
|
||||
}
|
||||
|
||||
/* 移动端 */
|
||||
.profile-mobile {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
.profile-mobile__head h1 {
|
||||
margin: 0;
|
||||
font-size: 22px;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user