index.vue 5.6 KB

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