resources.vue 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. <template>
  2. <view class="content">
  3. <view class="hflex acenter jbetween">
  4. <view class="top_bg">
  5. <view class="top" @click="toRule">规则</view>
  6. </view>
  7. <view class="top_bg">
  8. <view class="top">公约</view>
  9. </view>
  10. <view class="top_bg">
  11. <view class="top">供方认可机构清单</view>
  12. </view>
  13. </view>
  14. <view class="">
  15. <block v-for="(item,index) in pageList" :key="index">
  16. <view class="box">
  17. <view class="box_name">{{item.name}}</view>
  18. <view class="text_style1 text_hide">规则:{{item.rule}}</view>
  19. <view class="text_style1 text_hide">公约:{{item.convention}}</view>
  20. <view class="bottom hflex jend">
  21. <view class="btn" @click="toDetail(item.id)">查看详情</view>
  22. </view>
  23. </view>
  24. </block>
  25. </view>
  26. </view>
  27. </template>
  28. <script>
  29. import $api from '@/static/js/api.js'
  30. var that = ''
  31. export default {
  32. data() {
  33. return {
  34. pageList: [
  35. {
  36. id: 1,
  37. name: '重庆长江轮船有限公司江湾船厂',
  38. rule: '古宥村船溪二港北帝庙周边环境改造工程—招标项目的潜在投标…',
  39. convention:'古宥村船溪二港北帝庙周边环境改造工程—招标项目的潜在投标…',
  40. },
  41. {
  42. id: 1,
  43. name: '重庆长江轮船有限公司江湾船厂',
  44. rule: '古宥村船溪二港北帝庙周边环境改造工程—招标项目的潜在投标…',
  45. convention:'古宥村船溪二港北帝庙周边环境改造工程—招标项目的潜在投标…',
  46. },
  47. {
  48. id: 1,
  49. name: '重庆长江轮船有限公司江湾船厂',
  50. rule: '古宥村船溪二港北帝庙周边环境改造工程—招标项目的潜在投标…',
  51. convention:'古宥村船溪二港北帝庙周边环境改造工程—招标项目的潜在投标…',
  52. },
  53. {
  54. id: 1,
  55. name: '重庆长江轮船有限公司江湾船厂',
  56. rule: '古宥村船溪二港北帝庙周边环境改造工程—招标项目的潜在投标…',
  57. convention:'古宥村船溪二港北帝庙周边环境改造工程—招标项目的潜在投标…',
  58. },
  59. {
  60. id: 1,
  61. name: '重庆长江轮船有限公司江湾船厂',
  62. rule: '古宥村船溪二港北帝庙周边环境改造工程—招标项目的潜在投标…',
  63. convention:'古宥村船溪二港北帝庙周边环境改造工程—招标项目的潜在投标…',
  64. }
  65. ],
  66. }
  67. },
  68. onLoad() {
  69. that = this
  70. },
  71. methods: {
  72. // 查看详情
  73. toDetail(id) {
  74. $api.jump('/page_index/pages/resources/resourDetail?id=' + id)
  75. },
  76. // 规则
  77. toRule() {
  78. $api.jump('/page_index/pages/resources/rule')
  79. }
  80. },
  81. }
  82. </script>
  83. <style lang="scss" scoped>
  84. .content {
  85. padding: 20rpx 30rpx;
  86. background: #F4F4F4;
  87. .top_bg {
  88. height: 64rpx;
  89. box-sizing: border-box;
  90. padding: 0 60rpx;
  91. background: #506DFF;
  92. border-radius: 12rpx;
  93. .top {
  94. font-size: 26rpx;
  95. font-weight: 400;
  96. color: #FFFFFF;
  97. line-height: 64rpx;
  98. position: relative;
  99. }
  100. .top::before {
  101. position: absolute;
  102. content: "";
  103. width: 8rpx;
  104. height: 8rpx;
  105. background: #FFB33A;
  106. border-radius: 50%;
  107. top: 32rpx;
  108. left: -16rpx;
  109. }
  110. }
  111. .box {
  112. width: 100%;
  113. margin-top: 20rpx;
  114. background: #FFFFFF;
  115. border-radius: 24rpx;
  116. box-sizing: border-box;
  117. padding: 24rpx 20rpx;
  118. .box_name {
  119. font-size: 30rpx;
  120. font-weight: 500;
  121. color: #222222;
  122. line-height: 42rpx;
  123. padding-bottom: 20rpx;
  124. }
  125. .text_style1 {
  126. font-size: 20rpx;
  127. font-weight: 400;
  128. color: #999999;
  129. line-height: 28rpx;
  130. padding-bottom: 20rpx;
  131. }
  132. .bottom {
  133. width: 100%;
  134. padding: 20rpx 0 0;
  135. border-top: 1rpx solid #F4F4F4;
  136. .btn {
  137. width: 148rpx;
  138. height: 52rpx;
  139. border-radius: 28rpx;
  140. border: 1px solid #506DFF;
  141. text-align: center;
  142. line-height: 52rpx;
  143. font-size: 26rpx;
  144. font-weight: 400;
  145. color: #506DFF;
  146. }
  147. }
  148. }
  149. }
  150. </style>