Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
page
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
1e6390bc
authored
2018-03-17 12:42:20 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
0bcbe1ee
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
19 deletions
application/views/common/footer.php
application/views/common/header.php
application/views/common/footer.php
View file @
1e6390b
...
...
@@ -9,3 +9,24 @@
<script
type=
"text/javascript"
src=
"/resource/lib/webuploader/0.1.5/webuploader.min.js"
></script>
<script
src=
"https://cdn.bootcss.com/holder/2.9.4/holder.min.js"
></script>
<script
type=
"text/javascript"
src=
"/resource/upload.js"
></script>
<script>
(
function
(
$
){
$
.
fn
.
serializeJson
=
function
(){
var
serializeObj
=
{};
var
array
=
this
.
serializeArray
();
var
str
=
this
.
serialize
();
$
(
array
).
each
(
function
(){
if
(
serializeObj
[
this
.
name
]){
if
(
$
.
isArray
(
serializeObj
[
this
.
name
])){
serializeObj
[
this
.
name
].
push
(
this
.
value
);
}
else
{
serializeObj
[
this
.
name
]
=
[
serializeObj
[
this
.
name
],
this
.
value
];
}
}
else
{
serializeObj
[
this
.
name
]
=
this
.
value
;
}
});
return
serializeObj
;
};
})(
jQuery
);
</script>
...
...
application/views/common/header.php
View file @
1e6390b
...
...
@@ -25,24 +25,5 @@
<title>
标题
</title>
<script>
var
apiBaseUrl
=
"http://151.28ms.com:8088/"
;
(
function
(
$
){
$
.
fn
.
serializeJson
=
function
(){
var
serializeObj
=
{};
var
array
=
this
.
serializeArray
();
var
str
=
this
.
serialize
();
$
(
array
).
each
(
function
(){
if
(
serializeObj
[
this
.
name
]){
if
(
$
.
isArray
(
serializeObj
[
this
.
name
])){
serializeObj
[
this
.
name
].
push
(
this
.
value
);
}
else
{
serializeObj
[
this
.
name
]
=
[
serializeObj
[
this
.
name
],
this
.
value
];
}
}
else
{
serializeObj
[
this
.
name
]
=
this
.
value
;
}
});
return
serializeObj
;
};
})(
jQuery
);
</script>
</head>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment