procurement_card.vue 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. <template>
  2. <view class="card">
  3. <view class="card_title">
  4. <view class="card_user_icon">
  5. 发起者
  6. </view>
  7. <view class="card_user">
  8. 科医人医疗激光设备贸易公司
  9. </view>
  10. </view>
  11. <view class="card_time">2023-04-26 16:20:10</view>
  12. <view class="card_content">
  13. <image class="card_content_img" src="" mode=""></image>
  14. <view class="card_content_title">
  15. 韩国恩盛进口氢洁气小气泡清韩进口氢
  16. 洁气小气泡清...
  17. </view>
  18. </view>
  19. <view class="card_form">
  20. <view class="form">
  21. <view class="form_title">
  22. 期望单价:
  23. </view>
  24. <view class="form_price">
  25. ¥100.00
  26. </view>
  27. </view>
  28. </view>
  29. <view class="card_form">
  30. <view class="form">
  31. <view class="form_title">
  32. 采购数量:
  33. </view>
  34. <view class="form_price">
  35. ¥100.00
  36. </view>
  37. </view>
  38. <view class="form_title">
  39. >
  40. </view>
  41. </view>
  42. <view class="card_form">
  43. <view class="form">
  44. <view class="form_title">
  45. 参与机构数:
  46. </view>
  47. <view class="form_price">
  48. ¥100.00
  49. </view>
  50. </view>
  51. </view>
  52. <view class="card_foot">
  53. <view class="foot_title">
  54. 您已参与
  55. </view>
  56. <view class="foot_continue">
  57. <view class="foot_change" @click="procurementChange">
  58. 修改
  59. </view>
  60. <!-- <view class="foot_delete" @click="procurementDelete">
  61. 删除
  62. </view> -->
  63. <view class="foot_exit" @click="procurementExit">
  64. 退出
  65. </view>
  66. </view>
  67. </view>
  68. <!-- <view class="card_foot_2">
  69. <view class="foot_title">
  70. 我要参与
  71. </view>
  72. </view>
  73. <view class="card_foot_2">
  74. <view class="foot_title_2">
  75. 您已参与
  76. </view>
  77. </view> -->
  78. <view class="card_status">
  79. <image style="width: 100%;height: 100%;" src="@/static/procurement/success.png" mode="aspectFill"></image>
  80. </view>
  81. <!-- <view class="card_bg"></view> -->
  82. </view>
  83. </template>
  84. <script>
  85. export default {
  86. props: {
  87. item: {
  88. id: 1,
  89. msg: '12313'
  90. }
  91. },
  92. data() {
  93. return {
  94. //data 数据
  95. card: {},
  96. status: ['已实现', '已删除']
  97. }
  98. },
  99. methods: {
  100. handlerChange() {
  101. this.$emit('modelData', this.item)
  102. },
  103. handlerDelete() {},
  104. // 删除
  105. procurementDelete() {},
  106. // 修改
  107. procurementChange() {},
  108. // 退出
  109. procurementExit() {},
  110. }
  111. }
  112. </script>
  113. <style scoped lang="scss">
  114. .card{
  115. border-radius: 8rpx;
  116. width: 100%;
  117. background: #fff;
  118. padding: 32rpx 32rpx 0 32rpx;
  119. box-sizing: border-box;
  120. position: relative;
  121. }
  122. .card_title {
  123. display: flex;
  124. align-items: center;
  125. margin-bottom: 32rpx;
  126. }
  127. .card .card_user_icon {
  128. width: 96rpx;
  129. height: 40rpx;
  130. border-radius: 8rpx;
  131. font-size: 24rpx;
  132. background-color: #F3B574;
  133. color: #fff;
  134. display: flex;
  135. justify-content: center;
  136. align-items: center;
  137. }
  138. .card .card_user {
  139. margin-left: 32rpx;
  140. height: 40rpx;
  141. display: flex;
  142. justify-content: center;
  143. align-items: center;
  144. color: black;
  145. font-size: 32rpx;
  146. }
  147. .card .card_time {
  148. height: 37rpx;
  149. font-size: 26rpx;
  150. font-weight: 400;
  151. color: #999999;
  152. margin-bottom: 32rpx;
  153. }
  154. .card .card_content{
  155. radius: 8rpx 8rpx 8rpx 8rpx;
  156. opacity: 1;
  157. background: #FFF8EF;
  158. height: 160rpx;
  159. padding: 12rpx 16rpx;
  160. display: flex;
  161. justify-content: space-around;
  162. align-items: center;
  163. box-sizing: border-box;
  164. margin-bottom: 32rpx;
  165. }
  166. .card .card_content_img {
  167. width: 136rpx;
  168. height: 136rpx;
  169. border-radius: 8rpx;
  170. }
  171. .card_content .card_content_title {
  172. width: 442rpx;
  173. height: 85rpx;
  174. font-size: 26rpx;
  175. font-family: PingFangSC-Regular, PingFang SC;
  176. font-weight: 400;
  177. color: #333333;
  178. line-height: 48rpx;
  179. }
  180. .card .card_form {
  181. margin-bottom: 32rpx;
  182. height: 37rpx;
  183. display: flex;
  184. justify-content: space-between;
  185. align-items: center;
  186. }
  187. .card_form .form {
  188. display: flex;
  189. height: 100%;
  190. }
  191. .card_form .form_title {
  192. color: #999999;
  193. height: 100%;
  194. line-height: 37rpx;
  195. font-size: 26rpx;
  196. }
  197. .card_form .form_price {
  198. height: 100%;
  199. line-height: 37rpx;
  200. color: #333333;
  201. font-size: 26rpx;
  202. }
  203. .card .card_foot {
  204. height: 100rpx;
  205. display: flex;
  206. justify-content: space-between;
  207. align-content: center;
  208. border-top: 1px solid #E1E1E1;
  209. }
  210. .card_foot .foot_title {
  211. color: #999999;
  212. height: 100%;
  213. line-height: 100rpx;
  214. font-size: 26rpx;
  215. }
  216. .card .foot_continue {
  217. display: flex;
  218. align-items: center;
  219. justify-content: center;
  220. height: 100%;
  221. }
  222. .foot_continue .foot_change {
  223. color: #F3B574;
  224. font-size: 26rpx;
  225. margin-right: 32rpx;
  226. }
  227. .foot_continue .foot_delete {
  228. font-size: 26rpx;
  229. color: #F85050;
  230. }
  231. .foot_continue .foot_exit {
  232. font-size: 26rpx;
  233. color: #F85050;
  234. }
  235. .card_foot_2 {
  236. border-top: 1px solid #E1E1E1;
  237. height: 100rpx;
  238. justify-content: center;
  239. align-items: center;
  240. display: flex;
  241. }
  242. .card_foot_2 .foot_title {
  243. color: #F3B574;
  244. font-size: 32rpx;
  245. font-weight: 500;
  246. }
  247. .card_foot_2 .foot_title_2 {
  248. color: #999999;
  249. font-size: 32rpx;
  250. font-weight: 400;
  251. }
  252. .card_status {
  253. position: absolute;
  254. width: 150rpx;
  255. height: 100rpx;
  256. top: 48rpx;
  257. right: 48rpx;
  258. }
  259. .card_bg {
  260. position: absolute;
  261. left: 0;
  262. top: 0;
  263. height: 100%;
  264. width: 100%;
  265. background-color: rgba(255, 255, 255, 0.7);
  266. }
  267. </style>