You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

SciAndTechPrjItem.vue 7.0 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. <template>
  2. <div class="item">
  3. <div class="header">
  4. <div class="header-l">
  5. <div class="title">小样本条件下的自适应机器学习理论与模型研究</div>
  6. <div class="prj-type">应用示范研究</div>
  7. </div>
  8. <div class="header-r">
  9. <a href="">
  10. <span>更多成果</span>
  11. <i class="el-icon-arrow-right"></i>
  12. </a>
  13. </div>
  14. </div>
  15. <div class="content">
  16. <div class="item-l-c">
  17. <div class="row">
  18. <span class="tit">负责单位:</span>
  19. <span class="val">鹏城实验室</span>
  20. </div>
  21. <div class="row">
  22. <span class="tit">参与单位:</span>
  23. <span class="val">大连理工大学、北京理工大学、北京理工大学、北京理工大学、北京理工大学、北京理工大学</span>
  24. </div>
  25. <div class="row">
  26. <span class="tit">申报年份:</span>
  27. <span class="val">2018</span>
  28. </div>
  29. <div class="row">
  30. <span class="tit">执行周期:</span>
  31. <span class="val">2019 - 2023</span>
  32. </div>
  33. <div class="row">
  34. <span class="tit">项目成果数:</span>
  35. <span class="val">10</span>
  36. </div>
  37. </div>
  38. <div class="item-r-c">
  39. <a class="repo-item-c" href="javascript:;" v-for="(item, index) in [1, 2]">
  40. <div class="repo-item">
  41. <div class="repo-hd">
  42. <div class="repo-avatar">
  43. <img v-if="data.RelAvatarLink" class="avatar" :src="data.RelAvatarLink" />
  44. <img v-else class="avatar" :avatar="data.OwnerName" />
  45. </div>
  46. <div class="repo-tit">面向服务的群智化生态化软件开发支撑平台(aiforge)</div>
  47. </div>
  48. <div class="repo-content">
  49. <div class="repo-descr">
  50. 本项目是群体化方法与技术的开源实现案例,在基于Gitea的基础上,进一步支持社交化的协同开发、协同学习、协同研究等群体创新实践服务,特别是针对新一代人工智能技术特点,重点支持项目管理、git代码管理、大数据集存储管理与智能计算平台接入。
  51. </div>
  52. </div>
  53. </div>
  54. </a>
  55. </div>
  56. </div>
  57. </div>
  58. </template>
  59. <script>
  60. import dayjs from 'dayjs';
  61. import { lang } from '~/langs';
  62. import { timeSinceUnix } from '~/utils';
  63. export default {
  64. name: "SciAndTechPrjItem",
  65. props: {
  66. data: { type: Object, default: () => ({}) },
  67. },
  68. components: {},
  69. data() {
  70. return {
  71. };
  72. },
  73. methods: {
  74. calcFromNow(unix) {
  75. return timeSinceUnix(unix, Date.now() / 1000);
  76. },
  77. dateFormat(unix) {
  78. return lang == 'zh-CN' ? dayjs(unix * 1000).format('YYYY年MM月DD日 HH时mm分ss秒') :
  79. dayjs(unix * 1000).format('ddd, D MMM YYYY HH:mm:ss [CST]');
  80. }
  81. },
  82. mounted() { },
  83. };
  84. </script>
  85. <style scoped lang="less">
  86. .item {
  87. border-color: rgb(232, 224, 236);
  88. border-width: 1px;
  89. border-style: solid;
  90. box-shadow: rgba(168, 157, 226, 0.2) 0px 5px 10px 0px;
  91. background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20version%3D%221.1%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%221%22%20x1%3D%220%22%20x2%3D%221%22%20y1%3D%220%22%20y2%3D%220%22%20gradientTransform%3D%22matrix(-0.01900000000000005%2C%200.997%2C%20-0.12862587255310284%2C%20-0.01900000000000005%2C%200.995%2C%200.014)%22%3E%3Cstop%20stop-color%3D%22%23f2edf5%22%20stop-opacity%3D%221%22%20offset%3D%220.01%22%3E%3C%2Fstop%3E%3Cstop%20stop-color%3D%22%23ffffff%22%20stop-opacity%3D%221%22%20offset%3D%220.31%22%3E%3C%2Fstop%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22url(%231)%22%3E%3C%2Frect%3E%3C%2Fsvg%3E");
  92. overflow: hidden;
  93. padding: 15px;
  94. .header {
  95. display: flex;
  96. align-items: center;
  97. justify-content: space-between;
  98. .header-l {
  99. display: flex;
  100. align-items: center;
  101. .title {
  102. color: rgb(16, 16, 16);
  103. font-size: 18px;
  104. font-weight: bold;
  105. overflow: hidden;
  106. text-overflow: ellipsis;
  107. white-space: nowrap;
  108. max-width: 800px;
  109. }
  110. .prj-type {
  111. margin-left: 14px;
  112. font-size: 12px;
  113. font-weight: 400;
  114. color: rgb(100, 59, 159);
  115. background: rgb(237, 234, 251);
  116. padding: 2px 5px;
  117. border-radius: 4px;
  118. }
  119. }
  120. .header-r {
  121. display: flex;
  122. align-items: baseline;
  123. text-align: right;
  124. color: rgb(50, 145, 248);
  125. font-size: 12px;
  126. width: 80px;
  127. justify-content: flex-end;
  128. i {
  129. margin-left: 1px;
  130. }
  131. }
  132. }
  133. .content {
  134. display: flex;
  135. margin-top: 10px;
  136. .item-l-c {
  137. flex: 1;
  138. .row {
  139. display: flex;
  140. font-size: 14px;
  141. color: rgb(16, 16, 16);
  142. margin: 8px 0;
  143. font-weight: 400;
  144. .tit {
  145. color: rgba(136, 136, 136, 1);
  146. }
  147. .val {
  148. flex: 1;
  149. width: 0;
  150. overflow: hidden;
  151. text-overflow: ellipsis;
  152. white-space: nowrap;
  153. }
  154. &:last-child {
  155. margin-bottom: 0;
  156. }
  157. }
  158. }
  159. .item-r-c {
  160. flex: 2;
  161. margin-left: 10px;
  162. display: flex;
  163. .repo-item-c {
  164. display: block;
  165. flex: 1;
  166. margin: 10px;
  167. padding: 20px;
  168. border-color: rgba(157, 197, 226, 0.4);
  169. border-width: 1px;
  170. border-style: solid;
  171. border-radius: 5px;
  172. box-shadow: rgba(157, 197, 226, 0.2) 0px 5px 10px 0px;
  173. background: rgb(255, 255, 255);
  174. width: 0;
  175. .repo-item {
  176. .repo-hd {
  177. display: flex;
  178. align-items: center;
  179. .repo-avatar {
  180. width: 28px;
  181. height: 28px;
  182. img {
  183. width: 100%;
  184. height: 100%;
  185. border-radius: 100%;
  186. }
  187. }
  188. .repo-tit {
  189. flex: 1;
  190. margin-left: 8px;
  191. width: 0;
  192. font-size: 14px;
  193. color: rgb(50, 145, 248);
  194. overflow: hidden;
  195. text-overflow: ellipsis;
  196. white-space: nowrap;
  197. }
  198. }
  199. .repo-content {
  200. margin-top: 10px;
  201. .repo-descr {
  202. width: 100%;
  203. font-size: 12px;
  204. color: rgb(136, 136, 136);
  205. text-overflow: ellipsis;
  206. word-break: break-all;
  207. display: -webkit-box;
  208. -webkit-box-orient: vertical;
  209. -webkit-line-clamp: 2;
  210. max-height: 41px;
  211. overflow: hidden;
  212. }
  213. }
  214. }
  215. }
  216. }
  217. }
  218. }
  219. </style>