EvaluateIndex.vue 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  1. <!--
  2. * @Description: 我的评价
  3. * @Author: 空白格
  4. * @Date: 2022-08-24 10:00:07
  5. * @LastEditors: wangcc
  6. * @LastEditTime: 2022-08-25 14:33:46
  7. * @FilePath: \veterans_client_web\src\views\PersonalCenter\Evaluate\EvaluateIndex.vue
  8. * @Copyright: Copyright (c) 2016~2022 by 空白格, All Rights Reserved.
  9. -->
  10. <template>
  11. <div>
  12. <banner title="我的评价" :breadcrumb="false"></banner>
  13. <div class="breadcrumb">
  14. <div class="_container">
  15. <div class="banner-breadcrumb-breadcrumb">
  16. <el-breadcrumb separator-class="el-icon-arrow-right">
  17. <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
  18. <el-breadcrumb-item :to="{ path: '/personalcenter'}">我的</el-breadcrumb-item>
  19. <el-breadcrumb-item>我的评价</el-breadcrumb-item>
  20. </el-breadcrumb>
  21. </div>
  22. </div>
  23. </div>
  24. <div class="deliverBox">
  25. <div class="_container">
  26. <div class="box-list">
  27. <h1>全部评价</h1>
  28. <div style="display:table">
  29. <div class="deliverList-box">
  30. <div class="line"></div>
  31. <h3 class="title-h3">电子技术课程</h3>
  32. <div class="deliver">
  33. <div class="log">
  34. <img src="@/assets/images/log.png" alt />
  35. </div>
  36. <div class="center">
  37. <h3>王珊珊</h3>
  38. <el-rate v-model="value" disabled text-color="#ff9900"></el-rate>
  39. <p class="comment">老师讲课很生动,学到了很多东西,学了又想学,西,学了又想学西,学了又想学西,学了又想学</p>
  40. </div>
  41. <div class="right-box">
  42. <span class="time">2020.8.24</span>
  43. </div>
  44. </div>
  45. </div>
  46. <div class="deliverList-box">
  47. <div class="line"></div>
  48. <h3 class="title-h3">电子技术课程</h3>
  49. <div class="deliver">
  50. <div class="log">
  51. <img src="@/assets/images/log.png" alt />
  52. </div>
  53. <div class="center">
  54. <h3>王珊珊</h3>
  55. <el-rate v-model="value" disabled text-color="#ff9900"></el-rate>
  56. <p class="comment">老师讲课很生动,学到了很多东西,学了又想学,西,学了又想学西,学了又想学西,学了又想学</p>
  57. </div>
  58. <div class="right-box">
  59. <span class="time">2020.8.24</span>
  60. </div>
  61. </div>
  62. </div>
  63. <div class="deliverList-box">
  64. <div class="line"></div>
  65. <h3 class="title-h3">电子技术课程</h3>
  66. <div class="deliver">
  67. <div class="log">
  68. <img src="@/assets/images/log.png" alt />
  69. </div>
  70. <div class="center">
  71. <h3>王珊珊</h3>
  72. <el-rate v-model="value" disabled text-color="#ff9900"></el-rate>
  73. <p class="comment">老师讲课很生动,学到了很多东西,学了又想学,西,学了又想学西,学了又想学西,学了又想学</p>
  74. </div>
  75. <div class="right-box">
  76. <span class="time">2020.8.24</span>
  77. </div>
  78. </div>
  79. </div>
  80. <div class="deliverList-box">
  81. <div class="line"></div>
  82. <h3 class="title-h3">电子技术课程</h3>
  83. <div class="deliver">
  84. <div class="log">
  85. <img src="@/assets/images/log.png" alt />
  86. </div>
  87. <div class="center">
  88. <h3>王珊珊</h3>
  89. <el-rate v-model="value" disabled text-color="#ff9900"></el-rate>
  90. <p class="comment">老师讲课很生动,学到了很多东西,学了又想学,西,学了又想学西,学了又想学西,学了又想学</p>
  91. </div>
  92. <div class="right-box">
  93. <span class="time">2020.8.24</span>
  94. </div>
  95. </div>
  96. </div>
  97. </div>
  98. <div class="pagination" v-if="total">
  99. <el-pagination
  100. background
  101. layout="prev, pager, next"
  102. :page-size="queryParams.pageSize"
  103. :total="total"
  104. @current-change="currentChange"
  105. />
  106. </div>
  107. </div>
  108. </div>
  109. </div>
  110. </div>
  111. </template>
  112. <script>
  113. import banner from '@/components/BannerBreadcrumb/index.vue';
  114. export default {
  115. name: 'EvaluateIndex',
  116. components: { banner },
  117. data() {
  118. return {
  119. value: 3,
  120. queryParams: {
  121. pageNum: 1,
  122. pageSize: 10,
  123. schoolName: undefined
  124. },
  125. total: 0,
  126. loading: false,
  127. };
  128. },
  129. methods: {
  130. /**
  131. * 分页切换触发
  132. * @date 2022-08-16
  133. * @param {any} page
  134. * @returns {any}
  135. */
  136. currentChange(page) {
  137. this.queryParams.pageNum = page;
  138. this.getList();
  139. },
  140. /**
  141. * 获取列表
  142. * @date 2022-08-11
  143. * @returns {any}
  144. */
  145. getList() {
  146. this.loading = true;
  147. // myInterviewList(this.queryParams).then((res) => {
  148. // this.deliverList = res.rows;
  149. // this.total = Number(res.total);
  150. // this.loading = false;
  151. // });
  152. }
  153. }
  154. };
  155. </script>
  156. <style lang='scss' scoped>
  157. ._container {
  158. width: 1200px !important;
  159. margin-right: auto;
  160. margin-left: auto;
  161. padding-right: 15px;
  162. padding-left: 15px;
  163. max-width: none !important;
  164. }
  165. ._container:after,
  166. ._container:before {
  167. display: table;
  168. content: ' ';
  169. clear: both;
  170. }
  171. .breadcrumb {
  172. background-color: #f5f7fa;
  173. height: 70px;
  174. display: flex;
  175. align-items: center;
  176. }
  177. .banner-breadcrumb-breadcrumb {
  178. .el-breadcrumb {
  179. font-size: 18px;
  180. }
  181. :deep(.el-breadcrumb__inner.is-link) {
  182. color: #7e7e7e;
  183. font-weight: normal;
  184. }
  185. :deep(.el-breadcrumb__item:last-child .el-breadcrumb__inner) {
  186. color: #ff0000;
  187. }
  188. }
  189. .box-list {
  190. background-color: #fff;
  191. padding: 10px 0 80px 0;
  192. display: table;
  193. width: 100%;
  194. h1 {
  195. color: #222222;
  196. font-size: 26px;
  197. margin: 19px 20px;
  198. }
  199. .deliver {
  200. cursor: pointer;
  201. width: 100%;
  202. height: 93px;
  203. background: #ffffff;
  204. display: flex;
  205. align-items: center;
  206. justify-content: space-between;
  207. float: left;
  208. .log {
  209. width: 60px;
  210. height: 60px;
  211. background: #ffffff;
  212. border: 1px solid #e2e2e2;
  213. border-radius: 4px;
  214. overflow: hidden;
  215. img {
  216. width: 100%;
  217. height: 100%;
  218. }
  219. }
  220. .center {
  221. width: 340px;
  222. h3 {
  223. color: #1a1a1a;
  224. margin-bottom: 10px;
  225. font-size: 20px;
  226. font-family: 'SourceHanSansCN';
  227. }
  228. p {
  229. color: #666666;
  230. font-size: 14px;
  231. line-height: 20px;
  232. .meta_cell {
  233. display: inline-block;
  234. margin-right: 5px;
  235. }
  236. .meta_cell:after {
  237. padding: 0 1px 0 4px;
  238. display: inline-block;
  239. color: #919090;
  240. content: '|';
  241. }
  242. .meta_cell:last-child:after {
  243. content: '';
  244. }
  245. }
  246. .comment {
  247. width: 100%;
  248. overflow: hidden;
  249. white-space: nowrap;
  250. text-overflow: ellipsis;
  251. }
  252. }
  253. .right-box {
  254. display: flex;
  255. flex-direction: column;
  256. justify-content: right;
  257. span {
  258. text-align: right;
  259. }
  260. .pir {
  261. color: #ef651f;
  262. font-size: 20px;
  263. }
  264. .time {
  265. color: #999999;
  266. font-size: 14px;
  267. margin-top: 56px;
  268. }
  269. .postStatus {
  270. line-height: 40px;
  271. color: #0f0f0f;
  272. }
  273. }
  274. }
  275. }
  276. .pagination {
  277. text-align: center;
  278. margin-top: 20px;
  279. :deep(.el-pager .active) {
  280. background-color: #ff3939;
  281. }
  282. :deep(.el-pagination.is-background .el-pager li:not(.disabled).active) {
  283. background-color: #ff3939;
  284. }
  285. }
  286. .deliverList-box {
  287. display: flex;
  288. flex-direction: column;
  289. border: 1px solid rgba(0, 0, 0, 0.11);
  290. padding: 10px 20px;
  291. margin: 10px 20px;
  292. transition: 0.5s;
  293. border-radius: 3px;
  294. width: 518px;
  295. position: relative;
  296. float: left;
  297. .title-h3 {
  298. color: #222222;
  299. line-height: 40px;
  300. font-size: 20px;
  301. }
  302. .line {
  303. width: 4px;
  304. height: 30px;
  305. position: absolute;
  306. background-color: #ef651f;
  307. left: 0;
  308. top: 16px;
  309. }
  310. }
  311. .deliverList-box:hover {
  312. box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.11);
  313. }
  314. .interview-state {
  315. display: flex;
  316. justify-content: space-between;
  317. border-bottom: 1px dashed #ccc;
  318. line-height: 50px;
  319. font-size: 22px;
  320. color: #3ca7fe;
  321. .grey {
  322. color: #999999;
  323. }
  324. .green {
  325. color: #709078;
  326. }
  327. .red {
  328. color: #ff3939;
  329. }
  330. }
  331. .button-btn {
  332. width: 100%;
  333. display: flex;
  334. justify-content: center;
  335. margin: 10px 0;
  336. }
  337. .video {
  338. width: 200px;
  339. }
  340. </style>