creation_task.vue 1.4 KB

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