commit
a1c43ed427
|
|
@ -111,14 +111,14 @@ const hasFestivalDay = computed(() => {
|
|||
<style scoped>
|
||||
/* 紧凑的班次标签:替代 el-button,减少纵向占用 */
|
||||
.shift-tag {
|
||||
width: 100%;
|
||||
padding: 1px 4px;
|
||||
overflow: hidden;
|
||||
font-size: 11px;
|
||||
line-height: 1.5;
|
||||
border-radius: 3px;
|
||||
color: #fff;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
border-radius: 3px;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -203,9 +203,9 @@ watch(
|
|||
|
||||
.member-card-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.member-empty-tip {
|
||||
|
|
|
|||
|
|
@ -177,12 +177,12 @@ const handleNavigate = (name: string) => {
|
|||
<style lang="scss" scoped>
|
||||
.kpi-card {
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
border: 1px solid var(--el-border-color);
|
||||
transition: all 0.3s ease;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-4px);
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
|
||||
box-shadow: 0 8px 24px rgb(0 0 0 / 12%);
|
||||
}
|
||||
|
||||
:deep(.el-card__body) {
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ defineOptions({ name: 'GanttChart' })
|
|||
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
tasks: any[] // 甘特图任务数据
|
||||
tasks?: any[] // 甘特图任务数据
|
||||
readonly?: boolean // 是否只读
|
||||
height?: number // 甘特图高度
|
||||
}>(),
|
||||
|
|
@ -223,30 +223,36 @@ defineExpose({ loadData })
|
|||
<style>
|
||||
/* 今天标记线 */
|
||||
.gantt_marker.today {
|
||||
background-color: #ff4444;
|
||||
background-color: #f44;
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
.gantt_marker.today .gantt_marker_content {
|
||||
color: #ff4444;
|
||||
font-size: 12px;
|
||||
color: #f44;
|
||||
}
|
||||
|
||||
/* 工单(project)行样式 */
|
||||
.gantt-project-bar .gantt_task_progress {
|
||||
background: #7b68ee;
|
||||
}
|
||||
|
||||
/* 甘特条圆角 */
|
||||
.gantt_task_line {
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
/* 周末背景色 */
|
||||
.weekend {
|
||||
background: #f0f0f0 !important;
|
||||
}
|
||||
|
||||
/* 行悬浮高亮 */
|
||||
.gantt_grid_data .gantt_row:hover,
|
||||
.gantt_grid_data .gantt_row.odd:hover {
|
||||
background-color: #f3f1fe !important;
|
||||
}
|
||||
|
||||
/* 选中行高亮 */
|
||||
.gantt_grid_data .gantt_row.gantt_selected,
|
||||
.gantt_grid_data .gantt_row.odd.gantt_selected,
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ defineOptions({ name: 'WxNews' })
|
|||
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
articles: any[] | null
|
||||
articles?: any[] | null
|
||||
}>(),
|
||||
{
|
||||
articles: null
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
v-model="formData.data"
|
||||
type="textarea"
|
||||
:rows="4"
|
||||
placeholder='请输入模板数据(JSON 格式),例如:{"keyword1": {"value": "测试内容"}}'
|
||||
placeholder="请输入模板数据(JSON 格式),例如:{"keyword1": {"value": "测试内容"}}"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="跳转链接" prop="url">
|
||||
|
|
|
|||
|
|
@ -50,12 +50,12 @@
|
|||
<!-- 列表 -->
|
||||
<ContentWrap>
|
||||
<el-table v-loading="loading" :data="list" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" v-if="isDialog"/>
|
||||
<el-table-column type="selection" width="55" v-if="isDialog" />
|
||||
<el-table-column label="编号" align="center" prop="id" />
|
||||
<el-table-column label="用户标识" align="center" prop="openid" width="260" />
|
||||
<el-table-column label="用户头像" min-width="80px" prop="headImageUrl">
|
||||
<template #default="scope">
|
||||
<el-avatar :src="scope.row.headImageUrl"/>
|
||||
<el-avatar :src="scope.row.headImageUrl" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="昵称" align="center" prop="nickname" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue