index.vue 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. <template>
  2. <div class="page">
  3. <div class="page-top">
  4. <div class="club-info">
  5. <img
  6. class="logo"
  7. src="https://static.caimei365.com/www/authentic/pc/ldm-logo-circle.png"
  8. />
  9. <div class="name">德国WELLCOMET LDM<sup>®</sup></div>
  10. </div>
  11. </div>
  12. <div class="page-content">
  13. <div class="info">
  14. <div class="title">
  15. 德国LDM<sup>®</sup>带您开启非入侵式护肤美容新时代
  16. </div>
  17. <div class="subtitle">
  18. Bring you into a new era <br />
  19. of high-tech non-invasive beauty care
  20. </div>
  21. </div>
  22. <div class="entry">
  23. <nuxt-link class="section" :to="`/${authUserId}/ldm/approve/club`"
  24. >查询授权商家</nuxt-link
  25. >
  26. <nuxt-link
  27. class="section"
  28. :to="`/${authUserId}/ldm/approve/personnel/training`"
  29. >查询官方培训师</nuxt-link
  30. >
  31. </div>
  32. </div>
  33. <div class="page-footer flex flex-col justify-center">
  34. <div class="name mb-1">需要帮助吗?</div>
  35. <div class="contact">联系我们 +86 1382160616</div>
  36. </div>
  37. </div>
  38. </template>
  39. <script>
  40. import { mapGetters } from 'vuex'
  41. export default {
  42. layout: 'app-ldm',
  43. computed: {
  44. ...mapGetters(['authUserId']),
  45. },
  46. }
  47. </script>
  48. <style scoped lang="scss">
  49. @media screen and (min-width: 768px) {
  50. .page-top {
  51. position: relative;
  52. height: 750px;
  53. background: url(https://static.caimei365.com/www/authentic/pc/ldm-bg-approve.png)
  54. no-repeat center;
  55. background-size: auto 596px;
  56. background-position-y: top;
  57. .club-info {
  58. width: 100%;
  59. position: absolute;
  60. bottom: 0;
  61. text-align: center;
  62. .logo {
  63. display: block;
  64. width: 158px;
  65. height: 158px;
  66. margin: 0 auto;
  67. border-radius: 50%;
  68. box-shadow: 0 4px 9px rgba(0, 0, 0, 0.34);
  69. }
  70. .name {
  71. font-size: 40px;
  72. font-weight: bold;
  73. color: #000000;
  74. margin-top: 21px;
  75. }
  76. }
  77. }
  78. .page-content {
  79. min-height: calc(100vh - 750px - 100px);
  80. .info {
  81. padding: 81px;
  82. .title {
  83. font-size: 27px;
  84. color: #000;
  85. text-align: center;
  86. margin-bottom: 34px;
  87. font-weight: bold;
  88. }
  89. .subtitle {
  90. text-align: center;
  91. margin: 0 auto;
  92. font-size: 20px;
  93. color: #221815;
  94. text-transform: uppercase;
  95. }
  96. }
  97. .entry {
  98. text-align: center;
  99. margin-bottom: 169px;
  100. .section {
  101. display: inline-block;
  102. width: 291px;
  103. height: 76px;
  104. background: #000000;
  105. color: #fff;
  106. text-align: center;
  107. line-height: 76px;
  108. font-size: 24px;
  109. cursor: pointer;
  110. &:first-child {
  111. margin-right: 197px;
  112. }
  113. }
  114. }
  115. }
  116. .page-footer {
  117. position: relative;
  118. height: 100px;
  119. padding-left: 194px;
  120. background: linear-gradient(to bottom, #f1f1f1, #fdfdfd, #f1f1f1);
  121. .name {
  122. font-size: 24px;
  123. color: #9d9d9d;
  124. }
  125. .contact {
  126. font-size: 19px;
  127. color: #9d9d9d;
  128. }
  129. &::before {
  130. position: absolute;
  131. left: 120px;
  132. top: 50%;
  133. transform: translateY(-50%);
  134. content: '';
  135. display: block;
  136. width: 56px;
  137. height: 56px;
  138. background: url(https://static.caimei365.com/www/authentic/h5/ldm-icon-contact1.png)
  139. no-repeat center;
  140. background-size: 56px auto;
  141. }
  142. }
  143. }
  144. @media screen and (max-width: 768px) {
  145. .page-top {
  146. position: relative;
  147. height: 83vw;
  148. background: url(https://static.caimei365.com/www/authentic/h5/ldm-bg-approve.png)
  149. no-repeat;
  150. background-size: auto 59.6vw;
  151. background-position-y: top;
  152. .club-info {
  153. width: 100%;
  154. position: absolute;
  155. bottom: 0;
  156. text-align: center;
  157. .logo {
  158. display: block;
  159. width: 29.5vw;
  160. height: 29.5vw;
  161. margin: 0 auto;
  162. border-radius: 50%;
  163. box-shadow: 0 0.4vw 0.9vw rgba(0, 0, 0, 0.34);
  164. }
  165. .name {
  166. font-size: 4vw;
  167. font-weight: bold;
  168. color: #000000;
  169. margin-top: 3.7vw;
  170. }
  171. }
  172. }
  173. .page-content {
  174. min-height: calc(100vh - 83vw - 15.4vw);
  175. .info {
  176. padding: 22vw 2.4vw;
  177. .title {
  178. font-size: 4vw;
  179. color: #000;
  180. text-align: center;
  181. margin-bottom: 5.1vw;
  182. font-weight: bold;
  183. }
  184. .subtitle {
  185. text-align: center;
  186. margin: 0 auto;
  187. font-size: 3vw;
  188. color: #221815;
  189. text-transform: uppercase;
  190. }
  191. }
  192. .entry {
  193. .section {
  194. display: block;
  195. width: 62.8vw;
  196. height: 11.4vw;
  197. background: #000000;
  198. color: #fff;
  199. text-align: center;
  200. line-height: 11.4vw;
  201. margin: 0 auto;
  202. margin-bottom: 3.7vw;
  203. font-size: 3.5vw;
  204. }
  205. }
  206. }
  207. .page-footer {
  208. position: relative;
  209. height: 15.4vw;
  210. padding-left: 12.5vw;
  211. background: linear-gradient(to bottom, #f1f1f1, #fdfdfd, #f1f1f1);
  212. .name {
  213. font-size: 3.2vw;
  214. color: #9d9d9d;
  215. }
  216. .contact {
  217. font-size: 2.6vw;
  218. color: #9d9d9d;
  219. }
  220. &::before {
  221. position: absolute;
  222. left: 2.4vw;
  223. top: 50%;
  224. transform: translateY(-50%);
  225. content: '';
  226. display: block;
  227. width: 7.5vw;
  228. height: 7.5vw;
  229. background: url(https://static.caimei365.com/www/authentic/h5/ldm-icon-contact1.png)
  230. no-repeat center;
  231. background-size: 7.4vw auto;
  232. }
  233. }
  234. }
  235. </style>