Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.portalStaticPage
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
d4d60585
authored
2020-11-21 10:52:09 +0800
by
田浩浩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加bar标识ID
1 parent
818c2409
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
staticJs/pageHome.js
staticJs/pageHome.js
View file @
d4d6058
...
...
@@ -2,7 +2,7 @@ layui.use('carousel', function () {
var
carousel
=
layui
.
carousel
;
//建造实例
carousel
.
render
({
elem
:
'#
'
elem
:
'#
banner_swiper
'
,
width
:
'100%'
//设置容器宽度
,
arrow
:
'always'
//始终显示箭头
,
autoplay
:
true
...
...
@@ -31,7 +31,7 @@ layui.use('util', function () {
//初始化方法
$
(
function
()
{
NewsData
();
//
NewsData();
addTabs
(
'#index'
)
});
...
...
Please
register
or
sign in
to post a comment