index.vue 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. <template>
  2. <div>
  3. <!-- banner区域 start -->
  4. <div class="swiper-container banner" id="banner">
  5. <div class="swiper-wrapper">
  6. <div class="swiper-slide">
  7. <img src="/img/brand-banner.jpg" alt="" />
  8. </div>
  9. </div>
  10. <!-- <div class="swiper-pagination"></div> -->
  11. </div>
  12. <!-- banner区域 end -->
  13. <div class="main">
  14. <div class="brand">
  15. <div class="container">
  16. <div class="cover">
  17. <img src="/img/brand-section-bg-01.png" alt="" />
  18. </div>
  19. <div class="content">
  20. <img class="brand-logo" src="/img/brand-logo-01.png" alt="" />
  21. <div class="name">云智能体疗管理系统</div>
  22. <a href="/product/binary-premium.html" class="link">了解设备</a>
  23. </div>
  24. </div>
  25. </div>
  26. <div class="brand">
  27. <div class="container">
  28. <div class="cover">
  29. <img src="/img/brand-section-bg-02.png" alt="" />
  30. </div>
  31. <div class="content">
  32. <img class="brand-logo" src="/img/brand-logo-02.png" alt="" />
  33. <div class="name">穿戴式肌肉抗衰系统</div>
  34. <a href="/product/kestos.html" class="link">了解设备</a>
  35. </div>
  36. </div>
  37. </div>
  38. <div class="brand">
  39. <div class="container">
  40. <div class="cover">
  41. <img src="/img/brand-section-bg-03.png" alt="" />
  42. </div>
  43. <div class="content">
  44. <img class="brand-logo" src="/img/brand-logo-03.png" alt="" />
  45. <div class="name">便携式康复理疗设备</div>
  46. <a href="/product/intradermik.html" class="link">了解设备</a>
  47. </div>
  48. </div>
  49. </div>
  50. <div class="brand">
  51. <div class="container">
  52. <div class="cover">
  53. <img src="/img/brand-section-bg-04.png" alt="" />
  54. </div>
  55. <div class="content">
  56. <img class="brand-logo" src="/img/brand-logo-04.png" alt="" />
  57. <div class="name">全身紧致抗衰系统</div>
  58. <a href="/product/mesobiolift.html" class="link">了解设备</a>
  59. </div>
  60. </div>
  61. </div>
  62. <div class="brand">
  63. <div class="container">
  64. <div class="cover">
  65. <img src="/img/brand-section-bg-05.png" alt="" />
  66. </div>
  67. <div class="content">
  68. <img class="brand-logo" src="/img/brand-logo-05.png" alt="" />
  69. <div class="name">创新理疗按摩系统</div>
  70. <a href="/product/rollaction.html" class="link">了解设备</a>
  71. </div>
  72. </div>
  73. </div>
  74. <div class="brand">
  75. <div class="container">
  76. <div class="cover">
  77. <img src="/img/brand-section-bg-06.png" alt="" />
  78. </div>
  79. <div class="content">
  80. <img class="brand-logo" src="/img/brand-logo-06.png" alt="" />
  81. <div class="name">专业康复理疗系统</div>
  82. <a href="/product/diactivplus.html" class="link">了解设备</a>
  83. </div>
  84. </div>
  85. </div>
  86. </div>
  87. </div>
  88. </template>
  89. <script>
  90. export default {
  91. head() {
  92. return {
  93. title: '首页-艾斯佰丽官网-品牌中心',
  94. }
  95. },
  96. mounted() {
  97. new Swiper('#banner', {
  98. loop: false, // 循环模式选项
  99. // 如果需要分页器
  100. pagination: {
  101. el: '.swiper-pagination',
  102. },
  103. })
  104. },
  105. }
  106. </script>
  107. <style lang="scss" scoped>
  108. @media screen and (min-width: 768px) {
  109. .main {
  110. .brand {
  111. margin-top: 60px;
  112. &:first-child {
  113. margin-top: 120px;
  114. }
  115. .container {
  116. position: relative;
  117. }
  118. .cover {
  119. width: 880px;
  120. height: 420px;
  121. }
  122. .content {
  123. position: absolute;
  124. right: 0;
  125. top: 50%;
  126. -webkit-transform: translateY(-50%);
  127. transform: translateY(-50%);
  128. display: -webkit-box;
  129. display: -ms-flexbox;
  130. display: flex;
  131. -webkit-box-pack: center;
  132. -ms-flex-pack: center;
  133. justify-content: center;
  134. -webkit-box-align: center;
  135. -ms-flex-align: center;
  136. align-items: center;
  137. -webkit-box-orient: vertical;
  138. -webkit-box-direction: normal;
  139. -ms-flex-direction: column;
  140. flex-direction: column;
  141. width: 360px;
  142. height: 340px;
  143. border: 3px solid #000000;
  144. -webkit-box-sizing: border-box;
  145. box-sizing: border-box;
  146. background: #fff;
  147. .brand-logo {
  148. position: relative;
  149. width: 346px;
  150. height: 154px;
  151. overflow: hidden;
  152. img {
  153. display: block;
  154. position: absolute;
  155. left: 50%;
  156. top: 50%;
  157. -webkit-transform: translate(-50%, -50%);
  158. transform: translate(-50%, -50%);
  159. }
  160. }
  161. .name {
  162. font-size: 29px;
  163. color: #000;
  164. margin: 24px 0 32px;
  165. }
  166. .link {
  167. display: block;
  168. width: 160px;
  169. height: 48px;
  170. background: #d2d2d2;
  171. opacity: 1;
  172. font-size: 16px;
  173. color: #000000;
  174. text-align: center;
  175. line-height: 48px;
  176. cursor: pointer;
  177. -webkit-transition: all 0.4s;
  178. transition: all 0.4s;
  179. &:hover {
  180. background: #ddd;
  181. }
  182. }
  183. }
  184. }
  185. }
  186. }
  187. @media screen and (max-width: 768px) {
  188. .main {
  189. .brand {
  190. width: 6.86rem;
  191. margin: 0 auto;
  192. margin-top: 0.4rem;
  193. &:first-child {
  194. margin-top: 0.8rem;
  195. }
  196. .cover {
  197. width: 100%;
  198. height: 3.28rem;
  199. img {
  200. display: block;
  201. width: 100%;
  202. height: 100%;
  203. }
  204. }
  205. .content {
  206. position: relative;
  207. background: #fff;
  208. -webkit-box-sizing: border-box;
  209. box-sizing: border-box;
  210. border: 0.03rem solid #000;
  211. border-top: 0;
  212. padding: 0.32rem 0.4rem;
  213. .brand-logo {
  214. position: relative;
  215. width: 2.7rem;
  216. height: 1rem;
  217. background: skyblue;
  218. overflow: hidden;
  219. img {
  220. display: block;
  221. position: absolute;
  222. left: 50%;
  223. top: 50%;
  224. height: 0.92rem;
  225. -webkit-transform: translate(-50%, -50%);
  226. transform: translate(-50%, -50%);
  227. }
  228. }
  229. .name {
  230. font-size: 0.26rem;
  231. color: #505050;
  232. }
  233. .link {
  234. display: block;
  235. position: absolute;
  236. right: 0.4rem;
  237. bottom: 0.32rem;
  238. width: 1.8rem;
  239. height: 0.56rem;
  240. background: #d2d2d2;
  241. opacity: 1;
  242. font-size: 0.24rem;
  243. color: #000;
  244. text-align: center;
  245. line-height: 0.56rem;
  246. &:hover {
  247. background: #eee;
  248. }
  249. }
  250. }
  251. }
  252. }
  253. }
  254. </style>