resource.vue 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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. }
  43. h3 {
  44. margin: 0 0 10px;
  45. font-size: 18px;
  46. color: #1f2f3d;
  47. font-weight: normal;
  48. }
  49. p {
  50. font-size: 14px;
  51. color: #99a9bf;
  52. padding: 0 30px;
  53. margin: 0;
  54. }
  55. a {
  56. height: 42px;
  57. width: 190px;
  58. display: inline-block;
  59. line-height: @height;
  60. font-size: 14px;
  61. background-color: #20a0ff;
  62. color: #fff;
  63. text-align: center;
  64. border: 0;
  65. padding: 0;
  66. cursor: pointer;
  67. border-radius: 2px;
  68. transition: all .3s;
  69. text-decoration: none;
  70. margin-top: 20px;
  71. }
  72. }
  73. </style>
  74. <template>
  75. <div class="page-container page-resource">
  76. <h2>资源</h2>
  77. <p>这里提供 Element 相关设计资源和设计工具的下载,更多设计资源正在整理和完善中。</p>
  78. <div class="cards">
  79. <ul class="container">
  80. <li>
  81. <div class="card">
  82. <img src="~examples/assets/images/Axure-Components.svg" alt="">
  83. <h3>Axure Components</h3>
  84. <p>通过在 Axure 中导入 Element 组件库,可以在交互设计阶段方便地调用常用的组件</p>
  85. <a href="">下载</a>
  86. </div>
  87. </li>
  88. <li>
  89. <div class="card">
  90. <img src="~examples/assets/images/Sketch-Template.svg" alt="">
  91. <h3>Sketch Template</h3>
  92. <p>从 Element Template 快速调用常用组件,在提升设计效率的同时,保证统一的视觉风格</p>
  93. <a href="">下载</a>
  94. </div>
  95. </li>
  96. <li>
  97. <div class="card">
  98. <img src="~examples/assets/images/Module.svg" alt="">
  99. <h3>组件交互文档</h3>
  100. <p>进一步查看 Element 交互文档,从一个较为微观的角度详细地了解各个组件的交互细节</p>
  101. <a href="">下载</a>
  102. </div>
  103. </li>
  104. </ul>
  105. </div>
  106. </div>
  107. </template>