coursesHistory.vue 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790
  1. <template>
  2. <div class="context">
  3. <div class="panel">
  4. <h5>课程管理
  5. </h5>
  6. <div class="likeTab">
  7. <el-button type="" @click="goType('courses')">当前课程</el-button>
  8. <el-button type="primary" @click="goType('coursesHistory')">历史记录</el-button>
  9. </div>
  10. <div class="panel-body">
  11. <div class="panel_control">
  12. <el-row :gutter="20">
  13. <el-date-picker
  14. v-model="panel.timeScope"
  15. type="daterange"
  16. range-separator="至"
  17. start-placeholder="开始日期"
  18. end-placeholder="结束日期">
  19. </el-date-picker>
  20. <el-col :span="4">
  21. <el-button size="" type="primary" @click="query" :disabled="serachBtnStatus" plain>查询
  22. </el-button>
  23. </el-col>
  24. </el-row>
  25. </div>
  26. </div>
  27. </div>
  28. <div class="table">
  29. <el-table
  30. :data="tableData"
  31. border
  32. is-horizontal-resize
  33. :default-sort="{prop: 'date', order: 'descending'}"
  34. element-loading-background="rgba(0, 0, 0, 0.8)"
  35. class=""
  36. @selection-change="handleSelectionChange"
  37. >
  38. >
  39. <el-table-column
  40. type="index"
  41. label="序号"
  42. align="center"
  43. width="50">
  44. </el-table-column>
  45. <el-table-column
  46. prop="BeginTime"
  47. label="上课时间"
  48. :formatter="filterFmtDate"
  49. width="180"
  50. >
  51. </el-table-column>
  52. <el-table-column
  53. prop="ClassName"
  54. label="课程"
  55. sortable
  56. >
  57. <template slot-scope="scope">
  58. <span class="lessonSpan"
  59. :style="{background:scope.row.ClassColor}">{{scope.row.ClassName}}</span>
  60. </template>
  61. </el-table-column>
  62. <el-table-column
  63. prop="ConsumeHour"
  64. label="消耗课时"
  65. width="110"
  66. sortable
  67. >
  68. </el-table-column>
  69. <el-table-column
  70. prop="OrderNum"
  71. label="实际预约人数"
  72. width="130"
  73. sortable
  74. >
  75. </el-table-column>
  76. <el-table-column
  77. prop="SvName"
  78. label="区域"
  79. width="110"
  80. sortable
  81. >
  82. </el-table-column>
  83. <el-table-column
  84. prop="ClassType"
  85. label="课程类型"
  86. width="110"
  87. sortable
  88. >
  89. <template slot-scope="scope">
  90. <span v-if="scope.row.ClassType == 1">团课</span>
  91. <span v-if="scope.row.ClassType == 3">私教</span>
  92. <span v-if="scope.row.ClassType == 2 && scope.row.PkNum == 2">两队PK</span>
  93. <span v-if="scope.row.ClassType == 2 && scope.row.PkNum == 3">三队PK</span>
  94. </template>
  95. </el-table-column>
  96. <el-table-column
  97. prop="FinishClass"
  98. label="当前状态"
  99. width="110"
  100. sortable
  101. >
  102. <template slot-scope="scope">
  103. <span v-if="scope.row.FinishClass == 0" style="color: red">未上课</span>
  104. <span v-if="scope.row.FinishClass == 1">已下课</span>
  105. <span v-if="scope.row.FinishClass == 2" style="color: yellowgreen">已上课</span>
  106. <span v-if="scope.row.FinishClass == 3">准备上课</span>
  107. <span v-if="scope.row.FinishClass == 4">已完成</span>
  108. </template>
  109. </el-table-column>
  110. <el-table-column
  111. prop="Status"
  112. label="操作"
  113. width="160"
  114. >
  115. <template slot-scope="scope">
  116. <!--<el-button type="primary" round size="mini" @click="checkClassOverPrepare(scope.row)">-->
  117. <!--下课-->
  118. <!--</el-button>-->
  119. <el-button type="primary" round size="mini" v-if="scope.row.FinishClass == 0"
  120. @click="showDialogMemberVisible(scope.row)">
  121. 上课
  122. </el-button>
  123. <el-button type="primary" round size="mini"
  124. v-if="scope.row.FinishClass == 3 || scope.row.FinishClass == 2"
  125. @click="seeEdit(scope.row)"
  126. >
  127. 管理
  128. </el-button>
  129. <!--修改区域 todo-->
  130. <el-button type="primary" round plain size="mini" v-if="scope.row.FinishClass == 3"
  131. @click="changeShopVenue(scope.row)"
  132. >
  133. 编辑
  134. </el-button>
  135. <!--已完成才能看详情-->
  136. <el-button type="primary" round plain size="mini" v-if="scope.row.FinishClass == 1 || scope.row.FinishClass == 4"
  137. @click="seeDetail(scope.row)"
  138. >
  139. 详情
  140. </el-button>
  141. </template>
  142. </el-table-column>
  143. </el-table>
  144. <br>
  145. <el-pagination
  146. background
  147. :total="pageination.total"
  148. :page-size="pageination.pageItem"
  149. @current-change="pageChange"
  150. ></el-pagination>
  151. </div>
  152. <el-dialog :title="dialogTitle" :visible.sync="dialogMemberVisible" width="650px">
  153. <div class="dialogContent">
  154. <h5 class="classNames">{{className}}</h5>
  155. <div class="">
  156. <el-form ref="form" :model="form" label-width="160px">
  157. <el-form-item label="区域" :required="true">
  158. <el-select v-model="form.svId" filterable placeholder="请选择" @change="changeLocationValue">
  159. <el-option
  160. v-for="item in form.svList"
  161. :key="item.SvId"
  162. :label="item.Name"
  163. :value="item.SvId">
  164. </el-option>
  165. </el-select>
  166. </el-form-item>
  167. <el-form-item label="类型" :required="true">
  168. <el-select v-model="form.classType" filterable placeholder="请选择">
  169. <el-option
  170. v-for="item in form.ClassTypeOptions"
  171. :key="item.value"
  172. :label="item.label"
  173. :value="item.value">
  174. </el-option>
  175. </el-select>
  176. </el-form-item>
  177. <el-form-item label="组队方式" v-if="form.classType == 2">
  178. <el-select v-model="form.pkNum" filterable placeholder="请选择">
  179. <el-option
  180. v-for="item in form.PKTypeOptions"
  181. :key="item.value"
  182. :label="item.label"
  183. :value="item.value">
  184. </el-option>
  185. </el-select>
  186. </el-form-item>
  187. </el-form>
  188. </div>
  189. </div>
  190. <div class="dialogFooter">
  191. <el-button type="primary" size="small" v-if="form.btnType == 0" @click="getClassStartPrepare()">确定
  192. </el-button>
  193. <el-button type="primary" size="small" v-if="form.btnType == 1" @click="getClassStartPrepareForEdit()">
  194. 确定
  195. </el-button>
  196. <el-button size="small" @click="dialogMemberVisible = false">取消</el-button>
  197. </div>
  198. </el-dialog>
  199. </div>
  200. </template>
  201. <script>
  202. import Global from '../Global.js'
  203. import {
  204. ClassPreFinishListQuery,
  205. ClassOverPrepare,
  206. ClassDetailQuery,
  207. QueryShopVenue,
  208. ClassStartPrepare,
  209. DispPlanInfoEdit,
  210. } from "../api/getApiRes";
  211. let qs = require('qs');
  212. export default {
  213. data() {
  214. return {
  215. dialogMemberVisible: false,
  216. serachBtnStatus: false,
  217. dialogVisible: false,//其他dialog
  218. dialogFinishVisible: false,//确认下课dialog
  219. dialogLesson: false,//课时调整
  220. dialogGift: false,//赠送课时调整
  221. dialogExpTime: false,//有效期调整
  222. dialogLessonTable: false,//会员课程
  223. dialogTitle: '上课准备',
  224. className: '',
  225. current: getNowDate(),
  226. dialogValue: [],
  227. // panel 配置项目
  228. panel: {
  229. usercode: '',
  230. username: '',
  231. compname: '',
  232. keyword: '',
  233. USERCODE: '',
  234. endType: '',
  235. taskstatus: 99,
  236. draw: 1,
  237. start: 0,
  238. recordsTotal: 0,
  239. tableData: [],
  240. allTableData: [],
  241. limit: '10',
  242. multipleSort: false,
  243. loading: false,
  244. fileList: [],
  245. multipleSelection: [],
  246. detectedmac: '',
  247. options: [
  248. {value: 99, label: '全部'},
  249. {value: 1, label: '进行中'},
  250. {value: 2, label: '已完成'},
  251. ],
  252. endTypeOptions: [
  253. {value: 99, label: '全部'},
  254. {value: 30, label: '近一个月'},
  255. {value: 7, label: '近一周'},
  256. {value: 1, label: '当日'},
  257. ],
  258. time1: globalBt(),
  259. timeScope: globalBt2(0),
  260. },
  261. multipleSelection: [],
  262. pageination: {
  263. pageItem: 100,
  264. pageoptions: pageOptions(),
  265. total: 100,
  266. pageIndex: 1,
  267. },
  268. form: {
  269. name: '',
  270. svId: '',
  271. svName: '',
  272. classType: 1,
  273. userCode: '',
  274. coach: '',
  275. coachOptions: [],
  276. shopId: '',
  277. memberType: 1,
  278. lesson: 1,
  279. gift: 1,
  280. pktype: 1,
  281. pkNum: 2,
  282. btnType: 0,//0新建,1编辑
  283. memo: '',
  284. expTime: '',
  285. StdId: '',
  286. svList: [],//区域列表
  287. dialogdata: [],//穿梭待选
  288. dialogValue: [],//穿梭已选
  289. ClassTypeOptions: [
  290. {value: 1, label: '团课'},
  291. // {value: 2, label: '竞技PK'},
  292. {value: 3, label: '私教'},
  293. ],
  294. PKTypeOptions: [
  295. {value: 2, label: '2队PK'},
  296. {value: 3, label: '3队PK'},
  297. ],
  298. },
  299. memberTypes: [
  300. {value: 1, label: '年会员'},
  301. {value: 2, label: '充值会员'},
  302. ],
  303. tableData: []
  304. }
  305. },
  306. mounted() {
  307. this.getTableQuery();
  308. },
  309. methods: {
  310. goType(url) {
  311. this.$router.push({path: '/' + url});
  312. },
  313. // 更改上课区域
  314. changeShopVenue(row) {
  315. this.dialogMemberVisible = true;
  316. this.form.btnType = 1;//0新建,1编辑
  317. // 读取本行信息
  318. this.dialogMemberVisible = true;
  319. this.className = row.ClassName + ' ' + row.BeginStr + ' - ' + row.EndStr;
  320. this.form.StdId = row.StdId;
  321. this.getQueryShopVenue();
  322. this.form.svId = row.SvId;
  323. this.form.classType = row.ClassType;
  324. this.form.pkNum = row.PkNum;
  325. },
  326. // 准备上课
  327. getClassStartPrepare() {
  328. let that = this;
  329. if (!that.form.svId) {
  330. that.$message.error('上课区域不能为空');
  331. return false
  332. }
  333. // 不是竞技pk的时候为0
  334. let uppkNum = that.form.classType == 2 ? that.form.pkNum : 0;
  335. let param = {
  336. token: localStorage.token,
  337. stdId: that.form.StdId,
  338. svId: that.form.svId,
  339. svName: that.form.svName,
  340. classType: that.form.classType,
  341. pkNum: uppkNum,
  342. };
  343. let postdata = qs.stringify(param);
  344. ClassStartPrepare(postdata).then(res => {
  345. let json = res;
  346. if (json.Code == 0) {
  347. // NewId: 0
  348. that.dialogMemberVisible = false;
  349. this.getTableQuery();
  350. this.$router.push({
  351. path: '/courseEdit',
  352. query: {
  353. StdId: that.form.StdId,
  354. ClassName: that.form.ClassName,
  355. BeginStr: that.form.BeginStr,
  356. EndStr: that.form.EndStr,
  357. FinishClass:3,
  358. }
  359. });
  360. } else {
  361. that.$message.error(json.Memo + '错误码:' + json.Code);
  362. }
  363. })
  364. },
  365. // 编辑
  366. getClassStartPrepareForEdit() {
  367. let that = this;
  368. if (!that.form.svId) {
  369. that.$message.error('上课区域不能为空');
  370. return false
  371. }
  372. // 不是竞技pk的时候为0
  373. let uppkNum = that.form.classType == 2 ? that.form.pkNum : 0;
  374. let param = {
  375. token: localStorage.token,
  376. stdId: that.form.StdId,
  377. svId: that.form.svId,
  378. svName: that.form.svName,
  379. classType: that.form.classType,
  380. pkNum: uppkNum,
  381. };
  382. let postdata = qs.stringify(param);
  383. DispPlanInfoEdit(postdata).then(res => {
  384. let json = res;
  385. if (json.Code == 0) {
  386. // NewId: 0
  387. that.dialogMemberVisible = false;
  388. this.getTableQuery();
  389. } else {
  390. that.$message.error(json.Memo + '错误码:' + json.Code);
  391. }
  392. })
  393. },
  394. seeDetail(row) {
  395. this.$router.push({
  396. path: '/classInfoDetail', query: {
  397. StdId: row.StdId,
  398. ClassName: row.ClassName,
  399. BeginStr: row.BeginStr,
  400. EndStr: row.EndStr,
  401. }
  402. });
  403. },
  404. seeEdit(row) {
  405. this.$router.push({
  406. path: '/courseEdit', query: {
  407. StdId: row.StdId,
  408. ClassName: row.ClassName,
  409. BeginStr: row.BeginStr,
  410. EndStr: row.EndStr,
  411. FinishClass: row.FinishClass,
  412. }
  413. });
  414. },
  415. // 获取select的label
  416. changeLocationValue(val) {
  417. //locations是v-for里面的也是datas里面的值
  418. let obj = {};
  419. obj = this.form.svList.find((item) => {
  420. return item.SvId === val;
  421. });
  422. this.form.svName = obj.Name;
  423. },
  424. // 获取区域列表
  425. getQueryShopVenue() {
  426. let that = this;
  427. let param = {
  428. key: localStorage.ServiceKey,
  429. shopId: localStorage.ServiceId,
  430. };
  431. if(!localStorage.ServiceKey){
  432. that.$message.error('还未与心率系统对接,请联系管理员');
  433. return false
  434. }
  435. let postdata = qs.stringify(param);
  436. QueryShopVenue(postdata).then(res => {
  437. let json = res;
  438. if (json.Code == 0) {
  439. that.form.svList = json.Rs;
  440. } else {
  441. that.$message.error(json.Memo + '错误码:' + json.Code);
  442. }
  443. })
  444. },
  445. vipSelect(stdId) {
  446. let that = this;
  447. // 筛选相同的stdid的classId
  448. that.form.stdList.map(function (item) {
  449. if (item.value == stdId) {
  450. let param = {
  451. token: localStorage.token,
  452. // classId: item.classId
  453. };
  454. let postdata = qs.stringify(param);
  455. // VipUserListQuery
  456. VipUserSimpleQuery(postdata).then(res => {
  457. let json = res;
  458. if (json.Code == 0) {
  459. that.form.userId = '';
  460. that.form.userList = turnResToOptionBySimViper(json.Rs);
  461. } else {
  462. that.$message.error(json.Memo + '错误码:' + json.Code);
  463. }
  464. })
  465. }
  466. })
  467. },
  468. showDialogMemberVisible(row) {
  469. this.dialogMemberVisible = true;
  470. this.form.btnType = 0;//0新建,1编辑编辑
  471. // clear
  472. this.form.svList = "";
  473. this.form.classType = 1;
  474. this.form.pkNum = "";
  475. this.form.StdId = row.StdId;
  476. this.form.ClassName= row.ClassName;
  477. this.form.BeginStr= row.BeginStr;
  478. this.form.EndStr= row.EndStr;
  479. this.form.FinishClass= row.FinishClass;
  480. this.className = row.ClassName + ' ' + row.BeginStr + ' - ' + row.EndStr;
  481. this.form.StdId = row.StdId;
  482. this.getQueryShopVenue();
  483. },
  484. // 检测当前课是否处于可改变状态
  485. // 固定下当前已预约人数列表
  486. checkClassOverPrepare(row) {
  487. let that = this;
  488. let param = {
  489. token: localStorage.token,
  490. stdId: row.StdId,
  491. };
  492. let postdata = qs.stringify(param);
  493. ClassOverPrepare(postdata).then(res => {
  494. let json = res;
  495. if (json.Code == 0) {
  496. that.goFinish(row);
  497. } else {
  498. that.$message.error(json.Memo + '错误码:' + json.Code);
  499. }
  500. })
  501. },
  502. goFinish(row) {
  503. this.$router.push({
  504. path: '/finishDetail', query: {
  505. id: row.StdId,
  506. classId: row.ClassId,
  507. ClassName: row.ClassName,
  508. BeginTime: row.BeginTime,
  509. }
  510. });
  511. },
  512. handleSelectionChange(val) {
  513. this.multipleSelection = val;
  514. },
  515. // 查询按钮
  516. query() {
  517. let that = this;
  518. that.serachBtnStatus = true;
  519. let totalTime = 2;
  520. let clock = window.setInterval(() => {
  521. totalTime--;
  522. if (totalTime < 0) {
  523. totalTime = 2;
  524. that.serachBtnStatus = false;
  525. }
  526. }, 1000);
  527. this.getTableQuery();
  528. this.$message.success('查询完毕');
  529. },
  530. // 页面数据查询
  531. getTableQuery() {
  532. let that = this;
  533. that.loading = true;
  534. let param = {
  535. token: localStorage.token,
  536. tagname: that.panel.tagname,//标签名
  537. bt: nonTfmtDatetoLength(that.panel.timeScope[0], 10) + " 00:00:00",
  538. et: nonTfmtDatetoLength(that.panel.timeScope[1], 10) + " 23:59:59",
  539. fcStatus: '1,4',//状态字符串,空是全部 或 0,3,2 是待上课 或 1,4 已下课
  540. start: 1,//
  541. tableMax: 9999,//
  542. };
  543. let postdata = qs.stringify(param);
  544. ClassDetailQuery(postdata).then(res => {
  545. let json = res;
  546. if (json.Code == 0) {
  547. that.loading = false;
  548. if (json.Rs) {
  549. that.allTableData = json.Rs;
  550. that.recordsTotal = json.Rs.length;
  551. } else {
  552. that.allTableData = [];
  553. that.recordsTotal = 0;
  554. }
  555. // 设置分页数据
  556. that.setPaginations();
  557. } else {
  558. that.$message.error(json.Memo + '错误码:' + json.Code);
  559. }
  560. })
  561. },
  562. // 设置分页数据
  563. setPaginations() {
  564. // 分页属性
  565. let that = this;
  566. that.pageination.total = that.recordsTotal;
  567. // 默认分页
  568. that.tableData = that.allTableData.filter((item, index) => {
  569. return index < that.pageination.pageItem;
  570. });
  571. },
  572. // 每页显示数量
  573. handleSizeChange() {
  574. let that = this;
  575. that.tableData = that.allTableData.filter((item, index) => {
  576. return index < that.pageination.pageItem;
  577. });
  578. that.draw = that.pageination.pageItem;
  579. // that.getTableQuery();
  580. },
  581. // 翻页
  582. pageChange(pageIndex) {
  583. let that = this;
  584. // 获取当前页
  585. let index = that.pageination.pageItem * (pageIndex - 1);
  586. // 数据总数
  587. let nums = that.pageination.pageItem * pageIndex;
  588. // 容器
  589. let tables = [];
  590. for (var i = index; i < nums; i++) {
  591. if (that.allTableData[i]) {
  592. tables.push(that.allTableData[i])
  593. }
  594. this.tableData = tables;
  595. }
  596. that.start = index * that.draw;
  597. // that.getTableQuery();
  598. },
  599. // 过滤时间
  600. filterFmtDate(value, row, column) {
  601. let that = this;
  602. return nonTfmtDate(column, 11);
  603. },
  604. },
  605. watch: {
  606. $route(to) {
  607. if (to.name == 'courses') {
  608. this.getTableQuery();
  609. }
  610. },
  611. },
  612. }
  613. </script>
  614. <style scoped>
  615. @import "../assets/css/panel.css";
  616. .context {
  617. height: 770px;
  618. overflow-y: scroll;
  619. display: block;
  620. margin: 0 auto;
  621. background-color: #fff !important;
  622. padding: 30px;
  623. }
  624. .panel-body {
  625. padding: 20px;
  626. background: #F0F2F5;
  627. }
  628. .change {
  629. width: 100%;
  630. overflow: hidden;
  631. display: block;
  632. margin: 0 auto;
  633. padding-top: 10px;
  634. padding-bottom: 10px;
  635. }
  636. .change button {
  637. float: left;
  638. }
  639. .change button.pull-right {
  640. float: right;
  641. }
  642. .dialogTitle {
  643. width: 100%;
  644. overflow: hidden;
  645. display: block;
  646. margin: 0 auto;
  647. color: #000000;
  648. font-size: 18px;
  649. text-align: center;
  650. }
  651. .dialogTitle em {
  652. float: none;
  653. font-style: normal;
  654. color: #3799FF;
  655. margin: 0;
  656. }
  657. /deep/ .el-transfer-panel__item .el-checkbox__input {
  658. left: 40px;
  659. }
  660. .dialogFooter {
  661. width: 90%;
  662. overflow: hidden;
  663. display: block;
  664. margin: 0 auto;
  665. margin-top: 10px;
  666. }
  667. .dialogFooter button {
  668. float: right;
  669. margin-left: 10px;
  670. }
  671. .dialogContent {
  672. width: 100%;
  673. overflow: hidden;
  674. display: block;
  675. margin: 0 auto;
  676. }
  677. .dialogContent .pull-left {
  678. width: 30%;
  679. float: left;
  680. }
  681. .dialogContent .pull-right {
  682. width: 70%;
  683. float: right;
  684. }
  685. .blueTitle {
  686. width: 200px;
  687. overflow: hidden;
  688. display: block;
  689. margin: 0 auto;
  690. margin-top: 10px;
  691. margin-bottom: 40px;
  692. background: #F0F2F5;
  693. border-radius: 19px;
  694. text-align: center;
  695. color: #3799FF;
  696. font-size: 16px;
  697. padding: 5px 24px;
  698. }
  699. .current {
  700. width: 158px;
  701. height: 23px;
  702. /*float: left;*/
  703. border-radius: 250px;
  704. text-align: center;
  705. background: #F0F2F5;
  706. color: #545454;
  707. font-size: 14px;
  708. padding: 3px 10px;
  709. margin-left: 20px;
  710. }
  711. .lessonSpan {
  712. width: 78px;
  713. height: 22px;
  714. border-radius: 11px;
  715. margin-right: 5px;
  716. float: left;
  717. margin-bottom: 3px;
  718. text-align: center;
  719. color: #000;
  720. font-size: 12px;
  721. }
  722. .classNames {
  723. width: 211px;
  724. height: 25px;
  725. background: #f0f2f5;
  726. font-family: "Source Han Sans CN";
  727. font-weight: normal;
  728. font-size: 16px;
  729. color: #3799ff;
  730. border-radius: 250px;
  731. text-align: center;
  732. margin: 0 auto;
  733. margin-bottom: 10px;
  734. }
  735. /deep/ .el-date-editor .el-range-separator {
  736. line-height: 25px;
  737. }
  738. .likeTab {
  739. width: 100%;
  740. overflow: hidden;
  741. display: block;
  742. margin: 0 auto;
  743. padding-top: 10px;
  744. padding-bottom: 0;
  745. border-bottom: 1px solid #ccc;
  746. margin-bottom: 10px;
  747. }
  748. .likeTab button {
  749. float: left;
  750. border-radius: 0;
  751. }
  752. .likeTab button.pull-right {
  753. float: right;
  754. }
  755. </style>