Commit 769d0e9c authored by xiexingan's avatar xiexingan

调整

parent 564c5197
......@@ -31,7 +31,7 @@
v-for="item in typeList"
:key="item.id"
:class="[
item.id == currentId ? 'isActive' : '',
item.id == currentId&&active? 'isActive' : '',
item.icon,
]"
>
......@@ -166,24 +166,30 @@ export default {
pageIndex: 1,
pageSize: 10,
totalSize: 0,
active: false,
typeList: [
{
id: 1,
name: '供暖',
src: require('../../home/image/nan_fan_icon.png'),
icon: 'el-icon-sunny'
icon: 'el-icon-sunny',
status: null
},
{
id: 2,
name: '机械通风',
src: require('../../home/image/fan_icon.png'),
icon: 'iconfont icon-feng2'
icon: 'iconfont icon-feng2',
status: null
},
{
id: 3,
name: '自然通风',
src: require('../../home/image/fan_icon.png'),
icon: 'iconfont icon-feng'
icon: 'iconfont icon-feng',
status: null
}
],
currentId: null,
......@@ -403,6 +409,7 @@ export default {
this.hallModalVisible = true
},
handleType(id) {
this.active = !this.active
console.log('id:', id)
this.$http({
url: this.$http.adornUrl('/equipment/checkModel'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment