Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuloulou
/
yohobuy-portal-fe2
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
ZhongW
9 years ago
Commit
6eecece26108f00196013c5547acb5bfaf84ce8a
1 parent
72813ab2
Revert "no message"
This reverts commit
72813ab2
.
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
8 deletions
code/apps/goods/views/netsale/__partail/fenmian.html
code/index.js
code/static/js.jquery/module/goods/netsale/partials/editor_recommend.js
code/apps/goods/views/netsale/__partail/fenmian.html
View file @
6eecece
...
...
@@ -57,9 +57,7 @@
[[
/if]]
<
/div
>
<
div
class
=
"cover-color"
>
[[
if
_index
!=
0
]]
<
a
href
=
"javascript:;"
class
=
"btn btn-primary move_sort left"
data
-
i
=
[[
_index
]]
>
左移
<
/a>
[[
/if]]
<
a
href
=
"javascript:;"
class
=
"btn btn-primary move_sort left"
data
-
i
=
[[
_index
]]
>
左移
<
/a
>
<
a
href
=
"javascript:;"
class
=
"btn btn-primary move_sort right"
id
=
[[
index
]]
"move_right"
[[
_index
]]
data
-
i
=
[[
_index
]]
>
右移
<
/a
>
<
/div
>
<
/li
>
...
...
code/index.js
View file @
6eecece
...
...
@@ -42,7 +42,7 @@ var Iaccount = {
var
apiCofig
=
{
//root:__dirname,
EnvConst
:{
domain
:
"http://1
27.0.0.1:8080
/platform"
,
domain
:
"http://1
92.168.102.210:8088
/platform"
,
// domain:"http://172.16.6.200:8088/platform",
yohoSearch
:
'http://192.168.102.216:8080/yohosearch'
,
system
:
Iaccount
...
...
code/static/js.jquery/module/goods/netsale/partials/editor_recommend.js
View file @
6eecece
...
...
@@ -325,11 +325,18 @@ function renderGoodList() {
goodsList
:
goodsList
,
gender
:
gender
}));
for
(
var
i
in
goodsList
){
alert
(
i
+
"move_right"
+
goodsList
.
length
);
$
(
"#"
+
i
+
"move_right"
+
goodsList
.
length
).
hide
()
// var index = goodsList[i].goodsImagesList.length;
// alert(index);
// $(".right").each(function(){
// alert($(this).attr("data-i"))
// })
// $(".cover-image-list").hasAttr()
// alert(typeof($(".move_sort").find(".right").attr("data-i")))
// if(=="undefined"
// $(".move_sort") data-i ind("")
// addFengmian(uesImgIndex, uesImgMap[i]);
}
...
...
Please
register
or
login
to post a comment