瀏覽代碼

间距调整

常志远 2 年之前
父節點
當前提交
89c3316931
共有 1 個文件被更改,包括 17 次插入11 次删除
  1. 17 11
      pages/searchPile/searchPile.vue

+ 17 - 11
pages/searchPile/searchPile.vue

@@ -132,6 +132,8 @@
 						</view>
 					</view>
 				</view> -->
+				
+				
 				  <view v-for="(item,index) in stationslist" :key="item.id" class="charing-slow"   @click="stationDetail(item)">
 					
 					<view class="flex">
@@ -157,7 +159,7 @@
 					
 					<view class="free">
 						<text :class="item.type == '快充' ? 'fast-charge':(item.type == '慢充' ? 'trickle-charge':'fast-trickle-charge')">{{item.type}}</text> 
-						<view class="free-num">
+						<view class="free-nuhttps://t7.baidu.com/it/u=1819248061,230866778&fm=193&f=GIF">
 							<text style="color:#009143;">空闲{{item.idleNum}}</text>/总数{{item.total}}
 						</view>
 						<view class="distance">
@@ -1427,7 +1429,7 @@ export default {
  	background-color: #fff;
 	margin: 40rpx;
 	border-radius: 16rpx;
- 	padding: 20rpx 24rpx 0rpx;
+ 	padding: 20rpx 24rpx 20rpx;
  	position: relative;
  	left: 0;
  	right: 0;
@@ -1598,14 +1600,14 @@ font-weight: 600;
 	}
  	.free {
  		
- 		height: 52px;
- 		margin-top: 10px;
-		
+ 		
+ 		margin-top: 12px;
+		line-height: 26px;
  
  		
  	} 
 	.free-num {
-		line-height: 52px;
+		
 		margin-left: 4px;
 		display: inline-block;
 		@include themeify{
@@ -1620,15 +1622,15 @@ font-weight: 600;
 		
 		
 	    float: right;
-		margin-top: 13px;
+		// margin-top: 13px;
 		
 /*		height: 28px;
 		line-height: 28px;*/
 		color: rgba(255, 255, 255, 100);
 		@include themeify{
 			font-size: themed('font-size2');
-			line-height: themed('font-size9');
-			height: themed('font-size9');
+			line-height: themed('font-size8');
+			height: themed('font-size8');
 		}
 		/*
 		font-size: 14px;*/
@@ -1668,10 +1670,14 @@ font-weight: 600;
 		border-radius: 999px;
 	}
 	.img-box{
+		width: 100px;
+		height: 75px;
+		overflow: hidden;
+		 border-radius: 4px;
 		 
 		img{
-			width: 100px;
-			height: 75px;
+			width: 100%;
+			height: 100%;
 		}
 	}
 	.flex{