Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vue-ssr-mobile
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
lixy
vue-ssr-mobile
Commits
82df767f
Commit
82df767f
authored
Sep 07, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
详情页轮播
parent
ee1c6fc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
14 deletions
+28
-14
detailBanner.vue
components/detailBanner.vue
+28
-14
No files found.
components/detailBanner.vue
View file @
82df767f
<
template
>
<
template
>
<div
class=
"detail-banner"
>
<div
class=
"detail-banner"
>
<div
class=
"banner"
>
<div
class=
"swiper"
>
<div
class=
"box"
>
<mt-swipe
<ul>
:show-indicators=
"false"
<li
:auto=
"3000"
v-for=
"(item, index) in list"
style=
"height:250px;"
>
:key=
"item"
<mt-swipe-item
:class=
"index === current ? 'active' : ''"
v-for=
"(item, index) in list"
@
click=
"bannerClick(index, item)"
>
:key=
"index"
>
<img
<img
:src=
"item"
:src=
"item"
style=
"height: 250px;margin: 0 auto;"
>
style=
"height: 250px;margin: 0 auto;"
>
</li>
</mt-swipe-item>
</ul>
</mt-swipe>
</div>
</div>
</div>
<!--
<div
class=
"banner"
>
-->
<!--
<div
class=
"box"
>
-->
<!--
<ul>
-->
<!--
<li-->
<!--v-for="(item, index) in list"-->
<!--:key="item"-->
<!--:class="index === current ? 'active' : ''"-->
<!--@click="bannerClick(index, item)">-->
<!--
<img-->
<!--:src= "item"-->
<!--style="height: 250px;margin: 0 auto;">-->
<!--
</li>
-->
<!--
</ul>
-->
<!--
</div>
-->
<!--
</div>
-->
</div>
</div>
</
template
>
</
template
>
...
...
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