浏览代码

首页样式修改

lizaixun 4 年之前
父节点
当前提交
e81e8f1ab8
共有 1 个文件被更改,包括 10 次插入5 次删除
  1. 10 5
      pages/index/Index.vue

+ 10 - 5
pages/index/Index.vue

@@ -58,7 +58,7 @@
 							>
 								装机容量(mv):
 							</view>
-							<view class="textWhite">
+							<view class="textWhite3">
 								{{ windpowerstationdetail.target_comprehensive_indicators.zjrl }}
 							</view>
 						</view>
@@ -108,7 +108,7 @@
 							>
 								上网(万kwh):
 							</view>
-							<view class="textWhite">
+							<view class="textWhite3">
 								{{ windpowerstationdetail.target_comprehensive_indicators.swdl }}
 							</view>
 						</view>
@@ -3861,6 +3861,7 @@ page {
 .textWhite {
 	color: white;
 	float: right;
+	margin-right: 12%;
 	width: 24px;
 	/* text-align: right; */
 }
@@ -3869,6 +3870,11 @@ page {
 	float: right;
 	margin-right: 10%;
 }
+.textWhite3{
+	color: white;
+	float: right;
+	margin-right: 2%;
+}
 .textWhile3 {
 	color: white;
 	float: left;
@@ -3939,7 +3945,6 @@ page {
 	color: silver;
 	font-size: 12px;
 	float: right;
-	margin-right: 4%;
 }
 
 .informationCardTextTwo {
@@ -3955,7 +3960,7 @@ page {
 
 .informationCardText2 {
 	/* margin-left: 6%; */
-	margin-left: calc(50% - 195px);
+	margin-left: calc(50% - 190px);
 	width: 115px;
 	height: 35px;
 	font-size: 12px;
@@ -3964,7 +3969,7 @@ page {
 }
 .informationCardText3 {
 	/* margin-left: 6%; */
-	margin-left: calc(50% - 180px);
+	margin-left: calc(50% - 170px);
 	width: 130px;
 	height: 35px;
 	font-size: 12px;