tpl.html 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width,initial-scale=1.0">
  7. <meta http-equiv="pragram" content="no-cache">
  8. <meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate">
  9. <meta http-equiv="expires" content="0">
  10. <title>${active.name!}</title>
  11. <style>
  12. body{
  13. padding: 0;
  14. margin: 0;
  15. }
  16. @media screen and (max-width: 360px) and (min-width: 321) {
  17. body{font-size: 14px}
  18. }
  19. @media screen and (max-width: 320px) {
  20. body{font-size: 12px}
  21. }
  22. .wrapper{
  23. position: relative;
  24. }
  25. /*模板样式*/
  26. .zy-h5-head-bg{
  27. position: relative;
  28. overflow: hidden;
  29. }
  30. .zy-h5-head-bg > img{
  31. width: 100%;
  32. float: left;
  33. }
  34. .zy-h5-title-1{
  35. position: absolute;
  36. top: 10%;
  37. text-align: center;
  38. width: 100%;
  39. }
  40. .zy-h5-title-1 > img{
  41. width: 80%;
  42. margin: 0 auto;
  43. }
  44. .zy-h5-title{
  45. position: absolute;
  46. top: 30%;
  47. width: 70%;
  48. left: 50%;
  49. margin-left: -35%;
  50. text-align: center;
  51. font-size: 1.2em;
  52. color: #4e8df4;
  53. font-weight: bold;
  54. letter-spacing: 0.3em;
  55. background: #f4f100;
  56. border-radius: 5em;
  57. padding: 0.2em 0.5em;
  58. }
  59. .zy-h5-wrap{
  60. padding: 1.4em 2em 0;
  61. }
  62. .zy-h5-panel{
  63. background: #fff;
  64. border-radius: 0.8em;
  65. position: relative;
  66. margin-bottom: 2em;
  67. padding: 1.4em 2em;
  68. }
  69. .zy-h5-wrap-title{
  70. padding: 0 0 0.8em 0;
  71. width: 100%;
  72. text-align: center;
  73. }
  74. .zy-h5-wrap-title span{
  75. display: inline-block;
  76. font-size: 1.2em;
  77. color: #fff;
  78. padding: 0.2em 2em;
  79. border-radius: 0.8em;
  80. background: linear-gradient(to top,#fe9535,#f1c372);
  81. }
  82. .zy-h5-panel-title{
  83. text-align: center;
  84. }
  85. .zy-h5-panel-title span{
  86. display: inline-block;
  87. font-size: 1.2em;
  88. color: #666;
  89. font-weight: bold;
  90. }
  91. .zy-h5-panel-content{
  92. padding: 0;
  93. }
  94. .zy-h5-content-items{
  95. text-align: center;
  96. font-size: 1em;
  97. color: #666;
  98. line-height: 1.4em;
  99. padding: 0.8em 0;
  100. }
  101. .zy-h5-content-price{
  102. display: flex;
  103. margin-top: 0.5em;
  104. align-items:center;
  105. }
  106. .zy-h5-content-price > div{
  107. flex-grow: 1;
  108. }
  109. .zy-h5-content-price > div p{
  110. margin: 0.1em 0;
  111. }
  112. .zy-h5-content-price > div:first-child{
  113. text-align: right;
  114. }
  115. .zy-h5-content-price > div:first-child .yprice{
  116. font-size: 0.6em;
  117. color: #666;
  118. }
  119. .zy-h5-content-price > div:first-child .price{
  120. font-size: 1.4em;
  121. color: #fe6724;
  122. font-weight: bold;
  123. }
  124. .zy-h5-content-price > div:last-child {
  125. font-size: 2.6em;
  126. color: #fe6724;
  127. padding: 0 0.2em;
  128. text-align: left;
  129. }
  130. .zy-h5-content-price > div:last-child span{
  131. font-size: 0.5em;
  132. }
  133. .zy-h5-desc-title{
  134. text-align: center;
  135. font-size: 1.2em;
  136. font-weight: bold;
  137. color: #666;
  138. }
  139. .zy-h5-desc .zy-h5-panel-content{
  140. font-size: 1em;
  141. padding: 0.8em 0;
  142. color: #fe6724;
  143. line-height: 1.6em;
  144. }
  145. .zy-h5-desc{
  146. margin-bottom: 0;
  147. }
  148. .zy-h5-footer-bg{
  149. overflow: hidden;
  150. }
  151. .zy-h5-footer-bg img{
  152. width: 100%;
  153. float: left;
  154. }
  155. .joiner-info{
  156. padding: 1em;
  157. }
  158. .joiner-info > p{
  159. text-align: center;
  160. padding: 0.5em 0.8em;
  161. border: 1px solid #eee;
  162. border-radius: 5em;
  163. margin-bottom: 1em;
  164. }
  165. .joiner-info > p span{
  166. color: #378BEA;
  167. }
  168. /*门店信息样式*/
  169. .zy-h5-store-info{
  170. display: none;
  171. }
  172. .zy-h5-store-info > .store-info-cont{
  173. padding: 0 1em 1em;
  174. font-size: 15px;
  175. }
  176. .zy-h5-store-info > .store-info-cont > .store-info-box{
  177. padding: 0.5em 0;
  178. position: relative;
  179. }
  180. .zy-h5-store-info > .store-info-cont > .store-info-box span:first-child{
  181. display: inline-block;
  182. position: absolute;
  183. left: 0;
  184. top: 0.5em;
  185. line-height: 1.5em;
  186. }
  187. .zy-h5-store-info > .store-info-cont > .store-info-box span:last-child{
  188. display: inline-block;
  189. padding-left: 75px;
  190. text-align: right;
  191. box-sizing: border-box;
  192. width: 100%;
  193. line-height: 1.5em;
  194. }
  195. .zy-h5-store-info > .store-info-cont > .store-info-box span:last-child a{
  196. color: #000;
  197. text-decoration: none;
  198. }
  199. .zy-h5-store-info >.qg-cont{
  200. border: 10px solid #ededed;
  201. border-width: 10px 0;
  202. padding: 0 1em 1em;
  203. }
  204. .zy-h5-store-info .header-con{
  205. display: flex;
  206. justify-content: space-between;
  207. align-items: center;
  208. }
  209. .zy-h5-store-info .header-con > p{
  210. font-size: 14px;
  211. margin: 0;
  212. padding: 10px 0 8px;
  213. }
  214. .zy-h5-store-info .header-con > p:first-child{
  215. font-weight: bold;
  216. position: relative;
  217. padding-left: 10px;
  218. font-size: 14px!important;
  219. }
  220. .zy-h5-store-info .header-con > p:last-child{
  221. font-size: 13px;
  222. }
  223. .zy-h5-store-info .header-con > p:last-child > span{
  224. color: #ff5500;
  225. font-size: 14px;
  226. padding: 0 3px;
  227. font-weight: bold;
  228. }
  229. .zy-h5-store-info .header-con > p:first-child > em{
  230. position: absolute;
  231. left: 0;
  232. top: 14px;
  233. display: block;
  234. width: 3px;
  235. height: 12px;
  236. background-color: #ff5500;
  237. }
  238. .zy-h5-store-info >.qg-cont > #scroll{
  239. overflow: hidden;
  240. height: 115px;
  241. width: 100%;
  242. position: relative;
  243. }
  244. .zy-h5-store-info >.qg-cont > #scroll > ul{
  245. height: auto;
  246. text-align: left;
  247. list-style: none;
  248. padding: 0;
  249. margin: 0;
  250. }
  251. .zy-h5-store-info >.qg-cont > #scroll > ul > .info-con{
  252. display: flex;
  253. justify-content: space-between;
  254. align-items: center;
  255. line-height: 24px;
  256. }
  257. .zy-h5-store-info >.qg-cont > #scroll > ul > .info-con > .qg-people{
  258. font-size: 13px;
  259. color: #666;
  260. margin: 0;
  261. }
  262. .zy-h5-store-info >.qg-cont > #scroll > ul > .info-con > .qg-state{
  263. font-size: 13px;
  264. color: #999;
  265. margin: 0;
  266. }
  267. .zy-h5-store-info #tel{
  268. font-style: initial;
  269. }
  270. /*底部栏样式*/
  271. .zy-h5-fx-bar{
  272. height: 7em;
  273. }
  274. .zy-h5-bf-bar{
  275. width: 100%;
  276. padding:1.7em 0.5em;
  277. background: #fff;
  278. display: flex;
  279. align-items: center;
  280. position: fixed;
  281. left: 0;
  282. bottom: 0;
  283. border-top: 1px solid #eee;
  284. z-index: 1000;
  285. box-sizing: border-box;
  286. }
  287. .zy-h5-bf-bar > span{
  288. flex-grow: 1;
  289. padding: 0.8em 0.6em;
  290. font-size: 1em;
  291. line-height: 1em;
  292. width: 12em;
  293. margin: 0 1.2em;
  294. display: flex;
  295. align-items: center;
  296. justify-content: center;
  297. min-width: 76px;
  298. }
  299. .zy-h5-bf-bar > span span{
  300. margin-right: 0.5em;
  301. }
  302. .zy-h5-yuyue {
  303. color: #fff;
  304. background: #32CD32;
  305. border-radius: 100px;
  306. text-align: center;
  307. }
  308. .zy-h5-share {
  309. color: #fff;
  310. background: #ff5500;
  311. border-radius: 100px;
  312. text-align: center;
  313. }
  314. /*预约弹框样式*/
  315. .zy-h5-fix-z{
  316. width: 100%;
  317. height: 100%;
  318. position: fixed;
  319. top: 0;
  320. left: 0;
  321. background: rgba(0,0,0,0.5);
  322. display: none;
  323. z-index: 5000;
  324. }
  325. .zy-h5-modal{
  326. background: #fff;
  327. border-radius: 5px;
  328. overflow: hidden;
  329. position: fixed;
  330. z-index: 10000;
  331. width: 80%;
  332. top: 30%;
  333. left: 50%;
  334. margin-left: -40.3%;
  335. border: 1px solid #eee;
  336. display: none;
  337. }
  338. .zy-h5-modal-title{
  339. padding: 10px;
  340. text-align: center;
  341. border-bottom: 1px solid #EEEEEE;
  342. }
  343. .zy-h5-modal-content{
  344. padding: 15px;
  345. text-align: center;
  346. }
  347. .zy-h5-modal-form{
  348. margin: 10px 0 30px;
  349. }
  350. .zy-h5-modal-form input{
  351. padding: 10px;
  352. border: 1px solid #eee;
  353. width: 90%;
  354. box-sizing: border-box;
  355. font-size: 13px;
  356. line-height: 1.5em;
  357. }
  358. .zy-h5-modal-content p button{
  359. border-radius: 10px;
  360. padding: 7px 25px;
  361. margin: 0 18px;
  362. font-size: 1em;
  363. }
  364. .zy-h5-modal-submit{
  365. background: #378BEA;
  366. color: #fff;
  367. border: 1px solid #378BEA;
  368. }
  369. .zy-h5-modal-cansel{
  370. background: #ffffff;
  371. color: #666;
  372. border: 1px solid #eee;
  373. }
  374. /* 加载中 */
  375. #foo{
  376. width: 50px;
  377. height: 50px;
  378. position: fixed;
  379. left: 50%;
  380. top: 50%;
  381. margin: -25px 0 0 -25px;
  382. z-index: 5001;
  383. }
  384. .spinner{
  385. left: 25px!important;
  386. top: 25px!important;
  387. }
  388. </style>
  389. </head>
  390. <body>
  391. <div class="wrapper">
  392. <!-- 模板 -->
  393. <div class="zy-h5-page">
  394. <div class="zy-h5-bg">
  395. <div class="zy-h5-head-bg">
  396. <img src="${active.staticMouldTheme.basePath}/img/hbg.jpg" />
  397. <div class="zy-h5-title-1">
  398. <img src="${active.staticMouldTheme.basePath}/img/title.png" />
  399. </div>
  400. <div class="zy-h5-title">${active.activeTitle!}</div>
  401. </div>
  402. <div class="zy-h5-wrap" style="background: url(${active.staticMouldTheme.basePath}/img/main_bg.jpg);background-size: cover;">
  403. <div class="zy-h5-wrap-title">
  404. <span>${active.contentTitle!}</span>
  405. </div>
  406. <#list active.parentItemList as parentItem>
  407. <div class="zy-h5-panel zy-h5-server">
  408. <div class="zy-h5-panel-title">
  409. <span>${parentItem.itemName!}</span>
  410. </div>
  411. <div class="zy-h5-panel-content">
  412. <div class="zy-h5-content-items">
  413. <span>
  414. <#list parentItem.children as childItem>
  415. <#if childItem_index gt 0>+</#if>${childItem.itemName!} ${childItem.itemNum} 次
  416. </#list>
  417. </span>
  418. </div>
  419. <div class="zy-h5-content-price">
  420. <div>
  421. <p class="yprice"><s>原价¥${parentItem.itemSrcPrice!}</s></p>
  422. <p class="price">活动价</p>
  423. </div>
  424. <div><span>¥</span>${parentItem.itemActivePrice!}</div>
  425. </div>
  426. </div>
  427. </div>
  428. </#list>
  429. <div class="zy-h5-panel zy-h5-desc">
  430. <div class="zy-h5-desc-title">
  431. <span>${active.activeInfoTitle!}</span>
  432. </div>
  433. <div class="zy-h5-panel-content">
  434. ${active.activeInfoContent!}
  435. </div>
  436. </div>
  437. </div>
  438. <div class="zy-h5-footer-bg">
  439. <img src="${active.staticMouldTheme.basePath}/img/fbg.jpg" />
  440. </div>
  441. </div>
  442. </div>
  443. <!--门店信息-->
  444. <div class="zy-h5-store-info">
  445. <!-- 向上滚动 -->
  446. <div class="qg-cont">
  447. <div class="header-con">
  448. <p><em></em>参与动态</p>
  449. <p>已有<span id="joinerNum">${active.initBuyNum!}</span>人参与</p>
  450. </div>
  451. <div id="scroll">
  452. <ul id="scroll-con"></ul>
  453. </div>
  454. </div>
  455. <div class="store-info-cont">
  456. <div class="header-con">
  457. <p><em></em>门店信息</p>
  458. </div>
  459. <div class="store-info-box">
  460. <span>门店:</span>
  461. <span id="store">XXX汽车服务中心
  462. <!-- ${active.activeCompany!} -->
  463. </span>
  464. </div>
  465. <div class="store-info-box">
  466. <span>地址:</span>
  467. <span id="address">XX市XX区XXX369号
  468. <!-- ${active.activeCompanyInfo!} -->
  469. </span>
  470. </div>
  471. <div class="store-info-box">
  472. <span>电话:</span>
  473. <span style="vertical-align: middle;">
  474. <a id="tel-link" href="javascript:;">
  475. <i id="tel">400XXXXXXX
  476. <!-- ${active.servicePhone!} -->
  477. </i>
  478. <svg t="1589357171261" class="icon" style="vertical-align: sub;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1184" width="18" height="18"><path d="M1020.765599 154.386263C1020.765599 89.326865 987.28345 57.088501 913.487954 37.054507 839.692583 17.020526 777.566181 3.165394 777.566181 3.165394 720.824641-10.981854 663.169494 23.635711 649.003341 80.452889L610.800805 233.675027C596.617668 290.560389 631.183258 348.098737 688.030695 362.272396 688.030695 362.272396 702.326846 366.678777 743.500477 375.919969 674.660513 559.358011 527.497727 691.361427 377.214242 745.028871 373.701051 730.938506 366.674793 702.757788 366.674793 702.757788 352.511387 645.951274 294.943405 611.289315 238.125689 625.455569L80.380247 664.785939C23.668179 678.925831-10.99544 736.57873 3.169215 793.389915L35.742252 923.532923C45.473616 980.250012 94.753824 1022.287923 152.863901 1022.287923 632.192772 1022.287923 1020.765599 633.715134 1020.765599 154.386263ZM121.897793 908.750484 87.987187 772.24241C85.504739 762.285654 91.648609 752.067042 101.527703 749.603912L259.273145 710.273542C269.212555 707.795389 279.364257 713.907789 281.856821 723.90528L302.608163 807.134381C309.284388 833.911333 336.103424 849.229037 358.537622 842.533069L358.537622 842.533069C590.664487 773.249875 773.382895 589.859611 841.784663 357.448461L841.784663 357.448461C848.891716 333.300864 827.631247 306.988082 794.011982 298.605863L709.17815 277.454424C699.177799 274.961048 693.114226 264.867589 695.618778 254.82252L733.821313 101.600394C736.30501 91.639055 746.508662 85.512531 756.418601 87.983366L902.466976 119.420589C919.560643 123.34343 933.351039 137.26732 933.351039 154.386263 933.351039 585.437409 583.914959 934.873401 152.863901 934.873401 137.544 934.873401 124.465783 923.717081 121.897793 908.750484Z" p-id="1185" fill="#1396dc"></path></svg>
  479. </a>
  480. </span>
  481. </div>
  482. </div>
  483. </div>
  484. <!-- 底部浮动栏 -->
  485. <div class="zy-h5-bf-bar">
  486. <span class="zy-h5-yuyue" id="yuyue">
  487. <span>立即参与</span>
  488. <svg t="1587699493953" class="icon" viewBox="0 0 1077 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="11152" width="16" height="16"><path d="M109.918316 941.837474A110.053053 110.053053 0 0 1 0 831.919158V177.960421a110.053053 110.053053 0 0 1 109.918316-109.918316h94.181052v-39.343158C204.099368 12.880842 216.980211 0 232.825263 0c15.845053 0 28.725895 12.880842 28.725895 28.698947v39.343158h418.816v-39.343158c0-15.818105 12.880842-28.698947 28.698947-28.698947 15.845053 0 28.725895 12.880842 28.725895 28.698947v39.343158h94.181053a110.053053 110.053053 0 0 1 109.918315 109.918316v219.621053H57.397895v434.337684c0 28.968421 23.578947 52.547368 52.547368 52.547368h363.196632a28.483368 28.483368 0 0 1 20.48 48.397474 29.965474 29.965474 0 0 1-21.234527 8.973474H109.918316z m88.872421-170.09179a28.752842 28.752842 0 0 1-28.698948-28.698947c0-15.818105 12.880842-28.698947 28.698948-28.698948h170.064842c15.845053 0 28.725895 12.880842 28.725895 28.698948 0 15.845053-12.880842 28.698947-28.725895 28.698947H198.790737z m0-204.099368A28.752842 28.752842 0 0 1 170.091789 538.947368c0-15.818105 12.880842-28.698947 28.698948-28.698947h170.064842c15.845053 0 28.725895 12.880842 28.725895 28.698947s-12.880842 28.698947-28.725895 28.698948H198.790737z" fill="#ffffff" p-id="11153"></path><path d="M811.115789 1009.852632a265.054316 265.054316 0 0 1-188.658526-78.147369 264.704 264.704 0 0 1-78.147368-188.631579c0-71.248842 27.755789-138.24 78.147368-188.658526a264.677053 264.677053 0 0 1 188.631579-78.147369c71.221895 0 138.24 27.755789 188.631579 78.147369a264.730947 264.730947 0 0 1 78.174316 188.631579c0 71.248842-27.755789 138.24-78.147369 188.631579a264.730947 264.730947 0 0 1-188.631579 78.174316z m-28.725894-238.106948v0.026948h130.775579c15.818105 0 28.698947-12.880842 28.698947-28.698948s-12.880842-28.698947-28.698947-28.698947h-73.377685v-73.350737c0-15.845053-12.880842-28.725895-28.698947-28.725895s-28.698947 12.880842-28.698947 28.725895v130.721684z" fill="#ffffff" p-id="11154"></path></svg>
  489. </span>
  490. <span class="zy-h5-share" id="share">
  491. <span>分享</span>
  492. <svg t="1587699701945" class="icon" viewBox="0 0 1077 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="13208" width="16" height="16"><path d="M898.35616718 663.3474759c-68.92998667 0-125.25689641 36.86952718-151.45802974 94.13614051L413.74574872 615.80955487a196.23211897 196.23211897 0 0 0 30.12577641-106.79449436c0-16.47244308-1.93468308-33.00016205-5.85932513-48.53290154l212.70456103-165.00080923c28.19109333 21.33678769 64.12091795 33.99514154 103.92010769 33.99514154 96.18137641 0 168.04102564-71.85964923 168.04102564-166.93549231 0-95.13112-71.85964923-166.93549231-168.04102564-166.93549333s-167.04604615 71.80437231-167.04604513 166.93549333c0 24.26645026 4.86434564 46.59821846 12.65835282 66.00032308l-196.23211795 150.40777333c-38.80421026-58.2063159-102.92512821-98.94520923-175.77975795-98.94520923a215.02618051 215.02618051 0 0 0-215.57894666 214.47341436V495.4170041a215.02618051 215.02618051 0 0 0 215.57894666 215.46839385c44.71881231 0 86.45268513-11.60809744 120.50310462-32.94488513l382.62499282 163.06612718c4.86434564 90.21149846 74.78931179 157.20680205 166.99076923 157.20680103 96.18137641 0 167.04604615-71.85964923 167.04604615-166.93549231 0-95.13112-71.85964923-167.93047282-166.99076923-167.93047282z" fill="#ffffff" p-id="13209"></path></svg>
  493. </span>
  494. </div>
  495. <div class="zy-h5-fx-bar"></div>
  496. <!-- 预约弹框 -->
  497. <div class="zy-h5-fix-z" id="zy-h5-fix-z"></div>
  498. <div class="zy-h5-modal" id="zy-h5-modal">
  499. <div class="zy-h5-modal-title">在线预约</div>
  500. <div class="zy-h5-modal-content">
  501. <p class="zy-h5-modal-form">
  502. <input type="tel" id="userPhone" maxlength="11" placeholder="输入手机号预约"/>
  503. </p>
  504. <p>
  505. <button class="zy-h5-modal-submit" id="submitModal">预约</button>
  506. <button class="zy-h5-modal-cansel" id="canselModal">取消</button>
  507. </p>
  508. </div>
  509. </div>
  510. <div id="foo"></div>
  511. </div>
  512. <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
  513. <script src="${active.staticMouldTheme.basePath}/alert.js"></script>
  514. <script src="${active.staticMouldTheme.basePath}/spin.min.js"></script>
  515. <script>
  516. //判断访问终端
  517. var browser={
  518. versions:function(){
  519. var u = navigator.userAgent, app = navigator.appVersion;
  520. return {
  521. trident: u.indexOf('Trident') > -1, //IE内核
  522. presto: u.indexOf('Presto') > -1, //opera内核
  523. webKit: u.indexOf('AppleWebKit') > -1, //苹果、谷歌内核
  524. gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') == -1,//火狐内核
  525. mobile: !!u.match(/AppleWebKit.*Mobile.*/), //是否为移动终端
  526. ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), //ios终端
  527. android: u.indexOf('Android') > -1 || u.indexOf('Adr') > -1, //android终端
  528. iPhone: u.indexOf('iPhone') > -1 , //是否为iPhone或者QQHD浏览器
  529. iPad: u.indexOf('iPad') > -1, //是否iPad
  530. webApp: u.indexOf('Safari') == -1, //是否web应该程序,没有头部与底部
  531. weixin: u.indexOf('MicroMessenger') > -1, //是否微信 (2015-01-22新增)
  532. qq: u.match(/\sQQ/i) == " qq" //是否QQ
  533. };
  534. }(),
  535. language:(navigator.browserLanguage || navigator.language).toLowerCase()
  536. }
  537. // 不是微信端打开的页面
  538. if(!browser.versions.weixin){
  539. document.querySelector('.zy-h5-bf-bar').style.display = 'none'
  540. document.querySelector('.zy-h5-fx-bar').style.display = 'none'
  541. }
  542. var activeId = "${active.id!}"
  543. var baseUrl = "${active.staticMouldTheme.basePath}"
  544. var baseType = "${basePathType}"
  545. var staticHtmlPath = "${active.staticHtmlPath!}"
  546. </script>
  547. <script src="${active.staticMouldTheme.basePath}/script.js"></script>
  548. </body>
  549. </html>