当前位置:   article > 正文

基于vue2开发的毕业设计(时光云平台)_vue2软件毕业设计

vue2软件毕业设计

自己经过一段时间的琢磨和设计,该平台已经完成了基本的功能需求,大家可以来一起看一下,或许对你的设计有所帮助。

 视频详解:

基于vue2开发的毕业设计(时光云平台)

访问连接:点击进入

前端的登录首页界面:

 

 前台注册页面展示界面:

 登录进去的首页界面展示:

好啦,前台展示基本就是这些,对于里面的功能大家可以去看上面视频也可以点击上面连接自行去体验即可。下面看后台的一些展示 

        后台登录页面展示,账号为admin,密码为123456:

         后台管理页面展示功能:

部分代码(主页部分)分享:

如需要全部源码可以加QQ3534912941

  1. <template>
  2. <div class="box">
  3. <el-row>
  4. <el-col :span="24">
  5. <div class="bgc">
  6. <span class="headline">时光云平台</span>
  7. <ul class="nav">
  8. <li >主页内容</li>
  9. <li @click="author">作者信息</li>
  10. <li @click="Moreoperations">更多操作</li>
  11. <li >搜索</li>
  12. </ul>
  13. <ul class="navright">
  14. <li>用户名</li>
  15. <li @click="exit">退出登录</li>
  16. </ul>
  17. </div>
  18. </el-col>
  19. </el-row>
  20. <el-container>
  21. <el-main class="main">
  22. <el-row :gutter="20">
  23. <el-col :span="6">
  24. <div class="mianLeft hidden-md-and-down">
  25. <h3 class="personal">个人信息</h3>
  26. <div class="icon">
  27. <el-avatar :size='120' src="./img/photo.png"></el-avatar>
  28. <ul class="information">
  29. <li>账号: {{username}}</li>
  30. <li>邮箱: {{uesremail}}</li>
  31. <li>性别: <i>{{sex}}</i></li>
  32. <li>用户类别: 普通用户</li>
  33. </ul>
  34. </div>
  35. <div class="bottombtn">
  36. <el-button type="success" @click="dialogTableVisible = true">个人信息</el-button>
  37. <el-button type="success" @click="open">修改密码</el-button>
  38. <el-button type="success" @click="dialogVisible=true">注销账号</el-button>
  39. </div>
  40. <el-dialog
  41. title="提示"
  42. :visible.sync="dialogVisible"
  43. width="30%"
  44. >
  45. <span style="margin-bottom:3%; display:block">请输入账号完成验证:</span>
  46. <el-input
  47. type="text"
  48. placeholder="请输入内容"
  49. v-model="loginouts"
  50. maxlength="10"
  51. show-word-limit
  52. >
  53. </el-input>
  54. <span slot="footer" class="dialog-footer">
  55. <el-button @click="dialogVisible = false">取 消</el-button>
  56. <el-button type="primary" @click="dialogVisibles">确 定</el-button>
  57. </span>
  58. </el-dialog>
  59. <el-dialog title="个人详细信息" :visible.sync="dialogTableVisible">
  60. <hr style="margin:0"/>
  61. <div>
  62. <label for="">昵称<i style="color:red">(若要修改请反馈管理员)</i></label>
  63. <el-input
  64. type="text"
  65. placeholder="请输入内容"
  66. v-model="nickname"
  67. maxlength="10"
  68. show-word-limit
  69. :disabled="true"
  70. >
  71. </el-input>
  72. <div style="margin: 20px 0;"></div>
  73. <label for="">用户ID</label>
  74. <el-input
  75. type="text"
  76. placeholder="请输入内容"
  77. v-model="text"
  78. maxlength="10"
  79. show-word-limit
  80. :disabled="true"
  81. >
  82. </el-input>
  83. <label for="" style="margin-top:3%">个人简介</label>
  84. <el-input
  85. type="textarea"
  86. placeholder="请输入内容"
  87. v-model="textarea"
  88. maxlength="30"
  89. show-word-limit
  90. >
  91. </el-input>
  92. <label for="" style="margin-top:3%">性别</label>
  93. <br>
  94. <br>
  95. <el-radio v-model="radio" label="1">男</el-radio>
  96. <el-radio v-model="radio" label="2">女</el-radio>
  97. </div>
  98. </el-dialog>
  99. </div>
  100. <div class="sqlmessage hidden-md-and-down">
  101. <h3>信息查询</h3>
  102. <div class="transaction">
  103. <ul>
  104. <li>
  105. <div>
  106. <img src="img/money.png" alt="">
  107. <span>余额查询</span>
  108. <i>+</i>
  109. </div>
  110. </li>
  111. <li>
  112. <div>
  113. <img src="img/messag.png" alt="">
  114. <span>信息查询</span>
  115. <i>+</i>
  116. </div>
  117. </li>
  118. <li>
  119. <div>
  120. <img src="img/money.png" alt="">
  121. <span>余额查询</span>
  122. <i>+</i>
  123. </div>
  124. </li>
  125. </ul>
  126. </div>
  127. </div>
  128. <div class="calendar hidden-md-and-down">
  129. <el-calendar class="calendars" v-model="value">
  130. </el-calendar>
  131. </div>
  132. <div class="announcement hidden-md-and-down">
  133. <h3>意见反馈</h3>
  134. <el-form ref="form" :model="form" label-width="80px">
  135. <el-input class="resize" type="textarea" placeholder="请输入您宝贵的意见" v-model="form.desc"></el-input>
  136. </el-form>
  137. <el-button class="announcementBtn" type="primary" size="mini" @click="issue">发布</el-button>
  138. </div>
  139. </el-col>
  140. <el-col :span="12">
  141. <div class="mianmid hidden-md-and-down">
  142. <div class="clearfix">
  143. <h3>我的应用</h3>
  144. <el-button size="small" type="success" class="floatBtn" @click="add=true">添加应用</el-button>
  145. </div>
  146. <el-dialog
  147. title="请您输入要添加的应用"
  148. :visible.sync="add"
  149. width="30%"
  150. >
  151. <el-input
  152. type="text"
  153. placeholder="请输入内容"
  154. v-model="putinto"
  155. maxlength="6"
  156. show-word-limit
  157. >
  158. </el-input>
  159. <span slot="footer" class="dialog-footer">
  160. <el-button @click="add = false">取 消</el-button>
  161. <el-button type="primary" @click="adds">确 定</el-button>
  162. </span>
  163. </el-dialog>
  164. <div class="clearfix">
  165. <ul class="list">
  166. <li v-for="i in itemss" :key="i" @click="clicks">
  167. <img src="/img/office.png" alt="">
  168. <el-link :underline="false" class="subtitle">{{apply[i-1]}}</el-link>
  169. </li>
  170. </ul>
  171. </div>
  172. </div>
  173. <div class="tabs">
  174. <el-tabs type="border-card" class="tabsround hidden-md-and-down">
  175. <el-tab-pane label="喝水管理">
  176. <ul style="padding:0" class="clearfix" @click="drinkwater">
  177. <el-tooltip content="含水量:100%" placement="top" effect="light">
  178. <li @click="$message({
  179. message: '喝水成功',
  180. type: 'success'
  181. }); tableData.push({date:'水',name:'100',address:dayjss})">
  182. <svg class="icon water" aria-hidden="true">
  183. <use xlink:href="#icon-kuangquanshui"></use>
  184. </svg>
  185. <el-link :underline="false" class="drinking">水</el-link>
  186. </li>
  187. </el-tooltip>
  188. <el-tooltip content="含水量:90%" placement="top" effect="light">
  189. <li @click="$message({
  190. message: '喝中药成功',
  191. type: 'success'
  192. }); tableData.push({date:'中药',name:'90',address:dayjss})">
  193. <svg class="icon water" aria-hidden="true">
  194. <use xlink:href="#icon-zhongyao"></use>
  195. </svg>
  196. <el-link :underline="false" class="drinking">中药</el-link>
  197. </li>
  198. </el-tooltip>
  199. <el-tooltip content="含水量:91%" placement="top" effect="light">
  200. <li @click="$message({
  201. message: '喝豆浆成功',
  202. type: 'success'
  203. }); tableData.push({date:'豆浆',name:'91',address:dayjss})">
  204. <svg class="icon water" aria-hidden="true">
  205. <use xlink:href="#icon-doujiang"></use>
  206. </svg>
  207. <el-link :underline="false" class="drinking">豆浆</el-link>
  208. </li>
  209. </el-tooltip>
  210. <el-tooltip content="含水量:71%" placement="top" effect="light">
  211. <li @click="$message({
  212. message: '喝蜂蜜水成功',
  213. type: 'success'
  214. }); tableData.push({date:'蜂蜜水',name:'71',address:dayjss})">
  215. <svg class="icon water" aria-hidden="true">
  216. <use xlink:href="#icon-Honey"></use>
  217. </svg>
  218. <el-link :underline="false" class="drinking">蜂蜜</el-link>
  219. </li>
  220. </el-tooltip>
  221. <el-tooltip content="含水量:180%" placement="top" effect="light">
  222. <li @click="$message({
  223. message: '喝鸡尾酒成功',
  224. type: 'success'
  225. }); tableData.push({date:'鸡尾酒',name:'180',address:dayjss})">
  226. <svg class="icon water" aria-hidden="true">
  227. <use xlink:href="#icon-jiweijiu"></use>
  228. </svg>
  229. <el-link :underline="false" class="drinking">鸡尾酒</el-link>
  230. </li>
  231. </el-tooltip>
  232. <el-tooltip content="含水量:86%" placement="top" effect="light">
  233. <li @click="$message({
  234. message: '喝果汁成功',
  235. type: 'success'
  236. }); tableData.push({date:'鸡尾酒',name:'180',address:dayjss})">
  237. <svg class="icon water" aria-hidden="true">
  238. <use xlink:href="#icon-guozhi"></use>
  239. </svg>
  240. <el-link :underline="false" class="drinking">果汁</el-link>
  241. </li>
  242. </el-tooltip>
  243. <el-tooltip content="含水量:176%" placement="top" effect="light">
  244. <li @click="$message({
  245. message: '喝啤酒成功',
  246. type: 'success'
  247. }); tableData.push({date:'啤酒',name:'176',address:dayjss});">
  248. <svg class="icon water" aria-hidden="true">
  249. <use xlink:href="#icon-pijiu"></use>
  250. </svg>
  251. <el-link :underline="false" class="drinking">啤酒</el-link>
  252. </li>
  253. </el-tooltip>
  254. <el-tooltip content="含水量:86%" placement="top" effect="light">
  255. <li @click="$message({
  256. message: '喝咖啡成功',
  257. type: 'success'
  258. }); tableData.push({date:'咖啡',name:'86',address:dayjss})">
  259. <svg class="icon water" aria-hidden="true">
  260. <use xlink:href="#icon-kafei"></use>
  261. </svg>
  262. <el-link :underline="false" class="drinking">咖啡</el-link>
  263. </li>
  264. </el-tooltip>
  265. <el-tooltip content="含水量:96%" placement="top" effect="light">
  266. <li @click="$message({
  267. message: '喝奶茶成功',
  268. type: 'success'
  269. }); tableData.push({date:'奶茶',name:'96',address:dayjss})">
  270. <svg class="icon water" aria-hidden="true">
  271. <use xlink:href="#icon-naicha"></use>
  272. </svg>
  273. <el-link :underline="false" class="drinking">奶茶</el-link>
  274. </li>
  275. </el-tooltip>
  276. <el-tooltip content="含水量:95%" placement="top" effect="light">
  277. <li @click="$message({
  278. message: '喝酸奶成功',
  279. type: 'success'
  280. }); tableData.push({date:'酸奶',name:'95',address:dayjss})">
  281. <svg class="icon water" aria-hidden="true">
  282. <use xlink:href="#icon-suannai"></use>
  283. </svg>
  284. <el-link :underline="false" class="drinking">酸奶</el-link>
  285. </li>
  286. </el-tooltip>
  287. <el-tooltip content="含水量:89%" placement="top" effect="light">
  288. <li @click="$message({
  289. message: '喝可乐成功',
  290. type: 'success'
  291. }); tableData.push({date:'可乐',name:'89',address:dayjss})">
  292. <svg class="icon water" aria-hidden="true">
  293. <use xlink:href="#icon-kele"></use>
  294. </svg>
  295. <el-link :underline="false" class="drinking">可乐</el-link>
  296. </li>
  297. </el-tooltip>
  298. <el-tooltip content="含水量:70%" placement="top" effect="light">
  299. <li @click="$message({
  300. message: '喝牛奶成功',
  301. type: 'success'
  302. }); tableData.push({date:'牛奶',name:'70',address:dayjss})">
  303. <svg class="icon water" aria-hidden="true">
  304. <use xlink:href="#icon-niunai"></use>
  305. </svg>
  306. <el-link :underline="false" class="drinking">牛奶</el-link>
  307. </li>
  308. </el-tooltip>
  309. <el-tooltip content="含水量:80%" placement="top" effect="light">
  310. <li @click="$message({
  311. message: '喝柠檬水成功',
  312. type: 'success'
  313. }); tableData.push({date:'柠檬水',name:'80',address:dayjss})">
  314. <svg class="icon water" aria-hidden="true">
  315. <use xlink:href="#icon-shiwuningmengshui"></use>
  316. </svg>
  317. <el-link :underline="false" class="drinking">柠檬水</el-link>
  318. </li>
  319. </el-tooltip>
  320. </ul>
  321. <div class="keyindex">
  322. <h3>关键指标</h3>
  323. <ul class="clearfix" style="padding:0">
  324. <li>
  325. <span>喝水记录</span>
  326. <div class="day"><span style="font-size:22px; font-family:'仿宋'; cursor: pointer;" @click="examine=true">点击查看</span></div>
  327. </li>
  328. <li>
  329. <span>喝水次数</span>
  330. <div class="day"><b style="font-size:22px">{{drinkingcount}}</b> 次</div>
  331. </li>
  332. <li>
  333. <span>当月喝水量</span>
  334. <div class="day"><b style="font-size:22px">{{drinkingmonthml}}</b> ml</div>
  335. </li>
  336. <li>
  337. <span>当天喝水量</span>
  338. <div class="day"><b style="font-size:22px">{{drinkingdayml}}</b> ml</div>
  339. </li>
  340. </ul>
  341. </div>
  342. <el-dialog
  343. title="查看详情"
  344. :visible.sync="examine"
  345. width="50%"
  346. >
  347. <el-table
  348. :data="tableData"
  349. stripe
  350. style="width: 100%; max-height:450px;overflow: auto;">
  351. <el-table-column
  352. prop="date"
  353. label="名称"
  354. width="180">
  355. </el-table-column>
  356. <el-table-column
  357. prop="name"
  358. label="喝水量"
  359. width="180">
  360. </el-table-column>
  361. <el-table-column
  362. prop="address"
  363. label="喝水时间">
  364. </el-table-column>
  365. </el-table>
  366. <span slot="footer" class="dialog-footer">
  367. <el-button @click="examine = false">取 消</el-button>
  368. <el-button type="primary" @click="examine = false">确 定</el-button>
  369. </span>
  370. </el-dialog>
  371. </el-tab-pane>
  372. <el-tab-pane label="记账管理">
  373. <div class="totalassets">
  374. <h3>总资产</h3>
  375. <div class="summoney">{{computerasset}}</div>
  376. <h4 class="liabilities">负债:<b>{{incurdebts}}</b></h4>
  377. </div>
  378. <div class="capitalaccount">
  379. <el-collapse v-model="activeNames">
  380. <el-collapse-item title="资金账户" name="1" >
  381. <div class="Listoffunds clearfix" v-for="i in assetsaccount.length" :key="i">
  382. <span>{{assetsaccount[i-1].business}}</span>
  383. <span>{{assetsaccount[i-1].monetaryunit}}</span>
  384. </div>
  385. </el-collapse-item>
  386. </el-collapse>
  387. </div>
  388. <div class="Addassets" @click="keepaccounts=true"><span>+</span>添加</div>
  389. <el-dialog
  390. title="请您输入要添加的应用"
  391. :visible.sync="keepaccounts"
  392. width="30%"
  393. >
  394. <el-select class="selectpush" v-model="values" placeholder="请选择">
  395. <el-option
  396. v-for="item in options"
  397. :key="item.value"
  398. :label="item.label"
  399. :value="item.value">
  400. </el-option>
  401. </el-select>
  402. <br>
  403. <label for="" style="margin:3%">所做事务</label>
  404. <el-input v-model="business" placeholder="请输入内容"></el-input>
  405. <label for="" style="margin:3%">金额</label>
  406. <el-input type="text" maxlength='6' v-model.number="monetaryunit" placeholder="请输入内容"></el-input>
  407. <span slot="footer" class="dialog-footer">
  408. <el-button @click="keepaccounts = false">取 消</el-button>
  409. <el-button type="primary" @click="keepaccountss">确 定</el-button>
  410. </span>
  411. </el-dialog>
  412. </el-tab-pane>
  413. <el-tab-pane label="生活管理">
  414. <div class="work">
  415. <footer>
  416. <span>生活规划表</span>
  417. <el-button size="mini" @click="dailyroutine=true" class="workbtn" type="primary" icon="el-icon-edit"></el-button>
  418. </footer>
  419. <ul>
  420. <li v-for="i in livelist2.length" :key="i">
  421. <span class="workLeft">{{livelist2[i-1].starttime}}-{{livelist2[i-1].endtime}}</span>
  422. <span class="workRight">{{livelist2[i-1].workcontent}}</span>
  423. </li>
  424. </ul>
  425. </div>
  426. <el-dialog
  427. title="编辑如下作息时间"
  428. :visible.sync="updataDate"
  429. width="35%"
  430. >
  431. <div>
  432. <el-time-select
  433. placeholder="起始时间"
  434. v-model="startTime"
  435. :picker-options="{
  436. start: '00:00',
  437. step: '00:15',
  438. end: '24:59'
  439. }">
  440. </el-time-select>
  441. <el-time-select
  442. placeholder="结束时间"
  443. v-model="endTime"
  444. :picker-options="{
  445. start: '00:00',
  446. step: '00:15',
  447. end: '24:59',
  448. minTime: startTime
  449. }">
  450. </el-time-select>
  451. </div>
  452. <span slot="footer" class="dialog-footer">
  453. <el-button @click="updataDate = false">取 消</el-button>
  454. <el-button type="primary" @click="updataDates">确 定</el-button>
  455. </span>
  456. </el-dialog>
  457. <el-dialog
  458. title="编辑如下作息时间"
  459. :visible.sync="dailyroutine"
  460. width="50%"
  461. >
  462. <el-button @click="addwordk" type="success" style="margin-bottom:3%;margin-left:2%" size="mini">添加</el-button>
  463. <div class="work" style="border-radius:15px">
  464. <ul>
  465. <li v-for="i in livelist.length" :key="i">
  466. <span @click="updataDatess(i-1)" class="workLeft">{{livelist3[i-1].starttime}}-{{livelist3[i-1].endtime}}</span>
  467. <input type="text" class="workRight" v-model="livelist3[i-1].workcontent">
  468. <el-button @click="deletes(i-1)" style="float:right;margin-top:3px; margin-right:3px" type="primary" size="mini" icon="el-icon-delete"></el-button>
  469. </li>
  470. </ul>
  471. </div>
  472. <span slot="footer" class="dialog-footer">
  473. <el-button @click="dailyroutine = false">取 消</el-button>
  474. <el-button type="primary" @click="dailyroutines">确 定</el-button>
  475. </span>
  476. </el-dialog>
  477. </el-tab-pane>
  478. <el-tab-pane label="日记管理">
  479. <mavon-editor ref="md" @save="demo" v-model="valuessss" :toolbars="markdownOption"/>
  480. <el-button @click="diary=true" type="success" size="small" style="margin-top:3%">发布</el-button>
  481. <el-dialog
  482. title="发布日记"
  483. :visible.sync="diary"
  484. width="35%"
  485. >
  486. <label for="" style="margin:3%">标题内容</label>
  487. <el-input maxlength="20" style="width:60%;margin-top:1%" v-model="titlecontent" placeholder="请输入内容"></el-input>
  488. <br>
  489. <label for="" style="margin:3%">摘要内容</label>
  490. <el-input minlength="30" maxlength="60" style="width:60%;margin-top:1%" v-model="abstractcontent" placeholder="请输入内容"></el-input>
  491. <br>
  492. <label for="" style="margin:3%">作者姓名</label>
  493. <el-input maxlength="10" style="width:60%;margin-top:1%" v-model="authorname" placeholder="请输入内容"></el-input>
  494. <span slot="footer" class="dialog-footer">
  495. <el-button size="small" @click="diary = false">取 消</el-button>
  496. <el-button size="small" type="primary" @click="diarys">确 定</el-button>
  497. </span>
  498. </el-dialog>
  499. <el-dialog
  500. title="日记内容"
  501. :visible.sync="alertdiary"
  502. width="35%"
  503. >
  504. <div v-html="journalcontent"></div>
  505. <span slot="footer" class="dialog-footer">
  506. <el-button size="small" @click="deletediary">删除此条日记</el-button>
  507. <el-button size="small" @click="alertdiary = false">取 消</el-button>
  508. <el-button size="small" type="primary" @click="alertdiary=false">确 定</el-button>
  509. </span>
  510. </el-dialog>
  511. <div class="article" style="overflow:auto;">
  512. <ul>
  513. <li @click="alertdiaryy(i)" class="clearfix" v-for="i in messagecontent.length" :key="i">
  514. <div class="articleimg"><img src="img/snow.jpg" alt=""></div>
  515. <div class="articlecontent">
  516. <article class="one">{{messagecontent[i-1].titlecontent}}</article>
  517. <article class="two">{{messagecontent[i-1].abstractcontent}}</article>
  518. <article class="three">{{messagecontent[i-1].authorname}}</article>
  519. </div>
  520. </li>
  521. </ul>
  522. </div>
  523. </el-tab-pane>
  524. <el-tab-pane label="课程管理">
  525. <table class="coursemanagement">
  526. <tr>
  527. <th>当前周次</th>
  528. <th>节次</th>
  529. <th>周一</th>
  530. <th>周二</th>
  531. <th>周三</th>
  532. <th>周四</th>
  533. <th>周五</th>
  534. <th>周六</th>
  535. <th>周日</th>
  536. </tr>
  537. <tr>
  538. <td>11</td>
  539. <td>1-2</td>
  540. <td></td>
  541. <td></td>
  542. <td>Python程序设计 - 程新丽江夏教学楼二605单双周@1-15(周)</td>
  543. <td>Python程序设计 - 程新丽江夏教学楼二605单双周@1-15(周)</td>
  544. <td>Java Web应用开发 - 杨健江夏教学楼二604单双周@1-15(周)</td>
  545. <td></td>
  546. <td></td>
  547. </tr>
  548. <tr>
  549. <td>11</td>
  550. <td>3-4</td>
  551. <td>Python程序设计 - 程新丽江夏教学楼二605单双周@1-15(周)</td>
  552. <td>Java Web应用开发 - 杨健江夏教学楼二604单双周@1-15(周)</td>
  553. <td>JavaScript基础 - 郝琼笃行楼707-3 物联网应用创新实训室单双周@1-15(周)</td>
  554. <td>JavaScript基础 - 郝琼笃行楼707-3 物联网应用创新实训室单双周@1-15(周)</td>
  555. <td>软件测试实用技术 - 廖梦虎笃行楼716-3 软件测试实训室单双周@1-15(周)</td>
  556. <td></td>
  557. <td></td>
  558. </tr>
  559. <tr>
  560. <td>11</td>
  561. <td>5-6</td>
  562. <td>软件测试实用技术 - 廖梦虎笃行楼716-3 软件测试实训室单双周@1-15(周)</td>
  563. <td>专业英语 - 苏雪江夏教学楼一406单双周@1-15(周)</td>
  564. <td>软件测试实用技术 - 廖梦虎笃行楼716-3 软件测试实训室单双周@1-15(周)</td>
  565. <td></td>
  566. <td></td>
  567. <td></td>
  568. <td></td>
  569. </tr>
  570. <tr>
  571. <td>11</td>
  572. <td>7-8</td>
  573. <td>专业英语 - 苏雪江夏教学楼一406单双周@1-15(周)</td>
  574. <td></td>
  575. <td></td>
  576. <td></td>
  577. <td></td>
  578. <td></td>
  579. <td></td>
  580. </tr>
  581. </table>
  582. </el-tab-pane>
  583. <el-tab-pane label="生理期">作者未作</el-tab-pane>
  584. <el-tab-pane label="天气管理">
  585. <weather></weather>
  586. </el-tab-pane>
  587. </el-tabs>
  588. </div>
  589. <div class="carousel hidden-md-and-down">
  590. <h3 style="font-size:18px">图片欣赏</h3>
  591. <el-carousel :interval="4000" type="card" height="300px">
  592. <el-carousel-item v-for="item in imgs" :key="item.src">
  593. <h3 class="medium images">
  594. <img :src="item" alt="" >
  595. </h3>
  596. </el-carousel-item>
  597. </el-carousel>
  598. </div>
  599. </el-col>
  600. <el-col :span="6">
  601. <div class="mianRight clearfix hidden-md-and-down">
  602. <div class="clearfixs gradualchange">
  603. <h3>排行榜</h3>
  604. <el-button-group class="rank">
  605. <el-button size="mini" :round="true" type="primary" >个人</el-button>
  606. <el-button size="mini" type="primary" >本服</el-button>
  607. <el-button size="mini" :round="true" type="primary" >全区</el-button>
  608. </el-button-group>
  609. <span class="rankmessg">我的排名: {{place}}</span>
  610. </div>
  611. <span class="contribution">我的贡献力: {{contribution}}</span>
  612. <ul class="rankcontent">
  613. <li v-for="i in senioritys.length" :key="i">
  614. <span>{{i}}</span>
  615. <span class="headportrait"><el-avatar :size='50' src="./img/photo.png"></el-avatar></span>
  616. <span class="use">{{senioritys[i-1].name}}</span>
  617. <span class="count">{{senioritys[i-1].integral}}积分</span>
  618. </li>
  619. </ul>
  620. </div>
  621. <div class="common hidden-md-and-down">
  622. <h3>常见问题</h3>
  623. <ul class="issue">
  624. <li>平台的使用规则以及功能</li>
  625. <li>为什么有些需要权限登录</li>
  626. <li>还有更多等待你的发现</li>
  627. <li>忘记密码了该怎么办呢?</li>
  628. </ul>
  629. </div>
  630. <div class="messagecenter hidden-md-and-down">
  631. <h3>消息中心</h3>
  632. <ul>
  633. <li>我的事务: <span>0</span>条</li>
  634. <li>我的会议: <span>0</span>条</li>
  635. <li>我的通知: <span>0</span>条</li>
  636. </ul>
  637. </div>
  638. </el-col>
  639. </el-row>
  640. </el-main>
  641. </el-container>
  642. </div>
  643. </template>
  644. <script>
  645. const ip = 'http://8.130.120.38:5000'
  646. var naid;
  647. var deleterj
  648. //导入进度条模块
  649. import NProgress from 'nprogress'
  650. import 'nprogress/nprogress.css'
  651. import axios from 'axios'
  652. import dayjs from 'dayjs'
  653. import {nanoid} from 'nanoid'
  654. import weather from './weather.vue'
  655. export default {
  656. props:['user','email'],
  657. mounted(){
  658. this.username=this.user;
  659. this.uesremail=this.email;
  660. setInterval(() => {
  661. this.dayjss = dayjs(new Date()).format('YYYY-MM-DD HH:mm:ss')
  662. // console.log(dayjs(new Date()).format('HH:mm'));
  663. },1000);
  664. axios({
  665. url:`http://8.130.120.38:5000/getID`,
  666. method:"GET",
  667. }).then((res)=>{
  668. // console.log(res.data);
  669. this.uesremail=res.data.email;
  670. this.username=res.data.urename;
  671. this.text=this.username
  672. })
  673. axios({
  674. url:`http://8.130.120.38:5000/acquire`,
  675. method:"GET",
  676. }).then((res)=>{
  677. // console.log(res.data);
  678. this.assetsaccount=res.data
  679. },(err)=>{
  680. console.log("错误");
  681. });
  682. axios({
  683. url:`http://8.130.120.38:5000/workrequest`,
  684. method:"GET",
  685. }).then((res)=>{
  686. console.log("请求workrequest"+res.data);
  687. this.ki=res.data.ki;
  688. this.kj=res.data.kj;
  689. this.kk=res.data.kk;
  690. this.livelist=res.data.livelist
  691. this.livelist2=res.data.livelist2
  692. this.livelist3=res.data.livelist3
  693. });
  694. axios({
  695. url:`http://8.130.120.38:5000/storediarys`,
  696. method:"GET",
  697. }).then((res)=>{
  698. console.log("请求storediarys"+res.data);
  699. this.journalcontent=res.data.journalcontent;
  700. this.messagecontent=res.data.messagecontent
  701. });
  702. axios({
  703. url:`http://8.130.120.38:5000/personage`,
  704. method:"GET",
  705. }).then(res=>{
  706. console.log("请求personage"+res.data);
  707. this.sex=res.data.sex;
  708. this.nickname=res.data.nickname;
  709. this.sex=='男'?this.radio='1':this.radio='2'
  710. });
  711. axios({
  712. url:`http://8.130.120.38:5000/sisters`,
  713. method:"GET",
  714. }).then(res=>{
  715. // console.log(res.data);
  716. this.senioritys = res.data;
  717. // console.log(this.senioritys);
  718. // console.log(this);
  719. });
  720. //贡献力请求
  721. axios({
  722. url:`http://8.130.120.38:5000/contribution`,
  723. method:"GET",
  724. }).then(res=>{
  725. // console.log(res.data);
  726. this.contribution=res.data.integral
  727. });
  728. axios({
  729. url:`http://8.130.120.38:5000/drinkwater`,
  730. method:"GET",
  731. }).then(res=>{
  732. // console.log(res.data);
  733. this.tableData=res.data
  734. })
  735. // console.log(this.senioritys[0]);
  736. },
  737. data () {
  738. return {
  739. dayjss:'',
  740. tableData:[],
  741. drinkingcounts:0,
  742. // drinkingday:0,
  743. senioritys:[],
  744. contribution:0,
  745. loginouts:'',
  746. markdownOption: {
  747. bold: true, // 粗体
  748. italic: true, // 斜体
  749. header: true, // 标题
  750. underline: true, // 下划线
  751. strikethrough: true, // 中划线
  752. mark: true, // 标记
  753. superscript: true, // 上角标
  754. subscript: true, // 下角标
  755. quote: true, // 引用
  756. ol: true, // 有序列表
  757. ul: true, // 无序列表
  758. link: true, // 链接
  759. imagelink: false, // 图片链接
  760. code: true, // code
  761. table: false, // 表格
  762. fullscreen: true, // 全屏编辑
  763. readmodel: true, // 沉浸式阅读
  764. htmlcode: false, // 展示html源码
  765. help: true, // 帮助
  766. /* 1.3.5 */
  767. undo: true, // 上一步
  768. redo: true, // 下一步
  769. trash: true, // 清空
  770. save: true, // 保存(触发events中的save事件)
  771. /* 1.4.2 */
  772. navigation: true, // 导航目录
  773. /* 2.1.8 */
  774. alignleft: true, // 左对齐
  775. aligncenter: true, // 居中
  776. alignright: true, // 右对齐
  777. /* 2.2.1 */
  778. subfield: false, // 单双栏模式
  779. preview: true, // 预览
  780. },
  781. sex:'',
  782. nickname:'',
  783. journalcontent:"",
  784. messagecontent:[],
  785. authorname:'',
  786. abstractcontent:'',
  787. titlecontent:'',
  788. valuessss:'',
  789. ki:0,
  790. kj:0,
  791. kk:0,
  792. livelist:[],
  793. livelist2:[],
  794. livelist3:[],
  795. startTime: '',
  796. endTime: '',
  797. username:'',
  798. uesremail:'',
  799. assetsaccount:[],
  800. business:"",
  801. monetaryunit:'',
  802. values:"",
  803. options: [
  804. {
  805. value: '支出',
  806. label: '支出'
  807. },
  808. {
  809. value: '收入',
  810. label: '收入'
  811. },
  812. ],
  813. itemss:1,
  814. putinto:"",
  815. apply:["办公服务"],
  816. radio:"1",
  817. textarea:123,
  818. text:'',
  819. activeNames :['2','2'],
  820. value: new Date(),
  821. form:{
  822. desc:""
  823. },
  824. imgs:[
  825. "img/1.jpg",
  826. "img/2.jpg",
  827. "img/3.jpg"
  828. ],
  829. dialogTableVisible: false,
  830. dialogVisible:false,
  831. add:false,
  832. keepaccounts:false,
  833. dailyroutine:false,
  834. updataDate:false,
  835. diary:false,
  836. alertdiary:false,
  837. examine:false
  838. }
  839. },
  840. methods:{
  841. issue(){
  842. if(this.form.desc==''){
  843. this.$message.error('还没有输入内容呢');
  844. }else{
  845. axios({
  846. url:`http://8.130.120.38:5000/feedback`,
  847. method:"GET",
  848. params:{
  849. content:this.form.desc
  850. }
  851. })
  852. this.form.desc='';
  853. this.$message({
  854. message: '发布成功',
  855. type: 'success'
  856. });
  857. }
  858. },
  859. dialogVisibles(){
  860. this.dialogVisible = false;
  861. // console.log(this.loginouts);
  862. if(this.loginouts==this.username){
  863. axios({
  864. url:`http://8.130.120.38:5000/loginout`,
  865. method:"POST",
  866. data:{
  867. username:this.username
  868. }
  869. });
  870. alert("已题提交后台,等待处理");
  871. }else{
  872. this.$message.error('密码验证错误');
  873. }
  874. },
  875. demo(){
  876. console.log("deml被触发");
  877. console.log(this.$refs.md.d_render);
  878. },
  879. addwordk(){
  880. this.livelist3.push({
  881. starttime:'',
  882. endtime:'',
  883. workcontent:'',
  884. });
  885. this.livelist.push({
  886. starttime:this.livelist3[this.ki].starttime,
  887. endtime:this.livelist3[this.kj].endtime,
  888. workcontent:this.livelist3[this.kk].workcontent,
  889. });
  890. axios({
  891. url:`http://8.130.120.38:5000/live`,
  892. method:"POST",
  893. data:{
  894. username:this.username,
  895. ki:this.ki,
  896. kj:this.kj,
  897. kk:this.kk,
  898. livelist:this.livelist,
  899. livelist2:this.livelist2,
  900. livelist3:this.livelist3,
  901. }
  902. })
  903. this.ki++;
  904. this.kj++;
  905. this.kk++;
  906. },
  907. adds(){
  908. this.add=false,
  909. this.itemss++,
  910. this.apply.push(this.putinto)
  911. },
  912. open(){
  913. this.$alert('请练联系管理员修改', '提示', {
  914. confirmButtonText: '确定',
  915. });
  916. },
  917. author(){
  918. this.$alert('作者也只是个前端爱好者罢了', '提示', {
  919. confirmButtonText: '确定',
  920. });
  921. },
  922. Moreoperations(){
  923. this.$message({
  924. message: '暂且没有此功能',
  925. type: 'success'
  926. });
  927. },
  928. exit(){
  929. NProgress.start()//显示上方进度条
  930. NProgress.inc() //进度条加一
  931. NProgress.done()//结束进度条
  932. setTimeout(()=>{
  933. this.$router.push("/login")
  934. },1000)
  935. },
  936. clicks(){
  937. this.$alert('期待作者更新吧', '提示', {
  938. confirmButtonText: '确定',});
  939. },
  940. keepaccountss(){
  941. this.keepaccounts=false;
  942. if(this.values=='收入'){
  943. this.assetsaccount.push({
  944. monetaryunit:this.monetaryunit,
  945. business:this.business
  946. });
  947. axios({
  948. url:`http://8.130.120.38:5000/assetsaccount`,
  949. method:"POST",
  950. data:{
  951. assetsaccount:this.assetsaccount,
  952. uersnames:this.username
  953. }
  954. })
  955. }else if(this.values=='支出'){
  956. this.assetsaccount.push({
  957. monetaryunit:-this.monetaryunit,
  958. business:this.business
  959. });
  960. axios({
  961. url:`http://8.130.120.38:5000/assetsaccount`,
  962. method:"POST",
  963. data:{
  964. assetsaccount:this.assetsaccount,
  965. uersnames:this.username
  966. }
  967. })
  968. }else{
  969. this.$message({
  970. message: '添加失败',
  971. type: 'error'
  972. });
  973. }
  974. this.monetaryunit='';
  975. this.business='';
  976. },
  977. dailyroutines(){
  978. // this.dailyroutine=false;
  979. this.$confirm('确定保存修改吗?', '提示', {
  980. confirmButtonText: '确定',
  981. cancelButtonText: '取消',
  982. type: 'warning'
  983. }).then(() => {
  984. this.dailyroutine=false;
  985. let k = 0;
  986. for(let p = 0 ; p < this.livelist3.length;p++){
  987. if(this.livelist3[p].starttime==''||this.livelist3[p].endtime==''||this.livelist3[p].workcontent==''){
  988. this.$message.error('添加信息不能为空');
  989. this.dailyroutine=true;
  990. return;
  991. }
  992. this.livelist[p].starttime=this.livelist3[p].starttime
  993. this.livelist[p].endtime=this.livelist3[p].endtime
  994. this.livelist[p].workcontent=this.livelist3[p].workcontent
  995. }
  996. this.livelist.forEach(element=>{
  997. this.livelist2[k++]={
  998. starttime:element.starttime,
  999. endtime:element.endtime,
  1000. workcontent:element.workcontent,
  1001. }
  1002. });
  1003. axios({
  1004. url:`http://8.130.120.38:5000/live`,
  1005. method:"POST",
  1006. data:{
  1007. username:this.username,
  1008. ki:this.ki,
  1009. kj:this.kj,
  1010. kk:this.kk,
  1011. livelist:this.livelist,
  1012. livelist2:this.livelist2,
  1013. livelist3:this.livelist3,
  1014. }
  1015. })
  1016. }).catch(() => {
  1017. this.dailyroutine=true;
  1018. });
  1019. },
  1020. deletes(id){
  1021. this.$confirm('是否删除此条记录?', '提示', {
  1022. confirmButtonText: '确定',
  1023. cancelButtonText: '取消',
  1024. type: 'warning'
  1025. }).then(() => {
  1026. // console.log(id);
  1027. // console.log(this.livelist3);
  1028. this.livelist3.splice(id,1);
  1029. this.livelist2.splice(id,1);
  1030. this.livelist.splice(id,1);
  1031. this.ki--;
  1032. this.kj--;
  1033. this.kk--;
  1034. axios({
  1035. url:`http://8.130.120.38:5000/live`,
  1036. method:"POST",
  1037. data:{
  1038. username:this.username,
  1039. ki:this.ki,
  1040. kj:this.kj,
  1041. kk:this.kk,
  1042. livelist:this.livelist,
  1043. livelist2:this.livelist2,
  1044. livelist3:this.livelist3,
  1045. }
  1046. })
  1047. }).catch(() => {
  1048. });
  1049. },
  1050. updataDates(){
  1051. this.updataDate=false;
  1052. console.log(naid);
  1053. this.livelist3[naid].starttime=this.startTime;
  1054. this.livelist3[naid].endtime=this.endTime
  1055. },
  1056. updataDatess(id){
  1057. naid=id;
  1058. console.log(id);
  1059. this.updataDate=true;
  1060. },
  1061. diarys(){
  1062. this.diary=false;
  1063. this.messagecontent.push({
  1064. authorname:this.authorname,
  1065. abstractcontent:this.abstractcontent,
  1066. titlecontent:this.titlecontent
  1067. });
  1068. this.journalcontent=this.$refs.md.d_render;
  1069. axios({
  1070. url:`http://8.130.120.38:5000/diarys`,
  1071. method:"POST",
  1072. data:{
  1073. username:this.username,
  1074. journalcontent:this.journalcontent,
  1075. messagecontent:this.messagecontent
  1076. }
  1077. })
  1078. },
  1079. deletediary(){
  1080. this.alertdiary=false;
  1081. this.messagecontent.splice(deleterj-1,1);
  1082. this.journalcontent='';
  1083. axios({
  1084. url:`http://8.130.120.38:5000/diarys`,
  1085. method:"POST",
  1086. data:{
  1087. username:this.username,
  1088. journalcontent:this.journalcontent,
  1089. messagecontent:this.messagecontent
  1090. }
  1091. })
  1092. },
  1093. alertdiaryy(id){
  1094. this.alertdiary=true;
  1095. deleterj=id
  1096. },
  1097. drinkwater(){
  1098. axios({
  1099. url:`http://8.130.120.38:5000/drinking`,
  1100. method:'GET',
  1101. params:{
  1102. username:this.username,
  1103. tableData : this.tableData
  1104. }
  1105. })
  1106. }
  1107. },
  1108. computed:{
  1109. computerasset(){
  1110. let sum = 0;
  1111. this.assetsaccount.forEach((element)=>{
  1112. sum+=element.monetaryunit
  1113. });
  1114. axios({
  1115. url:`http://8.130.120.38:5000/admincharge`,
  1116. method:"GET",
  1117. params:{
  1118. name:this.username,
  1119. sum:sum
  1120. }
  1121. })
  1122. return sum;
  1123. },
  1124. incurdebts(){
  1125. if(this.computerasset<0){
  1126. let beindebt = ''+this.computerasset;
  1127. return beindebt.slice(1);
  1128. }else{
  1129. return 0;
  1130. }
  1131. },
  1132. place(){
  1133. for(let i = 0 ; i < this.senioritys.length ; i++){
  1134. // console.log(this.senioritys[i].name);
  1135. // console.log(this.nickname);
  1136. if(this.senioritys[i].name==this.nickname){
  1137. return i+1;
  1138. }
  1139. }
  1140. },
  1141. drinkingdayml:{
  1142. // console.log(dayjs(new Date()).format('YYYY-MM-DD'));
  1143. // console.log(this.tableData[0].address.substr(0,10));
  1144. get: function(){
  1145. let sum = 0
  1146. for(let i = 0 ; i < this.tableData.length ; i++ ){
  1147. if(dayjs(new Date()).format('YYYY-MM-DD')==this.tableData[0].address.substr(0,10))
  1148. sum+=Number(this.tableData[i].name);
  1149. }
  1150. return sum;
  1151. },
  1152. set:function(value){
  1153. console.log(value);
  1154. }
  1155. },
  1156. drinkingmonthml:{
  1157. get:function(){
  1158. let sum = 0
  1159. for(let i = 0 ; i < this.tableData.length ; i++ ){
  1160. if(dayjs(new Date()).format('YYYY-MM')==this.tableData[0].address.substr(0,7))
  1161. sum+=Number(this.tableData[i].name);
  1162. }
  1163. return sum;
  1164. },
  1165. set:function(value){
  1166. console.log(value);
  1167. }
  1168. },
  1169. drinkingcount:{
  1170. get:function(){
  1171. return this.tableData.length
  1172. },
  1173. set:function(value){
  1174. console.log(value);
  1175. }
  1176. }
  1177. },
  1178. components:{
  1179. weather
  1180. }
  1181. }
  1182. </script>
  1183. <style scoped>
  1184. .box{
  1185. height: 200% ;
  1186. background-image: linear-gradient(to right, #a8edea 0%,#fff,70%, #fed6e3 100%);
  1187. }
  1188. /* 头部开始部分 */
  1189. .bgc{
  1190. display: flex;
  1191. height: 50px;
  1192. background-color: #5a5353;
  1193. position: relative;
  1194. overflow: hidden;
  1195. }
  1196. .headline{
  1197. font-size: 25px;
  1198. color: #fff;
  1199. font-family: "宋体";
  1200. line-height: 50px;
  1201. padding-left: 2%;
  1202. }
  1203. .nav{
  1204. display: flex;
  1205. width: 30%;
  1206. }
  1207. .nav li{
  1208. cursor: pointer;
  1209. flex: 1;
  1210. margin-left: 10%;
  1211. color: #fff;
  1212. line-height: 50px;
  1213. }
  1214. .nav li:hover{
  1215. color: #a8edea;
  1216. }
  1217. .navright{
  1218. display: flex;
  1219. /* margin-left: 46%; */
  1220. position: absolute;
  1221. right: 1%;
  1222. width: 12%;
  1223. }
  1224. .navright li{
  1225. line-height: 50px;
  1226. color: #fff;
  1227. margin-left: 10%;
  1228. cursor: default;
  1229. }
  1230. /*主体部分 */
  1231. /*左侧 */
  1232. .mianLeft{
  1233. height: 350px !important;
  1234. background-color: #fff;
  1235. border-radius: 20px;
  1236. }
  1237. .personal{
  1238. font-family: "宋体";
  1239. padding: 10px;
  1240. margin: 0;
  1241. }
  1242. .icon{
  1243. position: relative;
  1244. padding: 25px;
  1245. }
  1246. .information{
  1247. position: absolute;
  1248. top: 5%;
  1249. left: 35%;
  1250. display: flex;
  1251. flex-direction: column;
  1252. }
  1253. .information li{
  1254. flex: 1;
  1255. margin-top: 20px;
  1256. }
  1257. .bottombtn{
  1258. text-align: center;
  1259. margin-top: 15%;
  1260. }
  1261. .sqlmessage{
  1262. background-color: #fff;
  1263. border-radius: 10px;
  1264. }
  1265. .sqlmessage h3{
  1266. font-family: "宋体";
  1267. font-size: 21px;
  1268. padding: 15px;
  1269. }
  1270. .transaction ul{
  1271. padding-left: 10%;
  1272. }
  1273. .transaction ul li{
  1274. margin-top: 5%;
  1275. width: 85%;
  1276. height: 20%;
  1277. background-color: #f8f8f8;
  1278. }
  1279. .transaction ul li:first-child{
  1280. margin-top: 0;
  1281. }
  1282. .transaction ul li:last-child{
  1283. padding-bottom: 7%;
  1284. }
  1285. .transaction ul li div span{
  1286. margin-left: 10%;
  1287. }
  1288. .transaction ul li div i{
  1289. float: right;
  1290. margin-right: 5%;
  1291. margin-top: 3%;
  1292. }
  1293. .calendar{
  1294. border-radius: 15px;
  1295. }
  1296. .calendar .calendars{
  1297. border-radius: 15px;
  1298. }
  1299. ::v-deep .el-calendar-table thead th{
  1300. text-align: center;
  1301. }
  1302. ::v-deep .el-calendar-table tbody tr td{
  1303. text-align: center;
  1304. }
  1305. ::v-deep .el-calendar-table tbody tr td span{
  1306. line-height: 50px;
  1307. }
  1308. .calendar /deep/ .el-calendar-table .el-calendar-day{
  1309. height: 60px;
  1310. }
  1311. .announcement{
  1312. background-color: #fff;
  1313. border-radius: 10px;
  1314. }
  1315. .announcement h3{
  1316. padding: 15px;
  1317. font-family: "宋体";
  1318. font-size: 20px;
  1319. }
  1320. .announcement .announcementBtn{
  1321. margin: 2% 0 2% 2%;
  1322. }
  1323. /*中间部分 */
  1324. .mianmid{
  1325. background-color: #fff;
  1326. border-radius: 15px;
  1327. }
  1328. .mianmid h3{
  1329. margin: 0;
  1330. float: left;
  1331. padding: 15px;
  1332. font-family: "宋体";
  1333. font-size: 20px;
  1334. }
  1335. .floatBtn{
  1336. float: right;
  1337. margin: 15px;
  1338. }
  1339. .mianmid .list li{
  1340. float: left;
  1341. margin-right: 5%;
  1342. margin-top: 5%;
  1343. }
  1344. .subtitle{
  1345. display: block;
  1346. }
  1347. .tabs{
  1348. margin-top: 5%;
  1349. }
  1350. .tabsround{
  1351. border-radius: 15px !important;
  1352. }
  1353. .tabsround li{
  1354. float: left;
  1355. padding-left: 5%;
  1356. padding-top: 1%;
  1357. }
  1358. .water{
  1359. font-size: 5em;
  1360. width: 1em;
  1361. height: 1em;
  1362. vertical-align: -0.15em;
  1363. fill: currentColor;
  1364. overflow: hidden;
  1365. padding: 15px;
  1366. }
  1367. .drinking{
  1368. text-align: center;
  1369. display: block;
  1370. padding: 0 8px;
  1371. }
  1372. .keyindex h3{
  1373. padding: 18px;
  1374. font-family: "宋体";
  1375. font-size: 20px;
  1376. }
  1377. .keyindex ul li {
  1378. margin: 15px;
  1379. width: 45%;
  1380. height: 25%;
  1381. background-color: #f8f8f8;
  1382. border-radius: 10px;
  1383. }
  1384. .keyindex ul li .day{
  1385. padding-top: 15%;
  1386. }
  1387. .totalassets{
  1388. position: relative;
  1389. height: 100px;
  1390. background-color: #fab57e;
  1391. border-radius: 10px ;
  1392. }
  1393. .totalassets h3{
  1394. padding: 15px;
  1395. color: #fff;
  1396. }
  1397. .totalassets .summoney{
  1398. font-size: 25px;
  1399. color: #fff;
  1400. font-weight: 700;
  1401. padding-left: 15px;
  1402. }
  1403. .totalassets .liabilities{
  1404. color: #fff;
  1405. position: absolute;
  1406. bottom: 0;
  1407. right: 0;
  1408. margin-right: 5%;
  1409. }
  1410. .capitalaccount{
  1411. margin-top: 5%;
  1412. border-radius: 15px;
  1413. }
  1414. .Listoffunds span:first-child{
  1415. float: left;
  1416. }
  1417. .Listoffunds span:last-child{
  1418. margin-right: 3%;
  1419. float: right;
  1420. color: green;
  1421. font-weight: 700;
  1422. }
  1423. .carousel{
  1424. margin-top: 5%;
  1425. background-color: #fff;
  1426. border-radius: 10px;
  1427. padding: 15px;
  1428. }
  1429. .el-carousel__item{
  1430. border-radius: 10px;
  1431. }
  1432. .el-carousel__item h3 {
  1433. color: #475669;
  1434. font-size: 20px;
  1435. opacity: 0.75;
  1436. line-height: 300px;
  1437. margin: 0;
  1438. }
  1439. .el-carousel__item:nth-child(2n) {
  1440. background-color: #99a9bf;
  1441. }
  1442. .el-carousel__item:nth-child(2n+1) {
  1443. background-color: #d3dce6;
  1444. }
  1445. .images{
  1446. height: 100% !important;
  1447. }
  1448. .images img{
  1449. width: 100%;
  1450. height: 100% !important;
  1451. /* background-size: cover; */
  1452. }
  1453. .Addassets{
  1454. background-color: #e3cfcf;
  1455. height: 5%;
  1456. margin-top: 3%;
  1457. padding: 15px;
  1458. text-align: center;
  1459. border-radius: 5px;
  1460. }
  1461. .Addassets span{
  1462. margin-right: 1%;
  1463. }
  1464. .Addassets:hover{
  1465. background-color: #ccc;
  1466. cursor: pointer;
  1467. }
  1468. .selectpush{
  1469. width: 25%;
  1470. }
  1471. .work{
  1472. width: 100%;
  1473. /* height: 800px; */
  1474. background-image: linear-gradient(to top, #8de3eb 0%,#ffe4e4,70%, #b3f1a4 100%);
  1475. }
  1476. .work ul{
  1477. padding: 0;
  1478. }
  1479. .work ul li{
  1480. float: none;
  1481. padding-left: 10px;
  1482. height: 50px;
  1483. border-radius: 10px;
  1484. /* background-color: #ccc; */
  1485. /* opacity: .5; */
  1486. /* margin-top: 2%; */
  1487. }
  1488. .work ul li .workLeft{
  1489. font-size: 18px;
  1490. float: left;
  1491. line-height: 40px;
  1492. /* font-weight: 700; */
  1493. color: #000;
  1494. }
  1495. .work ul li .workRight{
  1496. font-size: 18px;
  1497. float: right;
  1498. padding-right: 2%;
  1499. line-height: 40px;
  1500. /* font-weight: 700; */
  1501. color: #000;
  1502. }
  1503. .work ul li input{
  1504. border: 0;
  1505. background-color: transparent;
  1506. outline: none;
  1507. width: 22%;
  1508. }
  1509. .work ul li:hover{
  1510. background-color: #dbd9d9;
  1511. }
  1512. .work footer{
  1513. border-bottom: 1px solid #ccc;
  1514. height: 50px;
  1515. }
  1516. .work footer span{
  1517. font-family: "宋体";
  1518. margin-left: 3%;
  1519. font-size: 18px;
  1520. line-height: 50px;
  1521. }
  1522. .work footer .workbtn{
  1523. height: 30px !important;
  1524. background-color: transparent !important;
  1525. border: 0;
  1526. color: #000 !important;
  1527. float: right;
  1528. line-height: 40px;
  1529. }
  1530. .article{
  1531. max-height: 350px;
  1532. }
  1533. .article ul li{
  1534. float: none;
  1535. margin-top: 3%;
  1536. }
  1537. .article ul{
  1538. padding: 0;
  1539. }
  1540. .article ul li .articleimg{
  1541. width: 25%;
  1542. height: 100px;
  1543. border-radius: 10px;
  1544. float: left;
  1545. }
  1546. .article ul li .articleimg img{
  1547. width: 100%;
  1548. border-radius: 10px;
  1549. height: 100%;
  1550. }
  1551. .article ul li .articlecontent{
  1552. float: left;
  1553. margin-left: 3%;
  1554. width: 72%;
  1555. height: 100px;
  1556. /* background-color: red; */
  1557. }
  1558. .article ul li .articlecontent .one{
  1559. padding-top: 1%;
  1560. font-weight: 800;
  1561. }
  1562. .article ul li .articlecontent .two{
  1563. margin-top: 1%;
  1564. font-family: "宋体";
  1565. }
  1566. .article ul li .articlecontent .three{
  1567. margin-top: 2%;
  1568. }
  1569. .coursemanagement{
  1570. width: 100%;
  1571. }
  1572. .coursemanagement tr{
  1573. /* border-collapse: collapse; */
  1574. border: 1px solid #000;
  1575. width: 100%;
  1576. }
  1577. .coursemanagement tr th{
  1578. border: 1px solid #000;
  1579. border-collapse:collapse;
  1580. text-align: center;
  1581. }
  1582. .coursemanagement tr td{
  1583. border: 1px solid #000;
  1584. border-collapse:collapse;
  1585. width: 80px;
  1586. text-align: center;
  1587. }
  1588. /*右侧部分 */
  1589. .mianRight{
  1590. background-color: #fff;
  1591. border-radius: 5px;
  1592. }
  1593. .mianRight h3{
  1594. float: left;
  1595. margin: 0;
  1596. font-family: "宋体";
  1597. padding: 20px;
  1598. font-size: 20px;
  1599. }
  1600. .mianRight .rank{
  1601. float: right;
  1602. margin: 15px;
  1603. }
  1604. .gradualchange{
  1605. position: relative;
  1606. height: 100px;
  1607. background-image: linear-gradient(to right, #bdeae8 0%,#fff,70%, #0f9349 100%);
  1608. }
  1609. .rankmessg{
  1610. font-size: 16px;
  1611. position: absolute;
  1612. left: 5%;
  1613. top: 60%;
  1614. }
  1615. .contribution{
  1616. font-family: "宋体";
  1617. padding: 15px;
  1618. font-size: 16px;
  1619. font-weight: 800;
  1620. }
  1621. .rankcontent{
  1622. max-height: 865px;
  1623. overflow: hidden;
  1624. }
  1625. .rankcontent li{
  1626. margin-top: 10%;
  1627. }
  1628. .headportrait{
  1629. display: inline-block;
  1630. vertical-align: middle;
  1631. margin-left: 10%;
  1632. }
  1633. .use{
  1634. display: inline-block;
  1635. width: 50px;
  1636. margin-left: 12%;
  1637. overflow: hidden;
  1638. text-overflow: ellipsis;
  1639. white-space: nowrap;
  1640. }
  1641. .count{
  1642. margin-left: 16%;
  1643. font-size: 16px;
  1644. color: blue;
  1645. }
  1646. .common{
  1647. background-color: #fff;
  1648. border-radius: 15px;
  1649. }
  1650. .common h3{
  1651. padding: 10px;
  1652. font-size: 20px;
  1653. font-family: "宋体";
  1654. }
  1655. .common .issue li{
  1656. padding-top: 15px;
  1657. font-family: "宋体";
  1658. cursor: default;
  1659. }
  1660. .common .issue li:last-child{
  1661. padding-bottom: 15px;
  1662. }
  1663. .messagecenter{
  1664. background-color: #fff;
  1665. border-radius: 10px;
  1666. }
  1667. .messagecenter h3{
  1668. padding: 15px;
  1669. font-family: "宋体";
  1670. font-size: 20px;
  1671. }
  1672. .messagecenter ul li{
  1673. margin-top: 5%;
  1674. }
  1675. .messagecenter ul li:first-child{
  1676. margin-top: 0;
  1677. }
  1678. .messagecenter ul li:last-child{
  1679. padding-bottom: 5%;
  1680. }
  1681. .messagecenter ul li span{
  1682. color: red;
  1683. margin-left: 3%;
  1684. margin-right: 3%;
  1685. }
  1686. /** */
  1687. </style>

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop】
推荐阅读
相关标签
  

闽ICP备14008679号