af-mobile-client-vue3 1.3.77 → 1.3.78

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -329,14 +329,18 @@ watch(() => props.visible, (newVal) => {
329
329
  .van-field__label {
330
330
  color: #333;
331
331
  font-weight: 500;
332
+ display: flex;
333
+ align-items: center;
332
334
  }
333
335
 
334
336
  .van-field__control {
335
337
  color: #333;
338
+ padding-right: 40px;
336
339
  }
337
340
 
338
341
  .van-field__right-icon {
339
- padding: 4px;
342
+ padding: 8px;
343
+ min-width: 32px;
340
344
  }
341
345
  }
342
346
 
@@ -3,7 +3,8 @@ import type { PhoneLocationStatus } from '@af-mobile-client-vue3/components/data
3
3
  import useSettingStore from '@af-mobile-client-vue3/stores/modules/setting'
4
4
  import useUserStore from '@af-mobile-client-vue3/stores/modules/user'
5
5
  import { mobileUtil } from '@af-mobile-client-vue3/utils/mobileUtil'
6
- import { Dialog as vanDialog, Icon as vanIcon } from 'vant'
6
+ import { Dialog as vanDialog, Icon as vanIcon, Sticky as VanSticky,
7
+ } from 'vant'
7
8
  import { computed, onMounted, onUnmounted, ref } from 'vue'
8
9
  import { useRouter } from 'vue-router'
9
10
  import ModifyPassword from './comm/ModifyPassword.vue'
@@ -155,16 +156,18 @@ const webMobileConfig = useSettingStore().getSetting()
155
156
  <template>
156
157
  <main class="my_main">
157
158
  <!-- 顶部导航栏 -->
158
- <nav class="header_nav">
159
- <div class="header_content">
160
- <h1 class="main_title">
161
- 我的
162
- </h1>
163
- <!-- <div class="setting_section"> -->
164
- <!-- <van-icon name="setting-o" class="setting-icon" /> -->
165
- <!-- </div> -->
166
- </div>
167
- </nav>
159
+ <VanSticky :offset-top="0">
160
+ <nav class="header_nav">
161
+ <div class="header_content">
162
+ <h1 class="main_title">
163
+ 我的
164
+ </h1>
165
+ <!-- <div class="setting_section"> -->
166
+ <!-- <van-icon name="setting-o" class="setting-icon" /> -->
167
+ <!-- </div> -->
168
+ </div>
169
+ </nav>
170
+ </VanSticky>
168
171
 
169
172
  <!-- 主要内容区域 -->
170
173
  <div class="content">
@@ -276,7 +279,6 @@ const webMobileConfig = useSettingStore().getSetting()
276
279
 
277
280
  <style scoped lang="less">
278
281
  .my_main {
279
- min-height: 100vh;
280
282
  background-color: #f7f8fa;
281
283
 
282
284
  // 顶部导航栏
@@ -313,7 +313,7 @@ async function submitRegistration(): Promise<void> {
313
313
  if (response.success) {
314
314
  showSuccess.value = true
315
315
  showSuccessToast('注册成功')
316
- }
316
+ }
317
317
  else {
318
318
  showSuccessToast(`注册失败,${response.msg}!`)
319
319
  }