idCardDetail.wxml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <wxs module="urls" src="../../utils/photoUrl.wxs"></wxs>
  2. <wxs module="times" src="../../utils/time.wxs"></wxs>
  3. <view class="home" wx:if="{{isHeadPicPath}}">
  4. <image class="bg-photo" src="/images/shenfenka.png"></image>
  5. <!-- style="width:750rpx;height:1334rpx" -->
  6. <image class="photo" src="{{urls.url(info.headPicPath)}}" wx:if='{{info.headPicPath}}'></image>
  7. <view class="userName">
  8. <view class="xunfangtitle">采集巡访员</view>
  9. <view>{{info.userName}}</view>
  10. </view>
  11. <view class="userInfo">
  12. <view style="display: flex;" wx:if='{{info.idCardNumber}}'>
  13. <view class="title1" >身份证号:</view>
  14. <view class="title2">{{info.idCardNumber}}</view>
  15. </view>
  16. <view style="display:flex;margin-top:15rpx" wx:if='{{info.time}}'>
  17. <view class="title1">认证时间:</view>
  18. <view class="title2">{{times.formatDate(info.time)}}</view>
  19. </view>
  20. <view style="display: flex;margin-top:15rpx">
  21. <view class="title1">认证地点:</view>
  22. <view class="title2">{{info.dept1.name}}{{info.dept2.name}}{{info.dept3.name}}{{info.dept4.name}}{{info.dept5.name}}</view>
  23. </view>
  24. <view style="display: flex;margin-top:15rpx">
  25. <view class="title1">联系方式:</view>
  26. <view class="title2">{{info.phone}}</view>
  27. </view>
  28. </view>
  29. <image class="zhang" src="/images/zhang.png"></image>
  30. <view class="time"> {{time}}</view>
  31. </view>
  32. <view class="home1" wx:if="{{!isHeadPicPath}}">
  33. <view class="title11">点击下方相机上传本人照片</view>
  34. <view class="title21">生成专属身份卡</view>
  35. <image wx:if="{{isTrue}}" src="/images/caream.png" style="width:350rpx;height:350rpx" bindtap="goPhoto"></image>
  36. <image wx:else class="image" style="width:350rpx;height:350rpx" src="{{urls.url(imgPath)}}" mode='scaleToFill' bindtap="previewImg"></image>
  37. <van-icon wx:if="{{!isTrue}}" size='23' name="clear" class="close1" data-index="{{index}}" bindtap="closeImage" />
  38. <view class="btn1" bindtap="goShenFen">立即生成</view>
  39. </view>