resource.vue 2.5 KB

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