faceInformationCollection.vue 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <template>
  2. <view>
  3. <u-navbar title="人脸信息采集" >
  4. </u-navbar>
  5. <view class="main">
  6. <view class="item">
  7. <view class="title">
  8. <view class="asterisk">
  9. *
  10. </view>
  11. <view class="text">
  12. 采集对象
  13. </view>
  14. </view>
  15. <view class="value">
  16. <view class="text">
  17. 周梓轩
  18. </view>
  19. <view class="icon">
  20. <u-icon name="arrow-right" color="#c8c8c8"></u-icon>
  21. </view>
  22. </view>
  23. </view>
  24. <view class="item display-none">
  25. <view class="title">
  26. <view class="asterisk">
  27. *
  28. </view>
  29. <view class="text">
  30. 上传照片
  31. </view>
  32. </view>
  33. <view class="photo">
  34. <view class="img-box">
  35. <img src="../../../assets/img/fas fa-camera Copy@1x(1).png" alt="">
  36. </view>
  37. </view>
  38. <view class="tips">
  39. <text>*</text>照片将用于人脸识别设备,请上传清晰的免冠登记照或肩部以上近照。
  40. </view>
  41. </view>
  42. </view>
  43. <button class="save">保存</button>
  44. </view>
  45. </template>
  46. <script>
  47. export default {
  48. data() {
  49. return {
  50. }
  51. },
  52. methods: {
  53. }
  54. }
  55. </script>
  56. <style lang="scss" scoped>
  57. .main{
  58. background-color: #fff;
  59. padding: 0 15px 27px 15px;
  60. .item{
  61. display: flex;
  62. justify-content: space-between;
  63. line-height: 88rpx;
  64. border-bottom: 1px solid rgba(244, 244, 244, 1);
  65. .title{
  66. display: flex;
  67. align-items: center;
  68. .text{
  69. margin-left: 4rpx;
  70. }
  71. .asterisk{
  72. color: #f44444;
  73. }
  74. }
  75. .value{
  76. display: flex;
  77. align-items: center;
  78. .text{
  79. color: rgba(51, 51, 51, 1);
  80. margin-right: 8rpx;
  81. }
  82. }
  83. .photo{
  84. padding: 16rpx 134rpx 28rpx 134rpx;
  85. .img-box{
  86. width: 422rpx;
  87. height: 566rpx;
  88. border-radius: 8px;
  89. background-color: rgba(232, 232, 232, 1);
  90. text-align: center;
  91. display: table-cell;
  92. vertical-align: middle;
  93. img{
  94. width: 96rpx;
  95. height: 96rpx;
  96. }
  97. }
  98. }
  99. .tips{
  100. padding: 0 80rpx;
  101. line-height: 40rpx;
  102. color: #7D7D7D;
  103. font-weight: bold;
  104. text{
  105. color: rgba(255, 0, 0, 1);
  106. }
  107. }
  108. }
  109. }
  110. .display-none{
  111. display: block !important;
  112. }
  113. .save{
  114. margin: 56rpx 64rpx;
  115. border-radius: 50px;
  116. background-color: rgba(13, 186, 199, 1);
  117. color: rgba(255, 255, 255, 1);
  118. font-size: 32rpx;
  119. line-height: 88rpx;
  120. }
  121. </style>