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
c54545cc
Commit
c54545cc
authored
Jul 11, 2019
by
txy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'添加关注弹出框'
parent
51a3ac0c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
common.js
showPhotos/js/page/common.js
+17
-2
No files found.
showPhotos/js/page/common.js
View file @
c54545cc
...
...
@@ -82,6 +82,10 @@ function loadHtmlJson() {
// 关注弹出框
function
appendAttentionDialog
()
{
// var orgId = getQueryString("orgId");
// var orgInfo = orgIdFn(orgId);
// var orgName = orgInfo !== null ? orgInfo.orgName : '';
var
str
=
'<section id="html-container-attention" style="display: none;">'
+
'<div>'
+
'<div class="c-modal-wrap">'
+
...
...
@@ -93,8 +97,7 @@ var str = '<section id="html-container-attention" style="display: none;">'+
'<img src="http://qnfile.icareyou.net/363a344aa7424d219a5fc86eff7265751561343712294.jpg" class="header-pic">'
+
'</div>'
+
'<div class="modal-body">'
+
'<p class="struct">长按关注</p>'
+
'<p class="struct">ABC社区卫生服务中心ABC社区卫生服务中心</p>'
+
'<p class="struct">长按关注后继续活动</p>'
+
'<div>'
+
'<img src="./images/qr-code-prod.jpg" alt="" style="width: 100%;">'
+
'</div>'
+
...
...
@@ -110,4 +113,15 @@ var str = '<section id="html-container-attention" style="display: none;">'+
'</section>'
;
$
(
'body'
).
prepend
(
str
);
// 事件绑定
$
(
"#html-container-attention .modal-close"
).
off
(
"click"
).
on
(
"click"
,
function
(){
$
(
"#html-container-attention"
).
hide
();
});
// 未关注过默认显示弹出框
if
(
user
.
attention
){
$
(
"#html-container-attention"
).
show
();
}
}
appendAttentionDialog
();
\ No newline at end of file
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