|
|
|
@ -66,6 +66,19 @@
|
|
|
|
|
.return-btn:hover {
|
|
|
|
|
background-color: #517900;
|
|
|
|
|
}
|
|
|
|
|
.link_button {
|
|
|
|
|
margin: 10px 5%;
|
|
|
|
|
padding: 10px 18px;
|
|
|
|
|
color: #fff;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
background: #FD8008;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
top: 20px;
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 600px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
@ -106,7 +119,7 @@
|
|
|
|
|
<p>在这里上传你的中草药图片进行识别。</p>
|
|
|
|
|
<form id="uploadForm" enctype="multipart/form-data">
|
|
|
|
|
<input type="file" id="fileInput" name="image" accept="image/*">
|
|
|
|
|
<button type="button" onclick="uploadImage()">上传并识别</button>
|
|
|
|
|
<button class="link_button" type="button" onclick="uploadImage()">上传并识别</button>
|
|
|
|
|
</form>
|
|
|
|
|
<div id="result"></div>
|
|
|
|
|
<a href="#" class="return-btn" onclick="goBack()">返回</a>
|
|
|
|
|