Browse Source

修改身份卡

roose 4 years ago
parent
commit
9bdb4a1a67
2 changed files with 18 additions and 9 deletions
  1. 15 7
      pages/idCardDetail/idCardDetail.wxml
  2. 3 2
      pages/idCardDetail/idCardDetail.wxss

+ 15 - 7
pages/idCardDetail/idCardDetail.wxml

@@ -1,6 +1,6 @@
 <wxs module="urls" src="../../utils/photoUrl.wxs"></wxs>
 <view class="home">
-	<image class="bg-photo" src="/images/shenfenka.jpg" ></image>
+	<image class="bg-photo" src="/images/shenfenka.jpg"></image>
 	<!-- style="width:750rpx;height:1334rpx" -->
 	<image class="photo" src="{{urls.url(info.headPicPath)}}"></image>
 
@@ -9,14 +9,22 @@
 		<view>{{info.userName}}</view>
 	</view>
 	<view class="userInfo">
-		<view>身份证号:{{info.idCardNumber}}</view>
-		<view>认证时间:2020年09月15日</view>
 		<view style="display: flex;">
-			<view style=" width: 152rpx;">认证地点:</view>
-			<view style="">{{info.dept1.name}}{{info.dept2.name}}{{info.dept3.name}}{{info.dept4.name}}{{info.dept15.name}}</view>
+			<view style=" width: 130rpx;">身份证号:</view>
+			<view style="width: 310rpx;">{{info.idCardNumber}}</view>
+		</view>
+		<view style="display: flex;">
+			<view style=" width: 130rpx;">认证时间:</view>
+			<view style="width: 310rpx;">2020年09月15日</view>
+		</view>
+		<view style="display: flex;">
+			<view style=" width: 130rpx;">认证地点:</view>
+			<view style="width: 310rpx;">{{info.dept1.name}}{{info.dept2.name}}{{info.dept3.name}}{{info.dept4.name}}{{info.dept15.name}}</view>
+		</view>
+		<view style="display: flex;">
+			<view style=" width: 130rpx;">联系方式:</view>
+			<view style="width: 310rpx;">{{info.phone}}</view>
 		</view>
-
-		<view>联系方式:{{info.phone}}</view>
 	</view>
 	<image class="zhang" src="/images/zhang.png"></image>
 	<view class="time"> {{time}}</view>

+ 3 - 2
pages/idCardDetail/idCardDetail.wxss

@@ -29,9 +29,10 @@
 .userInfo {
   position: absolute;
   top: 61%;
-  left: 180rpx;
+  left: 156rpx;
   font-size: 26rpx;
-  width: 400rpx;
+  width: 460rpx;
+   text-align: justify;
 }
 
 .xunfangtitle {