default.vue 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. <template>
  2. <div>
  3. <!-- 顶部导航栏 start -->
  4. <nav class="header navbar">
  5. <div class="container">
  6. <div class="navbar-header">
  7. <a href="/" class="logo">
  8. <h1>艾斯佰丽</h1>
  9. <img src="/img/logo.png" alt="艾斯佰丽" class="only-pc" />
  10. <img src="/img/logo3.png" alt="艾斯佰丽" class="only-mobile" />
  11. </a>
  12. <div
  13. class="only-mobile navbar-toggle active"
  14. data-toggle="collapse"
  15. data-target="#navbar-collapse"
  16. aria-expanded="false"
  17. >
  18. <span class="name">菜单</span>
  19. <span class="icon-bar"></span>
  20. </div>
  21. </div>
  22. <div id="navbar-collapse" class="navbar-collapse">
  23. <ul class="nav clearfix">
  24. <li
  25. :class="{ dropdown: nav.children, active: isActive(nav) }"
  26. v-for="nav in navbar"
  27. :key="nav.link"
  28. >
  29. <template v-if="nav.children">
  30. <a
  31. class="dropdown-toggle only-mobile"
  32. data-toggle="dropdown"
  33. href="javascript:void(0)"
  34. >{{ nav.name }}
  35. </a>
  36. <a :href="nav.link" class="only-pc" :target="nav.target">
  37. <span>{{ nav.name }}</span>
  38. <span>{{ nav.subname }}</span>
  39. </a>
  40. <ul class="dropdown-menu">
  41. <li class="only-mobile">
  42. <a :href="nav.link" :target="nav.target">{{ nav.name }}</a>
  43. </li>
  44. <template v-for="subNav in nav.children">
  45. <li v-if="subNav.children" :key="subNav.link">
  46. <a href="javascript:void(0)" class="submenu-toggle">{{
  47. subNav.name
  48. }}</a>
  49. <ul class="dropdown-submenu clearfix">
  50. <li v-for="lastNav in subNav.children" :key="lastNav.link">
  51. <a :href="lastNav.link" :target="lastNav.target">{{
  52. lastNav.name
  53. }}</a>
  54. </li>
  55. </ul>
  56. </li>
  57. <li v-else :key="subNav.link">
  58. <a :href="subNav.link" :target="subNav.target">{{ subNav.name }}</a>
  59. </li>
  60. </template>
  61. </ul>
  62. </template>
  63. <template v-else>
  64. <a :href="nav.link">
  65. <span>{{ nav.name }}</span>
  66. <span>{{ nav.subname }}</span>
  67. </a>
  68. </template>
  69. </li>
  70. </ul>
  71. </div>
  72. </div>
  73. </nav>
  74. <!-- 顶部导航栏 end -->
  75. <nuxt />
  76. <!-- 底部区域 start -->
  77. <div class="footer">
  78. <div class="container clearfix">
  79. <div class="logo only-mobile">
  80. <img src="/img/logo3.png" alt="" />
  81. <img src="/img/logo-ross.png" alt="" />
  82. </div>
  83. <div class="title only-mobile">关于我们</div>
  84. <div class="section">
  85. <div class="logo only-pc">
  86. <img src="/img/logo3.png" alt="" />
  87. <img src="/img/logo-ross.png" alt="" />
  88. </div>
  89. <div class="item contact">
  90. <!--ACEBELLE生物科技(深圳)有限公司(ROS'S中国区总代理)-->
  91. 深圳艾斯佰丽生物科技有限公司
  92. </div>
  93. <div class="item address">广东省深圳市福田区卓越世纪中心四号楼32层</div>
  94. <div class="item mobile">0755-23769340</div>
  95. <div class="item site">http://www.spainross.com</div>
  96. </div>
  97. <ul class="nav first">
  98. <!-- <li><a href="/about">艾斯佰丽</a></li> -->
  99. <li><nuxt-link to="/about.html">艾斯佰丽</nuxt-link></li>
  100. <li><a href="/brand.html">品牌中心</a></li>
  101. <li><a href="/product/binary-premium.html">binary premium</a></li>
  102. <li><a href="/product/kestos.html">kestos T2</a></li>
  103. <li><a href="/product/intradermik.html">intradermik</a></li>
  104. <li><a href="/product/rollaction.html">rollaction</a></li>
  105. </ul>
  106. <ul class="nav second">
  107. <li><a href="/product/mesobiolift.html">Mesobiolift RF</a></li>
  108. <li><a href="/product/diactivplus.html">Diactivplus</a></li>
  109. <li>
  110. <a href="https://zp.caimei365.com/12/ross" target="_blank">正品认证系统</a>
  111. </li>
  112. <li><a href="/cooperative.html">合作加盟</a></li>
  113. <li><a href="/contact.html">联系我们</a></li>
  114. </ul>
  115. <div class="qrcode-content">
  116. <div class="qrcode">
  117. <img src="/img/qrcode1.png" alt="二维码" />
  118. <div class="tip">西班牙ROS'S</div>
  119. </div>
  120. <div class="qrcode">
  121. <img src="/img/qrcode2.png" alt="二维码" />
  122. <div class="tip">正品认证系统</div>
  123. </div>
  124. </div>
  125. </div>
  126. <div class="line"></div>
  127. <div class="copyright">
  128. <a href="https://www.caimei365.com/" target="_blank"
  129. >本网站由采美365网提供技术支持</a
  130. >
  131. <span>Copyright ©2019</span>
  132. <span>acebelleshenzhen.com</span>
  133. <span
  134. >版权所有
  135. <a href="https://beian.miit.gov.cn/" target="_blank"
  136. >粤ICP备2020131296号</a
  137. ></span
  138. >
  139. </div>
  140. <div style="width: 300px; margin: -12px auto; padding: 20px 0;display: flex;">
  141. <a
  142. target="_blank"
  143. href="https://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44030402006354"
  144. style="
  145. display: inline-block;
  146. text-decoration: none;
  147. height: 20px;
  148. line-height: 20px;
  149. "
  150. ><img src="/img/beian.png" style="float: left" />
  151. <p
  152. style="float: left;height: 20px;line-height: 20px; margin: 0px 0px 0px 5px;color: #939393 !important;"
  153. >
  154. 粤公网安备 44030402006354号
  155. </p></a
  156. >
  157. </div>
  158. </div>
  159. <!-- 底部区域 end -->
  160. </div>
  161. </template>
  162. <script>
  163. export default {
  164. data() {
  165. return {
  166. navbar: [
  167. {
  168. name: "首页",
  169. link: "/index.html",
  170. target: "_self",
  171. subname: "Home",
  172. },
  173. {
  174. name: "艾斯佰丽",
  175. link: "/about.html",
  176. target: "_self",
  177. subname: "About Us",
  178. },
  179. {
  180. name: "品牌中心",
  181. link: "/brand.html",
  182. target: "_self",
  183. subname: "Brand",
  184. children: [
  185. {
  186. name: "ROS'S介绍",
  187. link: "/brand/ross.html",
  188. target: "_self",
  189. },
  190. {
  191. name: "产品系列",
  192. target: "_self",
  193. children: [
  194. {
  195. name: "Binary Premium",
  196. link: "/product/binary-premium.html",
  197. target: "_self",
  198. },
  199. {
  200. name: "Diactivplus",
  201. link: "/product/diactivplus.html",
  202. target: "_self",
  203. },
  204. {
  205. name: "Intradermik",
  206. link: "/product/intradermik.html",
  207. target: "_self",
  208. },
  209. {
  210. name: "Mesobiolift RF",
  211. link: "/product/mesobiolift.html",
  212. target: "_self",
  213. },
  214. {
  215. name: "Rollaction",
  216. link: "/product/rollaction.html",
  217. target: "_self",
  218. },
  219. {
  220. name: "Kestos T2",
  221. link: "/product/kestos.html",
  222. target: "_self",
  223. },
  224. ],
  225. },
  226. {
  227. name: "案例展示",
  228. link: "/case.html",
  229. target: "_self",
  230. },
  231. {
  232. name: "授权认证",
  233. link: "https://zp.caimei365.com/12/ross",
  234. target: "_blank",
  235. },
  236. ],
  237. },
  238. {
  239. name: "合作客户",
  240. link: "/cooperation.html",
  241. target: "_self",
  242. subname: "Cooperation",
  243. children: [
  244. {
  245. name: "品牌实力",
  246. link: "/cooperation.html?index=1",
  247. target: "_self",
  248. },
  249. {
  250. name: "提供支持",
  251. link: "/cooperation.html?index=2",
  252. target: "_self",
  253. },
  254. {
  255. name: "服务模式",
  256. link: "/cooperation.html?index=3",
  257. target: "_self",
  258. },
  259. {
  260. name: "在线咨询",
  261. link: "/cooperation.html?index=4",
  262. target: "_self",
  263. },
  264. ],
  265. },
  266. {
  267. name: "新闻动态",
  268. link: "/news.html",
  269. target: "_self",
  270. subname: "News",
  271. },
  272. {
  273. name: "联系我们",
  274. link: "/contact.html",
  275. target: "_self",
  276. subname: "Contact Us",
  277. children: [
  278. {
  279. name: "联系方式",
  280. link: "/contact/consult.html",
  281. target: "_self",
  282. },
  283. {
  284. name: "人才招聘",
  285. link: "/contact/job.html",
  286. target: "_self",
  287. },
  288. ],
  289. },
  290. ],
  291. };
  292. },
  293. methods: {
  294. isActive(nav) {
  295. // return window.location.href.indexOf(nav) > -1
  296. return this.$route.fullPath.indexOf(nav.link) > -1;
  297. },
  298. },
  299. };
  300. </script>