TechnologyMG.vue 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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.longTitle}}
  8. </div>
  9. <div class="technology-info">
  10. 发表年份:{{item.publicYear}}
  11. </div>
  12. <div class="technology-info">
  13. 会议:{{item.conferenceJournal}}
  14. </div>
  15. <div class="technology-info">
  16. <el-row >
  17. 作者:{{item.author}}
  18. </el-row>
  19. </div>
  20. </el-row>
  21. </el-card>
  22. </div>
  23. <div v-else>
  24. 暂无内容
  25. </div>
  26. </div>
  27. </template>
  28. <script>
  29. import { mapGetters } from 'vuex';
  30. export default {
  31. name: 'TechnologyMG',
  32. props:['techArticleList'],
  33. methods:{
  34. gotoDetail(item){
  35. console.log('aaa');
  36. item.chineseBrief ? window.open(item.chineseBrief) : null
  37. }
  38. }
  39. }
  40. </script>
  41. <style scoped lang="less">
  42. .technology-card {
  43. .card-wrapper {
  44. .technology-img {
  45. width: 100%;
  46. height: 130px;
  47. }
  48. .technology-title{
  49. font-size:22px;
  50. font-family:Source Han Sans CN;
  51. font-weight:500;
  52. color:rgba(0,0,0,1);
  53. }
  54. .technology-info {
  55. font-size:16px;
  56. font-family:Source Han Sans CN;
  57. font-weight:400;
  58. color:rgba(0,0,0,1);
  59. margin: 10px 0
  60. }
  61. }
  62. }
  63. </style>