CrowdCase.vue 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <template>
  2. <div class="technology-card">
  3. <div class="card-wrapper" v-if="true">
  4. <el-card v-for="item in [1,2,3]" :key="item" style="margin-bottom: 15px">
  5. <el-row >
  6. <el-col :span="6">
  7. <img :src="item.photoUrl" alt="technology-img" class="pull-left technology-img">
  8. </el-col>
  9. <el-col :span="18" class="technology-detail">
  10. <div class="technology-title" @click="gotoDetail(item)">
  11. 众测知识图谱辅助生成工具
  12. </div>
  13. <div class="technology-info">
  14. <div>简介:xxxxx</div>
  15. <div>开发:课题一</div>
  16. </div>
  17. </el-col>
  18. </el-row>
  19. </el-card>
  20. </div>
  21. <div v-else>
  22. 暂无内容
  23. </div>
  24. </div>
  25. </template>
  26. <script>
  27. import Http from '@/js/http.js'
  28. export default {
  29. name: 'CrowdCase',
  30. // props:['caseList'],
  31. methods:{
  32. // gotoDetail(item){
  33. // //增加访问量
  34. // Http.get(`/api/technical/updateranking/${item.id}`).then(()=>{
  35. // this.$emit('refreshList');
  36. // window.open(item.articlesUrl);
  37. // })
  38. // }
  39. }
  40. }
  41. </script>
  42. <style scoped lang="less">
  43. .technology-card {
  44. .card-wrapper {
  45. .technology-img {
  46. width: 100%;
  47. height: 130px;
  48. }
  49. .technology-detail {
  50. padding-left: 15px;
  51. height: 130px;
  52. display: flex;
  53. flex-direction: column;
  54. justify-content: space-between;
  55. .technology-title{
  56. cursor:pointer;
  57. font-size:22px;
  58. font-family:Source Han Sans CN;
  59. font-weight:500;
  60. color:rgba(0,0,0,1);
  61. }
  62. .technology-info {
  63. font-size:16px;
  64. font-family:Source Han Sans CN;
  65. font-weight:400;
  66. color:rgba(0,0,0,1);
  67. }
  68. }
  69. }
  70. }
  71. </style>