improvePrompt.vue 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. <template>
  2. <view class="container">
  3. <view>
  4. <image src="/static/images/slogan.png" class="slogan"></image>
  5. <view class="content">
  6. <image src="/static/images/logo-long.png" class="logo"></image>
  7. <view class="tip">温馨提示</view>
  8. <view class="tip-text">
  9. <template v-if="scene == 1">
  10. <view class="text">如果您的简历完善度不足80%</view>
  11. <view class="text">我们将无法进行推荐</view>
  12. <view class="text">为更好地求职机会,请充分填写简历</view>
  13. </template>
  14. <template v-else>
  15. <view class="text">如果您的求职期望至少有一条,</view>
  16. <view class="text">且完善总分数大于等于60分</view>
  17. <view class="text">我们将进行简历推荐,请充分填写简历</view>
  18. </template>
  19. </view>
  20. </view>
  21. </view>
  22. <view class="buttons">
  23. <template v-if="scene == 1">
  24. <view class="white-btn" @click="toOnlineResume">完善在线简历</view>
  25. </template>
  26. <template v-else>
  27. <view class="link-btn">手动完善简历</view>
  28. <view class="white-btn">附件简历一键识别</view>
  29. </template>
  30. </view>
  31. </view>
  32. </template>
  33. <script>
  34. export default {
  35. data() {
  36. return {
  37. scene: 0, // 0正常进入 1邀请进入
  38. };
  39. },
  40. onLoad(options) {
  41. if (options.scene) {
  42. this.scene = options.scene
  43. }
  44. },
  45. methods: {
  46. toOnlineResume() {
  47. uni.navigateTo({
  48. url: `/pages/my/onlineResume?scene=${this.scene}`
  49. })
  50. }
  51. }
  52. }
  53. </script>
  54. <style lang="scss">
  55. .container {
  56. position: relative;
  57. display: flex;
  58. flex-direction: column;
  59. justify-content: space-between;
  60. min-height: 100vh;
  61. background-color: #016bf6;
  62. background-image: url('/static/images/bg1.png');
  63. background-size: 100%;
  64. background-repeat: repeat;
  65. .slogan {
  66. display: block;
  67. width: 634rpx;
  68. height: 358rpx;
  69. margin: 80rpx auto;
  70. }
  71. .content {
  72. width: 654rpx;
  73. padding: 64rpx;
  74. background-color: #fff;
  75. border-radius: 64rpx;
  76. margin: 0 auto;
  77. text-align: center;
  78. .logo {
  79. display: block;
  80. width: 166rpx;
  81. height: 46rpx;
  82. margin: 0 auto;
  83. }
  84. .tip {
  85. font-size: 40rpx;
  86. font-weight: bold;
  87. line-height: 64rpx;
  88. color: #016bf6;
  89. margin: 48rpx auto 15rpx;
  90. }
  91. .text {
  92. font-size: 32rpx;
  93. line-height: 50rpx;
  94. color: #999;
  95. }
  96. }
  97. .buttons {
  98. margin-bottom: 40rpx;
  99. .white-btn {
  100. width: 600rpx;
  101. height: 88rpx;
  102. font-size: 32rpx;
  103. line-height: 88rpx;
  104. text-align: center;
  105. color: #016bf6;
  106. background-color: #fff;
  107. border-radius: 88rpx;
  108. margin: 32rpx auto 0;
  109. }
  110. .link-btn {
  111. text-align: center;
  112. color: #fff;
  113. }
  114. }
  115. }
  116. </style>