creation_task.vue 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <template>
  2. <view class="total-page page-box task-bg">
  3. <Nav :title="'创建任务'" :genre="1" is_fixed></Nav>
  4. <TaskImgTab></TaskImgTab>
  5. <view class="sys-background-fff m-20 p-20 r-20">
  6. <view class="creation_item row-justify-sb center line-60 sys-bg-BFD2CC r-20 p-30 m-b20"
  7. v-for="(item,index) in creationLsit" :key="index" @click="onCeationTask(item)">
  8. <view class="row-c">
  9. <image class="wh-60 m-r20" :src="item.icon" mode="aspectFill"></image>
  10. <text class="size-28 text-color-12 sys-weight-400">{{item.name}}</text>
  11. </view>
  12. <image class="wh-45" src="/static/img/task/task-arrows.png" mode="aspectFill"></image>
  13. </view>
  14. </view>
  15. </view>
  16. </template>
  17. <script>
  18. import TaskImgTab from "@/common/task/task_ima_tab.vue"
  19. export default {
  20. components: {
  21. TaskImgTab,
  22. },
  23. data() {
  24. return {
  25. creationLsit: [{
  26. name: '垫资还款-开发区',
  27. icon: '/static/img/task/task-repayment.png'
  28. }, {
  29. name: '提放业务',
  30. icon: '/static/img/task/task-put.png'
  31. }, {
  32. name: '垫还',
  33. icon: '/static/img/task/task-business.png'
  34. }, ]
  35. }
  36. },
  37. methods: {
  38. onCeationTask(item) {
  39. uni.navigateTo({
  40. url: `/page_task/information/information?title=${item.name}`
  41. })
  42. }
  43. }
  44. }
  45. </script>
  46. <style lang="scss" scoped>
  47. .creation_item:last-child {
  48. margin-bottom: 0;
  49. }
  50. </style>