TechnologyMG.vue 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <template>
  2. <div class="technology-card">
  3. <div class="card-wrapper" v-if="techArticleList&&techArticleList.length">
  4. <el-card v-for="item in techArticleList" :key="item.id" style="margin-bottom: 15px">
  5. <el-row @click.native="gotoDetail(item)">
  6. <div class="technology-title">
  7. {{item.title}}
  8. <span v-if="item.chineseBrief" style="color:rgba(0, 118, 203, 1);cursor: pointer;">[chineseBrief]</span>
  9. </div>
  10. <div class="technology-info">
  11. 发表年份:{{item.publicTime}}
  12. </div>
  13. <div class="technology-info">
  14. 会议:{{item.conferenceJournal}}
  15. </div>
  16. <div class="technology-info">
  17. <el-row >
  18. 作者:{{item.authorList}}
  19. </el-row>
  20. </div>
  21. </el-row>
  22. </el-card>
  23. </div>
  24. <div v-else>
  25. 暂无内容
  26. </div>
  27. </div>
  28. </template>
  29. <script>
  30. export default {
  31. name: 'TechnologyMG',
  32. props:['techArticleList'],
  33. methods:{
  34. gotoDetail(item){
  35. item.chineseBrief ? window.open(item.chineseBrief) : null
  36. }
  37. }
  38. }
  39. </script>
  40. <style scoped lang="less">
  41. .technology-card {
  42. .card-wrapper {
  43. .technology-img {
  44. width: 100%;
  45. height: 130px;
  46. }
  47. .technology-title{
  48. font-size:22px;
  49. font-family:Source Han Sans CN;
  50. font-weight:500;
  51. color:rgba(0,0,0,1);
  52. }
  53. .technology-info {
  54. font-size:16px;
  55. font-family:Source Han Sans CN;
  56. font-weight:400;
  57. color:rgba(0,0,0,1);
  58. margin: 10px 0
  59. }
  60. }
  61. }
  62. </style>