Jelajahi Sumber

Merge branch 'master' of http://test.wefanbot.com:3000/wfg/lottery

liangzhaozhou 1 tahun lalu
induk
melakukan
9f053224e9
5 mengubah file dengan 12 tambahan dan 5 penghapusan
  1. TEMPAT SAMPAH
      lottery/img/blessing.png
  2. TEMPAT SAMPAH
      lottery/img/dialog-text.png
  3. TEMPAT SAMPAH
      lottery/img/photo-btn.png
  4. TEMPAT SAMPAH
      lottery/img/send-btn.png
  5. 12 5
      lottery/index.html

TEMPAT SAMPAH
lottery/img/blessing.png


TEMPAT SAMPAH
lottery/img/dialog-text.png


TEMPAT SAMPAH
lottery/img/photo-btn.png


TEMPAT SAMPAH
lottery/img/send-btn.png


+ 12 - 5
lottery/index.html

@@ -729,7 +729,7 @@
 	.send_text {
 		width: 225rem;
 		height: 52rem;
-		background: linear-gradient( 134deg, #FAFF77 0%, #8EFF3B 100%);
+		background: linear-gradient( 48deg, #92E4FC 0%, #D0E7F5 100%);
 		border-radius: 30rem;
 		border: 2rem solid #FFFFFF;
 		font-weight: 800;
@@ -753,9 +753,16 @@
 		margin-right: 35rem;
 	}
 	.upload-class {
-		min-width: 100rem;
+		min-width: 80rem;
 		height: 80rem;
 		line-height: 80rem;
+		font-size: 14px;
+		border: 1px solid #c1bfa9;
+		border-radius: 10rem;
+		text-align: center;
+		margin-top: 18rem;
+		margin-right: 35rem;
+		color: #999;
 	}
 </style>
 <body>
@@ -942,7 +949,7 @@
 					
 					const gallery = document.getElementById('imageGallery');  
 					const photoBtn = document.getElementById('photoBtn'); 
-					const upload = document.createElement('p');
+					const upload = document.createElement('div');
 					upload.className = 'upload-class';
 					upload.innerHTML = '上传中...'
 					gallery.insertBefore(upload,photoBtn);
@@ -1158,7 +1165,7 @@
 						mui.toast('发送成功');
 						document.getElementById('dialogText').style.display = 'none';
 						imgList = []
-						document.getElementById("textarea").innerHTML = "";
+						document.getElementById("textarea").value = "";
 						findCollectList()
 						const gallery = document.getElementById('imageGallery');
 						// 遍历gallery的所有子元素  
@@ -1259,7 +1266,7 @@
 			imgsToRemove.forEach(function(img) {  
 			    gallery.removeChild(img);  
 			});
-			document.getElementById("textarea").innerHTML = "";
+			document.getElementById("textarea").value = "";
 			onShowItem()
 		});
 		// 截取url中的数据