message.htm 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493
  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="news">
  39. <div class="body">
  40. <div class="left">
  41. <span class="title" >
  42. 分类名称
  43. </span>
  44. <span class="sub-title-sel" >
  45. 分类名称
  46. </span>
  47. <span class="sub-title" >
  48. 分类名称
  49. </span>
  50. </div>
  51. <div class="right">
  52. <div class="ms-channel-path">
  53. <span class="ms-channel-path-label">
  54. 当前位置:
  55. </span>
  56. <a href="/" class="ms-channel-path-index">
  57. 首页
  58. </a>
  59. {ms:channel type="path"}
  60. <i class="iconfont icon-youjiantou"></i>
  61. <a href="{ms:global.url/}${field.typelink}" class="ms-channel-path-link">
  62. ${field.typetitle}
  63. </a>
  64. {/ms:channel}
  65. </div>
  66. <div class="message-body">
  67. <!--输入框-start-->
  68. <input class="ms-input"/>
  69. <!--输入框-end-->
  70. <!--输入框-start-->
  71. <input class="ms-input"/>
  72. <!--输入框-end-->
  73. <div >
  74. 提交
  75. </div>
  76. </div> </div> </div> </div>
  77. <#include "footer.htm"/>
  78. </div>
  79. </body>
  80. </html>
  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. .news
  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. .news .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. .news .body .left
  140. {
  141. padding-bottom:0px;
  142. flex-wrap:nowrap;
  143. flex-direction:column;
  144. display:flex;
  145. padding-right:0px;
  146. width:200px;
  147. box-sizing:border-box;
  148. padding-top:0px;
  149. padding-left:0px;
  150. height:100%;
  151. }
  152. .news .body .left .title
  153. {
  154. border-bottom-color:#C0C4CC;
  155. color:#C0C4CC;
  156. flex-direction:row;
  157. word-wrap:break-word;
  158. display:inline-block;
  159. font-size:16PX;
  160. border-bottom-style:dashed;
  161. padding-top:10px;
  162. border-bottom-width:1px;
  163. padding-left:10px;
  164. height:40px;
  165. }
  166. .news .body .left .sub-title-sel
  167. {
  168. background-color:#F2F6FC;
  169. color:#409EFF;
  170. flex-direction:row;
  171. word-wrap:break-word;
  172. display:inline-block;
  173. font-size:16PX;
  174. padding-top:10px;
  175. padding-left:10px;
  176. margin-top:2px;
  177. height:40px;
  178. }
  179. .news .body .left .sub-title
  180. {
  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. .news .body .right
  192. {
  193. flex-direction:column;
  194. display:flex;
  195. padding-right:20px;
  196. box-sizing:border-box;
  197. padding-bottom:0px;
  198. flex-wrap:nowrap;
  199. width:1000px;
  200. margin-bottom:0px;
  201. padding-top:0px;
  202. padding-left:20px;
  203. margin-top:0px;
  204. height:100%;
  205. }
  206. .news .body .right .ms-channel-path
  207. {
  208. align-items:center;
  209. flex-direction:row;
  210. display:flex;
  211. box-sizing:border-box;
  212. margin-left:auto;
  213. margin-right:auto;
  214. flex-wrap:nowrap;
  215. width:100%;
  216. margin-bottom:10px;
  217. padding-left:0px;
  218. margin-top:10px;
  219. height:30px;
  220. }
  221. .news .body .right .ms-channel-path span
  222. {
  223. font-size:16PX;
  224. color:#909399;
  225. flex-direction:row;
  226. word-wrap:break-word;
  227. display:inline-block;
  228. }
  229. .news .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. .news .body .right .ms-channel-path >i
  239. {
  240. }
  241. .news .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. .news .body .right .message-body
  251. {
  252. align-items:center;
  253. flex-direction:column;
  254. display:flex;
  255. padding-right:0px;
  256. box-sizing:border-box;
  257. margin-left:0px;
  258. border-top-left-radius:0px;
  259. margin-right:0px;
  260. padding-bottom:0px;
  261. flex-wrap:nowrap;
  262. border-bottom-left-radius:0px;
  263. width:100%;
  264. border-bottom-right-radius:0px;
  265. margin-bottom:0px;
  266. border-top-right-radius:0px;
  267. padding-top:0px;
  268. padding-left:0px;
  269. margin-top:0px;
  270. }
  271. .news .body .right .message-body .ms-input
  272. {
  273. border-color:#DCDFE6;
  274. background-color:#FFFFFF;
  275. align-items:center;
  276. flex-direction:row;
  277. display:flex;
  278. padding-right:4px;
  279. box-sizing:border-box;
  280. justify-content:space-between;
  281. border-top-left-radius:2px;
  282. padding-bottom:0px;
  283. flex-wrap:nowrap;
  284. border-bottom-left-radius:2px;
  285. border-width:1px;
  286. width:250px;
  287. border-bottom-right-radius:2px;
  288. border-top-right-radius:2px;
  289. margin-bottom:4px;
  290. padding-top:0px;
  291. border-style:solid;
  292. padding-left:4px;
  293. height:30px;
  294. }
  295. .news .body .right .message-body .ms-input span
  296. {
  297. color:#DCDFE6;
  298. flex-direction:row;
  299. word-wrap:break-word;
  300. display:inline-block;
  301. padding-right:0px;
  302. border-top-left-radius:0px;
  303. padding-bottom:0px;
  304. border-bottom-left-radius:0px;
  305. border-bottom-right-radius:0px;
  306. border-top-right-radius:0px;
  307. font-size:14PX;
  308. padding-top:0px;
  309. padding-left:0px;
  310. }
  311. .news .body .right .message-body div
  312. {
  313. cursor:pointer;
  314. background-color:#0099ff;
  315. color:#FFFFFF;
  316. text-align:center;
  317. display:inline-block;
  318. box-sizing:border-box;
  319. border-top-left-radius:4px;
  320. border-bottom-left-radius:4px;
  321. width:138px;
  322. border-bottom-right-radius:4px;
  323. line-height:45px;
  324. font-size:16px;
  325. border-top-right-radius:4px;
  326. height:45px;
  327. }
  328. @media (max-width: 768px){
  329. .news
  330. {
  331. align-items:center;
  332. flex-direction:row;
  333. display:flex;
  334. padding-right:0px;
  335. box-sizing:border-box;
  336. justify-content:center;
  337. padding-bottom:0px;
  338. flex-wrap:nowrap;
  339. width:100%;
  340. margin-bottom:0px;
  341. padding-top:0px;
  342. padding-left:0px;
  343. margin-top:0px;
  344. }
  345. .news .body
  346. {
  347. padding-bottom:20px;
  348. flex-wrap:nowrap;
  349. flex-direction:column;
  350. display:flex;
  351. padding-right:0px;
  352. width:100%;
  353. box-sizing:border-box;
  354. padding-top:20px;
  355. padding-left:0px;
  356. }
  357. .news .body .left
  358. {
  359. padding-bottom:0px;
  360. flex-wrap:nowrap;
  361. flex-direction:column;
  362. display:flex;
  363. padding-right:0px;
  364. width:100%;
  365. box-sizing:border-box;
  366. padding-top:0px;
  367. padding-left:0px;
  368. height:100%;
  369. }
  370. .news .body .left .title
  371. {
  372. border-bottom-color:#C0C4CC;
  373. color:#C0C4CC;
  374. flex-direction:row;
  375. word-wrap:break-word;
  376. display:inline-block;
  377. font-size:16PX;
  378. border-bottom-style:dashed;
  379. padding-top:10px;
  380. border-bottom-width:1px;
  381. padding-left:10px;
  382. height:40px;
  383. }
  384. .news .body .left .sub-title-sel
  385. {
  386. background-color:#F2F6FC;
  387. color:#409EFF;
  388. flex-direction:row;
  389. word-wrap:break-word;
  390. display:inline-block;
  391. font-size:16PX;
  392. padding-top:10px;
  393. padding-left:10px;
  394. margin-top:2px;
  395. height:40px;
  396. }
  397. .news .body .left .sub-title
  398. {
  399. color:#5F5F5F;
  400. text-align:left;
  401. flex-direction:row;
  402. word-wrap:break-word;
  403. display:inline-block;
  404. font-size:16PX;
  405. padding-top:10px;
  406. padding-left:10px;
  407. margin-top:0px;
  408. height:40px;
  409. }
  410. .news .body .right
  411. {
  412. padding-bottom:0px;
  413. flex-wrap:nowrap;
  414. flex-direction:column;
  415. display:flex;
  416. padding-right:0px;
  417. width:100%;
  418. margin-bottom:0px;
  419. box-sizing:border-box;
  420. padding-top:0px;
  421. padding-left:0px;
  422. margin-top:0px;
  423. }
  424. .news .body .right .ms-channel-path
  425. {
  426. align-items:center;
  427. flex-direction:row;
  428. display:flex;
  429. box-sizing:border-box;
  430. margin-left:auto;
  431. margin-right:auto;
  432. flex-wrap:nowrap;
  433. width:100%;
  434. margin-bottom:10px;
  435. padding-top:0px;
  436. padding-left:0px;
  437. margin-top:10px;
  438. height:30px;
  439. }
  440. .news .body .right .ms-channel-path span
  441. {
  442. font-size:14PX;
  443. flex-direction:row;
  444. word-wrap:break-word;
  445. display:inline-block;
  446. }
  447. .news .body .right .ms-channel-path .ms-channel-path-index
  448. {
  449. cursor:pointer;
  450. color:#000;
  451. font-size:14PX;
  452. text-decoration:none;
  453. margin-bottom:0px;
  454. margin-top:0px;
  455. }
  456. .news .body .right .ms-channel-path .ms-channel-path-link
  457. {
  458. cursor:pointer;
  459. color:#000;
  460. font-size:14PX;
  461. text-decoration:none;
  462. margin-bottom:0px;
  463. margin-top:0px;
  464. }
  465. .news .body .right .message-body
  466. {
  467. flex-direction:column;
  468. display:flex;
  469. box-sizing:border-box;
  470. margin-left:0px;
  471. margin-right:0px;
  472. padding-bottom:0px;
  473. flex-wrap:nowrap;
  474. width:100%;
  475. margin-bottom:0px;
  476. padding-top:0px;
  477. margin-top:0px;
  478. height:300px;
  479. }
  480. }</style>