style: 样式调整

This commit is contained in:
wangjiahao 2024-11-28 15:38:59 +08:00
parent 9f95018a61
commit f4c9874af6
3 changed files with 15 additions and 7 deletions

View File

@ -195,7 +195,11 @@
:disabled="canvasStyleData.dashboard.resultMode === 'all'"
/>
</el-form-item>
<el-form-item style="margin-top: 16px; margin-bottom: 8px" :class="'form-item-' + themes">
<el-form-item
v-show="dvInfo.type === 'dashboard'"
style="margin-top: 16px; margin-bottom: 8px"
:class="'form-item-' + themes"
>
<el-checkbox
:effect="themes"
size="small"
@ -215,7 +219,11 @@
</span>
</el-checkbox>
</el-form-item>
<el-form-item class="form-item" :class="'form-item-' + themes">
<el-form-item
v-show="dvInfo.type === 'dashboard'"
class="form-item"
:class="'form-item-' + themes"
>
<el-checkbox
:effect="themes"
size="small"

View File

@ -10,7 +10,7 @@
<path
:d="smallGridPathD"
fill="none"
stroke="rgba(207, 207, 207, 0.3)"
stroke="rgba(207, 207, 207, 0.4)"
stroke-width="0.8"
/>
</pattern>
@ -21,11 +21,11 @@
patternUnits="userSpaceOnUse"
>
<rect :width="middleGridW" :height="middleGridH" fill="url(#smallGrid)" />
<path :d="middleGridPathD" fill="none" stroke="rgba(207, 207, 207, 0.3)" stroke-width="1" />
<path :d="middleGridPathD" fill="none" stroke="rgba(207, 207, 207, 0.4)" stroke-width="1" />
</pattern>
<pattern id="grid" :width="gridW" :height="gridH" patternUnits="userSpaceOnUse">
<rect :width="gridW" :height="gridH" fill="url(#middleGrid)" />
<path :d="pathD" fill="none" stroke="rgba(207, 207, 207, 0.3)" stroke-width="1.2" />
<path :d="pathD" fill="none" stroke="rgba(207, 207, 207, 0.4)" stroke-width="1.2" />
</pattern>
</defs>
<rect width="100%" height="100%" fill="url(#grid)" />

View File

@ -3,7 +3,7 @@
<defs>
<pattern id="grid" :width="gridW" :height="gridH" patternUnits="userSpaceOnUse">
<rect :width="gridW" :height="gridH" fill="url(#middleGrid)" />
<path :d="pathD" fill="none" stroke="rgba(207, 207, 207, 0.2)" stroke-width="0.5" />
<path :d="pathD" fill="none" stroke="rgba(207, 207, 207, 0.4)" stroke-width="0.7" />
</pattern>
<pattern
id="middleGrid"
@ -15,7 +15,7 @@
<path
:d="middleGridPathD"
fill="none"
stroke="rgba(207, 207, 207, 0.2)"
stroke="rgba(207, 207, 207, 0.4)"
stroke-width="0.3"
/>
</pattern>