最近需要使用到多张图片上传功能,正好写篇博客记录一下;
废话不多说,直接看效果。
html代码
<!DOCTYPE html>
<html lang="en">
<link>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>标签</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/semantic-ui/2.2.10/semantic.min.css">
<link rel="stylesheet" href="../static/css/me.css"></link>
</head>
<style>
.center {
text-align: center;
margin-top: 30px;
}
</style>
<body>
<!-- 中间内容 -->
<div class="m-container-small m-padded-tb-big">
<div class="ui container">
<form class="ui form">
<div class="field">
<label>标题</label>
<input type="text" name=