resource.tpl 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. <style scoped>
  2. .page-resource {
  3. padding-top: 55px;
  4. box-sizing: border-box;
  5. }
  6. .cards {
  7. margin: 35px auto 110px;
  8. .container {
  9. @utils-clearfix;
  10. padding: 0;
  11. margin: 0 -11px;
  12. width: auto;
  13. }
  14. li {
  15. width: 33.33333%;
  16. padding: 0 11px;
  17. box-sizing: border-box;
  18. float: left;
  19. list-style: none;
  20. }
  21. }
  22. h2 {
  23. font-size: 28px;
  24. margin: 0;
  25. }
  26. p {
  27. font-size: 14px;
  28. color: #5e6d82;
  29. }
  30. .card {
  31. height: 394px;
  32. width: 100%;
  33. background:#ffffff;
  34. border:1px solid #eaeefb;
  35. border-radius:5px;
  36. box-sizing: border-box;
  37. text-align: center;
  38. position: relative;
  39. transition: bottom .3s;
  40. bottom: 0;
  41. img {
  42. margin: 75px auto 35px;
  43. height: 87px;
  44. }
  45. h3 {
  46. margin: 0 0 10px;
  47. font-size: 18px;
  48. color: #1f2f3d;
  49. font-weight: normal;
  50. height: 22px;
  51. }
  52. p {
  53. font-size: 14px;
  54. color: #99a9bf;
  55. padding: 0 30px;
  56. margin: 0;
  57. line-height: <%= paraHeight >;
  58. }
  59. a {
  60. height: 42px;
  61. width: 190px;
  62. display: inline-block;
  63. line-height: @height;
  64. font-size: 14px;
  65. background-color: #409EFF;
  66. color: #fff;
  67. text-align: center;
  68. border: 0;
  69. padding: 0;
  70. cursor: pointer;
  71. border-radius: 2px;
  72. transition: all .3s;
  73. text-decoration: none;
  74. margin-top: 20px;
  75. }
  76. }
  77. @media (max-width: 850px) {
  78. .cards {
  79. li {
  80. max-width: 500px;
  81. float: none;
  82. margin: 10px auto 30px;
  83. width: 80%;
  84. .card {
  85. height: auto;
  86. padding-bottom: 20px;
  87. }
  88. }
  89. h3 {
  90. height: auto;
  91. }
  92. }
  93. }
  94. </style>
  95. <template>
  96. <div class="page-container page-resource">
  97. <h2><%= 1 ></h2>
  98. <p><%= 2 ></p>
  99. <!--<div class="cards">-->
  100. <!--<ul class="container">-->
  101. <!--<li>-->
  102. <!--<div class="card">-->
  103. <!--<img src="~examples/assets/images/Axure-Components.svg" alt="">-->
  104. <!--<h3><%= 3 ></h3>-->
  105. <!--<p><%= 4 ></p>-->
  106. <!--<a href="https://github.com/ElementUI/Resources/raw/master/Element_Components_v1.1.0.rplib"><%= 5 ></a>-->
  107. <!--</div>-->
  108. <!--</li>-->
  109. <!--<li>-->
  110. <!--<div class="card">-->
  111. <!--<img src="~examples/assets/images/Sketch-Template.svg" alt="">-->
  112. <!--<h3><%= 6 ></h3>-->
  113. <!--<p><%= 7 ></p>-->
  114. <!--<a href="https://github.com/ElementUI/Resources/raw/master/Element%20UI%20Kit_v1.3.sketch"><%= 5 ></a>-->
  115. <!--</div>-->
  116. <!--</li>-->
  117. <!--<li>-->
  118. <!--<div class="card">-->
  119. <!--<img src="~examples/assets/images/Module.svg" alt="">-->
  120. <!--<h3><%= 8 ></h3>-->
  121. <!--<p><%= 9 ></p>-->
  122. <!--<a href="https://github.com/ElementUI/Resources/raw/master/Element%20Components%20Documentation.zip"><%= 5 ></a>-->
  123. <!--</div>-->
  124. <!--</li>-->
  125. <!--</ul>-->
  126. <!--</div>-->
  127. </div>
  128. </template>