特易招,招聘小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

115 lines
2.0 KiB

2 months ago
  1. <template>
  2. <view class="page">
  3. <navbar title="发布找活"
  4. leftClick
  5. @leftClick="$utils.navigateBack"/>
  6. <view class="box">
  7. <view class="list">
  8. <view class="item" v-for="(item, index) in list" :key="index">
  9. <view class="title">
  10. {{ item.title }}
  11. </view>
  12. <view class="tagList">
  13. <view :class="{act : i == item.index}" @click="clickTag(item, i)" v-for="(t, i) in item.tag"
  14. :key="t">
  15. {{ t }}
  16. </view>
  17. </view>
  18. </view>
  19. </view>
  20. <uv-textarea
  21. v-model="form.content"
  22. count
  23. :maxlength="300"
  24. autoHeight
  25. placeholder="请输入详细介绍"></uv-textarea>
  26. <view class="uni-color-btn">
  27. 发布
  28. </view>
  29. </view>
  30. </view>
  31. </template>
  32. <script>
  33. export default {
  34. data() {
  35. return {
  36. list: [
  37. {
  38. title: '您希望从事的工种',
  39. tag: ['电工', '焊工', '叉车', '其他'],
  40. index: 0,
  41. },
  42. {
  43. title: '您希望从事的工作区域',
  44. tag: ['长沙'],
  45. index: 0,
  46. },
  47. {
  48. title: '您目前所属的年龄段',
  49. tag: ['18岁~35岁', '35岁~45岁', '45岁~50岁', '50岁以上'],
  50. index: 0,
  51. },
  52. {
  53. title: '您希望从事的工作性质',
  54. tag: ['全职', '临时工', ],
  55. index: 0,
  56. },
  57. ],
  58. form : {}
  59. }
  60. },
  61. methods: {
  62. }
  63. }
  64. </script>
  65. <style scoped lang="scss">
  66. .page{
  67. background-color: #fff;
  68. min-height: 100vh;
  69. .box{
  70. padding: 30rpx;
  71. .list {
  72. .item {
  73. margin-top: 20rpx;
  74. .title {
  75. font-weight: 900;
  76. font-size: 30rpx;
  77. }
  78. .tagList {
  79. display: flex;
  80. flex-wrap: wrap;
  81. padding: 10rpx 0;
  82. view {
  83. background: rgba($uni-color, 0.1);
  84. padding: 10rpx 20rpx;
  85. margin: 10rpx;
  86. border-radius: 10rpx;
  87. font-size: 26rpx;
  88. }
  89. .act {
  90. color: #fff;
  91. background: $uni-color;
  92. }
  93. }
  94. }
  95. }
  96. /deep/ .uv-textarea{
  97. background-color: rgba($uni-color, 0.1) !important;
  98. min-height: 400rpx;
  99. }
  100. }
  101. }
  102. </style>