Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
白杨
/
shrae-app
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 031bc3c5
authored
7 years ago
by
lixiaofeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
1 parent
5fe049ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
uploadImage.html
uploadImage.html
View file @
031bc3c
...
...
@@ -39,13 +39,12 @@
<script
src=
"src/js/imgUp.js"
></script>
<script>
var
strImg
=
localStorage
.
getItem
(
'Imgarr'
).
split
(
'@'
)
// console.log(strImg.split('@'))
var
tagImg
=
''
for
(
var
i
=
0
;
i
<
strImg
.
length
;
i
++
){
tagImg
+=
"<section class=\"up-section fl\"><span class=\"up-span\"></span><img class=\"close-upimg\" src=\"src/image/sc.png\"><img class=\"up-img\" src="
+
strImg
[
i
]
+
"><p class=\"img-name-p\">201995-120HG1030762.jpg</p><input id=\"taglocation\" name=\"taglocation\" value=\"\" type=\"hidden\"><input id=\"tags\" name=\"tags\" value=\"\" type=\"hidden\"></section>"
}
$
(
'.upimg-div'
).
prepend
(
tagImg
)
// $('body').append(strImg).find('img').addClass('up-img')
</script>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
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