Browse Source

style: 🎨 修改字体大小

test
姜鑫 2 years ago
parent
commit
3c3e3c08ce
  1. 9
      src/App.vue
  2. 2
      src/components/ScrollList/ScrollList.vue

9
src/App.vue

@ -39,7 +39,7 @@ onMounted(() => {
_getCustomerList()
timer = setInterval(() => {
_getCustomerList()
scrollList.value.scroll()
scrollList.value?.scroll()
}, 1000 * 60)
})
onBeforeUnmount(() => {
@ -47,7 +47,7 @@ onBeforeUnmount(() => {
})
function back() {
scrollList.value.scroll()
scrollList.value?.scroll()
}
</script>
@ -61,4 +61,9 @@ body,
#app {
background: #000;
}
.text-24 p,
.text-24 div,
.text-24 span {
font-size: 24px !important;
}
</style>

2
src/components/ScrollList/ScrollList.vue

@ -27,7 +27,7 @@
</template>
<script setup lang="ts">
import { shallowRef, computed, onMounted, onBeforeUnmount } from 'vue'
import { shallowRef, computed } from 'vue'
import { chunk } from 'lodash-es'
import ScrollListItem from '@/components/ScrollListItem/ScrollListItem.vue'
import SwiperCore, { Autoplay } from 'swiper'

Loading…
Cancel
Save