resource.vue 2.9 KB

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