index.vue 5.5 KB

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