Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
footsen
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f59a4e5f
authored
Apr 21, 2022
by
agan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
1c9c7eff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
footseen/Nesting/vip/vipDescription.html
footseen/Nesting/vip/vipDescription.html
View file @
f59a4e5f
...
...
@@ -27,7 +27,7 @@
<span></span>
<span></span>
<span></span>
<
!--<span></span>--
>
<
span></span
>
</div>
<div
class=
"mBottom"
>
<div
class=
"mDesc mDesc1"
data-id=
"1"
>
...
...
@@ -253,8 +253,8 @@
$
(
'.mBottom .mDesc'
).
eq
(
order
).
addClass
(
'check'
);
if
(
order
>=
2
)
{
var
num
=
order
;
if
(
num
>
7
)
{
num
=
7
if
(
num
>
8
)
{
num
=
8
}
for
(
var
i
=
0
;
i
<
$
(
'.mTop span'
).
length
;
i
++
)
{
$
(
'.mTop span'
).
eq
(
i
).
css
(
'left'
,
(
i
-
num
+
2
)
*
2
+
'rem'
)
...
...
@@ -289,13 +289,13 @@
if
(
Math
.
abs
(
X
)
>
Math
.
abs
(
Y
)
&&
X
<
-
100
&&
flag
)
{
flag
=
false
;
console
.
log
(
index
)
if
(
index
<
8
)
{
if
(
index
<
9
)
{
$
(
'.mDesc'
).
removeClass
(
'check'
).
eq
(
index
+
1
).
addClass
(
'check'
);
$
(
'.mDesc'
).
eq
(
index
).
css
(
'left'
,
'-10rem'
);
$
(
'.mDesc'
).
eq
(
index
+
1
).
css
(
'left'
,
0
);
$
(
'.mTop span'
).
removeClass
(
'check'
).
eq
(
index
+
1
).
addClass
(
'check'
);
}
if
(
index
>=
2
&&
index
<=
6
)
{
if
(
index
>=
2
&&
index
<=
7
)
{
for
(
var
i
=
0
;
i
<
$
(
'.mTop span'
).
length
;
i
++
)
{
$
(
'.mTop span'
).
eq
(
i
).
css
(
'left'
,
(
i
-
index
+
1
)
*
2
+
'rem'
)
}
...
...
@@ -308,7 +308,7 @@
$
(
'.mDesc'
).
eq
(
index
).
css
(
'left'
,
'10rem'
);
$
(
'.mDesc'
).
eq
(
index
-
1
).
css
(
'left'
,
'0'
);
}
if
(
index
>=
3
&&
index
<=
8
)
{
if
(
index
>=
3
&&
index
<=
9
)
{
for
(
var
i
=
0
;
i
<
$
(
'.mTop span'
).
length
;
i
++
)
{
$
(
'.mTop span'
).
eq
(
i
).
css
(
'left'
,
(
i
-
index
+
3
)
*
2
+
'rem'
)
}
...
...
@@ -319,7 +319,7 @@
var
oldIndex
=
$
(
'.mTop span.check'
).
index
();
var
newIndex
=
$
(
this
).
index
();
if
(
newIndex
<
oldIndex
)
{
if
(
newIndex
<
8
&&
newIndex
>
1
)
{
if
(
newIndex
<
9
&&
newIndex
>
1
)
{
for
(
var
i
=
0
;
i
<
$
(
'.mTop span'
).
length
;
i
++
)
{
$
(
'.mTop span'
).
eq
(
i
).
css
(
'left'
,
(
i
-
newIndex
+
2
)
*
2
+
'rem'
)
}
...
...
@@ -331,21 +331,21 @@
for
(
var
i
=
0
;
i
<
$
(
'.mTop span'
).
length
;
i
++
)
{
$
(
'.mTop span'
).
eq
(
i
).
css
(
'left'
,
(
i
-
newIndex
+
1
)
*
2
+
'rem'
)
}
}
else
if
(
newIndex
==
8
)
{
}
else
if
(
newIndex
==
9
)
{
for
(
var
i
=
0
;
i
<
$
(
'.mTop span'
).
length
;
i
++
)
{
$
(
'.mTop span'
).
eq
(
i
).
css
(
'left'
,
(
i
-
newIndex
+
3
)
*
2
+
'rem'
)
}
}
}
else
if
(
newIndex
>
oldIndex
)
{
if
(
newIndex
<
8
&&
newIndex
>
1
)
{
if
(
newIndex
<
9
&&
newIndex
>
1
)
{
for
(
var
i
=
0
;
i
<
$
(
'.mTop span'
).
length
;
i
++
)
{
$
(
'.mTop span'
).
eq
(
i
).
css
(
'left'
,
(
i
-
newIndex
+
2
)
*
2
+
'rem'
)
}
}
else
if
(
newIndex
==
8
)
{
}
else
if
(
newIndex
==
9
)
{
for
(
var
i
=
0
;
i
<
$
(
'.mTop span'
).
length
;
i
++
)
{
$
(
'.mTop span'
).
eq
(
i
).
css
(
'left'
,
(
i
-
newIndex
+
3
)
*
2
+
'rem'
)
}
}
else
if
(
newIndex
==
9
)
{
}
else
if
(
newIndex
==
10
)
{
for
(
var
i
=
0
;
i
<
$
(
'.mTop span'
).
length
;
i
++
)
{
$
(
'.mTop span'
).
eq
(
i
).
css
(
'left'
,
(
i
-
newIndex
+
4
)
*
2
+
'rem'
)
}
...
...
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