laborManagement.vue 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. <template>
  2. <view>
  3. <u-navbar back-text="用工管理" back-icon-size="28" back-icon-color="#ffffff"
  4. :background="{backgroundColor: '#2795FD',}" :back-text-style="{color: '#ffffff'}"></u-navbar>
  5. <!-- 标签 -->
  6. <view class="tabs">
  7. <u-tabs :list="list" :is-scroll="false" :current="current" @change="change"></u-tabs>
  8. </view>
  9. <!-- 发布中 -->
  10. <view class="my-registration" v-if="current==0">
  11. <view class="card">
  12. <view class="positon-salary">
  13. <view class="positon">
  14. 摄影助理
  15. </view>
  16. <view class="salary">
  17. 200元/天
  18. </view>
  19. </view>
  20. <view class="tags-date">
  21. <view class="tags">
  22. 招聘1人
  23. </view>
  24. <view class="date">
  25. 报名时间:2023-06-01
  26. </view>
  27. </view>
  28. <u-line color="#E6E6E6"></u-line>
  29. <view class="buttons">
  30. <view class="btn refresh">
  31. 刷新
  32. </view>
  33. <view class="btn amend">
  34. 修改
  35. </view>
  36. <view class="btn delete">
  37. 删除
  38. </view>
  39. </view>
  40. </view>
  41. </view>
  42. <!-- 待审核 -->
  43. <view class="my-registration" v-if="current==1">
  44. <view class="card">
  45. <view class="positon-salary">
  46. <view class="positon">
  47. 摄影助理
  48. </view>
  49. <view class="salary">
  50. 200元/天
  51. </view>
  52. </view>
  53. <view class="tags-date">
  54. <view class="tags">
  55. 招聘1人
  56. </view>
  57. <view class="date">
  58. 报名时间:2023-06-01
  59. </view>
  60. </view>
  61. <u-line color="#E6E6E6"></u-line>
  62. <view class="buttons">
  63. <view class="btn amend">
  64. 修改
  65. </view>
  66. <view class="btn delete">
  67. 删除
  68. </view>
  69. </view>
  70. </view>
  71. </view>
  72. <!-- 未通过 -->
  73. <view class="my-registration" v-if="current==2">
  74. <view class="card">
  75. <view class="positon-salary">
  76. <view class="positon">
  77. 摄影助理
  78. </view>
  79. <view class="salary">
  80. 200元/天
  81. </view>
  82. </view>
  83. <view class="tags-date">
  84. <view class="tags">
  85. 招聘1人
  86. </view>
  87. <view class="date">
  88. 报名时间:2023-06-01
  89. </view>
  90. </view>
  91. <u-line color="#E6E6E6"></u-line>
  92. <view class="buttons">
  93. <view class="btn amend">
  94. 修改
  95. </view>
  96. <view class="btn delete">
  97. 删除
  98. </view>
  99. </view>
  100. </view>
  101. </view>
  102. <!-- 底部 -->
  103. <view class="bottom">
  104. <button class="issue">发布用工需求
  105. </button>
  106. </view>
  107. </view>
  108. </template>
  109. <script>
  110. export default {
  111. data() {
  112. return {
  113. list: [{
  114. name: '发布中'
  115. }, {
  116. name: '待审核'
  117. },{
  118. name:'未通过'
  119. }],
  120. current: 0
  121. }
  122. },
  123. methods: {
  124. change(index) {
  125. this.current = index;
  126. }
  127. }
  128. }
  129. </script>
  130. <style>
  131. page {
  132. background: #F0F0F2;
  133. padding-bottom: 150px;
  134. }
  135. </style>
  136. <style scoped lang="scss">
  137. .card{
  138. margin: 24rpx 32rpx;
  139. background-color: #fff;
  140. padding: 24rpx;
  141. border-radius: 12px;
  142. .positon-salary{
  143. display: flex;
  144. justify-content: space-between;
  145. align-items: center;
  146. .positon{
  147. color: rgba(16, 16, 16, 1);
  148. font-size: 36rpx;
  149. font-family: 'PingFangSC-medium';
  150. }
  151. .salary{
  152. color: rgba(255, 61, 0, 1);
  153. font-size: 32rpx;
  154. font-family: 'PingFangSC-medium';
  155. }
  156. }
  157. .tags-date{
  158. display: flex;
  159. justify-content: space-between;
  160. align-items: center;
  161. margin-top: 16rpx;
  162. margin-bottom: 24rpx;
  163. .tags{
  164. color: rgba(102, 102, 102, 1);
  165. }
  166. .date{
  167. color: rgba(153, 153, 153, 1);
  168. font-size: 24rpx;
  169. }
  170. }
  171. // 按钮
  172. .buttons{
  173. display: flex;
  174. justify-content: flex-end;
  175. margin-top: 24rpx;
  176. .btn{
  177. width: 120rpx;
  178. height: 56rpx;
  179. line-height: 56rpx;
  180. border-radius: 50px;
  181. background-color: rgba(255, 255, 255, 1);
  182. color: rgba(119, 119, 119, 1);
  183. text-align: center;
  184. font-family: Microsoft Yahei;
  185. border: 1px solid rgba(207, 210, 213, 1);
  186. margin-left: 24rpx;
  187. }
  188. .delete{
  189. color: rgba(238, 49, 56, 1);
  190. }
  191. }
  192. }
  193. .bottom{
  194. position: fixed;
  195. left: 0;
  196. right: 0;
  197. bottom: 0;
  198. .issue{
  199. height: 96rpx;
  200. line-height: 96rpx;
  201. border-radius: 50px;
  202. background-color: rgba(34, 149, 255, 1);
  203. color: rgba(241, 241, 241, 1);
  204. font-size: 36rpx;
  205. text-align: center;
  206. box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.03);
  207. margin: 24rpx 32rpx;
  208. }
  209. }
  210. </style>