pc-master #29

Merged
xiaomeng merged 3 commits from pc-master into portal 2023-11-11 02:01:21 +00:00
Showing only changes of commit 4bcef06f27 - Show all commits

View File

@ -6,9 +6,9 @@
}}</span> -->
{{ list[0].updateTime ? list[0].updateTime : '' }}
</div>
<div class="control-view">
<div class="control-view" v-if="deviceName == 10">
<div class="title">气象站:</div>
<vue-seamless class="control-list" v-if="deviceName == 10" :data="controlList" :class-option="defaultOption">
<vue-seamless class="control-list" :data="controlList" :class-option="defaultOption1">
<div class="list-view" v-for="item, index in controlList " :key="index">
<img class="icon" :src="item.img" alt="">
{{ item.environmentDataId
@ -79,6 +79,18 @@ export default {
singleWidth: 0, // (0) direction => 2/3
waitTime: 1000 // (1000ms)
}
},
defaultOption1() {
return {
step: 0.3, //
limitMoveNum: 4, // this.dataList.length
hoverStop: true, // stop
direction: 2, // 0 1 2 3
openWatch: true, // dom
singleHeight: 0, // (0) direction => 0/1
singleWidth: 0, // (0) direction => 2/3
waitTime: 1000 // (1000ms)
}
}
},
data() {