特易招,招聘小程序
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.

62 lines
1.0 KiB

6 months ago
  1. <template>
  2. <!-- 我发布的招工 -->
  3. <view class="page">
  4. <navbar title="我的找活"
  5. bgColor="#3796F8"
  6. leftClick
  7. color="#fff"
  8. @leftClick="$utils.navigateBack"/>
  9. <statisticsNumber/>
  10. <workListSwipe
  11. :options="options"
  12. @clickSwipeAction="clickSwipeAction"
  13. :list="10"/>
  14. </view>
  15. </template>
  16. <script>
  17. import workListSwipe from '@/components/list/workList/workListSwipe.vue'
  18. import statisticsNumber from '../components/statistics/statisticsNumber.vue'
  19. import mixinList from '@/mixins/list.js'
  20. export default {
  21. mixins : [mixinList],
  22. components : {
  23. workListSwipe,
  24. statisticsNumber
  25. },
  26. data() {
  27. return {
  28. options: [
  29. {
  30. text: '修改',
  31. style: {
  32. backgroundColor: '#ffa12c'
  33. }
  34. },
  35. {
  36. text: '删除',
  37. style: {
  38. backgroundColor: '#FA5A0A'
  39. }
  40. },
  41. ],
  42. }
  43. },
  44. methods: {
  45. clickSwipeAction({e, item}){
  46. console.log(e, item);
  47. },
  48. }
  49. }
  50. </script>
  51. <style scoped lang="scss">
  52. .page{
  53. /deep/ .uv-swipe-action{
  54. width: 100%;
  55. }
  56. }
  57. </style>