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
13a25f0d
Commit
13a25f0d
authored
Sep 09, 2019
by
谭新宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加机构logo
parent
b0ec53d4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
2 deletions
+30
-2
activity.css
showPhotos/css/activity.css
+24
-0
common.js
showPhotos/js/page/common.js
+6
-2
No files found.
showPhotos/css/activity.css
View file @
13a25f0d
...
...
@@ -704,3 +704,26 @@ input {
height
:
3rem
;
overflow
:
hidden
;
}
.showorgname
{
padding-left
:
0.55rem
;
line-height
:
0.51rem
;
position
:
absolute
;
top
:
0.15rem
;
left
:
0.3rem
;
height
:
0.51rem
;
font-size
:
0.26rem
;
color
:
white
;
font-weight
:
bold
;
}
.showorgname
:after
{
position
:
absolute
;
content
:
""
;
background-image
:
url('http://qnfile.icareyou.net/d16785f….jpg?imageMogr2/size-limit/100k')
;
background-repeat
:
no-repeat
;
background-size
:
100%
100%
;
width
:
0.5rem
;
height
:
0.5rem
;
left
:
0
;
}
\ No newline at end of file
showPhotos/js/page/common.js
View file @
13a25f0d
...
...
@@ -771,7 +771,9 @@ function addSupportMsg() {
// 获取机构名称
getOrgNameFn
(
function
(
data
){
var
orgName
=
data
.
records
.
orgName
;
var
appendSection
=
$
(
"#html-template-1 .selectable-banner"
);
var
appendSection
=
$
(
"#html-template-1 .content"
);
var
appendSection2
=
$
(
"#html-template-2 .content"
);
var
appendSection3
=
$
(
"#html-template-3 .content"
);
var
msg
=
""
// 芙蓉区和天心区
if
(
orgName
.
indexOf
(
"芙蓉区"
)
>
-
1
||
orgName
.
indexOf
(
"天心区"
)
>
-
1
)
{
...
...
@@ -783,6 +785,8 @@ function addSupportMsg() {
if
(
msg
!==
''
)
{
var
tpl
=
"<div style='text-align:center;color:white;font-size: 0.24rem;margin-top: 0.45rem;margin-bottom: 0.3rem;'>"
+
msg
+
"</div>"
;
appendSection
.
after
(
tpl
);
appendSection2
.
after
(
tpl
);
appendSection3
.
after
(
tpl
);
}
});
}
...
...
@@ -799,7 +803,7 @@ function headerShowOrgName() {
var
orgName
=
data
.
records
.
orgName
;
// 把机构名称填入到页面中
if
(
orgName
!==
''
)
{
var
tpl
=
"<div class='showorgname'
style='position: absolute;top: 0.15rem;left: 0.3rem;height: 0.51rem;font-size: 0.26rem;color: white;font-weight: bold;'
>"
+
orgName
+
"</div>"
;
var
tpl
=
"<div class='showorgname'>"
+
orgName
+
"</div>"
;
appendSection
.
after
(
tpl
);
}
});
...
...
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