Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
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
hujun
tl_estate
Commits
9a009f99
Commit
9a009f99
authored
Apr 15, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
573efc0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
detaila_tl.js
public/app/js/detaila_tl.js
+6
-3
No files found.
public/app/js/detaila_tl.js
View file @
9a009f99
...
...
@@ -331,14 +331,17 @@
preloadImages
:
false
,
lazyLoading
:
true
,
lazyLoadingOnTransitionStart
:
true
,
initialSlide
:
click_shop_img
-
1
,
onTransitionEnd
:
function
(
swiper
)
{
$
(
'.lp-index'
).
text
(
swiper
.
activeIndex
+
1
);
},
onInit
:
function
(
swiper
)
{
//默认第一页 怎么显示
// if(click_shop_img*1 > 1){
// swiper.activeIndex = click_shop_img-1;
// }
if
(
click_shop_img
*
1
>
1
){
// swiper.initialSlide = click_shop_img-1;
swiper
.
activeIndex
=
click_shop_img
-
1
;
}
$
(
'.lp-index'
).
text
(
swiper
.
activeIndex
+
1
);
// $('.lp-sum').text(swiper.imagesToLoad.length || swiper.imagesLoaded || $('img', '.lp-bunner').size());
$
(
'.lp-sum'
).
text
(
$
(
'.swiper-slide'
).
size
());
...
...
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