【更新】移除style

pull/103/head^2
xlzy 2023-03-26 12:02:29 +08:00 committed by 小诺
parent 283e42f0d2
commit c4df5d65e2
1 changed files with 15 additions and 24 deletions

View File

@ -26,9 +26,9 @@
</a-tooltip> </a-tooltip>
</div> </div>
<a-divider /> <a-divider />
<div :style="{ marginBottom: '24px' }"> <div class="mb-4">
<h3>主题色</h3> <h3>主题色</h3>
<div style="height: 50px"> <div class="h-[50px]">
<a-tooltip v-for="(item, index) in colorList" :key="index" class="snowy-setting-theme-color-colorBlock"> <a-tooltip v-for="(item, index) in colorList" :key="index" class="snowy-setting-theme-color-colorBlock">
<template #title> <template #title>
<span>{{ item.key }}</span> <span>{{ item.key }}</span>
@ -39,30 +39,21 @@
</a-tooltip> </a-tooltip>
</div> </div>
</div> </div>
<div :style="{ marginBottom: '24px' }"> <div class="mb-4 layout-slide">
<span <h4 class="">顶栏应用主题色</h4>
><h4> <a-switch :checked="topHanderThemeColorOpen" @change="changeTopHanderThemeColorOpen" />
顶栏应用主题色<a-switch
style="float: right"
:checked="topHanderThemeColorOpen"
@change="changeTopHanderThemeColorOpen"
/></h4
></span>
</div> </div>
<div :style="{ marginBottom: '24px' }"> <div class="mb-4 layout-slide">
<span> <h4>顶栏主题色通栏</h4>
<h4> <a-switch
顶栏主题色通栏<a-switch style="float: right"
style="float: right" :checked="topHanderThemeColorSpread"
:checked="topHanderThemeColorSpread" :disabled="!topHanderThemeColorOpen"
:disabled="!topHanderThemeColorOpen" @change="changeTopHanderThemeColorSpread"
@change="changeTopHanderThemeColorSpread" />
/>
</h4>
</span>
</div> </div>
<a-divider /> <a-divider />
<a-form ref="form" style="text-align: right"> <a-form ref="form" class="text-right">
<a-form-item label="模块坞"> <a-form-item label="模块坞">
<a-switch :checked="moduleUnfoldOpen" @change="toggleState('moduleUnfoldOpen')" /> <a-switch :checked="moduleUnfoldOpen" @change="toggleState('moduleUnfoldOpen')" />
</a-form-item> </a-form-item>
@ -81,7 +72,7 @@
<a-form-item label="表单风格"> <a-form-item label="表单风格">
<a-select <a-select
:value="formStyle" :value="formStyle"
style="width: 80px" class="!w-[80px]"
size="small" size="small"
:options="xnFormStyleOptions" :options="xnFormStyleOptions"
@change="formStyleChange" @change="formStyleChange"