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

126 lines
2.3 KiB

7 months ago
5 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
5 months ago
7 months ago
5 months ago
7 months ago
5 months ago
7 months ago
7 months ago
  1. <template>
  2. <!-- 电子合同 -->
  3. <view>
  4. <navbar title="电子合同"
  5. leftClick
  6. @leftClick="$utils.navigateBack"/>
  7. <view class="">
  8. <uv-tabs :list="tabs"
  9. lineColor="#3796F8"
  10. lineHeight="8rpx"
  11. lineWidth="50rpx"
  12. :scrollable="false"
  13. @click="clickTabs"></uv-tabs>
  14. </view>
  15. <view class="content">
  16. <view class="projectContent"
  17. v-for="(item, index) in list"
  18. @click="$utils.navigateTo('/pages_order/mine/contractDetail?id=' + item.id)"
  19. :key="index">
  20. <image src="../static/contract/contract.png" alt="" />
  21. <view class="itemList">
  22. <view class="projectName">
  23. <!-- xxxx电子合同 -->
  24. {{ item.title }}
  25. </view>
  26. <view class="buyer">
  27. <!-- 甲方湖南瀚海科技有限公司 -->
  28. {{ item.nameA }}
  29. </view>
  30. <view class="seller">
  31. <!-- 乙方四川特能博世科技有限公司 -->
  32. {{ item.nameB }}
  33. </view>
  34. </view>
  35. <view class="run">
  36. <uv-icon
  37. name="arrow-right"
  38. color="#2979ff"
  39. size="30rpx"></uv-icon>
  40. </view>
  41. </view>
  42. </view>
  43. </view>
  44. </template>
  45. <script>
  46. import mixinList from '@/mixins/list.js'
  47. import { mapState } from 'vuex'
  48. export default {
  49. mixins : [mixinList],
  50. data() {
  51. return {
  52. tabs: [
  53. {
  54. name: '全部合同'
  55. },
  56. {
  57. name: '待我签署'
  58. },
  59. {
  60. name: '他人签署'
  61. },
  62. {
  63. name: '签约完成'
  64. },
  65. ],
  66. type : 0,
  67. mixinsListApi : 'queryContractList',
  68. }
  69. },
  70. computed : {
  71. },
  72. onLoad() {
  73. this.queryParams.role = this.role ? 1 : 0
  74. },
  75. methods: {
  76. clickTabs({index}) {
  77. this.type = index
  78. this.getData()
  79. },
  80. }
  81. }
  82. </script>
  83. <style scoped lang="scss">
  84. .content {
  85. width: 100%;
  86. height: 100%;
  87. .projectContent {
  88. background-color: #fff;
  89. display: flex;
  90. margin: 30rpx;
  91. border-radius: 20rpx;
  92. image {
  93. width: 140rpx;
  94. height: 120rpx;
  95. margin: 20rpx;
  96. }
  97. .itemList {
  98. margin: 28rpx 10rpx;
  99. .projectName {
  100. font-size: 32rpx;
  101. }
  102. .buyer {
  103. font-size: 24rpx;
  104. }
  105. .seller {
  106. font-size: 24rpx;
  107. }
  108. }
  109. .run{
  110. margin: auto;
  111. margin-right: 30rpx;
  112. height: 60rpx;
  113. width: 60rpx;
  114. border-radius: 50%;
  115. border: 1px solid $uni-color;
  116. display: flex;
  117. justify-content: center;
  118. align-items: center;
  119. }
  120. }
  121. }
  122. </style>