From ea408eac6343066edcd8ca18117794442b64b545 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期三, 21 五月 2025 17:16:39 +0800 Subject: [PATCH] feat: UI --- packages/components/src/components/InfiniteLoading/InfiniteLoading.vue | 66 +-------------------------------- 1 files changed, 2 insertions(+), 64 deletions(-) diff --git a/packages/components/src/components/InfiniteLoading/InfiniteLoading.vue b/packages/components/src/components/InfiniteLoading/InfiniteLoading.vue index bc55a9d..a02c2e4 100644 --- a/packages/components/src/components/InfiniteLoading/InfiniteLoading.vue +++ b/packages/components/src/components/InfiniteLoading/InfiniteLoading.vue @@ -64,7 +64,8 @@ import { FetchNextPageOptions } from '@tanstack/vue-query'; import { Loading } from '@nutui/icons-vue-taro'; import { useScrollDistance } from 'senin-mini/hooks'; -import IconBackTop from '../../../assets/icon-back-top.png'; +import IconBackTop from '../../assets/icon-back-top.png'; +import { ScrollView } from '@tarojs/components'; defineOptions({ name: 'InfiniteLoading', @@ -170,66 +171,3 @@ defineExpose({ backToTop, scrollToBottom }); </script> - -<style lang="scss"> -@import '@/styles/common.scss'; - -.loading-more-tips { - color: boleGetCssVar('text-color', 'primary'); - padding: 18px 10px; - width: auto; - font-size: 24px; - text-align: center; -} - -.infinite-list-inner { - // padding: 30px 30px 0; - - &.hasPaddingTop { - padding-top: 20px; - } - - &.noShowMoreText { - padding-bottom: 30px; - } -} - -.infiniting-tips { - color: boleGetCssVar('text-color', 'primary'); - padding: 18px 10px; - width: auto; - font-size: 24px; - display: flex; - align-items: center; - justify-content: center; - - .infiniting-tips-icon { - margin-right: 10px; - } -} - -.back-top-wrapper { - width: 92px; - height: 92px; - background: #ffffff; - box-shadow: 0px 0px 28px 0px rgba(0, 0, 0, 0.18); - position: fixed; - border-radius: 50%; - right: boleGetCssVar('size', 'body-padding-h'); - bottom: 390px; - - .back-top-img { - width: 44px; - height: 44px; - margin: 12px auto 2px; - } - - .back-top-text { - font-weight: 400; - font-size: 16px; - color: boleGetCssVar('text-color', 'regular'); - line-height: 22px; - text-align: center; - } -} -</style> -- Gitblit v1.9.1