Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
V3-TailingPond
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xinzhedeai
V3-TailingPond
Commits
24583cf1
Commit
24583cf1
authored
Sep 29, 2024
by
Kimber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'update'
parent
890b8a5c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
Version.txt
public/Version.txt
+3
-0
index.vue
src/components/Carousel/index.vue
+4
-2
settings.js
src/settings.js
+1
-1
No files found.
public/Version.txt
View file @
24583cf1
...
@@ -8,3 +8,6 @@
...
@@ -8,3 +8,6 @@
"version": "1.120",更新内容: 2024/8/10(周六)
"version": "1.120",更新内容: 2024/8/10(周六)
为防止环境监测模块名称过长超出边界,添加对设备名称的过滤,只显示设备类型
为防止环境监测模块名称过长超出边界,添加对设备名称的过滤,只显示设备类型
"version": "1.121",2024/9/29(周日)
更新内容: 对大屏模块添加自动播放控制, 控制字段为 autoplay, 在数据库的 sys_views 表中, true 表示自动播放
src/components/Carousel/index.vue
View file @
24583cf1
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
*/
*/
-->
-->
<
template
>
<
template
>
<Carousel
class=
"cu-slider"
indicator-position=
"
none"
height=
"100%"
:interval=
"config.interval
"
>
<Carousel
class=
"cu-slider"
indicator-position=
"
outside"
height=
"100%"
:interval=
"config.interval"
:autoplay=
"config.autoplay
"
>
<Carousel-item
v-for=
"(item, i) in list"
>
<Carousel-item
v-for=
"(item, i) in list"
>
<h3><i
class=
"el-icon-s-data"
></i>
{{
item
.
sumtitle
}}
</h3>
<h3><i
class=
"el-icon-s-data"
></i>
{{
item
.
sumtitle
}}
</h3>
<!-- 设备信息 -->
<!-- 设备信息 -->
...
@@ -138,6 +138,7 @@ export default {
...
@@ -138,6 +138,7 @@ export default {
},
},
config
:{
config
:{
interval
:
6000
,
interval
:
6000
,
autoplay
:
true
,
},
},
}
}
},
},
...
@@ -152,6 +153,7 @@ export default {
...
@@ -152,6 +153,7 @@ export default {
methods
:
{
methods
:
{
createViews
(
item
){
createViews
(
item
){
this
.
list
=
item
.
children
;
this
.
config
.
interval
=
item
.
interval
;
this
.
list
=
item
.
children
;
this
.
config
.
interval
=
item
.
interval
;
item
.
autoplay
&&
(
this
.
config
.
autoplay
=
item
.
autoplay
);
var
carouselCtn
=
this
.
$el
.
firstElementChild
;
var
carouselCtn
=
this
.
$el
.
firstElementChild
;
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
...
@@ -320,6 +322,6 @@ export default {
...
@@ -320,6 +322,6 @@ export default {
}
}
}
}
.el-carousel__arrow
{
display
:none
;}
//
.el-carousel__arrow{display:none;}
}
}
</
style
>
</
style
>
\ No newline at end of file
src/settings.js
View file @
24583cf1
...
@@ -49,5 +49,5 @@ module.exports = {
...
@@ -49,5 +49,5 @@ module.exports = {
*/
*/
caseNumber
:
'
鲁ICP备09100748号-5
'
,
caseNumber
:
'
鲁ICP备09100748号-5
'
,
"
version
"
:
"
1.12
0
"
"
version
"
:
"
1.12
1
"
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment