new-feature.vue 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <template>
  2. <div class="feature">
  3. <ul >
  4. <li>
  5. <span>
  6. <img :src="new1" alt="">
  7. <p>轮播图</p>
  8. </span>
  9. </li>
  10. <li>
  11. <span>
  12. <img :src="new1" alt="">
  13. <p>轮播图</p>
  14. </span>
  15. </li>
  16. <li>
  17. <span>
  18. <img :src="new1" alt="">
  19. <p>轮播图</p>
  20. </span>
  21. </li>
  22. <li>
  23. <span>
  24. <img :src="new1" alt="">
  25. <p>轮播图</p>
  26. </span>
  27. </li>
  28. <li>
  29. <span>
  30. <img :src="new1" alt="">
  31. <p class="title">轮播图</p>
  32. </span>
  33. </li>
  34. </ul>
  35. <!-- <el-row :gutter="21" type="flex" justify="space-around">
  36. <el-col :span="5"><div class="grid-content "><img :src="new1" alt=""><p>轮播图</p></div></el-col>
  37. <el-col :span="5"><div class="grid-content "><img :src="new1" alt=""><p>医院介绍</p></div></el-col>
  38. <el-col :span="5"><div class="grid-content "><img :src="new1" alt=""><p>科室介绍</p></div></el-col>
  39. </el-row>
  40. <el-row :gutter="21" type="flex" justify="space-around">
  41. <el-col :span="5"><div class="grid-content "><img :src="new1" alt=""><p>轮播图</p></div></el-col>
  42. <el-col :span="5"><div class="grid-content "><img :src="new1" alt=""><p>医院介绍</p></div></el-col>
  43. <el-col :span="5"><div class="grid-content "><img :src="new1" alt=""><p>科室介绍</p></div></el-col>
  44. </el-row>
  45. <el-row :gutter="21" type="flex" justify="space-around">
  46. <el-col :span="5"><div class="grid-content "><img :src="new1" alt=""><p>轮播图</p></div></el-col>
  47. <el-col :span="5"><div class="grid-content "><img :src="new1" alt=""><p>医院介绍</p></div></el-col>
  48. <el-col :span="5"><div class="grid-content "><img :src="new1" alt=""><p>科室介绍</p></div></el-col>
  49. </el-row> -->
  50. </div>
  51. </template>
  52. <script>
  53. export default {
  54. name: "newfeature",
  55. data() {
  56. return {
  57. new1: require("../../../assets/preview/new-1.png")
  58. };
  59. }
  60. };
  61. </script>
  62. <style rel="stylesheet/scss" lang="scss" scoped>
  63. .feature {
  64. ul {
  65. border: 1px solid #eaeefb;
  66. float: left;
  67. width: 100%;
  68. li {
  69. width: 33.3%;
  70. float: left;
  71. text-align: center;
  72. height: 120px;
  73. color: #666;
  74. font-size: 13px;
  75. border-right: 1px solid #eee;
  76. border-bottom: 1px solid #eee;
  77. margin-right: -1px;
  78. margin-bottom: -1px;
  79. span {
  80. vertical-align: middle;
  81. display: flex;
  82. flex-direction: column;
  83. align-items: center;
  84. justify-content: center;
  85. height: 120px;
  86. img {
  87. display: inline-block;
  88. font-size: 32px;
  89. margin-bottom: 15px;
  90. color: #606266;
  91. transition: color 0.15s linear;
  92. vertical-align: middle;
  93. }
  94. .title {
  95. display: inline-block;
  96. padding: 0 3px;
  97. height: 30px;
  98. vertical-align: middle;
  99. }
  100. }
  101. }
  102. }
  103. }
  104. </style>