style: 样式再复查

This commit is contained in:
xiaoxian521 2025-04-09 14:38:28 +08:00
parent b6529bf519
commit fb3e6ea8d2
13 changed files with 20 additions and 20 deletions

View File

@ -95,7 +95,7 @@ function onMouseleave() {
:view-style="{ overflow: 'hidden' }"
class="border-t border-[#e5e7eb]"
>
<ul class="flex flex-wrap justify-around mb-1">
<ul class="flex flex-wrap justify-around mb-1!">
<li
v-for="(animate, index) in animatesList"
:key="index"

View File

@ -158,7 +158,7 @@ watch(
:name="pane.name"
>
<el-scrollbar height="220px">
<ul class="flex flex-wrap px-2 ml-2">
<ul class="flex flex-wrap px-2! ml-2!">
<li
v-for="(item, key) in pageList"
:key="key"
@ -198,7 +198,7 @@ watch(
@current-change="onCurrentChange"
/>
<el-button
class="justify-end mr-2 ml-2"
class="justify-end mx-2!"
type="danger"
size="small"
text

View File

@ -49,8 +49,10 @@ export function useRenderIcon(icon: any, attrs?: iconType): Component {
return defineComponent({
name: "Icon",
render() {
const IconifyIcon =
icon && icon.includes(":") ? IconifyIconOnline : IconifyIconOffline;
if (!icon) return;
const IconifyIcon = icon.includes(":")
? IconifyIconOnline
: IconifyIconOffline;
return h(IconifyIcon, {
icon,
...attrs

View File

@ -107,7 +107,7 @@ const handleInputConfirm = () => {
v-model="checked1"
label="可移除"
/>
<el-button v-else size="small" text bg class="mr-6" @click="onReset">
<el-button v-else size="small" text bg class="mr-6!" @click="onReset">
重置
</el-button>
<el-button
@ -115,7 +115,7 @@ const handleInputConfirm = () => {
size="small"
text
bg
class="mr-6 ml-4"
class="mr-6! ml-4!"
@click="tagList = []"
>
移除全部

View File

@ -118,7 +118,7 @@ const {
</div>
<el-popconfirm title="是否确认删除?" @confirm="onbatchDel">
<template #reference>
<el-button type="danger" text class="mr-1"> 批量删除 </el-button>
<el-button type="danger" text class="mr-1!"> 批量删除 </el-button>
</template>
</el-popconfirm>
</div>

View File

@ -118,7 +118,7 @@ const {
</div>
<el-popconfirm title="是否确认删除?" @confirm="onbatchDel">
<template #reference>
<el-button type="danger" text class="mr-1"> 批量删除 </el-button>
<el-button type="danger" text class="mr-2!"> 批量删除 </el-button>
</template>
</el-popconfirm>
</div>

View File

@ -110,7 +110,7 @@ const {
</div>
<el-popconfirm title="是否确认删除?" @confirm="onbatchDel">
<template #reference>
<el-button type="danger" text class="mr-1"> 批量删除 </el-button>
<el-button type="danger" text class="mr-1!"> 批量删除 </el-button>
</template>
</el-popconfirm>
</div>

View File

@ -143,7 +143,7 @@ const {
</div>
<el-popconfirm title="是否确认删除?" @confirm="onbatchDel">
<template #reference>
<el-button type="danger" text class="mr-1">
<el-button type="danger" text class="mr-1!">
批量删除
</el-button>
</template>

View File

@ -77,8 +77,6 @@ const onAddItem = () => {
</el-button>
</template>
</pure-table>
<el-button class="mt-4" style="width: 100%" @click="onAddItem">
Add Item
</el-button>
<el-button class="w-full mt-4!" @click="onAddItem"> Add Item </el-button>
</div>
</template>

View File

@ -6,7 +6,7 @@ const { columns, dataList, exportExcel } = useColumns();
<template>
<div>
<el-button type="primary" class="mb-[20px]" @click="exportExcel">
<el-button type="primary" class="mb-[20px]!" @click="exportExcel">
导出
</el-button>
<pure-table row-key="id" border :data="dataList" :columns="columns" />

View File

@ -9,7 +9,7 @@ const { columns, dataList, onChange } = useColumns();
<template>
<div>
<el-button type="primary" class="mb-[20px]" @click="onChange">
<el-button type="primary" class="mb-[20px]!" @click="onChange">
切换表头
</el-button>
<pure-table

View File

@ -9,7 +9,7 @@ const { columns, dataList, print, cellStyle, rowStyle, headerCellStyle } =
<template>
<div>
<el-button type="primary" class="mb-[20px]" @click="print">
<el-button type="primary" class="mb-[20px]!" @click="print">
打印
</el-button>
<!-- rowHoverBgColor="transparent" 鼠标经过行时去掉行的背景色 -->

View File

@ -62,7 +62,7 @@ function onCloseTags() {
<el-button
v-for="index in 6"
:key="index"
class="m-2"
class="m-2!"
@click="toDetail({ id: index }, 'query')"
>
打开{{ index }}详情页
@ -83,7 +83,7 @@ function onCloseTags() {
<el-button
v-for="index in 6"
:key="index"
class="m-2"
class="m-2!"
@click="toDetail({ id: index }, 'params')"
>
打开{{ index }}详情页
@ -112,7 +112,7 @@ function onCloseTags() {
<span>{{ transformI18n(data.meta.title) }}</span>
</template>
</el-tree-select>
<el-button class="m-2" @click="onCloseTags">关闭标签</el-button>
<el-button class="m-2!" @click="onCloseTags">关闭标签</el-button>
<el-divider />
<el-button @click="router.push({ name: 'Menu1-2-2' })">