mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-10-09 02:57:35 +00:00
refactor: 前端项目代码优化与样式调整
本次提交包含多项改进: 1. 新增移动端断点常量并全局复用,重构响应式设备检测逻辑 2. 优化表格卡片样式与布局,统一移除多余的shadow属性 3. 调整表单、按钮、分页组件的移动端适配样式 4. 补充邮箱国际化文案与图表组件标题属性 5. 优化菜单hover效果、全局搜索样式与深色主题变量 6. 修复权限配置、组件默认值与布局排版问题 7. 简化部分代码冗余逻辑,统一代码风格
This commit is contained in:
@@ -1,20 +1,18 @@
|
||||
<!-- 节日 / 公告顶栏:文案来自 festival 配置(占位符 {{version}}、{{introduceUrl}}) -->
|
||||
<template>
|
||||
<div
|
||||
class="overflow-hidden transition-[height] duration-300 ease-in-out"
|
||||
:style="{ height: showFestivalStrip ? '48px' : '0' }"
|
||||
>
|
||||
<FaTextScroll
|
||||
v-if="showFestivalStrip"
|
||||
class="mb-3!"
|
||||
type="theme"
|
||||
:text="festivalScrollDisplayHtml"
|
||||
height="40px"
|
||||
:speed="55"
|
||||
:always-scroll="true"
|
||||
show-close
|
||||
@close="closeFestivalScroll"
|
||||
/>
|
||||
<div :class="{ 'mb-5': showFestivalStrip }">
|
||||
<Transition name="festival-strip">
|
||||
<FaTextScroll
|
||||
v-if="showFestivalStrip"
|
||||
type="theme"
|
||||
:text="festivalScrollDisplayHtml"
|
||||
height="40px"
|
||||
:speed="55"
|
||||
:always-scroll="true"
|
||||
show-close
|
||||
@close="closeFestivalScroll"
|
||||
/>
|
||||
</Transition>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user