巡检点上传图片修正

This commit is contained in:
Zy
2026-05-09 17:10:50 +08:00
parent e29e1c1346
commit b29e03ab4d
29 changed files with 2836 additions and 1189 deletions

View File

@@ -7,7 +7,7 @@
class="tabs_items"
:class="{
active: item.value === currentActiveValue,
line: showBottomLine
line: showBottomLine && item.value === currentActiveValue
}"
>
{{ item.label }}
@@ -62,7 +62,6 @@ const tabs = computed<TabItem[]>(() => {
// ======================
const currentActiveValue = ref<string | number>(props.activeValue ?? tabs.value[0]?.value ?? '')
console.log(currentActiveValue)
// 事件
const emit = defineEmits<{
update: [value: string | number]
@@ -90,22 +89,21 @@ const handleTabs = (item: TabItem) => {
margin-right: 60rpx;
font-size: 28rpx;
color: #222222;
position: relative;
&.active {
color: #4d5dfa;
position: relative;
}
&.line {
&::after {
content: '';
display: block;
width: 100%;
height: 8rpx;
background: linear-gradient(180deg, #4d5dfa 0%, #bac0fa 100%);
border-radius: 4rpx;
position: absolute;
left: 0;
bottom: 0;
&.line {
&::after {
content: '';
display: block;
width: 100%;
height: 8rpx;
background: linear-gradient(180deg, #4d5dfa 0%, #bac0fa 100%);
border-radius: 4rpx;
position: absolute;
left: 0;
bottom: 0;
}
}
}
}