product-detail.htm 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575
  1. <html>
  2. <head>
  3. <meta charset="utf-8">
  4. <title>{ms:global.name/}</title>
  5. <meta http-equiv="content-type" content="text/html">
  6. <meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
  7. <meta name="viewport" content="initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no,width=device-width">
  8. <meta name="format-detection" content="telephone=no">
  9. <meta name="app-mobile-web-app-capable" content="yes">
  10. <meta name="app-mobile-web-app-status-bar-style" content="black-translucent">
  11. <meta name="keywords" content="{ms:global.keyword/}">
  12. <meta name="description" content="{ms:global.descrip/}">
  13. <script type="text/javascript" src="{ms:global.host/}/static/plugins/vue/2.6.9/vue.min.js"></script>
  14. <link rel="stylesheet" href="{ms:global.host/}/static/plugins/minireset/0.0.2/minireset.min.css">
  15. <link rel="stylesheet" href="https://cdn.mingsoft.net/iconfont/iconfont.css">
  16. <link rel="stylesheet" href="{ms:global.host/}/static/plugins/animate/4.1.0/animate.min.css">
  17. <script src="{ms:global.host/}/static/plugins/element-ui/2.12.0/index.js"></script>
  18. <link rel="stylesheet" href="{ms:global.host/}/static/plugins/element-ui/2.12.0/index.css">
  19. <link rel="stylesheet" href="{ms:global.host/}/{ms:global.style/}/css/app.css">
  20. <!--网络请求框架-->
  21. <script src="{ms:global.host/}/static/plugins/axios/0.18.0/axios.min.js"></script>
  22. <script src="{ms:global.host/}/static/plugins/qs/6.6.0/qs.min.js"></script>
  23. <script src="{ms:global.host/}/static/plugins/ms/1.0.0/ms.js"></script>
  24. <script src="{ms:global.host/}/static/plugins/ms/1.0.0/ms.http.js"></script>
  25. <script src="{ms:global.host/}/static/plugins/ms/1.0.0/ms.util.js"></script>
  26. <script>
  27. ms.base = "";
  28. </script>
  29. <style>
  30. [v-cloak]{
  31. display: none;
  32. }
  33. </style>
  34. </head>
  35. <body>
  36. <div id="app" v-cloak>
  37. <#include "nav.htm" />
  38. <div class="content">
  39. <div class="body">
  40. <div class="left">
  41. {ms:channel type='parent'}
  42. <span class="title"> ${field.typetitle} </span>
  43. {/ms:channel}
  44. <#assign typetitle=field.typetitle>
  45. <#if field.typeleaf>
  46. {ms:channel type='level'}
  47. <a href="{ms:global.url/}${field.typelink}" class="<#if typetitle==field.typetitle>sub-title-sel<#else>sub-title</#if>"> ${field.typetitle} </a>
  48. {/ms:channel}
  49. <#else>
  50. {ms:channel type='son'}
  51. <a href="{ms:global.url/}${field.typelink}" class="<#if typetitle==field.typetitle>sub-title-sel<#else>sub-title</#if>"> ${field.typetitle} </a>
  52. {/ms:channel}
  53. </#if>
  54. </div>
  55. <div class="right">
  56. <div class="ms-channel-path">
  57. <span class="ms-channel-path-label"> 当前位置: </span>
  58. <a href="/" class="ms-channel-path-index"> 首页 </a> {ms:channel type="path"}
  59. <i class="iconfont icon-youjiantou"></i>
  60. <a href="{ms:global.url/}${field.typelink}" class="ms-channel-path-link"> ${field.typetitle} </a> {/ms:channel}
  61. </div>
  62. <div class="product">
  63. <div class="pic">
  64. <img title="" alt="" src="{ms:global.host/}/{@ms:file field.litpic/}">
  65. <div class="text">
  66. <span class="big-title"> ${field.title} </span>
  67. <span class="desc"> ${field.descrip} </span>
  68. </div>
  69. </div>
  70. <div class="content">
  71. <div class="content-body">
  72. <span> ${field.content} </span>
  73. </div>
  74. </div>
  75. </div>
  76. </div>
  77. </div>
  78. </div>
  79. <#include "footer.htm" />
  80. </div>
  81. <script>
  82. var app = new Vue({
  83. el: '#app',
  84. watch:{
  85. },
  86. data: {
  87. },
  88. methods: {
  89. switchShow:function(arr){
  90. var that = this
  91. arr.forEach(function(x){
  92. let e = that.$el.querySelector("#key_"+x)
  93. if(e){
  94. e.style.display=e.style.display=='none'?'flex':'none'
  95. }
  96. })
  97. },
  98. },
  99. created(){
  100. }
  101. })
  102. </script>
  103. <style>
  104. body {
  105. background-color:#fff;
  106. box-sizing:border-box;
  107. font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Segoe UI", "Helvetica Neue", "PingFang SC", "Noto Sans", "Noto Sans CJK SC", "Microsoft YaHei", 微软雅黑, sans-serif;
  108. moz-box-sizing:border-box;
  109. webkit-box-sizing:border-box;
  110. }
  111. .content
  112. {
  113. align-items:flex-start;
  114. flex-direction:row;
  115. display:flex;
  116. padding-right:0px;
  117. box-sizing:border-box;
  118. justify-content:center;
  119. padding-bottom:0px;
  120. flex-wrap:nowrap;
  121. width:100%;
  122. margin-bottom:0px;
  123. padding-top:0px;
  124. padding-left:0px;
  125. margin-top:0px;
  126. }
  127. .content .body
  128. {
  129. padding-bottom:20px;
  130. flex-wrap:nowrap;
  131. flex-direction:row;
  132. display:flex;
  133. padding-right:0px;
  134. width:1200px;
  135. box-sizing:border-box;
  136. padding-top:20px;
  137. padding-left:0px;
  138. }
  139. .content .body .left
  140. {
  141. padding-bottom:0px;
  142. flex-wrap:nowrap;
  143. flex-direction:column;
  144. display:flex;
  145. padding-right:0px;
  146. width:100%;
  147. box-sizing:border-box;
  148. padding-top:0px;
  149. padding-left:0px;
  150. margin-top:0px;
  151. height:100%;
  152. }
  153. .content .body .left .title
  154. {
  155. border-bottom-color:#C0C4CC;
  156. color:#C0C4CC;
  157. flex-direction:row;
  158. word-wrap:break-word;
  159. display:inline-block;
  160. font-size:16PX;
  161. border-bottom-style:dashed;
  162. padding-top:10px;
  163. border-bottom-width:1px;
  164. padding-left:10px;
  165. margin-top:0px;
  166. height:40px;
  167. }
  168. .content .body .left .sub-title-sel {
  169. background-color: #F2F6FC;
  170. color: #409EFF;
  171. flex-direction: row;
  172. word-wrap: break-word;
  173. display: inline-block;
  174. font-size: 16PX;
  175. padding-top: 10px;
  176. padding-left: 10px;
  177. margin-top: 2px;
  178. height: 40px;
  179. }
  180. .content .body .left .sub-title {
  181. color: #5F5F5F;
  182. flex-direction: row;
  183. word-wrap: break-word;
  184. display: inline-block;
  185. font-size: 16PX;
  186. padding-top: 10px;
  187. padding-left: 10px;
  188. margin-top: 0px;
  189. height: 40px;
  190. }
  191. .content .body .right
  192. {
  193. padding-bottom:0px;
  194. flex-wrap:wrap;
  195. flex-direction:column;
  196. display:flex;
  197. padding-right:0px;
  198. width:1000px;
  199. margin-bottom:0px;
  200. box-sizing:border-box;
  201. padding-top:0px;
  202. position:relative;
  203. padding-left:20px;
  204. margin-top:0px;
  205. }
  206. .content .body .right .ms-channel-path
  207. {
  208. margin-right:auto;
  209. align-items:center;
  210. flex-wrap:nowrap;
  211. flex-direction:row;
  212. display:flex;
  213. width:100%;
  214. margin-bottom:10px;
  215. box-sizing:border-box;
  216. padding-left:0px;
  217. margin-top:10px;
  218. height:30px;
  219. margin-left:auto;
  220. }
  221. .content .body .right .ms-channel-path span
  222. {
  223. color:#909399;
  224. flex-direction:row;
  225. word-wrap:break-word;
  226. display:inline-block;
  227. font-size:16PX;
  228. }
  229. .content .body .right .ms-channel-path .ms-channel-path-index
  230. {
  231. cursor:pointer;
  232. color:#000;
  233. font-size:16PX;
  234. text-decoration:none;
  235. margin-bottom:0px;
  236. margin-top:0px;
  237. }
  238. .content .body .right .ms-channel-path >i
  239. {
  240. }
  241. .content .body .right .ms-channel-path .ms-channel-path-link
  242. {
  243. cursor:pointer;
  244. color:#000;
  245. font-size:16PX;
  246. text-decoration:none;
  247. margin-bottom:0px;
  248. margin-top:0px;
  249. }
  250. .content .body .right .product
  251. {
  252. margin-right:0px;
  253. padding-bottom:0px;
  254. flex-direction:column;
  255. display:flex;
  256. padding-right:0px;
  257. width:980px;
  258. margin-bottom:0px;
  259. box-sizing:border-box;
  260. padding-top:0px;
  261. padding-left:0px;
  262. margin-top:0px;
  263. }
  264. .content .body .right .product .pic
  265. {
  266. flex-wrap:nowrap;
  267. flex-direction:row;
  268. display:flex;
  269. width:100%;
  270. box-sizing:border-box;
  271. padding-left:0px;
  272. height:240px;
  273. }
  274. .content .body .right .product .pic img
  275. {
  276. width:320px;
  277. padding-left:0px;
  278. height:206px;
  279. }
  280. .content .body .right .product .pic .text
  281. {
  282. flex-wrap:nowrap;
  283. flex-direction:column;
  284. display:flex;
  285. width:740px;
  286. box-sizing:border-box;
  287. padding-left:20px;
  288. height:100%;
  289. }
  290. .content .body .right .product .pic .text .big-title
  291. {
  292. flex-direction:row;
  293. word-wrap:break-word;
  294. display:inline-block;
  295. font-size:22PX;
  296. padding-left:0px;
  297. }
  298. .content .body .right .product .pic .text .desc
  299. {
  300. color:#C8C8C8;
  301. flex-direction:row;
  302. word-wrap:break-word;
  303. display:inline-block;
  304. font-size:16PX;
  305. padding-top:0px;
  306. padding-left:0px;
  307. }
  308. .content .body .right .product .content
  309. {
  310. padding-bottom:10px;
  311. flex-wrap:nowrap;
  312. flex-direction:column;
  313. display:flex;
  314. width:100%;
  315. box-sizing:border-box;
  316. padding-top:10px;
  317. padding-left:0px;
  318. }
  319. .content .body .right .product .content .label
  320. {
  321. padding-bottom:0px;
  322. flex-direction:row;
  323. word-wrap:break-word;
  324. display:inline-block;
  325. font-size:18PX;
  326. padding-top:0px;
  327. padding-left:0px;
  328. }
  329. .content .body .right .product .content .content-body
  330. {
  331. padding-bottom:0px;
  332. flex-wrap:nowrap;
  333. flex-direction:column;
  334. display:flex;
  335. width:100%;
  336. box-sizing:border-box;
  337. padding-top:0px;
  338. padding-left:0px;
  339. height:100%;
  340. }
  341. .content .body .right .product .content .content-body span
  342. {
  343. flex-direction:row;
  344. word-wrap:break-word;
  345. display:inline-block;
  346. font-size:14px;
  347. }
  348. @media (max-width: 768px){
  349. .content
  350. {
  351. align-items:center;
  352. flex-direction:row;
  353. display:flex;
  354. padding-right:0px;
  355. box-sizing:border-box;
  356. justify-content:center;
  357. padding-bottom:0px;
  358. flex-wrap:nowrap;
  359. width:100%;
  360. margin-bottom:0px;
  361. padding-top:0px;
  362. padding-left:0px;
  363. margin-top:0px;
  364. }
  365. .content .body
  366. {
  367. padding-bottom:20px;
  368. flex-wrap:nowrap;
  369. flex-direction:column;
  370. display:flex;
  371. padding-right:0px;
  372. width:90%;
  373. box-sizing:border-box;
  374. padding-top:20px;
  375. padding-left:0px;
  376. }
  377. .content .body .left
  378. {
  379. padding-bottom:0px;
  380. flex-wrap:nowrap;
  381. flex-direction:column;
  382. display:flex;
  383. padding-right:0px;
  384. width:100%;
  385. box-sizing:border-box;
  386. padding-top:0px;
  387. padding-left:0px;
  388. height:100%;
  389. }
  390. .content .body .left .title
  391. {
  392. border-bottom-color:#C0C4CC;
  393. color:#C0C4CC;
  394. flex-direction:row;
  395. word-wrap:break-word;
  396. display:inline-block;
  397. font-size:16PX;
  398. border-bottom-style:dashed;
  399. padding-top:10px;
  400. border-bottom-width:1px;
  401. padding-left:10px;
  402. margin-top:0px;
  403. height:40px;
  404. }
  405. .content .body .left .sub-title-sel
  406. {
  407. background-color:#F2F6FC;
  408. color:#409EFF;
  409. flex-direction:row;
  410. word-wrap:break-word;
  411. display:inline-block;
  412. font-size:16PX;
  413. padding-top:10px;
  414. padding-left:10px;
  415. margin-top:2px;
  416. height:40px;
  417. }
  418. .content .body .right
  419. {
  420. padding-bottom:0px;
  421. flex-wrap:nowrap;
  422. flex-direction:column;
  423. display:flex;
  424. padding-right:0px;
  425. width:100%;
  426. margin-bottom:0px;
  427. box-sizing:border-box;
  428. padding-top:0px;
  429. padding-left:0px;
  430. margin-top:0px;
  431. }
  432. .content .body .right .ms-channel-path
  433. {
  434. margin-right:auto;
  435. align-items:center;
  436. flex-wrap:nowrap;
  437. flex-direction:row;
  438. display:flex;
  439. width:100%;
  440. margin-bottom:10px;
  441. box-sizing:border-box;
  442. padding-left:0px;
  443. margin-top:10px;
  444. height:30px;
  445. margin-left:auto;
  446. }
  447. .content .body .right .ms-channel-path span
  448. {
  449. color:#909399;
  450. flex-direction:row;
  451. word-wrap:break-word;
  452. display:inline-block;
  453. font-size:16PX;
  454. }
  455. .content .body .right .ms-channel-path .ms-channel-path-index
  456. {
  457. cursor:pointer;
  458. color:#000;
  459. font-size:16PX;
  460. text-decoration:none;
  461. margin-bottom:0px;
  462. margin-top:0px;
  463. }
  464. .content .body .right .ms-channel-path .ms-channel-path-link
  465. {
  466. cursor:pointer;
  467. color:#000;
  468. font-size:16PX;
  469. text-decoration:none;
  470. margin-bottom:0px;
  471. margin-top:0px;
  472. }
  473. .content .body .right .product
  474. {
  475. margin-right:0px;
  476. padding-bottom:0px;
  477. flex-direction:column;
  478. display:flex;
  479. padding-right:0px;
  480. width:100%;
  481. margin-bottom:0px;
  482. box-sizing:border-box;
  483. padding-top:0px;
  484. padding-left:0px;
  485. margin-top:0px;
  486. height:610px;
  487. }
  488. .content .body .right .product .pic
  489. {
  490. flex-wrap:nowrap;
  491. flex-direction:column;
  492. display:flex;
  493. width:100%;
  494. box-sizing:border-box;
  495. padding-left:0px;
  496. height:240px;
  497. }
  498. .content .body .right .product .pic img
  499. {
  500. padding-bottom:0px;
  501. width:100%;
  502. padding-top:0px;
  503. padding-left:0px;
  504. height:400px;
  505. }
  506. .content .body .right .product .pic .text
  507. {
  508. flex-wrap:nowrap;
  509. flex-direction:column;
  510. display:flex;
  511. width:100%;
  512. box-sizing:border-box;
  513. padding-left:0px;
  514. height:100%;
  515. }
  516. .content .body .right .product .pic .text .big-title
  517. {
  518. flex-direction:row;
  519. word-wrap:break-word;
  520. display:inline-block;
  521. font-size:22PX;
  522. padding-left:0px;
  523. }
  524. .content .body .right .product .pic .text .desc
  525. {
  526. color:#C8C8C8;
  527. flex-direction:row;
  528. word-wrap:break-word;
  529. display:inline-block;
  530. font-size:16PX;
  531. padding-left:0px;
  532. }
  533. .content .body .right .product .content
  534. {
  535. flex-wrap:nowrap;
  536. flex-direction:column;
  537. display:flex;
  538. width:100%;
  539. box-sizing:border-box;
  540. padding-left:0px;
  541. height:240px;
  542. }
  543. .content .body .right .product .content .label
  544. {
  545. flex-direction:row;
  546. word-wrap:break-word;
  547. display:inline-block;
  548. font-size:18PX;
  549. padding-top:0px;
  550. padding-left:0px;
  551. }
  552. .content .body .right .product .content .content-body
  553. {
  554. flex-wrap:nowrap;
  555. flex-direction:column;
  556. display:flex;
  557. width:100%;
  558. box-sizing:border-box;
  559. padding-top:20px;
  560. padding-left:0px;
  561. height:100%;
  562. }
  563. .content .body .right .product .content .content-body span
  564. {
  565. flex-direction:row;
  566. word-wrap:break-word;
  567. display:inline-block;
  568. font-size:14px;
  569. }
  570. }</style>
  571. </body>
  572. </html>