productList.html 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540
  1. <!DOCTYPE html>
  2. <!--[if IE 8 ]><html class="ie" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"> <![endif]-->
  3. <!--[if (gte IE 9)|!(IE)]><!--><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"><!--<![endif]-->
  4. <head>
  5. <!-- Basic Page Needs -->
  6. <meta charset="utf-8">
  7. <!--[if IE]><meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><![endif]-->
  8. <title>班尼戈-德国班尼戈阀门【官网】</title>
  9. <link rel="icon" href="./favicon.ico" type="image/x-icon">
  10. <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon">
  11. <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
  12. <!-- Mobile Specific Metas -->
  13. <!-- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> -->
  14. <!-- Theme Style -->
  15. <link rel="stylesheet" type="text/css" href="blog/style.css">
  16. <link href="css/bootstrap.min.css" rel="stylesheet">
  17. <link href="css/style.css" rel="stylesheet">
  18. <link href="css/bng.css" rel="stylesheet">
  19. <link href="css/swiper.min.css" rel="stylesheet">
  20. <!-- Favicon and Touch Icons -->
  21. <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  22. <!--[if lt IE 9]>
  23. <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  24. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  25. <![endif]-->
  26. </head>
  27. <style type="text/css">
  28. .container{
  29. max-width: 1200px;
  30. padding: 10px;
  31. }
  32. .grid {
  33. display: grid;
  34. grid-template-columns: repeat(6, 1fr); /* 创建三列,每列等宽 */
  35. gap:20px;
  36. }
  37. .grid-item{
  38. background-color: #fff;
  39. padding: 10px;
  40. }
  41. .grid > div > p{
  42. overflow: hidden; /* 确保超出的内容会被隐藏 */
  43. display: -webkit-box; /* 作为弹性伸缩盒子模型显示 */
  44. word-wrap:break-word;
  45. -webkit-line-clamp: 2; /* 限制在两行 */
  46. -webkit-box-orient: vertical; /* 垂直排列盒子 */
  47. text-overflow: ellipsis; /* 超出的文本显示为省略号 */
  48. white-space: normal; /* 允许文本换行 */
  49. max-width: 150px;
  50. padding: 10px 0 0 0;
  51. font-size: 14px;
  52. }
  53. .imagePanel{
  54. display: flex;
  55. align-items: center;
  56. justify-content: center;
  57. width: 100%;
  58. height: 150px;
  59. border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  60. }
  61. .imagePanel img{
  62. width: 100%;
  63. }
  64. .classBox{
  65. display: flex;
  66. gap:10px;
  67. justify-content: space-between;
  68. padding: 10px 0;
  69. background: #fff;
  70. }
  71. .flex-center{
  72. display: flex;
  73. align-items: center;
  74. flex-wrap: wrap;
  75. gap:10px;
  76. }
  77. .classBox-item{
  78. line-height: 36px;
  79. /* text-align: center; */
  80. /* background: #fff; */
  81. padding: 0px;
  82. color: #333;
  83. font-weight: 500;
  84. border-radius: 5px 5px 5px 5px;
  85. cursor: pointer;
  86. white-space: nowrap; /* 确保文本在一行内显示 */
  87. overflow: hidden; /* 超出容器的文本隐藏 */
  88. text-overflow: ellipsis;
  89. }
  90. .childPanelParent{
  91. position: relative;
  92. transition: .2s linear;
  93. max-width: 1200px;
  94. height: 66px;
  95. margin:0 auto;
  96. }
  97. .classBox-item span{
  98. padding: 0 10px;
  99. position: relative;
  100. display: block;
  101. }
  102. .classBox-item:hover span::after {
  103. transform: scale(1, 1);
  104. opacity: 1;
  105. }
  106. .classBox-item span::after {
  107. display: block;
  108. content: "";
  109. height: 4px;
  110. width: calc(100% - 20px);
  111. position: absolute;
  112. bottom: 5px;
  113. left: 10px;
  114. background: #003399;
  115. opacity: 0;
  116. -webkit-transition: transform 0.2s ease-out, opacity 0.2s ease-out;
  117. transform-origin: 50% 0%;
  118. transform: scale(0.01, 1);
  119. }
  120. .childPanel{
  121. display: none;
  122. position: absolute;
  123. top: 56px;
  124. left:10px;
  125. gap: 50px;
  126. height: 60px;
  127. flex-wrap:nowrap;
  128. width: 100%;
  129. }
  130. .childPanel p{
  131. line-height: 60px;
  132. }
  133. .Search-btn{
  134. width: 50px;
  135. height: 46px;
  136. line-height: 30px;
  137. background: #003399;
  138. color: #fff !important;
  139. border-radius: 2px 2px 2px 2px;
  140. }
  141. .form-control-search{
  142. height: 46px !important;
  143. border: 1px solid #CCCCCC !important;
  144. box-shadow: none !important;
  145. }
  146. .moblie{
  147. display: none;
  148. }
  149. .active_class{
  150. background: #003399;
  151. color: #fff;
  152. }
  153. @media (max-width:640px) {
  154. .classBox{
  155. flex-wrap: nowrap;
  156. }
  157. .grid {
  158. display: grid;
  159. grid-template-columns: repeat(2, 1fr); /* 创建三列,每列等宽 */
  160. gap:10px
  161. }
  162. .searchinput{
  163. display: flex;
  164. }
  165. .form-control-search{
  166. width: calc(100% - 50px) !important;
  167. }
  168. .moblie{
  169. display: block;
  170. margin-bottom: 20px;
  171. }
  172. .web{
  173. display: none;
  174. }
  175. .mobile-container{
  176. padding: 10px;
  177. background-color: #fff;
  178. }
  179. .mobile-container .grid-item{
  180. border:1px solid hsla(0, 0%, 0%, 0.15)
  181. }
  182. .active_class span{
  183. background: #003399;
  184. border-radius: 3px;
  185. color: #fff;
  186. }
  187. .flex-center{
  188. padding: 0 10px;
  189. }
  190. .childPanel{
  191. height: 40px !important;
  192. }
  193. .classBox-item{
  194. padding: 0;
  195. }
  196. .classBox-item span::after{
  197. display: none;
  198. }
  199. .childPanel{
  200. gap:20px;
  201. left:10px;
  202. margin-top: 10px;
  203. }
  204. .child-mob-act{
  205. color:#003399;
  206. background: rgba(0, 51, 153,0.05);
  207. border-radius: 3px;
  208. }
  209. .childPanel{
  210. display: none;
  211. position: absolute;
  212. top: 56px;
  213. left:10px;
  214. gap: 50px;
  215. height: 60px;
  216. flex-wrap:nowrap;
  217. width: 100%;
  218. overflow-x: scroll;
  219. }
  220. .childPanel p{
  221. padding: 0 10px;
  222. line-height: 40px !important;
  223. }
  224. }
  225. </style>
  226. <body>
  227. <div id="app">
  228. <div class="menuBg">
  229. <div class="menuBtn">
  230. <div class="mBtnLine">
  231. <span></span>
  232. <span></span>
  233. <span></span>
  234. </div>
  235. <img src="assets/logo@2x_col.jpg" style="width: 30px;">
  236. </div>
  237. <ul class="mOnLine list-unstyled text-center hidden-xs hidden-sm">
  238. <li class="onLineWx loginInBtn">
  239. <div class="mOnLineIco"><a id="usercenter" href="./login.html"><i class="fa fa-user"></i></a></div>
  240. <div class="mOnLineCon">
  241. <a class="lang-item" id="navlodin" href="./login.html" translate>登陆账号</a>
  242. <a class="lang-item" id="navlodinuser" href="./accountCenter.html" translate>个人中心</a>
  243. <a class="lang-item" id="navlodinloginout" onclick="tool.loginOut()" translate>退出登录</a>
  244. </div>
  245. </li>
  246. <li class="onLineWx">
  247. <div class="mOnLineIco"><i class="fa fa-weixin"></i></div>
  248. <div class="mOnLineCon">
  249. <img src="assets/qrcode.png" class="img-responsive">
  250. <img src="assets/qrcodeLY.png" class="img-responsive">
  251. </div>
  252. </li>
  253. <li class="onLineWx" >
  254. <div class="mOnLineLang">
  255. <small style="font-size: 0;"><svg style="width: 12px;height: 12px;" t="1727425180240" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1933" width="200" height="200"><path d="M233.92 230.25l61.76 61.76A255.872 255.872 0 0 0 170.667 512c0 139.2 111.125 252.459 249.493 255.915l6.507 0.085h96.469L457.6 702.464l60.33-60.33 25.366 25.365-0.064 0.085 166.741 166.72c-31.893 11.157-65.92 17.707-101.333 18.837l-0.192 0.171-0.17-0.15-5.462 0.129-5.483 0.042H426.667c-188.523 0-341.334-152.81-341.334-341.333 0-116.992 58.88-220.245 148.587-281.75z m363.413-59.583c188.523 0 341.334 152.81 341.334 341.333 0 116.992-58.88 220.245-148.587 281.75l-61.76-61.76A255.872 255.872 0 0 0 853.333 512c0-141.376-114.624-256-256-256h-96.469l65.515 65.515-60.331 60.33-118.016-118.037 0.064-0.043-74.07-74.069a340.288 340.288 0 0 1 101.334-18.837l0.15-0.192 0.213 0.17 5.44-0.128 5.504-0.042h170.666z" p-id="1934" fill="#ffffff"></path></svg></small>&nbsp;<small id="lang"></small>
  256. </div>
  257. <div class="mOnLineCon" style="background-color: #fff;bottom:10px;">
  258. <p class="lang-item" id="zh"><small onclick="tool.changeLang('ZH')">简体中文</small></p>
  259. <p class="lang-item" id="en"><small onclick="tool.changeLang('en')">English</small></p>
  260. </div>
  261. </li>
  262. </ul>
  263. </div>
  264. <div class="navBg">
  265. <div class="navTop">
  266. <div class="logo">
  267. <div style="display: flex; align-items: center;">
  268. <a href="index.html"><img style="max-height: 40px;" src="assets/logo-1@2x.png" class="img-responsive"></a>
  269. <div class="mobileLanglist">
  270. <a class="mobileLang" onclick="tool.changeLang('ZH')">中</a>
  271. <a class="mobileLang" onclick="tool.changeLang('en')">EN</a>
  272. <a id="mobileNavLogin" class="mobileNavLogin" onclick="tool.linkOf('./login.html')">登陆</a>
  273. </div>
  274. </div>
  275. </div>
  276. <div class="navClose"><span></span><span></span></div>
  277. <div class="clear"></div>
  278. </div>
  279. <div class="navBot">
  280. <ul class="navList list-unstyled">
  281. <li>
  282. <a class="menu">
  283. <span class="navCn" onclick="tool.linkOf('./index.html')" translate>首页</span>
  284. <div class="child-menu">
  285. <p onclick="tool.linkOf('./index.html#page1')" translate>公司介绍</p>
  286. <p onclick="tool.linkOf('./index.html#page3')" translate>品牌介绍</p>
  287. <p onclick="tool.linkOf('./index.html#page4')" translate>服务支持</p>
  288. <p onclick="tool.linkOf('./index.html#page5')" translate>工程案例</p>
  289. <p onclick="tool.linkOf('./index.html#page6')" translate>新闻资讯</p>
  290. <p onclick="tool.linkOf('./index.html#page6')" translate>联系我们</p>
  291. </div>
  292. </a>
  293. </li>
  294. <li>
  295. <a class="menu">
  296. <span class="navCn" @click="linkOf('./projectsDemo.html')" translate>工程案例</span>
  297. <div class="child-menu" id="projectsDemo"></div>
  298. </a>
  299. </li>
  300. <li>
  301. <a class="menu">
  302. <span class="navCn" onclick="tool.linkOf('./Servicesupport.html')" translate>服务支持</span>
  303. <div class="child-menu">
  304. <p onclick="tool.linkOf('./Servicesupport.html')" translate>服务查询</p>
  305. <p onclick="tool.linkOf('./productList.html')" translate>产品名录</p>
  306. </div>
  307. </a>
  308. </li>
  309. <!-- <li>
  310. <a class="menu">
  311. <span class="navCn">关于我们</span>
  312. <div class="child-menu">
  313. <p>公司介绍</p>
  314. <p>品牌介绍</p>
  315. <p>联系我们</p>
  316. <p>加入班尼戈</p>
  317. </div>
  318. </a>
  319. </li> -->
  320. <li>
  321. <a class="menu">
  322. <span class="navCn" @click="linkOf('./Bnews.html')" translate>新闻资讯</span>
  323. <div class="child-menu" id="navnews"></div>
  324. </a>
  325. </li>
  326. <li>
  327. <a class="menu">
  328. <span class="navCn" id="mobileWorkStation" onclick="tool.linkOf('./accountCenter.html')" translate>个人中心</span>
  329. <div class="child-menu">
  330. <!-- <p>最新消息</p>
  331. <p>我的账户</p> -->
  332. <p id="workStation" onclick="tool.linkOf('./accountCenter.html')" translate>工作台</p>
  333. </div>
  334. </a>
  335. </li>
  336. <li class="menu-info-container" style="color: #fff;">
  337. <div class="menu-info">
  338. <div>
  339. <img style="height: 30px;" src="assets/logo-1@2x.png" class="img-responsive">
  340. </div>
  341. <p translate>浙江班尼戈流体控制有限公司</p>
  342. <p class="menu-info-p" translate><i class="fa fa-map-marker"></i>&nbsp;&nbsp;浙江省海盐县西塘桥经济开发区棕榈路555号</p>
  343. <p class="menu-info-p" style="margin-top:30px ;" translate>海盐工厂</p>
  344. <p class="menu-info-p"><i class="fa fa-phone"></i>&nbsp;&nbsp;+86 0573 89053730</p>
  345. <p class="menu-info-p"><i class="fa fa-phone"></i>&nbsp;&nbsp;13656628223</p>
  346. <p class="menu-info-p" style="margin-top:30px ;" translate>液冷系统</p>
  347. <p class="menu-info-p"><i class="fa fa-phone"></i>&nbsp;&nbsp;+86 19057508160</p>
  348. <p style="margin-top: 20px;font-size: 1.875rem;" translate>班尼戈,来自欧洲,扎根中国</p>
  349. <div style="margin-top: 20px;">
  350. <p class="flex-index"><small style="cursor: pointer;" onclick="tool.linkOf('https://conexbanninger.com/','_blank')">全球&emsp;班尼戈</small>
  351. &emsp;<svg style="width: 30px;height: 16px;" t="1727329763942" class="icon" viewBox="0 0 1543 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2647" width="200" height="200"><path d="M77.150685 659.287671H1472.876712v294.575343H77.150685V659.287671z" fill="#FCD839" p-id="2648"></path><path d="M77.150685 364.712329H1472.876712v294.575342H77.150685V364.712329z" fill="#DC3A3A" p-id="2649"></path><path d="M77.150685 70.136986H1472.876712v294.575343H77.150685V70.136986z" fill="#221714" p-id="2650"></path></svg>
  352. </p>
  353. <p class="flex-index" style="margin-top: 15px;" onclick="tool.linkOf('./index.html')"><small>中国&emsp;班尼戈</small>
  354. &emsp;<svg style="width: 30px;height: 15px;" t="1727330282351" class="icon" viewBox="0 0 1501 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6537" width="200" height="200"><path d="M0.205 1003.52h1500.023V0.683H0.205z" fill="#DE2910" p-id="6538"></path><path d="M516.3 413.286l-2.184 33.724 31.403 12.425-32.768 8.465-2.185 33.723-18.022-28.672-32.905 8.397 21.573-25.941-18.023-28.672 31.54 12.493 21.572-25.942z m80.897-103.15l10.24 32.153h33.928l-27.306 19.934 10.24 32.154-27.307-20.07-27.307 19.933 10.513-32.085-27.306-19.798h33.86l10.445-32.222z m34.543-137.08l-15.292 30.174 23.893 23.893-33.382-5.325-15.497 30.174-5.188-33.587-33.45-5.188 30.242-15.36-5.257-33.383 23.757 23.894 30.174-15.292zM516.437 63.693l-2.048 33.655 31.403 12.493-32.836 8.465-2.185 33.656-18.09-28.672-32.7 8.465 21.572-25.942-18.022-28.672 31.402 12.493 21.504-25.941z m-267.605 51.063l31.676 97.622h102.81l-83.081 60.28 31.676 97.825-83.15-60.348-83.08 60.348 31.676-97.826-83.08-60.348h102.809l31.676-97.621z" fill="#FFDE00" p-id="6539"></path></svg>
  355. </p>
  356. </div>
  357. </div>
  358. </li>
  359. </ul>
  360. </div>
  361. </div>
  362. <div class="animsition">
  363. <div class="site-wrapper">
  364. <!-- header-area -->
  365. <!-- banner-area -->
  366. <section class="banner-section">
  367. <div class="section-bg" style="background: url('blog/img/parallax.jpg') no-repeat;background-size: cover;"></div>
  368. <div class="container">
  369. <div class="row">
  370. <div class="page-banner-content col">
  371. <h1 class="text-white" translate>服务支持</h1>
  372. <span>SERVICE SUPPORT</span>
  373. <!-- breadctumb -->
  374. <ul class="page-breadcrumb">
  375. <li onclick="tool.goback('index.html')"><a href="#" translate>返回</a></li>
  376. </ul>
  377. </div>
  378. </div>
  379. </div>
  380. </section>
  381. <div class="childPanelParent">
  382. <div class="classBox" style="max-width: 1200px;margin: 0 auto;">
  383. <div class="flex-center" style="flex:1;flex-wrap: nowrap;width: 100%;">
  384. <div class="classBox-item" :class="axt_class.value == cls.value?'active_class':''" v-for="(cls,i) in classData" :key="cls.itemclassid" @click.stop="showClassChild(cls)">
  385. <span c translate>{{cls.value}}</span>
  386. <div class="childPanel">
  387. <p :class="child_act == child ? 'child-mob-act':''" :style="{color:child_act == child ? '#003399':''}" v-for="child in cls.subvalues" @click.stop="childClick(child)" translate>
  388. {{child}}
  389. </p>
  390. </div>
  391. </div>
  392. </div>
  393. <div class="input-group searchinput web">
  394. <input type="text" class="form-control form-control-search" v-model="param.content.where.condition" placeholder="搜索...">
  395. <span class="input-group-btn" @click="listData(param.content.pageNumber = 1)">
  396. <a class="btn Search-btn"><i class="fa fa-search"></i></a>
  397. </span>
  398. </div>
  399. </div>
  400. </div>
  401. <!-- content-area -->
  402. <div class="light-section section-block">
  403. <div class="container " style="min-height: 800px;">
  404. <div class="mobile-container">
  405. <div class="input-group searchinput moblie">
  406. <input type="text" class="form-control form-control-search" v-model="param.content.where.condition" placeholder="搜索...">
  407. <span class="input-group-btn" @click="listData(param.content.pageNumber = 1,param.content.where.itemclassid = '')">
  408. <a class="btn Search-btn"><i class="fa fa-search"></i></a>
  409. </span>
  410. </div>
  411. <div class="grid" v-if="data.length > 0">
  412. <div class="grid-item" v-for="item in data" :key="item.sa_fadid">
  413. <div class="imagePanel" @click="linkOf(`./productDetail.html?id=` + item.sa_fadid)">
  414. <img v-show="item.itemattinfos[0]" :src="item.itemattinfos[0]?item.itemattinfos[0].url:''" alt="">
  415. <img v-show="!item.itemattinfos[0]" style="width: 100%;" src="./assets/logo@2x.png" alt="">
  416. </div>
  417. <p translate>{{item.itemname}}</p>
  418. </div>
  419. </div>
  420. <div class="empty" style="background: none;" v-else>
  421. 暂无数据
  422. </div>
  423. </div>
  424. <div class="pagination">
  425. <ul>
  426. <li @click="pageChange(1)">
  427. <a><i class="fa fa-angle-double-left"></i></a>
  428. </li>
  429. <li @click="pageChange(pageNumber - 1)">
  430. <a><i class="fa fa-angle-left"></i></a>
  431. </li>
  432. <li :class="pageNumber == item ? 'active':''" v-for="item in pageTotal" :key="item" @click="pageChange(item)">
  433. <a>
  434. <span>{{item}}</span>
  435. </a>
  436. </li>
  437. <li @click="pageChange(pageNumber + 1)">
  438. <a><i class="fa fa-angle-right"></i></a>
  439. </li>
  440. <li @click="pageChange(pageTotal)">
  441. <a><i class="fa fa-angle-double-right"></i></a>
  442. </li>
  443. </ul>
  444. </div>
  445. </div>
  446. </div>
  447. </div>
  448. </div>
  449. </div>
  450. <div class="footer">
  451. <p>©2024 浙江班尼戈流体控制有限公司 版权所有 浙ICP备17049334号-1 技术支持:嘉兴市云链信息技术有限公司</p><p><a href="https://www.beian.gov.cn/portal/registerSystemInfo?recordcode=33042402000625"><img src="./assets/2661734398653_.pic.jpg" width="15" alt="" style="margin: 2px 5px 0 0;"><small>浙公网安备33042402000625号</small></a></p>
  452. </div>
  453. <!-- Javascript -->
  454. <script src="blog/js/jquery.min.js"></script>
  455. <script src="blog/js/bootstrap.min.js"></script>
  456. <script src="blog/js/bootstrap-select.min.js"></script>
  457. <script src="blog/js/animsition.js"></script>
  458. <script src="blog/js/jquery.appear.min.js"></script>
  459. <script src="blog/js/countto.js"></script>
  460. <script src="blog/js/slick.min.js"></script>
  461. <script src="blog/js/jquery.stickit.min.js"></script>
  462. <script src="blog/js/jquery.parallax-1.1.3.js"></script>
  463. <script src="blog/js/owl.carousel.min.js"></script>
  464. <script src="blog/js/masonry.pkgd.min.js"></script>
  465. <script src="blog/js/magnific.popup.min.js"></script>
  466. <script src="blog/js/wow.min.js"></script>
  467. <script src="blog/js/main.js"></script>
  468. <script src="js/swiper.min.js"></script>
  469. <script src="js/swiper.animate1.0.2.min.js"></script>
  470. <script src="js/jquery.fullPage.js"></script>
  471. <script src="js/public.js"></script>
  472. <script src="vue/axios.min.js"></script>
  473. <script src="vue/api.js"></script>
  474. <script src="vue/vue.global.js"></script>
  475. <script src="vue/formTool.js"></script>
  476. <script src="questJs/productList.js"></script>
  477. <script type="text/javascript">
  478. window.onload = function() {
  479. var mySwiper = new Swiper ('.swiper-container', {
  480. direction: 'horizontal',
  481. loop: true,
  482. autoHeight:true,
  483. // 如果需要分页器
  484. pagination: '.swiper-pagination',
  485. })
  486. }
  487. setTimeout(() => {
  488. if (tool.isMobile()) {
  489. $(document).ready(function(){
  490. $(".classBox-item").click(
  491. function(){
  492. $('.childPanel').css("display", "none");
  493. // $('.childPanelParent').css("height", "120");
  494. $('.childPanel', this).css("display", "flex");
  495. // 鼠标悬停时的事件处理
  496. }
  497. );
  498. });
  499. } else {
  500. $(document).ready(function(){
  501. $(".classBox-item").hover(
  502. function(){
  503. console.log(1)
  504. // 鼠标悬停时的事件处理
  505. // $('.childPanelParent').css("height", "120");
  506. $('.childPanel', this).css("display", "flex");
  507. },
  508. function(){
  509. // 鼠标离开时的事件处理
  510. $('.childPanelParent').css("height", "66");
  511. $('.childPanel', this).css("display", "none");
  512. }
  513. );
  514. });
  515. }
  516. }, 500);
  517. </script>
  518. </body>
  519. </html>