companyDev.vue 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. <template>
  2. <view class="switch-roles">
  3. <nav-bar title="选择公司规模" color="#000"></nav-bar>
  4. <view class="roles-content">
  5. <view class="content">
  6. <view class="progress-num"> <text>2</text>/8 </view>
  7. <view class="title">公司发展阶段</view>
  8. <view class="desc">
  9. 公司融资状态是公司阶段的重要体现之一,使企业形象更加丰富和全面
  10. </view>
  11. <view class="check-box">
  12. <view
  13. class="check-item"
  14. v-for="(item, index) in checkList"
  15. :key="index"
  16. @click="checkItem(index)"
  17. >
  18. <view
  19. class="check-icon"
  20. :class="{ 'check-icon-active': check == index }"
  21. >
  22. <u-icon name="checkmark" color="#fff" size="28" v-if="check == index"></u-icon>
  23. </view>
  24. <view class="check-txt">{{ item }}</view>
  25. </view>
  26. </view>
  27. </view>
  28. </view>
  29. <view class="submit-btn" @click="goJobPostingSecond">下一步</view>
  30. </view>
  31. </template>
  32. <script>
  33. import navBar from "@/components/nav-bar/index.vue";
  34. export default {
  35. data() {
  36. return {
  37. checkList: [
  38. "未融资",
  39. "天使轮",
  40. "A轮",
  41. "B轮",
  42. "C轮",
  43. "D轮及以上",
  44. "已上市",
  45. "不需要融资",
  46. ],
  47. check: null,
  48. };
  49. },
  50. components: {
  51. navBar,
  52. },
  53. onLoad(options) {
  54. if (options.text) {
  55. this.text = options.text;
  56. }
  57. },
  58. methods: {
  59. checkItem(index) {
  60. this.check = index;
  61. },
  62. goJobPostingSecond(){
  63. uni.navigateTo({ url: '/my/renzheng/companyFund' })
  64. }
  65. },
  66. };
  67. </script>
  68. <style lang="scss" scoped>
  69. .switch-roles {
  70. background-color: #fff;
  71. position: absolute;
  72. left: 0;
  73. right: 0;
  74. top: 0;
  75. bottom: 0;
  76. display: flex;
  77. flex-direction: column;
  78. .roles-content {
  79. width: 100%;
  80. flex: 1;
  81. overflow: hidden;
  82. overflow-y: auto;
  83. .content {
  84. padding: 40rpx;
  85. box-sizing: border-box;
  86. display: flex;
  87. flex-direction: column;
  88. align-items: center;
  89. justify-content: center;
  90. .progress-num {
  91. color: #016bf6;
  92. font-family: DM Sans;
  93. font-size: 24rpx;
  94. font-weight: 500;
  95. width: 100%;
  96. padding-bottom: 20rpx;
  97. box-sizing: border-box;
  98. text {
  99. font-size: 48rpx;
  100. font-weight: 700;
  101. }
  102. }
  103. .title {
  104. color: #333;
  105. width: 100%;
  106. font-family: DM Sans;
  107. font-size: 48rpx;
  108. font-weight: 700;
  109. }
  110. .desc {
  111. color: rgba(102, 102, 102, 1);
  112. width: 100%;
  113. font-family: DM Sans;
  114. font-size: 24rpx;
  115. font-weight: 400;
  116. line-height: 32rpx;
  117. letter-spacing: 0.5%;
  118. text-align: left;
  119. padding: 20rpx 0;
  120. box-sizing: border-box;
  121. }
  122. .check-box {
  123. width: 100%;
  124. .check-item {
  125. padding: 24rpx 32rpx;
  126. box-sizing: border-box;
  127. border-radius: 100rpx;
  128. border: 2rpx solid rgba(227, 231, 236, 1);
  129. display: flex;
  130. align-items: center;
  131. gap: 32rpx;
  132. margin-bottom: 20rpx;
  133. .check-icon {
  134. width: 48rpx;
  135. height: 48rpx;
  136. border-radius: 50%;
  137. border: 2rpx solid rgba(227, 231, 236, 1);
  138. display: flex;
  139. justify-content: center;
  140. align-items: center;
  141. }
  142. .check-icon-active {
  143. background-color: #016bf6;
  144. border-color: #016bf6;
  145. }
  146. .check-txt {
  147. color: rgba(23, 23, 37, 1);
  148. font-family: DM Sans;
  149. font-size: 28rpx;
  150. font-weight: 400;
  151. line-height: 48rpx;
  152. }
  153. }
  154. }
  155. }
  156. }
  157. .submit-btn {
  158. flex-shrink: 0;
  159. border-radius: 999px;
  160. background: #ff6600;
  161. color: rgba(255, 255, 255, 1);
  162. font-family: DM Sans;
  163. font-size: 32rpx;
  164. font-weight: 400;
  165. line-height: 48rpx;
  166. display: flex;
  167. justify-content: center;
  168. align-items: center;
  169. padding: 16rpx 32rpx;
  170. box-sizing: border-box;
  171. margin: 60rpx 62rpx;
  172. }
  173. }
  174. </style>