邓淳远、崔鹏宇、翁思扬组云计算期末项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

407 lines
28 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <meta http-equiv="Content-Language" content="en">
  8. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  9. <title>广场</title>
  10. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no" />
  11. <meta name="description" content="Huge selection of charts created with the React ChartJS Plugin">
  12. <meta name="msapplication-tap-highlight" content="no">
  13. <link href="../static/css/charts.css" rel="stylesheet">
  14. <link href="../static/css/main.css" rel="stylesheet">
  15. <script src="../static/js/jquery-3.5.1.min.js"></script>
  16. <script>
  17. // wsy
  18. $(document).ready(function () { getContent('collection'); });
  19. </script>
  20. <style>
  21. .standard-input {
  22. height: 100px;
  23. width: 500px;
  24. background-color: aliceblue;
  25. margin-top: 1em;
  26. }
  27. </style>
  28. </head>
  29. <body>
  30. <div class="app-container app-theme-white body-tabs-shadow fixed-sidebar fixed-header">
  31. <div class="app-header header-shadow">
  32. <div class="app-header__logo">
  33. <div class="logo-src"></div>
  34. <div class="header__pane ml-auto">
  35. <div>
  36. <button type="button" class="hamburger close-sidebar-btn hamburger--elastic" data-class="closed-sidebar">
  37. <span class="hamburger-box">
  38. <span class="hamburger-inner"></span>
  39. </span>
  40. </button>
  41. </div>
  42. </div>
  43. </div>
  44. <div class="app-header__mobile-menu">
  45. <div>
  46. <button type="button" class="hamburger hamburger--elastic mobile-toggle-nav">
  47. <span class="hamburger-box">
  48. <span class="hamburger-inner"></span>
  49. </span>
  50. </button>
  51. </div>
  52. </div>
  53. <div class="app-header__menu">
  54. <span>
  55. <button type="button" class="btn-icon btn-icon-only btn btn-primary btn-sm mobile-toggle-header-nav">
  56. <span class="btn-icon-wrapper">
  57. <i class="fa fa-ellipsis-v fa-w-6"></i>
  58. </span>
  59. </button>
  60. </span>
  61. </div>
  62. </div>
  63. <div class="ui-theme-settings">
  64. <button type="button" id="TooltipDemo" class="btn-open-options btn btn-warning">
  65. <i class="fa fa-cog fa-w-16 fa-spin fa-2x"></i>
  66. </button>
  67. <div class="theme-settings__inner">
  68. <div class="scrollbar-container">
  69. <div class="theme-settings__options-wrapper">
  70. <h3 class="themeoptions-heading">布局选项
  71. </h3>
  72. <div class="p-3">
  73. <ul class="list-group">
  74. <li class="list-group-item">
  75. <div class="widget-content p-0">
  76. <div class="widget-content-wrapper">
  77. <div class="widget-content-left mr-3">
  78. <div class="switch has-switch switch-container-class" data-class="fixed-header">
  79. <div class="switch-animate switch-on">
  80. <input type="checkbox" checked data-toggle="toggle" data-onstyle="success">
  81. </div>
  82. </div>
  83. </div>
  84. <div class="widget-content-left">
  85. <div class="widget-heading">固定网页头部
  86. </div>
  87. <div class="widget-subheading">使标题顶部固定,始终可见。
  88. </div>
  89. </div>
  90. </div>
  91. </div>
  92. </li>
  93. <li class="list-group-item">
  94. <div class="widget-content p-0">
  95. <div class="widget-content-wrapper">
  96. <div class="widget-content-left mr-3">
  97. <div class="switch has-switch switch-container-class" data-class="fixed-sidebar">
  98. <div class="switch-animate switch-on">
  99. <input type="checkbox" checked data-toggle="toggle" data-onstyle="success">
  100. </div>
  101. </div>
  102. </div>
  103. <div class="widget-content-left">
  104. <div class="widget-heading">固定网页侧栏
  105. </div>
  106. <div class="widget-subheading">使侧边栏保持固定,始终可见。
  107. </div>
  108. </div>
  109. </div>
  110. </div>
  111. </li>
  112. </ul>
  113. </div>
  114. <h3 class="themeoptions-heading">
  115. <div>
  116. 网页头部选项
  117. </div>
  118. <button type="button" class="btn-pill btn-shadow btn-wide ml-auto btn btn-focus btn-sm switch-header-cs-class" data-class="">
  119. 恢复默认
  120. </button>
  121. </h3>
  122. <div class="p-3">
  123. <ul class="list-group">
  124. <li class="list-group-item">
  125. <h5 class="pb-2">选择配色
  126. </h5>
  127. <div class="theme-settings-swatches">
  128. <div class="swatch-holder bg-primary switch-header-cs-class" data-class="bg-primary header-text-light">
  129. </div>
  130. <div class="swatch-holder bg-secondary switch-header-cs-class" data-class="bg-secondary header-text-light">
  131. </div>
  132. <div class="swatch-holder bg-success switch-header-cs-class" data-class="bg-success header-text-dark">
  133. </div>
  134. <div class="swatch-holder bg-info switch-header-cs-class" data-class="bg-info header-text-dark">
  135. </div>
  136. <div class="swatch-holder bg-warning switch-header-cs-class" data-class="bg-warning header-text-dark">
  137. </div>
  138. <div class="swatch-holder bg-danger switch-header-cs-class" data-class="bg-danger header-text-light">
  139. </div>
  140. <div class="swatch-holder bg-light switch-header-cs-class" data-class="bg-light header-text-dark">
  141. </div>
  142. <div class="swatch-holder bg-dark switch-header-cs-class" data-class="bg-dark header-text-light">
  143. </div>
  144. <div class="swatch-holder bg-focus switch-header-cs-class" data-class="bg-focus header-text-light">
  145. </div>
  146. <div class="swatch-holder bg-alternate switch-header-cs-class" data-class="bg-alternate header-text-light">
  147. </div>
  148. <div class="divider">
  149. </div>
  150. <div class="swatch-holder bg-vicious-stance switch-header-cs-class" data-class="bg-vicious-stance header-text-light">
  151. </div>
  152. <div class="swatch-holder bg-midnight-bloom switch-header-cs-class" data-class="bg-midnight-bloom header-text-light">
  153. </div>
  154. <div class="swatch-holder bg-night-sky switch-header-cs-class" data-class="bg-night-sky header-text-light">
  155. </div>
  156. <div class="swatch-holder bg-slick-carbon switch-header-cs-class" data-class="bg-slick-carbon header-text-light">
  157. </div>
  158. <div class="swatch-holder bg-asteroid switch-header-cs-class" data-class="bg-asteroid header-text-light">
  159. </div>
  160. <div class="swatch-holder bg-royal switch-header-cs-class" data-class="bg-royal header-text-light">
  161. </div>
  162. <div class="swatch-holder bg-warm-flame switch-header-cs-class" data-class="bg-warm-flame header-text-dark">
  163. </div>
  164. <div class="swatch-holder bg-night-fade switch-header-cs-class" data-class="bg-night-fade header-text-dark">
  165. </div>
  166. <div class="swatch-holder bg-sunny-morning switch-header-cs-class" data-class="bg-sunny-morning header-text-dark">
  167. </div>
  168. <div class="swatch-holder bg-tempting-azure switch-header-cs-class" data-class="bg-tempting-azure header-text-dark">
  169. </div>
  170. <div class="swatch-holder bg-amy-crisp switch-header-cs-class" data-class="bg-amy-crisp header-text-dark">
  171. </div>
  172. <div class="swatch-holder bg-heavy-rain switch-header-cs-class" data-class="bg-heavy-rain header-text-dark">
  173. </div>
  174. <div class="swatch-holder bg-mean-fruit switch-header-cs-class" data-class="bg-mean-fruit header-text-dark">
  175. </div>
  176. <div class="swatch-holder bg-malibu-beach switch-header-cs-class" data-class="bg-malibu-beach header-text-light">
  177. </div>
  178. <div class="swatch-holder bg-deep-blue switch-header-cs-class" data-class="bg-deep-blue header-text-dark">
  179. </div>
  180. <div class="swatch-holder bg-ripe-malin switch-header-cs-class" data-class="bg-ripe-malin header-text-light">
  181. </div>
  182. <div class="swatch-holder bg-arielle-smile switch-header-cs-class" data-class="bg-arielle-smile header-text-light">
  183. </div>
  184. <div class="swatch-holder bg-plum-plate switch-header-cs-class" data-class="bg-plum-plate header-text-light">
  185. </div>
  186. <div class="swatch-holder bg-happy-fisher switch-header-cs-class" data-class="bg-happy-fisher header-text-dark">
  187. </div>
  188. <div class="swatch-holder bg-happy-itmeo switch-header-cs-class" data-class="bg-happy-itmeo header-text-light">
  189. </div>
  190. <div class="swatch-holder bg-mixed-hopes switch-header-cs-class" data-class="bg-mixed-hopes header-text-light">
  191. </div>
  192. <div class="swatch-holder bg-strong-bliss switch-header-cs-class" data-class="bg-strong-bliss header-text-light">
  193. </div>
  194. <div class="swatch-holder bg-grow-early switch-header-cs-class" data-class="bg-grow-early header-text-light">
  195. </div>
  196. <div class="swatch-holder bg-love-kiss switch-header-cs-class" data-class="bg-love-kiss header-text-light">
  197. </div>
  198. <div class="swatch-holder bg-premium-dark switch-header-cs-class" data-class="bg-premium-dark header-text-light">
  199. </div>
  200. <div class="swatch-holder bg-happy-green switch-header-cs-class" data-class="bg-happy-green header-text-light">
  201. </div>
  202. </div>
  203. </li>
  204. </ul>
  205. </div>
  206. <h3 class="themeoptions-heading">
  207. <div>网页侧栏选项</div>
  208. <button type="button" class="btn-pill btn-shadow btn-wide ml-auto btn btn-focus btn-sm switch-sidebar-cs-class" data-class="">
  209. 恢复默认
  210. </button>
  211. </h3>
  212. <div class="p-3">
  213. <ul class="list-group">
  214. <li class="list-group-item">
  215. <h5 class="pb-2">选择配色
  216. </h5>
  217. <div class="theme-settings-swatches">
  218. <div class="swatch-holder bg-primary switch-sidebar-cs-class" data-class="bg-primary sidebar-text-light">
  219. </div>
  220. <div class="swatch-holder bg-secondary switch-sidebar-cs-class" data-class="bg-secondary sidebar-text-light">
  221. </div>
  222. <div class="swatch-holder bg-success switch-sidebar-cs-class" data-class="bg-success sidebar-text-dark">
  223. </div>
  224. <div class="swatch-holder bg-info switch-sidebar-cs-class" data-class="bg-info sidebar-text-dark">
  225. </div>
  226. <div class="swatch-holder bg-warning switch-sidebar-cs-class" data-class="bg-warning sidebar-text-dark">
  227. </div>
  228. <div class="swatch-holder bg-danger switch-sidebar-cs-class" data-class="bg-danger sidebar-text-light">
  229. </div>
  230. <div class="swatch-holder bg-light switch-sidebar-cs-class" data-class="bg-light sidebar-text-dark">
  231. </div>
  232. <div class="swatch-holder bg-dark switch-sidebar-cs-class" data-class="bg-dark sidebar-text-light">
  233. </div>
  234. <div class="swatch-holder bg-focus switch-sidebar-cs-class" data-class="bg-focus sidebar-text-light">
  235. </div>
  236. <div class="swatch-holder bg-alternate switch-sidebar-cs-class" data-class="bg-alternate sidebar-text-light">
  237. </div>
  238. <div class="divider">
  239. </div>
  240. <div class="swatch-holder bg-vicious-stance switch-sidebar-cs-class" data-class="bg-vicious-stance sidebar-text-light">
  241. </div>
  242. <div class="swatch-holder bg-midnight-bloom switch-sidebar-cs-class" data-class="bg-midnight-bloom sidebar-text-light">
  243. </div>
  244. <div class="swatch-holder bg-night-sky switch-sidebar-cs-class" data-class="bg-night-sky sidebar-text-light">
  245. </div>
  246. <div class="swatch-holder bg-slick-carbon switch-sidebar-cs-class" data-class="bg-slick-carbon sidebar-text-light">
  247. </div>
  248. <div class="swatch-holder bg-asteroid switch-sidebar-cs-class" data-class="bg-asteroid sidebar-text-light">
  249. </div>
  250. <div class="swatch-holder bg-royal switch-sidebar-cs-class" data-class="bg-royal sidebar-text-light">
  251. </div>
  252. <div class="swatch-holder bg-warm-flame switch-sidebar-cs-class" data-class="bg-warm-flame sidebar-text-dark">
  253. </div>
  254. <div class="swatch-holder bg-night-fade switch-sidebar-cs-class" data-class="bg-night-fade sidebar-text-dark">
  255. </div>
  256. <div class="swatch-holder bg-sunny-morning switch-sidebar-cs-class" data-class="bg-sunny-morning sidebar-text-dark">
  257. </div>
  258. <div class="swatch-holder bg-tempting-azure switch-sidebar-cs-class" data-class="bg-tempting-azure sidebar-text-dark">
  259. </div>
  260. <div class="swatch-holder bg-amy-crisp switch-sidebar-cs-class" data-class="bg-amy-crisp sidebar-text-dark">
  261. </div>
  262. <div class="swatch-holder bg-heavy-rain switch-sidebar-cs-class" data-class="bg-heavy-rain sidebar-text-dark">
  263. </div>
  264. <div class="swatch-holder bg-mean-fruit switch-sidebar-cs-class" data-class="bg-mean-fruit sidebar-text-dark">
  265. </div>
  266. <div class="swatch-holder bg-malibu-beach switch-sidebar-cs-class" data-class="bg-malibu-beach sidebar-text-light">
  267. </div>
  268. <div class="swatch-holder bg-deep-blue switch-sidebar-cs-class" data-class="bg-deep-blue sidebar-text-dark">
  269. </div>
  270. <div class="swatch-holder bg-ripe-malin switch-sidebar-cs-class" data-class="bg-ripe-malin sidebar-text-light">
  271. </div>
  272. <div class="swatch-holder bg-arielle-smile switch-sidebar-cs-class" data-class="bg-arielle-smile sidebar-text-light">
  273. </div>
  274. <div class="swatch-holder bg-plum-plate switch-sidebar-cs-class" data-class="bg-plum-plate sidebar-text-light">
  275. </div>
  276. <div class="swatch-holder bg-happy-fisher switch-sidebar-cs-class" data-class="bg-happy-fisher sidebar-text-dark">
  277. </div>
  278. <div class="swatch-holder bg-happy-itmeo switch-sidebar-cs-class" data-class="bg-happy-itmeo sidebar-text-light">
  279. </div>
  280. <div class="swatch-holder bg-mixed-hopes switch-sidebar-cs-class" data-class="bg-mixed-hopes sidebar-text-light">
  281. </div>
  282. <div class="swatch-holder bg-strong-bliss switch-sidebar-cs-class" data-class="bg-strong-bliss sidebar-text-light">
  283. </div>
  284. <div class="swatch-holder bg-grow-early switch-sidebar-cs-class" data-class="bg-grow-early sidebar-text-light">
  285. </div>
  286. <div class="swatch-holder bg-love-kiss switch-sidebar-cs-class" data-class="bg-love-kiss sidebar-text-light">
  287. </div>
  288. <div class="swatch-holder bg-premium-dark switch-sidebar-cs-class" data-class="bg-premium-dark sidebar-text-light">
  289. </div>
  290. <div class="swatch-holder bg-happy-green switch-sidebar-cs-class" data-class="bg-happy-green sidebar-text-light">
  291. </div>
  292. </div>
  293. </li>
  294. </ul>
  295. </div>
  296. </div>
  297. </div>
  298. </div>
  299. </div>
  300. <div class="app-main">
  301. <div class="app-sidebar sidebar-shadow">
  302. <div class="app-header__logo">
  303. <div class="logo-src"></div>
  304. <div class="header__pane ml-auto">
  305. <div>
  306. <button type="button" class="hamburger close-sidebar-btn hamburger--elastic" data-class="closed-sidebar">
  307. <span class="hamburger-box">
  308. <span class="hamburger-inner"></span>
  309. </span>
  310. </button>
  311. </div>
  312. </div>
  313. </div>
  314. <div class="app-header__mobile-menu">
  315. <div>
  316. <button type="button" class="hamburger hamburger--elastic mobile-toggle-nav">
  317. <span class="hamburger-box">
  318. <span class="hamburger-inner"></span>
  319. </span>
  320. </button>
  321. </div>
  322. </div>
  323. <div class="app-header__menu">
  324. <span>
  325. <button type="button" class="btn-icon btn-icon-only btn btn-primary btn-sm mobile-toggle-header-nav">
  326. <span class="btn-icon-wrapper">
  327. <i class="fa fa-ellipsis-v fa-w-6"></i>
  328. </span>
  329. </button>
  330. </span>
  331. </div>
  332. <div class="scrollbar-sidebar">
  333. <div class="app-sidebar__inner">
  334. <ul class="vertical-nav-menu">
  335. <li class="app-sidebar__heading">个人中心</li>
  336. <li>
  337. <a href="personal.html">
  338. <i class="metismenu-icon pe-7s-browser">
  339. </i>我的集锦
  340. </a>
  341. </li>
  342. <li class="app-sidebar__heading">广场</li>
  343. <li>
  344. <a href="square.html" class="mm-active">
  345. <i class="metismenu-icon pe-7s-display2">
  346. </i>用户集锦
  347. </a>
  348. </li>
  349. </ul>
  350. </div>
  351. </div>
  352. </div>
  353. <div class="app-main__outer">
  354. <div class="app-main__inner">
  355. <div class="app-page-title">
  356. <div class="page-title-wrapper">
  357. <div class="page-title-heading">
  358. <div class="page-title-icon">
  359. <i class="pe-7s-bandaid icon-gradient bg-amy-crisp">
  360. </i>
  361. </div>
  362. <div>用户集锦
  363. <div class="page-title-subheading">单击集锦查看信息
  364. </div>
  365. </div>
  366. </div>
  367. <div class="page-title-actions">
  368. <!--搜索集锦-->
  369. <form>
  370. <i class="nav-link-icon fa fa-search"></i>&nbsp;
  371. <input type="text" name="" id="search">
  372. <input type="button" value="search" onclick="getContent('collection')">
  373. </form>
  374. </div>
  375. </div>
  376. </div>
  377. <div class="row" id="recommend">
  378. <!-- 集锦样例 -->
  379. <div class="col-md-4" v-for="item in textList":key="item.id" v-bind:item='item'>
  380. <div class="card mb-3 bg-arielle-smile widget-chart text-white card-border">
  381. <div class="widget-numbers" v-on:click="jump_to('add.html',item.name,id);"><span>{{item.name}}</span></div><br>
  382. <div class="widget-subheading"><i class="fa fa-tags"></i>&nbsp;&nbsp;<span>{{item.tag}}</span></div>
  383. <!-- 未点赞时的状态:点击超链接以增加赞 -->
  384. <div class="widget-description text-danger" v-if="item.isLike!=true"><i class="pe-7s-like" v-on:click="like(item.order)"></i>&nbsp;<span class="pr-1">{{item.like}}</span></div>
  385. <!-- 点赞后的状态:点击超链接以取消赞 -->
  386. <div class="widget-description text-danger" v-if="item.isLike==true"><i class="fa fa-heart" v-on:click="unlike(item.order)"></i>&nbsp;<span class="pr-1">{{item.like}}</span></div>
  387. </div>
  388. </div>
  389. </div>
  390. </div>
  391. </div>
  392. </div>
  393. <script type="text/javascript" src="../static/assets/scripts/main.js"></script>
  394. <script src="../static/js/wsy.js"></script>
  395. </body>
  396. </html>