resource.vue 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <style scoped>
  2. .page-resource {
  3. padding-top: 55px;
  4. }
  5. .cards {
  6. margin: 35px auto 110px;
  7. .container {
  8. @utils-clearfix;
  9. padding: 0;
  10. margin: 0 -11px;
  11. width: auto;
  12. }
  13. li {
  14. width: 33.33333%;
  15. padding: 0 11px;
  16. box-sizing: border-box;
  17. float: left;
  18. list-style: none;
  19. }
  20. }
  21. h2 {
  22. font-size: 28px;
  23. margin: 0;
  24. }
  25. p {
  26. font-size: 14px;
  27. color: #5e6d82;
  28. }
  29. .card {
  30. height: 394px;
  31. width: 100%;
  32. background:#ffffff;
  33. border:1px solid #eaeefb;
  34. border-radius:5px;
  35. box-sizing: border-box;
  36. text-align: center;
  37. position: relative;
  38. transition: bottom .3s;
  39. bottom: 0;
  40. img {
  41. margin: 75px auto 35px;
  42. height: 87px;
  43. }
  44. h3 {
  45. margin: 0 0 10px;
  46. font-size: 18px;
  47. color: #1f2f3d;
  48. font-weight: normal;
  49. height: 22px;
  50. }
  51. p {
  52. font-size: 14px;
  53. color: #99a9bf;
  54. padding: 0 30px;
  55. margin: 0;
  56. }
  57. a {
  58. height: 42px;
  59. width: 190px;
  60. display: inline-block;
  61. line-height: @height;
  62. font-size: 14px;
  63. background-color: #20a0ff;
  64. color: #fff;
  65. text-align: center;
  66. border: 0;
  67. padding: 0;
  68. cursor: pointer;
  69. border-radius: 2px;
  70. transition: all .3s;
  71. text-decoration: none;
  72. margin-top: 20px;
  73. }
  74. }
  75. </style>
  76. <template>
  77. <div class="page-container page-resource">
  78. <h2>资源</h2>
  79. <p>这里提供 Element 相关设计资源和设计工具的下载,更多设计资源正在整理和完善中。</p>
  80. <div class="cards">
  81. <ul class="container">
  82. <li>
  83. <div class="card">
  84. <img src="~examples/assets/images/Axure-Components.svg" alt="">
  85. <h3>Axure Components</h3>
  86. <p>通过在 Axure 中导入 Element 组件库,可以在交互设计阶段方便地调用常用的组件</p>
  87. <a href="">下载</a>
  88. </div>
  89. </li>
  90. <li>
  91. <div class="card">
  92. <img src="~examples/assets/images/Sketch-Template.svg" alt="">
  93. <h3>Sketch Template</h3>
  94. <p>从 Element Template 快速调用常用组件,在提升设计效率的同时,保证统一的视觉风格</p>
  95. <a href="">下载</a>
  96. </div>
  97. </li>
  98. <li>
  99. <div class="card">
  100. <img src="~examples/assets/images/Module.svg" alt="">
  101. <h3>组件交互文档</h3>
  102. <p>进一步查看 Element 交互文档,从一个较为微观的角度详细地了解各个组件的交互细节</p>
  103. <a href="">下载</a>
  104. </div>
  105. </li>
  106. </ul>
  107. </div>
  108. </div>
  109. </template>