Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
s_ibanshou
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋林
s_ibanshou
Commits
fc305bdd
Commit
fc305bdd
authored
Apr 24, 2018
by
wangjj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
门户首页添加幸运星
parent
42633065
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
26 deletions
+16
-26
aa.html
aa.html
+16
-26
No files found.
aa.html
View file @
fc305bdd
...
...
@@ -4,19 +4,6 @@
<script
type=
'text/javascript'
src=
"[!--temp.ucenterurl--]common/uba.js?20180330"
></script>
<script>
function
getAppVersion
()
{
var
m
=
navigator
.
userAgent
.
match
(
/BanShou
(\\\\
/
[
\\\\
d
\\\\
.]
+
)
?
/
)
;
if
(
m
)
{
return
m
[
1
]
?
m
[
1
].
substr
(
1
)
:
0
;
}
else
{
return
false
;
}
}
//if (/BanShou/.test(navigator.userAgent)) {
//if (getAppVersion() == '2.5.7') {
// WxhNative.toLoginAppForWxhWorker();
...
...
@@ -127,7 +114,7 @@
<div
id=
"tuan-containter"
></div>
<!-- 扳手幸运星 -->
<div
id=
"luckdraw-containter"
></div>
<div
id=
"luckdraw-containter"
style=
"display: none"
></div>
<div
class=
"tuan-list"
>
<a
href=
"//sv.ibanshou.cn"
>
...
...
@@ -437,18 +424,21 @@
function
showLuckdraw
()
{
$
.
getJSON
(
"//s.ibanshou.cn/e/action/luckdraw.php"
,
function
(
data
)
{
var
html
=
'
\
n'
+
'<div class="recommend-info">
\
n'
+
' <div class="news-item has-pic one-picture">
\
n'
+
' <a href="//u.ibanshou.cn/luckdraw/"'
+
data
.
id
+
'" class="content pb-none" style="min-height: 100px;">
\
n'
+
' <div class="tit">'
+
data
.
s_title
+
'</div>
\
n'
+
' <div class="img-item-box clearfix">
\
n'
+
' <div class="img-item"><img src="'
+
data
.
share_image
+
'" alt=""></div>
\
n'
+
' </div>
\
n'
+
' </a>
\
n'
+
' </div>
\
n'
+
'</div>'
;
$
(
'#luckdraw-containter'
).
html
(
html
);
if
(
data
)
{
var
html
=
'<div class="recommend-info">'
+
' <div class="news-item has-pic one-picture">'
+
' <a href="//u.ibanshou.cn/luckdraw/'
+
data
.
id
+
'" class="content pb-none" style="min-height: 100px;">'
+
' <div class="tit">'
+
data
.
s_title
+
'</div>'
+
' <div class="img-item-box clearfix">'
+
' <div class="img-item"><img src="'
+
data
.
share_image
+
'" alt=""></div>'
+
' </div>'
+
' </a>'
+
' </div>'
+
'</div>'
;
$
(
'#luckdraw-containter'
).
html
(
html
).
show
();
}
})
}
...
...
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