Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
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
王水玲
9 years ago
Commit
4b48080d996f2d22a735d4b34991b157fd38d97c
1 parent
019ebbc8
星潮gulp ge
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
0 deletions
static/dist/myohobuy/1.3.17/index-debug.js
static/dist/myohobuy/1.3.17/index.css
static/dist/myohobuy/1.3.17/index.js
static/dist/myohobuy/1.3.17/index-debug.js
View file @
4b48080
...
...
@@ -719,6 +719,7 @@ require("js/guang/detail");
require
(
"js/guang/star-classroom"
);
require
(
"js/guang/calendar"
);
require
(
"js/guang/collocation-list"
);
require
(
"js/guang/check-top"
);
});
define
(
"js/guang/plus-star/list"
,
[
"jquery"
,
"lazyload"
,
"swiper"
,
"index"
],
function
(
require
,
exports
,
module
){
/**
...
...
@@ -2242,6 +2243,39 @@ $(document).on('touchstart', '.collection', function(event) {
});
});
define
(
"js/guang/check-top"
,
[
"jquery"
],
function
(
require
,
exports
,
module
){
/**
* 星潮教室-top100
* @author: wsl<shuiling.wang@yoho.cn>
* @date: 2016/4/12
*/
var
$
=
require
(
"jquery"
);
$
(
'body'
).
addClass
(
'star-class-body'
);
function
setAvatar
(
$userAvatar
)
{
var
myImage
=
new
Image
(),
avatar
;
// 部分老用户没有头像,显示默认头像
avatar
=
$userAvatar
.
data
(
'avatar'
);
myImage
.
src
=
avatar
;
myImage
.
onload
=
function
()
{
$userAvatar
.
css
(
'background-image'
,
'url('
+
avatar
+
')'
);
};
}
if
(
$
(
'.ranking-area li'
).
length
>
0
)
{
$
.
each
(
$
(
'.ranking-area li'
),
function
(
key
,
item
)
{
setAvatar
(
$
(
item
).
find
(
'.rank-avatar'
));
});
}
if
(
$
(
'.user-avatar'
).
attr
(
'data-avatar'
)
!==
''
)
{
setAvatar
(
$
(
'.user-avatar'
));
}
});
define
(
"js/home/entry"
,
[
"jquery"
,
"swiper"
,
"lazyload"
,
"hammer"
,
"index"
],
function
(
require
,
exports
,
module
){
/**
* 首页打包入口
...
...
static/dist/myohobuy/1.3.17/index.css
View file @
4b48080
This diff could not be displayed because it is too large.
static/dist/myohobuy/1.3.17/index.js
View file @
4b48080
This diff could not be displayed because it is too large.
Please
register
or
login
to post a comment