Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsales
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2bbad10c
authored
Oct 29, 2019
by
施宇
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
轮播
parent
d5a18b08
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
18 deletions
Application/Home/View/Home/index.html
dist/css/home.css
dist/css/home.less
Application/Home/View/Home/index.html
View file @
2bbad10c
...
...
@@ -27,7 +27,6 @@
<div
class=
"fl time ellipsis"
>
<span>
上次登录时间:
<em
class=
"last_login_time"
>
--
</em></span>
</div>
{:dump($roll_banners)}
</div>
</div>
</div>
...
...
@@ -60,20 +59,20 @@
</div>
</div>
<!-- 轮播部分 -->
<if
condition=
"empty($roll_banners) neq true"
>
<div
class=
"sy-carousel"
>
<div
class=
"swiper-wrapper"
>
<volist
name=
"roll_banners"
id=
"vo"
key=
"k"
>
<a
class=
"swiper-slide"
href=
"www.baidu.com"
></a>
<a
class=
"swiper-slide"
href=
"www.baidu.com"
></a>
<a
class=
"swiper-slide"
href=
"www.baidu.com"
></a>
<a
class=
"swiper-slide"
href=
"www.baidu.com"
></a>
<a
class=
"swiper-slide"
href=
"www.baidu.com"
></a>
<if
condition=
"!empty($roll_banners['data'])"
>
<div
class=
"sy-carousel"
>
<div
class=
"swiper-wrapper"
>
<volist
name=
"roll_banners['data']"
id=
"vo"
>
<a
class=
"swiper-slide"
href=
"{$vo['url']}"
style=
"background:url({$vo['images']}) center center no-repeat;"
target=
"{$vo['window_open'] > 0 ? '_blank' : '_self'}"
title=
"{$vo['title']}"
></a>
</volist>
</div>
<!-- Add Pagination -->
<div
class=
"sy-pagination"
></div>
</div>
<!-- Add Pagination -->
<div
class=
"sy-pagination"
></div>
</div>
</if>
</if>
<div
class=
"my_xj"
>
<div
class=
"my_xj_title xj_title"
>
<span
class=
"lineBlock"
></span>
...
...
dist/css/home.css
View file @
2bbad10c
...
...
@@ -132,8 +132,6 @@
border-radius
:
4px
;
}
.home_content
.sy-carousel
.swiper-slide
{
background
:
url('http://img.icsales.com/test/images/icsales/201909/12/fa7488c3e772f4f72032d95bf93cb00f.png')
no-repeat
;
background-size
:
cover
;
cursor
:
pointer
;
display
:
block
;
}
...
...
dist/css/home.less
View file @
2bbad10c
...
...
@@ -164,8 +164,6 @@
position: relative;
border-radius:4px;
.swiper-slide {
background: url('http://img.icsales.com/test/images/icsales/201909/12/fa7488c3e772f4f72032d95bf93cb00f.png') no-repeat;
background-size: cover;
cursor: pointer;
display: block;
}
...
...
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