company.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <template>
  2. <view class="company">
  3. <nav-bar title="公司认证" color="#000"></nav-bar>
  4. <view class="company-content">
  5. <view class="company-title">请认证你和公司的关系</view>
  6. <view class="company-img-box" @click="goUploadImg">
  7. <view class="comp-img">
  8. <image src="@/static/images/jobApplicant/yinyezhizhao.svg" mode="scaleToFill" />
  9. </view>
  10. <view class="comp-txt">
  11. <view class="comp-name">营业执照</view>
  12. <view class="comp-desc">拍照上传纸质营业执照原件</view>
  13. </view>
  14. </view>
  15. </view>
  16. <view class="bottom-btn">更换公司</view>
  17. </view>
  18. </template>
  19. <script>
  20. import navBar from "@/components/nav-bar/index.vue";
  21. export default {
  22. data() {
  23. return {
  24. address: "",
  25. addressDetail: "",
  26. companyName:"",
  27. companyId:""
  28. };
  29. },
  30. components: {
  31. navBar,
  32. },
  33. onLoad(options) {
  34. // 接收上个页面传递的公司名称参数
  35. if (options.companyName) {
  36. this.companyName = decodeURIComponent(options.companyName);
  37. console.log('接收的公司名称:', this.companyName);
  38. }
  39. if (options.companyId) {
  40. this.companyId = options.companyId;
  41. console.log('接收的公司ID:', this.companyId);
  42. }
  43. },
  44. methods: {
  45. goUploadImg(){
  46. uni.navigateTo({ url: '/package/jobIntention/companyImg?companyName='+this.companyName+'&companyId='+this.companyId })
  47. }
  48. },
  49. };
  50. </script>
  51. <style scoped lang="scss">
  52. .company {
  53. position: absolute;
  54. left: 0;
  55. right: 0;
  56. top: 0;
  57. bottom: 0;
  58. display: flex;
  59. flex-direction: column;
  60. font-family: DM Sans;
  61. .company-content {
  62. flex: 1;
  63. padding: 40rpx;
  64. box-sizing: border-box;
  65. overflow: hidden;
  66. overflow-y: auto;
  67. .company-title {
  68. color: #333;
  69. font-size: 40rpx;
  70. font-weight: 600;
  71. margin-bottom: 20rpx;
  72. }
  73. .company-img-box {
  74. display: flex;
  75. align-items: center;
  76. box-sizing: border-box;
  77. border: 1rpx solid rgba(227, 231, 236, 1);
  78. border-radius: 12rpx;
  79. background: rgba(255, 255, 255, 1);
  80. padding: 36rpx;
  81. box-sizing: border-box;
  82. gap: 26rpx;
  83. .comp-img {
  84. flex-shrink: 0;
  85. image {
  86. width: 96rpx;
  87. height: 96rpx;
  88. }
  89. }
  90. .comp-txt {
  91. flex: 1;
  92. .comp-name {
  93. color: rgba(23, 23, 37, 1);
  94. font-family: DM Sans;
  95. font-size: 28rpx;
  96. font-weight: 400;
  97. }
  98. .comp-desc {
  99. margin-top: 8rpx;
  100. color: rgba(120, 130, 138, 1);
  101. font-family: DM Sans;
  102. font-size: 28rpx;
  103. font-weight: 400;
  104. }
  105. }
  106. }
  107. }
  108. .bottom-btn {
  109. flex-shrink: 0;
  110. padding-bottom: 50rpx;
  111. text-align: center;
  112. color: #016bf6;
  113. font-family: DM Sans;
  114. font-size: 28rpx;
  115. font-weight: 400;
  116. line-height: 36rpx;
  117. }
  118. }
  119. </style>