user.vue 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <template>
  2. <el-row class="TT-user">
  3. <el-col class="nav">
  4. <router-link :to="{name: 'register'}">
  5. <img src="../../../../static/img/mine/icon_0.png" alt="">
  6. <p>免费用户可以使用所有收费方式是免费的功能,包括淘宝词库、指数转换等功能。虽然免费,但是功能非常多哦!</p>
  7. <button class="default">免费注册</button>
  8. </router-link>
  9. <a href="javascript:;">
  10. <img src="../../../../static/img/mine/icon_1.png" alt="">
  11. <p>会员用户可以使用所有收费方式是会员的功能,主要用于浏览器插件。</p>
  12. <button class="primary">立即购买</button>
  13. </a>
  14. <a href="javascript:;">
  15. <img src="../../../../static/img/mine/icon_2.png" alt="">
  16. <p>积分用户可以使用所有收费方式是积分的功能,主要用于官网的积分消耗的功能!</p>
  17. <button class="primary">立即购买</button>
  18. </a>
  19. </el-col>
  20. </el-row>
  21. </template>
  22. <script>
  23. export default {
  24. name: 'user'
  25. }
  26. </script>
  27. <style lang="scss" scoped>
  28. .TT-user {
  29. width: 100%;
  30. padding-top: 118px;
  31. background: url("../../../../static/img/mine/bg.png") center 0/1060px 231px no-repeat;
  32. .nav {
  33. display: flex;
  34. justify-content: center;
  35. align-items: center;
  36. }
  37. a {
  38. position: relative;
  39. left: 0;
  40. top: 0;
  41. display: flex;
  42. flex-direction: column;
  43. align-items: center;
  44. width: 180px;
  45. height: 301px;
  46. margin-left: 12px;
  47. border-radius: 13px;
  48. text-decoration: none;
  49. box-shadow: 0 2px 17px 0 rgba(0, 0, 0, 0.2);
  50. background: #FFFFFF;
  51. &:nth-of-type(1) {
  52. margin-left: 0;
  53. }
  54. img {
  55. display: block;
  56. width: 180px;
  57. height: 114px;
  58. }
  59. p {
  60. width: 141px;
  61. margin-top: 20px;
  62. line-height: 17px;
  63. font-size: 12px;
  64. color: #666666;
  65. }
  66. button {
  67. position: absolute;
  68. left: 50%;
  69. bottom: 20px;
  70. width: 136px;
  71. height: 33px;
  72. margin-top: 31px;
  73. margin-left: -68px;
  74. border-radius: 3px;
  75. outline: none;
  76. line-height: 31px;
  77. font-size: 13px;
  78. cursor: pointer;
  79. background: transparent;
  80. &.default {
  81. color: #999999;
  82. border: 1px solid #999999;
  83. }
  84. &.primary {
  85. color: #332C2B;
  86. border: 1px solid #332C2B;
  87. }
  88. }
  89. }
  90. }
  91. </style>