duanshenglang 7 ay önce
ebeveyn
işleme
c36e71b2e3
1 değiştirilmiş dosya ile 13 ekleme ve 6 silme
  1. 13 6
      lottery/index.html

+ 13 - 6
lottery/index.html

@@ -700,7 +700,7 @@
 		width: 80rem;
 		height: 80rem;
 		margin-top: 18rem;
-		margin-left: 35rem;
+		margin-right: 35rem;
 	}
 	.send_text {
 		width: 225rem;
@@ -713,16 +713,21 @@
 		color: #222222;
 		margin-top: 15rem;
 	}
-	.imageGallery {
+	.img_list {
 		width: 100%;
 		display: flex;
 		overflow-x: auto;
+		padding: 0 35rem;
+	}
+	.imageGallery {
+		display: flex;
+		overflow-x: auto;
 	}
 	.imageGallery img{
 		width: 80rem;
 		height: 80rem;
 		margin-top: 18rem;
-		margin-left: 35rem;
+		margin-right: 35rem;
 	}
 </style>
 <body>
@@ -751,9 +756,11 @@
 				<div class="text_bg">
 					<img class="close-text" id="closeText" src="./img/close-text.png" mode="widthFix" />
 					<textarea class="textarea_style" id="textarea"></textarea>
-					<div id="imageGallery" class="imageGallery"></div>
-					<img class="photo-btn" id="photoBtn" src="./img/photo-btn.png" mode="widthFix" onclick="uploadImage()" />
-					<input type="file" id="uploadfile" style="display: none;" multiple accept='image/*'>
+					<div class="img_list">
+						<div id="imageGallery" class="imageGallery"></div>
+						<img class="photo-btn" id="photoBtn" src="./img/photo-btn.png" mode="widthFix" onclick="uploadImage()" />
+						<input type="file" id="uploadfile" style="display: none;" multiple accept='image/*'>
+					</div>
 				</div>
 				<button class="send_text" onclick="handleSendText()">发送</button>
 			</div>