Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
h5_activity
Project
Overview
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
谭新宇
h5_activity
Commits
84f623af
Commit
84f623af
authored
Sep 11, 2019
by
谭新宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
临时处理上线活动逻辑
parent
98f3b12f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
common.js
showPhotos/js/page/common.js
+11
-3
No files found.
showPhotos/js/page/common.js
View file @
84f623af
...
...
@@ -731,6 +731,10 @@ function appendAdvertisement() {
$
(
"#adImgdiv"
).
remove
();
// 广告时间
var
time
=
getQueryString
(
'adtime'
);
// 临时处理,需要移除
var
acCode
=
getQueryString
(
'activityCode'
);
time
=
(
acCode
===
'HD1190904172515'
||
acCode
===
'HD1190904175331'
)
?
'3'
:
time
;
var
imgUrl
=
"http://qnfile.icareyou.net/9cf70c2d689c440cb5a426020fc571021567692920411.jpg?imageMogr2/size-limit/100k"
;
// 广告模板
var
tpl
=
"<div id='adImgdiv' style='position: absolute;top: 0;left: 0;right: 0;bottom: 0;z-index: 9999;background-color: #fff;'>"
...
...
@@ -738,7 +742,7 @@ function appendAdvertisement() {
+
"<img id='adImg' src='http://qnfile.icareyou.net/9cf70c2d689c440cb5a426020fc571021567692920411.jpg?imageMogr2/size-limit/100k' style='width: 100%;display:none;'>"
+
"</div>"
;
// 添加广告
if
(
time
!==
null
)
{
if
(
time
!==
null
||
acCode
===
'HD1190904172515'
||
acCode
===
'HD1190904175331'
)
{
// 隐藏首页页面
$
(
"#html-template-1"
).
hide
();
...
...
@@ -766,8 +770,10 @@ function addSupportMsg() {
$
(
"#addsupport"
).
remove
();
var
addsupport
=
getQueryString
(
'addsupport'
);
// 临时处理,需要移除
var
acCode
=
getQueryString
(
'activityCode'
);
var
tpl
=
"<div></div>"
;
if
(
addsupport
!==
null
){
if
(
addsupport
!==
null
||
acCode
===
'HD1190904172515'
||
acCode
===
'HD1190904175331'
){
// 获取机构名称
getOrgNameFn
(
function
(
data
){
var
orgName
=
data
.
records
.
orgName
;
...
...
@@ -797,7 +803,9 @@ function headerShowOrgName() {
$
(
".showorgname"
).
remove
();
var
appendSection
=
$
(
'[c_typename="logo"]'
);
var
showOrgName
=
getQueryString
(
'showorgname'
);
if
(
showOrgName
!==
null
)
{
// 临时处理,需要移除
var
acCode
=
getQueryString
(
'activityCode'
);
if
(
showOrgName
!==
null
||
acCode
===
'HD1190904172515'
||
acCode
===
'HD1190904175331'
)
{
// 获取机构名称
getOrgNameFn
(
function
(
data
){
var
orgName
=
data
.
records
.
orgName
;
...
...
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