赋能案例
This commit is contained in:
parent
109b82b95d
commit
9c7d3db786
|
@ -41,9 +41,12 @@
|
||||||
:key="index"
|
:key="index"
|
||||||
@click="tabSwitch(item, index)"
|
@click="tabSwitch(item, index)"
|
||||||
:class="
|
:class="
|
||||||
tabName == item.attrType
|
(tabName == item.attrType
|
||||||
? 'assign-case-detail-page-content-left-border-click'
|
? 'assign-case-detail-page-content-left-border-click'
|
||||||
: ''
|
: '') ||
|
||||||
|
(selectNow == item.id
|
||||||
|
? 'assign-case-detail-page-content-left-border-click'
|
||||||
|
: '')
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
{{ item.attrType }}
|
{{ item.attrType }}
|
||||||
|
@ -175,7 +178,7 @@
|
||||||
)
|
)
|
||||||
//tab点击事件
|
//tab点击事件
|
||||||
const tabSwitch = (item, index) => {
|
const tabSwitch = (item, index) => {
|
||||||
tabName.value = item.title
|
tabName.value = item.attrType
|
||||||
if (index != 0 && index != 3) {
|
if (index != 0 && index != 3) {
|
||||||
let top =
|
let top =
|
||||||
document.querySelector(
|
document.querySelector(
|
||||||
|
|
|
@ -168,6 +168,7 @@
|
||||||
tabClickShow.value = true
|
tabClickShow.value = true
|
||||||
} else {
|
} else {
|
||||||
let list = []
|
let list = []
|
||||||
|
listBg.value = ''
|
||||||
init(list)
|
init(list)
|
||||||
tabClickShow.value = false
|
tabClickShow.value = false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue