浏览代码

样式修改

常志远 3 年之前
父节点
当前提交
041b0592bb
共有 2 个文件被更改,包括 26 次插入7 次删除
  1. 7 1
      pages/index/index.vue
  2. 19 6
      pages/user/index.vue

+ 7 - 1
pages/index/index.vue

@@ -49,6 +49,10 @@
 
 		</view>
         
+		<!-- 模式选择 -->
+		<view class="shema">
+			
+		</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)">
@@ -951,7 +955,9 @@
 
 
 
-	
+	.shema{
+		
+	}
 
 	
 

+ 19 - 6
pages/user/index.vue

@@ -13,7 +13,13 @@
 				<view class="userData-data">¥{{personAccount.availableAmount != null ? personAccount.availableAmount.toFixed(2) : '0.00'}}</view>
 				<view class="userData-foot">可用余额</view>
 			</view>
-			<view class="userInfo-btn" @click="toRecharge">充值</view>
+			<view class="line">
+				
+			</view>
+			<view class="userData-num" >
+				<view class="userData-data">0</view>
+				<view class="userData-foot">优惠券</view>
+			</view>
 		</view>
 		<view class="userBanner">
 			<u-image width="100%" height="80px" src="../../static/img/banner.jpg"></u-image>
@@ -399,11 +405,11 @@
 	.userData{
 		background-color: #fff;
 		margin: 16px;
-		padding: 16px 24px;
+		padding: 16px 20px;
 		border-radius: 8px;
 		display: flex;
 		align-items: center;
-		justify-content: space-between;
+		justify-content: space-around;
 	}
 	.userData-num{
 		display: flex;
@@ -413,6 +419,8 @@
 		padding-left: 5px;
 		.userData-data{
 			font-size: 24px;
+			font-weight: 600;
+		
 		}
 		.userData-name{
 			font-size: 16px;
@@ -425,8 +433,13 @@
 	}
 	.userInfo-btn{
 		padding: 6px 30px;
-		background-color: #00B962;
-		color:#fff;
-		border-radius: 15px;
+		// background-color: #00B962;
+		// color:#fff;
+		// border-radius: 15px;
+	}
+	.line{
+		width: 0px;
+		height: 36px;
+		border: 1px solid rgba(237, 237, 237, 100);
 	}
 </style>