| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211 |
- <template>
- <div class="container">
- <div class="lt">
- <div class="top">
- <ul>
- <li @click="goPage('member')">
- <img src="../assets/img/main/member.png" height="54" width="54" />
- <div class="liRight">
- <h5>会员人数</h5>
- <span>{{ AllCount }}</span>
- </div>
- <div class="btLine">
- <em class="emlt">
- <i class="el-icon-caret-top"></i>
- 今日新增 {{ NowCount }}
- </em>
- <em class="emrt">
- <i class="el-icon-caret-top"></i>
- 昨日新增 {{ YesterdayCount }}
- </em>
- </div>
- </li>
- <li @click="goPage('record')">
- <img src="../assets/img/main/appoint.png" height="54" width="54" />
- <div class="liRight">
- <h5>今日预约人数</h5>
- <span>{{ TodayOrderNum }}</span>
- </div>
- <div class="btLine">
- <em class="emlt">
- <i class="el-icon-caret-top"></i>
- 昨日预约 {{ YestodayOrderNum }}
- </em>
- <em class="emrt">
- <i class="el-icon-caret-top"></i>
- 较昨日新增 {{ TodayIncreaseNum }}
- </em>
- </div>
- </li>
- <li @click="goPage('lesson')" v-if="userLevel != 3">
- <img src="../assets/img/main/lesson.png" height="54" width="54" />
- <div class="liRight">
- <h5>课程数量</h5>
- <span>{{ ClassNum }}</span>
- </div>
- <div class="btLine">
- <em class="emlt">
- <i class="el-icon-caret-top"></i>
- 已预约课程 {{ TodayOrderSttNum }}
- </em>
- </div>
- </li>
- <li @click="goPage('lesson')" v-if="userLevel == 3">
- <img src="../assets/img/main/lesson.png" height="54" width="54" />
- <div class="liRight">
- <h5>剩余课时</h5>
- <span>{{ TotalRemainNormalhour + TotalRemainGifthour }}</span>
- </div>
- <div class="btLine">
- <em class="emlt">
- <i class="el-icon-caret-top"></i>
- 正常课时 {{ TotalRemainNormalhour }}
- </em>
- <em class="emlt">
- <i class="el-icon-caret-top"></i>
- 赠送课时 {{ TotalRemainGifthour }}
- </em>
- </div>
- </li>
- </ul>
- </div>
- <div class="finish">
- <div class="title">
- <h5>课程管理</h5>
- <!-- <span>{{getNowDate}}</span>-->
- </div>
- <ul>
- <li v-for="c in PreFinishList">
- <div class="finListTitle" :style="{ background: c.ClassColor }">
- <em>{{ c.ClassName }}</em>
- <s>{{ c.BeginTime | parseDate }}</s>
- </div>
- <div class="context">
- <div class="ctl">
- <span>上课时间:{{ c.BeginStr }} - {{ c.EndStr }}</span>
- <span>预约人数:{{ c.OrderNum }} 人</span>
- </div>
- <em></em>
- <el-button type="primary" plain @click="goFinish(c)" v-if="c.FinishClass == 0">上课
- </el-button>
- <!--<el-button type="danger" plain @click="goFinish(c)" v-if="c.FinishClass == 0">关课-->
- <!--</el-button>-->
- <el-button type="primary" plain @click="checkClassOverPrepare(c)" v-if="c.FinishClass == 2">
- 管理</el-button>
- <el-button type="primary" plain @click="goFinish(c)" v-if="c.FinishClass == 3">编辑
- </el-button>
- </div>
- </li>
- <span class="tips" v-if="PreFinishList == 0">
- <img src="../assets/img/main/empty.jpg" height="116" width="92" />
- <br />暂无下课课程
- </span>
- </ul>
- </div>
- <div class="appoint">
- <div class="title">
- <h5>预约课程</h5>
- <span>{{ getNowDate }}</span>
- </div>
- <div class="appointCard">
- <el-card class="box-card" v-for="c in classList" @click.native="goLesson">
- <div class="cardTitle">{{ c.ClassName }}</div>
- <span>{{ c.BeginStr }}</span>
- <em>
- 最大预约人数
- <i>{{ c.OrderToplimit }}</i>
- </em>
- <em>
- 已预约人数
- <i>{{ c.OrderNum }}</i>
- </em>
- <em>
- 预约状态
- <s class="blue" v-if="c.WxOrder > 0">可预约</s>
- <s class="red" v-if="c.WxOrder == 0">不可预约</s>
- </em>
- </el-card>
- <span class="tips" v-if="classList == 0">
- <img src="../assets/img/main/empty.jpg" height="116" width="92" />
- <br />暂无预约课程,请先添加
- <router-link to="/lessonManage">课程表</router-link>
- </span>
- </div>
- </div>
- </div>
- <div class="rt">
- <div class="rtContext">
- <div class="rtTitle">
- <h5>最新预约</h5>
- <span @click="goPage('appoint', 'second')">查看全部</span>
- </div>
- <ul>
- <!-- TodayVipOrder-->
- <li v-for="(as ,index) in appointList" @click="goAppointDetail(as.UserName)" v-if="index < 6">
- <div class="asTitle">
- <span>
- <img :src="as.Head" alt v-if="as.Head" width="25px" height="25px" />
- <img src="../assets/img/nav/head.png" alt v-else width="25px" height="25px" />
- <div>{{ as.UserName }} {{ as.Phone }}</div>
- </span>
- <span>
- <div>预约时间:</div>
- {{ as.Base.CreatedAt | parseDate }}
- </span>
- </div>
- <div class="asContent">
- <span>
- <div>上课时间:</div>
- <em>{{ as.CurrentDate.substr(5, 6) }} {{ as.BeginStr }}</em>
- </span>
- <span>
- <div>预约状态:</div>
- <em v-if="as.Status == 1" class="green">已预约</em>
- <em v-if="as.Status == 2" class="red">已取消</em>
- <em v-if="as.Status == 3" class="yellow">预约未到</em>
- <em v-if="as.Status == 4">已完成</em>
- </span>
- <span>
- <div>预约课程:</div>
- <s class="blue" :style="{ background: as.ClassColor }">{{ as.ClassName }}</s>
- </span>
- <span v-if="as.RemainHour != ''">
- <div>剩余课时:</div>
- <em :class="[{ 'red': as.RemainHour == 0 }]">{{ as.RemainHour }}课时</em>
- </span>
- <span v-else>
- <div>用户类型:</div>
- <em>跨店用户</em>
- </span>
- </div>
- </li>
- <span class="tips middleTips" v-if="appointList == 0">
- <img src="../assets/img/main/empty.jpg" height="116" width="92" />
- <br />暂无预约,可进入
- <router-link to="/appoint">预约管理</router-link>
- </span>
- </ul>
- </div>
- </div>
- </div>
- </template>
- <script>
- import {
- ClassPreFinishListQuery,
- WaitingBeginClassList,
- ClassOngoingList,
- OrderStatistics,
- VipUserStatistics,
- ClassStatistics,
- ClassOverPrepare,
- VipUserOrderQuery,
- ClassHourStatistics,
- LastOrderQuery,
- } from "../api/getApiRes";
- let qs = require('qs');
- export default {
- data() {
- return {
- editableTabsValue: '1',
- getNowDate: getNowDate(),
- classList: [],
- PreFinishList: [],
- appointList: [],
- TodayClassOrder: [],
- TodayVipOrder: [],
- AllCount: 0,
- YesterdayCount: 0,
- YestodayOrderNum: 0,
- NowCount: 0,
- CountAdd: 0,
- TodayIncreaseNum: 0,
- TodayOrderNum: 0,
- ClassNum: 0,
- TodayOrderSttNum: 0,
- TotalRemainNormalhour: 0,
- TotalRemainGifthour: 0,
- userLevel: localStorage.userLevel,
- isCollapse: document.body.clientWidth < 1367,
- // clientWidth:document.body.clientWidth
- }
- },
- mounted() {
- let that = this;
- // 下课管理
- this.getVipUserStatistics();
- this.getClassStatistics();
- this.ClassQuery();
- this.getClassHourStatistics();
- this.getVipUserOrderQuery();
- // 预约统计
- this.getOrderStatistics();
- this.getWaitingBeginClassList();
- this.timer = setInterval(() => {
- that.getVipUserOrderQuery();
- this.getVipUserStatistics();
- this.getClassStatistics();
- this.ClassQuery();
- this.getOrderStatistics();
- this.getWaitingBeginClassList();
- }, 10000);
- },
- watch: {
- $route(to) {
- if (to.name == 'Main') {
- this.getVipUserStatistics();
- this.getClassStatistics();
- this.ClassQuery();
- this.getClassHourStatistics();
- this.getVipUserOrderQuery();
- this.getOrderStatistics();
- this.getWaitingBeginClassList();
- } else {
- clearInterval(this.timer);//页面销毁时清除定时器
- }
- },
- },
- destroyed() {
- clearInterval(this.timer);//页面销毁时清除定时器
- },
- methods: {
- goLesson() {
- this.$router.push({
- path: '/appoint',
- })
- },
- goAppointDetail(name) {
- this.$router.push({
- path: '/appoint',
- query: {
- page: 'second',
- name: name
- }
- })
- },
- goPage(url, page) {
- this.$router.push({
- path: '/' + url,
- query: {
- page: page
- }
- })
- },
- // 会员统计
- getVipUserStatistics() {
- let that = this;
- let param = {
- token: localStorage.token,
- };
- let postdata = qs.stringify(param);
- VipUserStatistics(postdata).then(res => {
- let json = res;
- if (json.Code == 0) {
- that.AllCount = json.Rs.AllCount;
- that.YesterdayCount = json.Rs.YesterdayCount;
- that.NowCount = json.Rs.NowCount;
- that.CountAdd = json.Rs.CountAdd;
- } else {
- if (json.Code == 1010) {
- that.$message.error(json.Memo + ' 错误码:' + json.Code);
- that.$router.push({ path: '/login', query: { status: 1 } });
- return false
- } else {
- that.$message.error(json.Memo + ' 错误码:' + json.Code);
- }
- }
- })
- },
- // 课程统计
- getClassStatistics() {
- let that = this;
- let param = {
- token: localStorage.token,
- };
- let postdata = qs.stringify(param);
- ClassStatistics(postdata).then(res => {
- let json = res;
- if (json.Code == 0) {
- that.ClassNum = json.Rs.ClassNum;
- that.TodayOrderSttNum = json.Rs.TodayOrderSttNum;
- } else {
- that.$message.error(json.Memo + ' 错误码:' + json.Code);
- }
- })
- },
- getOrderStatistics() {
- let that = this;
- that.loading = true;
- let param = {
- token: localStorage.token,
- };
- let postdata = qs.stringify(param);
- OrderStatistics(postdata).then(res => {
- let json = res;
- if (json.Code == 0) {
- that.loading = false;
- if (json.Rs) {
- that.TodayIncreaseNum = json.Rs.TodayIncreaseNum;
- that.TodayOrderNum = json.Rs.TodayOrderNum;
- that.YestodayOrderNum = json.Rs.YestodayOrderNum;
- }
- } else {
- that.$message.error(json.Memo + ' 错误码:' + json.Code);
- }
- })
- },
- checkClassOverPrepare(row) {
- let that = this;
- // courseEdit
- this.$router.push({
- path: '/courseEdit', query: {
- StdId: row.StdId,
- ClassName: row.ClassName,
- BeginStr: row.BeginStr,
- EndStr: row.EndStr,
- FinishClass: row.FinishClass,
- }
- });
- },
- goFinish(row) {
- this.$router.push({
- path: '/courses', query: {
- // id: row.StdId,
- // classId: row.ClassId,
- // ClassName: row.ClassName,
- // BeginTime: row.BeginTime,
- }
- });
- },
- getWaitingBeginClassList() {
- let that = this;
- that.loading = true;
- let param = {
- token: localStorage.token,
- };
- let postdata = qs.stringify(param);
- WaitingBeginClassList(postdata).then(res => {
- let json = res;
- if (json.Code == 0) {
- that.loading = false;
- that.classList = json.Rs;
- //ipad显示内容减少
- if (that.isCollapse) {
- that.classList = [];
- for (var i = 0; i < 3; i++) {
- that.classList.push(json.Rs[i]);
- }
- }
- } else {
- that.$message.error(json.Memo + ' 错误码:' + json.Code);
- }
- })
- },
- // 下课管理
- ClassQuery() {
- let that = this;
- that.loading = true;
- let param = {
- token: localStorage.token,
- };
- let postdata = qs.stringify(param);
- ClassOngoingList(postdata).then(res => {
- let json = res;
- if (json.Code == 0) {
- that.loading = false;
- if (json.Rs) {
- that.PreFinishList = json.Rs;
- }
- } else {
- that.$message.error(json.Memo + ' 错误码:' + json.Code);
- }
- })
- },
- getClassHourStatistics() {
- let that = this;
- let param = {
- token: localStorage.token,
- };
- let postdata = qs.stringify(param);
- ClassHourStatistics(postdata).then(res => {
- let json = res;
- if (json.Code == 0) {
- that.TotalRemainNormalhour = json.Rs.TotalRemainNormalhour;
- that.TotalRemainGifthour = json.Rs.TotalRemainGifthour;
- } else {
- that.$message.error(json.Memo);
- }
- })
- },
- // 最新预约
- getVipUserOrderQuery() {
- let that = this;
- that.loading = true;
- let param = {
- token: localStorage.token,
- classId: 0,
- orderDate: globalcurrent(),
- stdId: 0,
- };
- let postdata = qs.stringify(param);
- // VipUserOrderQuery(postdata).then(res => {
- LastOrderQuery(postdata).then(res => {
- let json = res;
- if (json.Code == 0) {
- that.loading = false;
- if (json.Rs) {
- that.appointList = json.Rs;
- }
- } else {
- that.$message.error(json.Memo + ' 错误码:' + json.Code);
- }
- })
- }
- },
- filters: {
- parseDate: function (value) {
- if (!value) {
- return false
- } else {
- let res = nonTfmtDatetoLength(value, 10).substr(5, 10);
- return res;
- }
- },
- },
- }
- </script>
- <style scoped>
- ul,
- li {
- list-style: none;
- margin: 0;
- padding: 0;
- }
- em {
- font-style: normal;
- }
- .container {
- width: 100%;
- /* height: 760px;*/
- overflow: hidden;
- overflow-y: scroll;
- display: block;
- margin: 0 auto;
- padding-bottom: 60px;
- }
- .container>.lt {
- width: 1173px;
- float: left;
- margin-top: 0px;
- }
- .container>.rt {
- /*width: 436px;*/
- width: 26%;
- height: 100%;
- float: right;
- }
- .lt .top {
- width: 100%;
- overflow: hidden;
- display: block;
- margin: 0 auto;
- }
- .lt .top li {
- width: 377px;
- height: 140px;
- float: left;
- background: #fff;
- border-radius: 12px;
- margin-right: 20px;
- cursor: pointer;
- }
- .lt .top li:nth-child(3) {
- margin-right: 0;
- }
- .top li img {
- float: left;
- margin-top: 17px;
- margin-left: 30px;
- margin-right: 24px;
- }
- .top li .liRight {
- width: 200px;
- float: left;
- margin-top: 17px;
- }
- .top .liRight h5 {
- margin: 0;
- padding: 0;
- text-align: left;
- }
- .top .liRight span {
- width: 100%;
- overflow: hidden;
- display: block;
- margin: 0 auto;
- text-align: left;
- font-size: 26px;
- font-family: Arial;
- margin-top: 7px;
- margin-bottom: 20px;
- }
- .liRight em {
- font-size: 14px;
- text-align: right;
- }
- .btLine {
- width: 84%;
- overflow: hidden;
- display: block;
- margin: 0 auto;
- border-top: 1px solid #f0f2f5;
- padding-top: 17px;
- }
- .btLine em {
- font-size: 14px;
- }
- .btLine .emlt {
- width: 50%;
- float: left;
- text-align: left;
- }
- .btLine i {
- font-size: 18px;
- color: #bdbdbd;
- }
- .emlt i {
- float: left;
- }
- .finish {
- width: 100%;
- min-height: 358px;
- overflow: hidden;
- display: block;
- margin: 0 auto;
- background: #fff;
- margin-top: 15px;
- border-radius: 12px;
- padding-top: 15px;
- padding-bottom: 0px;
- }
- .finish .title {
- overflow: hidden;
- display: block;
- margin: 0 auto;
- padding-left: 30px;
- }
- .finish .title h5 {
- margin: 0;
- float: left;
- font-size: 18px;
- }
- .finish .title span {
- float: right;
- margin-right: 43px;
- font-size: 14px;
- color: #717171;
- }
- .finish ul {
- overflow: hidden;
- display: block;
- margin: 0 auto;
- padding-left: 30px;
- padding-right: 30px;
- margin: 0 auto;
- margin-top: 10px;
- }
- .finish ul li {
- width: 347px;
- height: 149px;
- overflow: hidden;
- float: left;
- margin-bottom: 14px;
- }
- .finish ul li:nth-child(2) {
- margin-left: 24px;
- margin-right: 24px;
- }
- .finish ul li:nth-child(5) {
- margin-left: 24px;
- margin-right: 24px;
- }
- .finish li .finListTitle {
- width: 100%;
- height: 35px;
- line-height: 35px;
- overflow: hidden;
- display: block;
- margin: 0 auto;
- background-color: #3799ff;
- border-top-left-radius: 7px;
- border-top-right-radius: 7px;
- color: #000;
- }
- li .finListTitle em {
- float: left;
- color: #fff;
- padding-left: 5%;
- }
- li .finListTitle s {
- float: right;
- text-decoration: none;
- color: #fff;
- padding-right: 5%;
- }
- .finish li .context {
- width: 344px;
- overflow: hidden;
- display: block;
- margin: 0 auto;
- border: 1px solid #e8e8e8;
- border-top: none;
- padding-top: 16px;
- padding-bottom: 16px;
- border-bottom-left-radius: 7px;
- border-bottom-right-radius: 7px;
- }
- .finish .context em {
- width: 85px;
- overflow: hidden;
- display: block;
- margin: 0 auto;
- height: 40px;
- line-height: 30px;
- color: #bdbdbd;
- }
- .context button {
- height: 30px;
- line-height: 30px;
- padding-top: 0;
- }
- .context .ctl {
- width: 211px;
- float: left;
- padding-left: 16px;
- margin-right: 20px;
- }
- .ctl span {
- width: 100%;
- height: 30px;
- line-height: 30px;
- overflow: hidden;
- display: block;
- margin: 0 auto;
- background-color: #f8f8f8;
- color: #404040;
- font-size: 14px;
- text-align: left;
- padding-left: 20px;
- margin-bottom: 15px;
- }
- .ctl span:nth-child(2) {
- margin-bottom: 0px;
- }
- /deep/ .el-button--primary.is-plain {
- background-color: #fff;
- }
- /deep/ .el-button--primary.is-plain:hover {
- color: #005ea2 !important;
- }
- .blue {
- color: #3799ff;
- }
- .appoint {
- width: 100%;
- overflow: hidden;
- display: block;
- margin: 0 auto;
- background: #fff;
- margin-top: 15px;
- border-radius: 12px;
- padding-top: 15px;
- padding-bottom: 1px;
- }
- .appoint .title {
- overflow: hidden;
- display: block;
- margin: 0 auto;
- padding-left: 30px;
- }
- .appoint .title h5 {
- margin: 0;
- float: left;
- font-size: 18px;
- }
- .appoint .title span {
- float: right;
- margin-right: 43px;
- font-size: 14px;
- color: #717171;
- }
- .appoint .appointCard {
- min-height: 195px;
- overflow: hidden;
- display: block;
- margin: 0 auto;
- padding-top: 25px;
- padding-bottom: 25px;
- padding-left: 30px;
- padding-right: 30px;
- }
- /deep/ .el-card {
- width: 150px;
- float: left;
- margin-right: 31px;
- padding: 0;
- border-radius: 12px;
- }
- /deep/ .el-card:nth-child(last) {
- margin-right: 0;
- }
- /deep/ .el-card__body {
- padding: 0;
- }
- .cardTitle {
- width: 100%;
- overflow: hidden;
- display: block;
- margin: 0 auto;
- height: 40px;
- line-height: 40px;
- background: #f0f2f5;
- }
- .appointCard span {
- width: 100%;
- overflow: hidden;
- display: block;
- margin: 0 auto;
- color: #777777;
- font-family: Arial;
- margin-top: 10px;
- margin-bottom: 10px;
- font-size: 16px;
- }
- .appointCard em {
- overflow: hidden;
- display: block;
- margin: 0 auto;
- font-size: 12px;
- margin-bottom: 14px;
- text-align: left;
- padding-left: 16px;
- padding-right: 16px;
- }
- .appointCard em i {
- float: right;
- color: #000000;
- padding-right: 3px;
- }
- .appointCard em s {
- /*width: 47px;*/
- height: 20px;
- line-height: 20px;
- text-align: center;
- font-style: normal;
- text-decoration: none;
- float: right;
- border-radius: 3px;
- padding: 0 3px;
- }
- .appointCard em s.blue {
- background-color: #e5f2ff;
- color: #3799ff;
- }
- .appointCard em s.red {
- background-color: #e5f2ff;
- color: rgb(204, 2, 2);
- }
- .rtContext {
- width: 100%;
- height: 100%;
- overflow: hidden;
- overflow-y: hidden;
- display: block;
- margin: 0 auto;
- margin-top: 0px;
- background: #fff;
- padding: 0;
- border-radius: 12px;
- min-height: 826px;
- background: #fff;
- }
- .rtContext .rtTitle {
- overflow: hidden;
- display: block;
- margin: 0 auto;
- padding: 10px 30px;
- }
- .rtTitle h5 {
- margin: 0;
- float: left;
- font-size: 18px;
- }
- .rtTitle span {
- float: right;
- font-size: 14px;
- color: #bdbdbd;
- cursor: pointer;
- }
- .rtContext ul {
- width: 100%;
- overflow: hidden;
- display: block;
- height: 100%;
- overflow: hidden;
- overflow-y: scroll;
- margin: 0 auto;
- padding-left: 30px;
- padding-right: 30px;
- }
- .rtContext li {
- width: 100%;
- overflow: hidden;
- display: block;
- margin: 0 auto;
- border-bottom: 1px solid #f0f2f5;
- padding-top: 30px;
- padding-bottom: 10px;
- cursor: pointer;
- }
- .asTitle {
- height: 30px;
- overflow: hidden;
- display: block;
- margin: 0 auto;
- text-align: left;
- line-height: 20px;
- color: #000000;
- font-size: 14px;
- }
- .asTitle span div {
- margin-left: 8px;
- }
- .asTitle img {
- float: left;
- margin-right: 5px;
- }
- .asTitle span {
- width: 50%;
- height: 30px;
- line-height: 26px;
- float: left;
- margin-right: 0px;
- }
- .asTitle em {
- width: 50%;
- float: left;
- text-align: right;
- }
- .asTitle span div {
- float: left;
- }
- .asContent {
- width: 100%;
- overflow: hidden;
- display: block;
- margin: 0 auto;
- }
- .asContent span {
- width: 50%;
- float: left;
- font-size: 14px;
- color: #bdbdbd;
- margin-bottom: 10px;
- text-align: left;
- text-indent: 8px;
- }
- .asContent span em {
- color: #000;
- text-align: left;
- float: left;
- }
- .asContent span s {
- text-decoration: none;
- color: #000;
- border-radius: 250px;
- padding: 3px 5px;
- text-align: center;
- }
- .asContent span div {
- float: left;
- }
- .asContent span s.blue {
- background-color: #e5f2ff;
- }
- .box-card {
- cursor: pointer;
- }
- .box-card em {
- font-style: normal;
- }
- i {
- font-style: normal;
- }
- .asContent .green {
- color: #25cc42;
- }
- .asContent .red {
- color: red;
- }
- .asContent .yellow {
- color: #ffdd00;
- }
- /deep/ a {
- color: #03b1ff;
- }
- .tips {
- color: #333;
- font-size: 14px !important;
- overflow: hidden;
- display: block;
- margin: 0 auto;
- margin-top: 10px;
- line-height: 30px;
- }
- .middleTips {
- margin-top: 180px;
- }
- .esmall {
- float: right;
- font-size: 14px;
- text-align: right;
- }
- /*ipad only*/
- @media only screen and (max-width: 1366px) {
- .container {
- /*height: 600px;*/
- padding-top: 6px;
- }
- .container .lt {
- width: 80%;
- }
- .asTitle {
- height: 60px;
- }
- .asTitle img {
- display: none;
- }
- .asTitle span {
- width: 100%;
- }
- .lt .top {
- width: 96%;
- /* float: left; */
- margin-bottom: 1px;
- }
- .lt .top li {
- width: 32%;
- margin-right: 2%;
- }
- .top li .liRight {
- width: 40%;
- }
- .btLine {
- width: 96%;
- }
- .btLine em {
- font-size: 12px;
- /* float: left; */
- line-height: 22px;
- }
- .finish {
- /* float: left; */
- }
- .finish ul li {
- width: 30%;
- /*height: 159px;*/
- overflow: hidden;
- padding-bottom: 20px;
- }
- .finish li .context {
- width: 99%;
- overflow: hidden;
- display: block;
- margin: 0;
- padding: 0px;
- height: auto !important;
- padding-bottom: 5px;
- border-top-left-radius: 0;
- border-top-right-radius: 0;
- }
- .finish li .context .ctl {
- width: 100%;
- overflow: hidden;
- display: block;
- margin: 0;
- padding: 0;
- padding-top: 6px;
- margin-bottom: 3px;
- }
- .ctl span {
- width: 80%;
- padding: 0;
- font-size: 12px;
- text-align: center;
- }
- .finish {
- width: 97%;
- }
- .appoint {
- width: 97%;
- }
- .finish .context em {
- height: 30px;
- line-height: 40px;
- font-size: 12px;
- float: left;
- }
- .finish .context {
- height: auto !important;
- padding-bottom: 5px;
- }
- .el-main>.container {
- /*height: 772px;*/
- }
- .container .rt {
- width: 20%;
- }
- .rtTitle span {
- font-size: 12px;
- line-height: 30px;
- }
- .rtContext ul {
- padding: 2px !important;
- font-size: 12px;
- }
- .appoint {
- /* float: left; */
- margin-top: 9px;
- }
- .asTitle {
- float: left;
- }
- .asContent {
- width: 100%;
- }
- .asContent span {
- width: 100%;
- overflow: hidden;
- display: block;
- margin: 0 auto;
- font-size: 12px;
- height: 20px;
- }
- .appoint .appointCard {
- padding-top: 4px;
- padding-bottom: 4px;
- }
- }
- </style>
|