feat: 冲突解决
This commit is contained in:
@@ -1,36 +0,0 @@
|
||||
<script lang="ts" setup>
|
||||
defineOptions({ name: 'CardTitle' });
|
||||
|
||||
// TODO @jawe from xingyu:https://gitee.com/yudaocode/yudao-ui-admin-vben/pulls/243/files#diff_note_47350213;这个组件没有必要,直接用antdv card 的slot去做就行了,只有这一个地方用,没有必要单独写一个组件
|
||||
defineProps({
|
||||
title: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<span class="card-title">{{ title }}</span>
|
||||
</template>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.card-title {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
|
||||
&::before {
|
||||
position: relative;
|
||||
top: 8px;
|
||||
left: -5px;
|
||||
display: inline-block;
|
||||
width: 3px;
|
||||
height: 14px;
|
||||
content: '';
|
||||
//background-color: #105cfb;
|
||||
background: var(--el-color-primary);
|
||||
border-radius: 5px;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -1 +0,0 @@
|
||||
export { default as CardTitle } from './CardTitle.vue';
|
||||
@@ -420,7 +420,7 @@ function inputChange() {
|
||||
@input="inputChange"
|
||||
>
|
||||
<template #addonAfter>
|
||||
<Select v-model:value="select" placeholder="生成器" style="width: 115px">
|
||||
<Select v-model:value="select" placeholder="生成器" class="w-36">
|
||||
<Select.Option value="0 * * * * ?">每分钟</Select.Option>
|
||||
<Select.Option value="0 0 * * * ?">每小时</Select.Option>
|
||||
<Select.Option value="0 0 0 * * ?">每天零点</Select.Option>
|
||||
@@ -946,20 +946,20 @@ function inputChange() {
|
||||
padding: 0 15px;
|
||||
font-size: 12px;
|
||||
line-height: 30px;
|
||||
background: var(--ant-primary-color-active-bg);
|
||||
background: hsl(var(--primary) / 10%);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.sc-cron :deep(.ant-tabs-tab.ant-tabs-tab-active) .sc-cron-num h4 {
|
||||
color: #fff;
|
||||
background: var(--ant-primary-color);
|
||||
background: hsl(var(--primary));
|
||||
}
|
||||
|
||||
[data-theme='dark'] .sc-cron-num h4 {
|
||||
background: var(--ant-color-white);
|
||||
background: hsl(var(--white));
|
||||
}
|
||||
|
||||
.input-with-select .ant-input-group-addon {
|
||||
background-color: var(--ant-color-fill-alter);
|
||||
background-color: hsl(var(--muted));
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -81,7 +81,7 @@ onMounted(() => {
|
||||
:value-format="rangePickerProps.valueFormat"
|
||||
:placeholder="rangePickerProps.placeholder"
|
||||
:presets="rangePickerProps.presets"
|
||||
class="!w-[235px]"
|
||||
class="!w-full !max-w-96"
|
||||
@change="handleDateRangeChange"
|
||||
/>
|
||||
<slot></slot>
|
||||
|
||||
Reference in New Issue
Block a user