소스 검색

样式修改

常志远 3 년 전
부모
커밋
99a997e6b1
2개의 변경된 파일9개의 추가작업 그리고 7개의 파일을 삭제
  1. 2 1
      .env.test.js
  2. 7 6
      pages/index/index.vue

+ 2 - 1
.env.test.js

@@ -13,7 +13,8 @@ const UNI_APP = {
 	VUE_APP_WXAPPID:"wx3afdb1b60188c1e5",
 	//zkx的测试openId
 	//openId:"oHjCawsJ5blME36lHaSpSVfEhleU",
-	openId:"oHjCawigqi8SEAwutwkQ-VEgdp3k",
+	// openId:"oHjCawigqi8SEAwutwkQ-VEgdp3k",
+	openId:"oK9Wr55J1J1eL6BqI2tW749NTxNU",
 	//zq的测试openId
 	//openId:"oHjCawsxTJkxixR74OVp7aCKahj8",
 }  

+ 7 - 6
pages/index/index.vue

@@ -48,7 +48,8 @@
 			</view>
 
 		</view>
-
+        
+ <view style="height:50px"></view>  
 		<!-- 站点 -->
 		<view class="station" v-if="message == 'getLocation:ok' && chargeList.length == 0" @click="gotoUrl('pages/searchPile/stationAndPile/stationDetails?id=' + stationData.id)">
 			<view class="img-box">
@@ -500,9 +501,8 @@
 	.station {
 		width:91.4%;
 		height: 120px;
-		margin-top: 72px auto 0 ;
+		margin-top: 20px auto 0 ;
 		padding-top: 20px;
-		// padding: 0 12px;
 		position: relative;
 
 		.img-box {
@@ -629,7 +629,7 @@
 		background-color: #ffffff;
 		height: 120px;
 		display: flex;
-		margin: 70px auto 0;
+		margin: 20px auto 0;
 		border-radius: 8px;
 		border: #F2F4F4 1px;
 
@@ -673,12 +673,13 @@
 		}
 	}
 
+  
 	.state{
 		width: 91.4%;
 		background-color: #ffffff;
 		height: 120px;
 		display: flex;
-		margin: 10px auto ;
+		margin: 20px auto 0;
 		border-radius: 8px;
 		border: #F2F4F4 1px;
 		.state-text{
@@ -701,7 +702,7 @@
 			
 			.text-3 {
 				font-size: 12px;
-				text-align: center;
+				line-height: 20px;
 				margin-top: 6px;
 				color: #999999;
 			}