face.vue 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <template>
  2. <view class="rzbox">
  3. <view class="facea">
  4. <image :src="faceimg" class="faceimg"></image>
  5. <view class="faceb">
  6. <view class="factip">请保持不动</view>
  7. </view>
  8. </view>
  9. <view class="facetip">面容认证仅能由<text>林涵宇</text>本人完成</view>
  10. <view class="flexcc">
  11. <view class="flexccc facetips">
  12. <image :src="ftipa"></image>
  13. <view>避免遮挡</view>
  14. </view>
  15. <view class="flexccc facetips">
  16. <image :src="ftipb"></image>
  17. <view>光线充足</view>
  18. </view>
  19. <view class="flexccc facetips">
  20. <image :src="ftipc"></image>
  21. <view>正对手机</view>
  22. </view>
  23. </view>
  24. <view class="phobox">
  25. <view>请把脸移入框内并保持不动</view>
  26. <image :src="phoimg"></image>
  27. </view>
  28. <view class="rzbtn" @click="getSumit">提交</view>
  29. </view>
  30. </template>
  31. <script>
  32. import config from '@/config'
  33. const baseUrl = config.baseUrl
  34. import {uploadmore} from '@/utils/common.js'
  35. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  36. export default{
  37. components:{},
  38. data(){
  39. return{
  40. faceimg:require('@/work/static/images/prove/faceimg.png'),
  41. phoimg:require('@/work/static/images/prove/phoimg.png'),
  42. ftipa:require('@/work/static/images/prove/ftipa.png'),
  43. ftipb:require('@/work/static/images/prove/ftipb.png'),
  44. ftipc:require('@/work/static/images/prove/ftipc.png'),
  45. user:{
  46. }
  47. }
  48. },
  49. methods:{
  50. checkPermi, checkRole,
  51. getSumit(){
  52. this.$tab.navigateTo("/work/pages/prove/addqy")
  53. },
  54. }
  55. }
  56. </script>
  57. <style lang="scss" scoped>
  58. page{
  59. background:#ffffff;
  60. }
  61. .rzbox{padding: 78rpx 34rpx 76rpx;}
  62. // 面容
  63. .facea{width: 100%;margin:0 auto 16rpx;position: relative;width: 450rpx;height: 450rpx;
  64. image{width: 450rpx;height: 450rpx;display:block;margin: 0 auto;}
  65. .faceb{
  66. width: 376rpx;height: 376rpx;border-radius: 50%;position: absolute;top: 36rpx;left: 36rpx;border-radius: 50%;background-color: red;
  67. overflow: hidden;
  68. .factip{font-weight: bold;text-align: center;position: absolute;left: 0;top: 0;right: 0;height: 72rpx;line-height: 72rpx;
  69. font-size: 24rpx;color: #FFFFFF;background-color: rgba(0, 0, 0, 0.5);}
  70. }
  71. }
  72. .facetip{text-align: center;font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 78rpx;
  73. text{color: $com-cd3;font-weight: 500;padding: 0 4rpx;}
  74. }
  75. .facetips{width: 214rpx;
  76. image{width: 100rpx;height: 100rpx;margin-bottom: 14rpx;}
  77. view{font-weight: 500;font-size: 24rpx;color: #B0B0B0;}
  78. }
  79. .phobox{display: flex;flex-direction: column;align-items: center;margin-top: 200rpx;margin-bottom: 92rpx;
  80. view{font-weight: 500;font-size: 26rpx;color: #00A9F0;margin-bottom: 34rpx;}
  81. image{width: 72rpx;height: 116rpx;}
  82. }
  83. </style>