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

51 lines
812 B

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