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
50e129a3
Commit
50e129a3
authored
Jul 11, 2019
by
txy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'js抽取'
parent
6653d04c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
43 additions
and
37 deletions
+43
-37
index.html
showPhotos/index.html
+1
-11
main.js
showPhotos/js/main.js
+40
-0
signup.html
showPhotos/signup.html
+1
-19
user.html
showPhotos/user.html
+1
-7
No files found.
showPhotos/index.html
View file @
50e129a3
...
...
@@ -7,17 +7,7 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1,user-scalable=no"
>
<meta
name=
"format-detection"
content=
"telephone=no"
>
<title>
宝贝,因“喂”爱你
</title>
<link
rel=
"stylesheet"
href=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/css/activity.css"
>
<link
rel=
"stylesheet"
href=
"css/dialog.css"
>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/jquery-3.4.1.min.js"
></script>
<script
type=
"text/javascript"
src=
"js/dialog.js"
></script>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/html2Json.js"
></script>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/pageJson.js"
></script>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/modalJson/shareModal.js"
></script>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/modalJson/voteModal.js"
></script>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/removeAttr.js"
></script>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/autoFontsize.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/main.js"
></script>
<script
type=
"text/javascript"
src=
"http://res.wx.qq.com/open/js/jweixin-1.4.0.js"
></script>
<script
type=
"text/javascript"
src=
"./index_data.js"
></script>
<!-- <script type="text/javascript" th:inline="javascript">
...
...
showPhotos/js/main.js
0 → 100644
View file @
50e129a3
var
headerUrl
=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/"
;
var
styleSheet
=
[
"css/activity.css"
,
"css/dialog.css"
];
var
scriptArray
=
[
"js/jquery-3.4.1.min.js"
,
"js/exif.js"
,
"js/dialog.js"
,
"js/html2Json.js"
,
"js/pageJson.js"
,
"js/modalJson/shareModal.js"
,
"js/modalJson/voteModal.js"
,
"js/removeAttr.js"
,
"js/autoFontsize.min.js"
];
for
(
var
i
=
0
;
i
<
styleSheet
.
length
;
i
++
){
var
link
=
document
.
createElement
(
"link"
);
link
.
setAttribute
(
"rel"
,
"stylesheet"
);
link
.
setAttribute
(
"type"
,
"text/css"
);
link
.
setAttribute
(
"href"
,
headerUrl
+
styleSheet
[
i
]);
var
heads
=
doc
.
getElementsByTagName
(
"head"
);
if
(
heads
.
length
)
heads
[
0
].
appendChild
(
link
);
else
doc
.
documentElement
.
appendChild
(
link
);
}
for
(
var
i
=
0
;
i
<
scriptArray
.
length
;
i
++
){
var
script
=
document
.
createElement
(
"script"
);
script
.
setAttribute
(
"type"
,
"text/javascript"
);
script
.
setAttribute
(
"src"
,
headerUrl
+
scriptArray
[
i
]);
var
heads
=
document
.
getElementsByTagName
(
"head"
);
if
(
heads
.
length
)
heads
[
0
].
appendChild
(
script
);
else
document
.
documentElement
.
appendChild
(
script
);
}
showPhotos/signup.html
View file @
50e129a3
...
...
@@ -6,25 +6,7 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1,user-scalable=no"
>
<meta
name=
"format-detection"
content=
"telephone=no"
>
<title>
宝贝,因“喂”爱你
</title>
<link
rel=
"stylesheet"
href=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/css/activity.css"
>
<link
rel=
"stylesheet"
href=
"css/dialog.css"
>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/jquery-3.4.1.min.js"
></script>
<script
type=
"text/javascript"
src=
"js/dialog.js"
></script>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/exif.js"
></script>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/html2Json.js"
></script>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/pageJson/signupJson.js"
></script>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/modalJson/shareModal.js"
></script>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/removeAttr.js"
></script>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/autoFontsize.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/main.js"
></script>
<script
type=
"text/javascript"
src=
"http://res.wx.qq.com/open/js/jweixin-1.4.0.js"
></script>
<script
type=
"text/javascript"
src=
"signup_data.js"
></script>
<!-- <script type="text/javascript" th:inline="javascript">
...
...
showPhotos/user.html
View file @
50e129a3
...
...
@@ -6,13 +6,7 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1,user-scalable=no"
>
<meta
name=
"format-detection"
content=
"telephone=no"
>
<title>
宝贝,因“喂”爱你
</title>
<link
rel=
"stylesheet"
href=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/css/activity.css"
>
<link
rel=
"stylesheet"
href=
"css/dialog.css"
>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/jquery-3.4.1.min.js"
></script>
<script
type=
"text/javascript"
src=
"js/dialog.js"
></script>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/html2Json.js"
></script>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/removeAttr.js"
></script>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/autoFontsize.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://space-api.check.icaremgt.com/ACTIVITY/gitlab-static?url=http://gitlab.icaremgt.com/tanxinyu/h5_activity/raw/master/showPhotos/js/main.js"
></script>
<script
type=
"text/javascript"
src=
"http://res.wx.qq.com/open/js/jweixin-1.4.0.js"
></script>
<script
type=
"text/javascript"
src=
"user_data.js"
></script>
<!-- <script type="text/javascript" th:inline="javascript">
...
...
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