|
|
@@ -12,7 +12,7 @@
|
|
|
flex-direction: column;
|
|
|
align-items: center;
|
|
|
padding: 20px;
|
|
|
- background-color: #f5f5f5;
|
|
|
+ /* background-color: #00f5f500; */
|
|
|
}
|
|
|
.container {
|
|
|
max-width: 500px;
|
|
|
@@ -106,11 +106,9 @@
|
|
|
reader.onerror = function() {
|
|
|
showStatus('图片读取失败', 'error');
|
|
|
};
|
|
|
-
|
|
|
reader.readAsDataURL(file);
|
|
|
}
|
|
|
});
|
|
|
-
|
|
|
function showStatus(message, type) {
|
|
|
statusMsg.textContent = message;
|
|
|
statusMsg.className = 'status ' + type;
|