mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-04 07:27:41 +08:00
style: 样式再复查
This commit is contained in:
parent
b6529bf519
commit
fb3e6ea8d2
@ -95,7 +95,7 @@ function onMouseleave() {
|
|||||||
:view-style="{ overflow: 'hidden' }"
|
:view-style="{ overflow: 'hidden' }"
|
||||||
class="border-t border-[#e5e7eb]"
|
class="border-t border-[#e5e7eb]"
|
||||||
>
|
>
|
||||||
<ul class="flex flex-wrap justify-around mb-1">
|
<ul class="flex flex-wrap justify-around mb-1!">
|
||||||
<li
|
<li
|
||||||
v-for="(animate, index) in animatesList"
|
v-for="(animate, index) in animatesList"
|
||||||
:key="index"
|
:key="index"
|
||||||
|
@ -158,7 +158,7 @@ watch(
|
|||||||
:name="pane.name"
|
:name="pane.name"
|
||||||
>
|
>
|
||||||
<el-scrollbar height="220px">
|
<el-scrollbar height="220px">
|
||||||
<ul class="flex flex-wrap px-2 ml-2">
|
<ul class="flex flex-wrap px-2! ml-2!">
|
||||||
<li
|
<li
|
||||||
v-for="(item, key) in pageList"
|
v-for="(item, key) in pageList"
|
||||||
:key="key"
|
:key="key"
|
||||||
@ -198,7 +198,7 @@ watch(
|
|||||||
@current-change="onCurrentChange"
|
@current-change="onCurrentChange"
|
||||||
/>
|
/>
|
||||||
<el-button
|
<el-button
|
||||||
class="justify-end mr-2 ml-2"
|
class="justify-end mx-2!"
|
||||||
type="danger"
|
type="danger"
|
||||||
size="small"
|
size="small"
|
||||||
text
|
text
|
||||||
|
@ -49,8 +49,10 @@ export function useRenderIcon(icon: any, attrs?: iconType): Component {
|
|||||||
return defineComponent({
|
return defineComponent({
|
||||||
name: "Icon",
|
name: "Icon",
|
||||||
render() {
|
render() {
|
||||||
const IconifyIcon =
|
if (!icon) return;
|
||||||
icon && icon.includes(":") ? IconifyIconOnline : IconifyIconOffline;
|
const IconifyIcon = icon.includes(":")
|
||||||
|
? IconifyIconOnline
|
||||||
|
: IconifyIconOffline;
|
||||||
return h(IconifyIcon, {
|
return h(IconifyIcon, {
|
||||||
icon,
|
icon,
|
||||||
...attrs
|
...attrs
|
||||||
|
@ -107,7 +107,7 @@ const handleInputConfirm = () => {
|
|||||||
v-model="checked1"
|
v-model="checked1"
|
||||||
label="可移除"
|
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>
|
||||||
<el-button
|
<el-button
|
||||||
@ -115,7 +115,7 @@ const handleInputConfirm = () => {
|
|||||||
size="small"
|
size="small"
|
||||||
text
|
text
|
||||||
bg
|
bg
|
||||||
class="mr-6 ml-4"
|
class="mr-6! ml-4!"
|
||||||
@click="tagList = []"
|
@click="tagList = []"
|
||||||
>
|
>
|
||||||
移除全部
|
移除全部
|
||||||
|
@ -118,7 +118,7 @@ const {
|
|||||||
</div>
|
</div>
|
||||||
<el-popconfirm title="是否确认删除?" @confirm="onbatchDel">
|
<el-popconfirm title="是否确认删除?" @confirm="onbatchDel">
|
||||||
<template #reference>
|
<template #reference>
|
||||||
<el-button type="danger" text class="mr-1"> 批量删除 </el-button>
|
<el-button type="danger" text class="mr-1!"> 批量删除 </el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-popconfirm>
|
</el-popconfirm>
|
||||||
</div>
|
</div>
|
||||||
|
@ -118,7 +118,7 @@ const {
|
|||||||
</div>
|
</div>
|
||||||
<el-popconfirm title="是否确认删除?" @confirm="onbatchDel">
|
<el-popconfirm title="是否确认删除?" @confirm="onbatchDel">
|
||||||
<template #reference>
|
<template #reference>
|
||||||
<el-button type="danger" text class="mr-1"> 批量删除 </el-button>
|
<el-button type="danger" text class="mr-2!"> 批量删除 </el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-popconfirm>
|
</el-popconfirm>
|
||||||
</div>
|
</div>
|
||||||
|
@ -110,7 +110,7 @@ const {
|
|||||||
</div>
|
</div>
|
||||||
<el-popconfirm title="是否确认删除?" @confirm="onbatchDel">
|
<el-popconfirm title="是否确认删除?" @confirm="onbatchDel">
|
||||||
<template #reference>
|
<template #reference>
|
||||||
<el-button type="danger" text class="mr-1"> 批量删除 </el-button>
|
<el-button type="danger" text class="mr-1!"> 批量删除 </el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-popconfirm>
|
</el-popconfirm>
|
||||||
</div>
|
</div>
|
||||||
|
@ -143,7 +143,7 @@ const {
|
|||||||
</div>
|
</div>
|
||||||
<el-popconfirm title="是否确认删除?" @confirm="onbatchDel">
|
<el-popconfirm title="是否确认删除?" @confirm="onbatchDel">
|
||||||
<template #reference>
|
<template #reference>
|
||||||
<el-button type="danger" text class="mr-1">
|
<el-button type="danger" text class="mr-1!">
|
||||||
批量删除
|
批量删除
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
@ -77,8 +77,6 @@ const onAddItem = () => {
|
|||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
</pure-table>
|
</pure-table>
|
||||||
<el-button class="mt-4" style="width: 100%" @click="onAddItem">
|
<el-button class="w-full mt-4!" @click="onAddItem"> Add Item </el-button>
|
||||||
Add Item
|
|
||||||
</el-button>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -6,7 +6,7 @@ const { columns, dataList, exportExcel } = useColumns();
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<el-button type="primary" class="mb-[20px]" @click="exportExcel">
|
<el-button type="primary" class="mb-[20px]!" @click="exportExcel">
|
||||||
导出
|
导出
|
||||||
</el-button>
|
</el-button>
|
||||||
<pure-table row-key="id" border :data="dataList" :columns="columns" />
|
<pure-table row-key="id" border :data="dataList" :columns="columns" />
|
||||||
|
@ -9,7 +9,7 @@ const { columns, dataList, onChange } = useColumns();
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<el-button type="primary" class="mb-[20px]" @click="onChange">
|
<el-button type="primary" class="mb-[20px]!" @click="onChange">
|
||||||
切换表头
|
切换表头
|
||||||
</el-button>
|
</el-button>
|
||||||
<pure-table
|
<pure-table
|
||||||
|
@ -9,7 +9,7 @@ const { columns, dataList, print, cellStyle, rowStyle, headerCellStyle } =
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<el-button type="primary" class="mb-[20px]" @click="print">
|
<el-button type="primary" class="mb-[20px]!" @click="print">
|
||||||
打印
|
打印
|
||||||
</el-button>
|
</el-button>
|
||||||
<!-- rowHoverBgColor="transparent" 鼠标经过行时,去掉行的背景色 -->
|
<!-- rowHoverBgColor="transparent" 鼠标经过行时,去掉行的背景色 -->
|
||||||
|
@ -62,7 +62,7 @@ function onCloseTags() {
|
|||||||
<el-button
|
<el-button
|
||||||
v-for="index in 6"
|
v-for="index in 6"
|
||||||
:key="index"
|
:key="index"
|
||||||
class="m-2"
|
class="m-2!"
|
||||||
@click="toDetail({ id: index }, 'query')"
|
@click="toDetail({ id: index }, 'query')"
|
||||||
>
|
>
|
||||||
打开{{ index }}详情页
|
打开{{ index }}详情页
|
||||||
@ -83,7 +83,7 @@ function onCloseTags() {
|
|||||||
<el-button
|
<el-button
|
||||||
v-for="index in 6"
|
v-for="index in 6"
|
||||||
:key="index"
|
:key="index"
|
||||||
class="m-2"
|
class="m-2!"
|
||||||
@click="toDetail({ id: index }, 'params')"
|
@click="toDetail({ id: index }, 'params')"
|
||||||
>
|
>
|
||||||
打开{{ index }}详情页
|
打开{{ index }}详情页
|
||||||
@ -112,7 +112,7 @@ function onCloseTags() {
|
|||||||
<span>{{ transformI18n(data.meta.title) }}</span>
|
<span>{{ transformI18n(data.meta.title) }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-tree-select>
|
</el-tree-select>
|
||||||
<el-button class="m-2" @click="onCloseTags">关闭标签</el-button>
|
<el-button class="m-2!" @click="onCloseTags">关闭标签</el-button>
|
||||||
|
|
||||||
<el-divider />
|
<el-divider />
|
||||||
<el-button @click="router.push({ name: 'Menu1-2-2' })">
|
<el-button @click="router.push({ name: 'Menu1-2-2' })">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user