Compare commits
4 Commits
dde09a8564
...
e8b736299a
Author | SHA1 | Date |
---|---|---|
xiaomeng | e8b736299a | |
孙萌 | 90cd66efe4 | |
孙萌 | 38283f0c00 | |
孙萌 | 4bcef06f27 |
|
@ -1494,7 +1494,7 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
max-width: 500px;
|
max-width: 806px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.realTime .page-content .control-view .control-list > div {
|
.realTime .page-content .control-view .control-list > div {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1575,7 +1575,7 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
max-width: 500px;
|
max-width: 806px;
|
||||||
>div {
|
>div {
|
||||||
// width: 100%!important;
|
// width: 100%!important;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
@ -6,9 +6,9 @@
|
||||||
}}</span> -->
|
}}</span> -->
|
||||||
{{ list[0].updateTime ? list[0].updateTime : '' }}
|
{{ list[0].updateTime ? list[0].updateTime : '' }}
|
||||||
</div>
|
</div>
|
||||||
<div class="control-view">
|
<div class="control-view" v-if="deviceName == 10">
|
||||||
<div class="title">气象站:</div>
|
<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">
|
<div class="list-view" v-for="item, index in controlList " :key="index">
|
||||||
<img class="icon" :src="item.img" alt="">
|
<img class="icon" :src="item.img" alt="">
|
||||||
{{ item.environmentDataId
|
{{ item.environmentDataId
|
||||||
|
@ -79,6 +79,18 @@ export default {
|
||||||
singleWidth: 0, // 单步运动停止的宽度(默认值0是无缝不停止的滚动) direction => 2/3
|
singleWidth: 0, // 单步运动停止的宽度(默认值0是无缝不停止的滚动) direction => 2/3
|
||||||
waitTime: 1000 // 单步运动停止的时间(默认值1000ms)
|
waitTime: 1000 // 单步运动停止的时间(默认值1000ms)
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
defaultOption1() {
|
||||||
|
return {
|
||||||
|
step: 0.3, // 数值越大速度滚动越快
|
||||||
|
limitMoveNum: 6, // 开始无缝滚动的数据量 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() {
|
data() {
|
||||||
|
|
Loading…
Reference in New Issue