fix: Optimize style

v3.2
wangdan-fit2cloud 2025-10-24 16:39:50 +08:00
parent 982b34e2a7
commit f8a9da4582
5 changed files with 26 additions and 8 deletions

View File

@ -184,7 +184,7 @@
.el-table {
--el-table-header-bg-color: var(--app-layout-bg-color);
--el-table-text-color: var(--app-text-color);
--el-table-border-color: #DEE0E3;
--el-table-border-color: #dee0e3;
font-weight: 400;
thead {
color: var(--app-text-color-secondary);
@ -302,6 +302,13 @@
.el-select__selected-item {
color: var(--el-text-color-primary);
font-weight: 400;
.el-tag {
color: var(--el-text-color-primary);
background-color: var(--app-text-color-light-1);
height: 24px;
font-size: 14px;
font-weight: 400;
}
}
.el-select__caret {
color: var(--app-text-color-secondary);

View File

@ -40,6 +40,15 @@
</div>
</div>
</div>
<div class="mt-16" v-if="toolDetail?.downloads != undefined">
<el-text type="info">
<div>
{{ $t('views.document.upload.download') }}:
{{ numberFormat(toolDetail?.downloads || 0) }}
</div>
</el-text>
</div>
</div>
<MdPreview
ref="editorRef"
@ -55,7 +64,7 @@
<script setup lang="ts">
import { ref, watch } from 'vue'
import { cloneDeep } from 'lodash'
import { isAppIcon } from '@/utils/common'
import { isAppIcon, numberFormat } from '@/utils/common'
const emit = defineEmits(['refresh', 'addTool'])
const visibleInternalDesc = ref(false)
@ -77,7 +86,7 @@ const open = (data: any, detail: any) => {
}
defineExpose({
open
open,
})
</script>
<style lang="scss"></style>

View File

@ -60,7 +60,7 @@
<script setup lang="ts">
import { ref, watch } from 'vue'
import { cloneDeep } from 'lodash'
import { isAppIcon } from '@/utils/common'
import { isAppIcon, numberFormat } from '@/utils/common'
const emit = defineEmits(['refresh', 'addTool'])
const visibleInternalDesc = ref(false)
@ -87,7 +87,7 @@ const addInternalTool = (data: any) => {
}
defineExpose({
open
open,
})
</script>
<style lang="scss"></style>

View File

@ -31,6 +31,9 @@
</el-text>
</template>
<template #footer>
<span class="card-footer-left color-secondary" v-if="props.tool?.downloads!= undefined">
{{ `${$t('views.document.upload.download')}: ${numberFormat(props.tool.downloads || 0)} ` }}
</span>
<div class="card-footer-operation mb-8" @click.stop>
<el-button @click="emit('handleDetail')">
{{ $t('common.detail') }}
@ -45,8 +48,7 @@
<script setup lang="ts">
import { ref } from 'vue'
import { isAppIcon, resetUrl } from '@/utils/common'
import { isAppIcon, resetUrl, numberFormat } from '@/utils/common'
const props = defineProps<{
tool: any
getSubTitle: (v: any) => string

View File

@ -125,7 +125,7 @@
</el-col>
<el-col :span="1">
<el-button
:disabled="index === 0 && cIndex === 0"
:disabled="form_data.branch.length === 2 && item.conditions.length === 1"
link
type="info"
class="mt-4"