hookehuyr

选择幼儿园页面新增快捷方式组件

...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 * @Author: hookehuyr hookehuyr@gmail.com 2 * @Author: hookehuyr hookehuyr@gmail.com
3 * @Date: 2022-04-21 11:21:39 3 * @Date: 2022-04-21 11:21:39
4 * @LastEditors: hookehuyr hookehuyr@gmail.com 4 * @LastEditors: hookehuyr hookehuyr@gmail.com
5 - * @LastEditTime: 2022-06-14 17:43:46 5 + * @LastEditTime: 2024-11-13 16:05:44
6 * @FilePath: /tswj/src/views/client/chooseSchool.vue 6 * @FilePath: /tswj/src/views/client/chooseSchool.vue
7 * @Description: 选择学校列表 7 * @Description: 选择学校列表
8 --> 8 -->
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
14 <ranking-item :item="item" :index-key="key" /> 14 <ranking-item :item="item" :index-key="key" />
15 </template> 15 </template>
16 </div> 16 </div>
17 + <shortcut-fixed :type="USER_ROLE.CLIENT" :item="[]" :custom-style="customStyle" />
17 </div> 18 </div>
18 </template> 19 </template>
19 20
...@@ -24,6 +25,7 @@ import { killPages } from '@/hooks/useKeepAlive' ...@@ -24,6 +25,7 @@ import { killPages } from '@/hooks/useKeepAlive'
24 import { onMounted } from 'vue'; 25 import { onMounted } from 'vue';
25 import { sharePage } from '@/composables/useShare.js' 26 import { sharePage } from '@/composables/useShare.js'
26 import { useRoute } from 'vue-router' 27 import { useRoute } from 'vue-router'
28 +import { USER_ROLE } from '@/constant'
27 29
28 // const go = useGo() 30 // const go = useGo()
29 // 删除所有的 keep-alive 缓存 31 // 删除所有的 keep-alive 缓存
...@@ -34,6 +36,10 @@ onMounted(() => { ...@@ -34,6 +36,10 @@ onMounted(() => {
34 // TAG:微信分享 36 // TAG:微信分享
35 sharePage({}); 37 sharePage({});
36 }) 38 })
39 +
40 +const customStyle = {
41 + bottom: '5rem'
42 +}
37 </script> 43 </script>
38 44
39 <script> 45 <script>
......