12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088 |
- <template>
- <div class="my-course">
- <div class="my-course__header">
- <el-tabs v-model="activeName">
- <el-tab-pane label="全部课程" name="1"></el-tab-pane>
- <el-tab-pane label="考前培训" name="2"></el-tab-pane>
- <el-tab-pane label="继续教育" name="3"></el-tab-pane>
- </el-tabs>
- </div>
- <div class="my-course__body">
- <div class="list">
- <div
- class="course-item"
- v-for="(item, index) in courseList"
- :key="index"
- >
- <div class="course-item__header">
- <div class="state">
- <template
- v-if="
- sysTime >= item.serviceStartTime &&
- sysTime <= item.serviceEndTime
- "
- >
- 学习状态:
- <div class="note" v-if="item.stuAllNum == 0">未学习</div>
- <div
- class="note note--yellow"
- v-else-if="
- item.stuAllNum > 0 && item.stuAllNum < item.secAllNum
- "
- >
- 学习中
- </div>
- <div
- class="note note--green"
- v-else-if="item.stuAllNum >= item.secAllNum"
- >
- 已学完
- </div>
- </template>
- <template v-else>
- <span class="red"> 已过学习服务期,不可以学习了哦!</span>
- </template>
- <template v-if="item.profileTpStatus == 1">
- 资料审核状态:
- <div class="note" v-if="item.profileStatus == null">
- 未提交资料
- </div>
- <div
- class="note note--green"
- v-else-if="item.profileStatus == 1"
- >
- 已通过
- </div>
- <div
- class="note note--yellow"
- v-else-if="item.profileStatus == 2"
- >
- 审核中
- </div>
- <div
- class="note note--yellow"
- v-else-if="item.profileStatus == 3"
- >
- 待完善
- </div>
- </template>
- <!-- 学时审核状态可以审核 -->
- <template v-if="item.periodStatus != -1">
- <template v-if="item.periodStatus == 0"
- >机构审核:
- <div class="note">学时审核不通过</div>
- </template>
- <template v-else-if="item.periodStatus == 2"
- >机构审核:
- <div class="note note--yellow">学时待审核</div></template
- >
- <template v-else-if="item.periodStatus == 1">
- <template v-if="item.periodPlush > 0"
- ><div class="note note--green">
- 学时已上报注册中心
- </div></template
- >
- <template v-else
- >机构审核:
- <div class="note note--green">学时审核通过</div></template
- >
- </template>
- <template
- v-if="item.subscribeId != null && item.periodStatus == 1"
- >
- <template v-if="item.subExamStatus === null">
- 待预约考试
- </template>
- <template
- v-else-if="
- item.subExamStatus === 0 &&
- sysTime < item.subApplySiteStartTime
- "
- >
- 待考试,考试时间:{{
- $tools.timestampToTime(
- item.subApplySiteStartTime,
- true,
- true
- )
- }}
- -
- {{
- $tools.timestampToTime(
- item.subaApplySiteEndTime,
- true,
- true
- )
- }}
- </template>
- <template v-else-if="item.subExamStatus === 0"
- >待出考试结果</template
- >
- <template v-else-if="item.subExamStatus === 1">
- <span v-if="item.subResult === null">待出考试结果</span>
- <span v-if="item.subResult === 0"
- >考试结果:不通过,需补考</span
- >
- <span v-else-if="item.subResult === 1"
- >考试结果:通过,考试成绩为{{ item.subPerformance }}</span
- >
- </template>
- <template v-else-if="item.subExamStatus === 2">
- 缺考,无成绩,需补考
- </template>
- <template v-else-if="item.subExamStatus === 3">
- 作弊,无成绩,需补考
- </template>
- <template v-else-if="item.subExamStatus === 4">
- 替考,无成绩,需补考
- </template>
- </template>
- </template>
- </div>
- <div
- class="time"
- v-if="item.serviceStartTime && item.serviceEndTime"
- >
- 学习有效期:{{
- $moment(item.serviceStartTime * 1000).format("YYYY年MM月DD日")
- }}
- 至
- {{ $moment(item.serviceEndTime * 1000).format("YYYY年MM月DD日") }}
- </div>
- </div>
- <div class="course-item__body clearfix">
- <div class="img">
- <img :src="$tools.splitImgHost(item.coverUrl, true)" alt="" />
- </div>
- <div class="text">
- <div class="title">
- {{ item.goodsName }}
- <div class="note">
- {{ item.courseNum }}课程 {{ item.secAllNum + item.examNum }}节
- {{ item.classHours }}学时
- </div>
- </div>
- <div class="progress">
- 学习进度
- <el-progress
- class="progress-line"
- :stroke-width="16"
- :format="progressText(item)"
- :percentage="
- ((item.stuAllNum + item.recordNum) /
- (item.secAllNum + item.examNum) || 0) * 100
- "
- ></el-progress>
- </div>
- </div>
- <div class="btns-wrap">
- <div class="btns">
- <el-button
- type="primary"
- class="btn"
- @click="goCourseDetail(item)"
- :disabled="
- (item.interfacePushId > 0 && item.officialStatus != 1) ||
- sysTime <= item.serviceStartTime ||
- sysTime >= item.serviceEndTime ||
- (item.classStartTime && sysTime <= item.classStartTime) ||
- (item.classEndTime && sysTime >= item.classEndTime) ||
- item.learningStatus == 2 ||
- item.classStatus == 0 ||
- (item.learningStatus == 3 &&
- sysTime < item.learningTimeStart)
- "
- >进入学习</el-button
- >
- <el-button
- type="primary"
- class="btn"
- @click="appointment(item)"
- v-if="
- item.applyStatus === 1 &&
- !(
- (item.interfacePushId > 0 && item.officialStatus != 1) ||
- sysTime <= item.serviceStartTime ||
- sysTime >= item.serviceEndTime ||
- (item.classStartTime && sysTime <= item.classStartTime) ||
- (item.classEndTime && sysTime >= item.classEndTime) ||
- item.learningStatus == 2 ||
- item.classStatus == 0 ||
- (item.learningStatus == 3 &&
- sysTime < item.learningTimeStart)
- )
- "
- >预约考试</el-button
- >
- <div
- class="btn btn--warm"
- v-if="
- item.gradeStatus == 1 &&
- item.status == 1 &&
- item.serviceEndTime > sysTime &&
- item.serviceStartTime < sysTime &&
- item.classEndTime &&
- item.classEndTime < sysTime &&
- (item.periodStatus == 0 || item.periodStatus == -1) &&
- item.studyCount > 0
- "
- >
- 选班重学
- </div>
- </div>
- </div>
- </div>
- <div
- class="course-item__footer"
- v-if="
- !(
- sysTime < item.serviceStartTime || sysTime > item.serviceEndTime
- )
- "
- >
- <template
- v-if="
- !(
- sysTime < item.serviceStartTime ||
- sysTime > item.serviceEndTime
- )
- "
- >
- <template v-if="item.classEndTime && item.classEndTime < sysTime">
- <span class="text"
- >班级有效期:{{
- $tools.timestampToTime(item.classStartTime, true, true)
- }}
- -
- {{
- $tools.timestampToTime(item.classEndTime, true, true)
- }}</span
- >
- <span class="text text--red"
- >班级状态:已过期,有疑问请联系020-87085982</span
- >
- </template>
- <template
- v-else-if="item.classStartTime && item.classStartTime > sysTime"
- >
- <span class="text"
- >班级有效期:{{
- $tools.timestampToTime(item.classStartTime, true, true)
- }}
- -
- {{
- $tools.timestampToTime(item.classEndTime, true, true)
- }}</span
- >
- <span class="text"
- >班级状态:未到学习时间,有疑问请联系 020-87085982</span
- >
- </template>
- </template>
- </div>
- </div>
- </div>
- <div class="pagination">
- <el-pagination
- @current-change="currentChange"
- background
- layout="prev, pager, next"
- :total="total"
- :pager-count="5"
- >
- </el-pagination>
- </div>
- </div>
- <el-dialog
- title="选班重学"
- class="select-modal"
- :visible.sync="selectClassModal"
- width="800px"
- >
- <div>
- <el-radio
- v-for="(item, index) in gradeList"
- :key="index"
- class="radio"
- v-model="gradeValue"
- >
- <div>
- {{ item.className }}
- <span v-if="item.classEndTime">
- 有效期至:{{
- $tools.timestampToTime(item.classEndTime, true, true)
- }}</span
- >
- <span v-if="item.classEndTime"
- >本班还剩{{
- $tools.GetRTime(item.classEndTime)
- }}天将结束学习</span
- >
- </div>
- <div></div
- ></el-radio>
- </div>
- <span slot="footer" class="dialog-footer">
- <el-button type="primary" @click="selectClassOk">确 定</el-button>
- </span>
- </el-dialog>
- <el-dialog
- width="800px"
- class="rebuild"
- :visible.sync="showRebuildDetailModal"
- :close-on-click-modal="false"
- :close-on-press-escape="false"
- :show-close="false"
- >
- <div class="rebuild__content">
- <div class="rebuild__close" @click="showRebuildDetailModal = false">
- X
- </div>
- <div class="rebuild__header">审核详情</div>
- <div class="rebuild__body">
- <div class="content">
- <div class="content__header">
- <div class="title">重要提示:</div>
- <div class="desc">
- 如对审核结果有异议,请勿点击确认重学。致电020-87085982咨询
- </div>
- </div>
- <div class="content__body">
- <div class="list">
- <div
- class="list__item"
- v-for="(item, index) in rebuildItems"
- :key="index"
- >
- <div class="title">
- <span class="note" v-if="item.type == 0"> 测试 </span>
- <span class="note note--yellow" v-if="item.type == 1"
- >录播</span
- >
- <span class="note note--yellow" v-if="item.type == 2"
- >直播</span
- >
- <span class="note note--yellow" v-if="item.type == 3"
- >回放</span
- >
- {{ index + 1 }}、{{ item.name }}
- </div>
- <div class="desc">
- <div class="imgs">
- <div
- class="img"
- v-for="(items, indexs) in item.userStudyRecordPhoto"
- :key="indexs"
- >
- <img :src="$tools.splitImgHost(items.photo)" />
- <div class="note">
- {{ $tools.timestampToTime(items.createTime, false) }}
- </div>
- </div>
- </div>
- </div>
- <div class="desc">
- 原因:
- <span class="note">拍照异常/时间异常</span>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="rebuild__footer">
- <el-button class="confirm" @click="rebuildSubmit" type="primary"
- >确认重学</el-button
- >
- </div>
- </div>
- </el-dialog>
- </div>
- </template>
- <script>
- export default {
- name: "MyCourse",
- data() {
- return {
- showRebuildDetailModal: false,
- gradeList: [],
- gradeValue: -1,
- sysTime: 0,
- activeName: "1",
- param: {
- pageNum: 1,
- pageSize: 10,
- },
- rebuildItems: [],
- rebuildItem: {},
- selectClassModal: false,
- total: 0,
- courseList: [],
- selectItem: {},
- };
- },
- mounted() {
- this.sysTime = this.$tools.timest();
- this.courseGoodsList();
- },
- methods: {
- currentChange(e) {
- this.param.pageNum = e;
- this.courseGoodsList();
- },
- async goCourseDetail(item) {
- if (item.interfaceAccountId > 0) {
- //学习账号已开通
- if (item.learnStatus == 1) {
- //跳转第三方h5
- window.open("http://admin.zhujianpeixun.com/", "_blank");
- return;
- } else {
- this.$message({
- type: "warning",
- message:
- "您的学习账号未开通,请稍后再尝试,有疑问,请联系020-87085982!",
- });
- return;
- }
- }
- //内部系统
- if (item.interfacePushId > 0 && item.officialStatus != 1) {
- this.$message({
- type: "warning",
- message: "机构正在为您报名中,请耐心等待,有疑问请联系020-87085982!",
- });
- return;
- }
- if (
- this.sysTime <= item.serviceStartTime ||
- this.sysTime >= item.serviceEndTime
- ) {
- this.$message({
- type: "warning",
- message: "不在学习服务期,不能进入学习",
- });
- return;
- }
- if (
- (item.classStartTime && this.sysTime <= item.classStartTime) ||
- (item.classEndTime && this.sysTime >= item.classEndTime)
- ) {
- this.$message({
- type: "warning",
- message: "不在班级有效期,不能进入学习",
- });
- return;
- }
- if (item.learningStatus == 2) {
- this.$message({
- type: "warning",
- message: "开放学习时间待定,不能进入学习",
- });
- return;
- }
- if (item.classStatus == 0) {
- this.$message({
- type: "warning",
- message: "尚未开班,不能进入学习",
- });
- return;
- }
- if (item.learningStatus == 3 && this.sysTime < item.learningTimeStart) {
- this.$message({
- type: "warning",
- message: "不在开放学习时间,不能进入学习",
- });
- return;
- }
- if (
- item.gradeStatus == 1 &&
- item.status == 1 &&
- item.serviceEndTime > this.sysTime &&
- item.classEndTime &&
- item.classEndTime < this.sysTime &&
- (item.periodStatus == 0 || item.periodStatus == -1) &&
- item.studyCount > 0
- ) {
- this.selectClass(item);
- return;
- }
- let rebuildStatus = await this.courseGoodsRebuildStatus(
- item.goodsId,
- item.gradeId
- );
- if (rebuildStatus == 0) {
- this.rebuildItem = item;
- this.$request
- .getcourseperiodcheat({
- goodsId: item.goodsId,
- gradeId: item.gradeId,
- })
- .then((res) => {
- this.rebuildItems = res.rows;
- });
- this.showRebuildDetailModal = true;
- return;
- }
- if (item.educationName == "继续教育") {
- this.$request
- .lockLockStatus({
- action: "jxjy",
- })
- .then((res) => {
- //有其他端在操作,不能学习
- uni.showToast({
- icon: "none",
- title: res.msg,
- mask: true,
- duration: 3000,
- });
- })
- .catch((err) => {
- //可以学习
- this.$router.push({
- path: `/my-course-detail/${item.goodsId}`,
- query: {
- gradeId: item.gradeId,
- orderGoodsId: item.orderGoodsId,
- },
- });
- });
- } else {
- this.$router.push({
- path: `/my-course-detail/${item.goodsId}`,
- query: {
- gradeId: item.gradeId,
- orderGoodsId: item.orderGoodsId,
- },
- });
- }
- },
- rebuildSubmit() {
- this.$confirm(
- "如对审核结果有异议,请勿点击确认重学。致电020-87085982咨询",
- "注意",
- {
- confirmButtonText: "确认重学",
- cancelButtonText: "取消",
- closeOnClickModal: false,
- closeOnPressEscape: false,
- distinguishCancelAndClose: false,
- showClose: false,
- }
- )
- .then((_) => {
- this.$request
- .courseperiodrebuild({
- goodsId: this.rebuildItem.goodsId,
- gradeId: this.rebuildItem.gradeId,
- })
- .then((res) => {
- this.showRebuildDetailModal = false;
- this.$router.push({
- path: `/my-course-detail/${this.rebuildItem.goodsId}`,
- query: {
- gradeId: this.rebuildItem.gradeId,
- orderGoodsId: this.rebuildItem.orderGoodsId,
- },
- });
- });
- })
- .catch((_) => {});
- },
- selectClass(item) {
- this.selectClassModal = true;
- this.selectItem = item;
- this.gradeValue = -1;
- this.goodsGradeList(item.goodsId);
- },
- goodsGradeList(id) {
- let self = this;
- this.$request
- .goodsGradeList({
- goodsId: id,
- })
- .then((res) => {
- self.gradeList = res.rows;
- if (self.gradeList.length == 0) {
- let item = {
- className: "系统分班",
- gradeId: 0,
- };
- self.gradeList.push(item);
- } else {
- let isGradeFull = self.gradeList.every(
- (item) =>
- item.studentNum > 0 && item.studentNum == item.studentUpper
- );
- //所有班级都满了
- if (isGradeFull) {
- let item = {
- className: "系统分班",
- gradeId: 0,
- };
- self.gradeList.unshift(item);
- }
- }
- });
- },
- selectClassOk() {
- if (this.gradeValue == -1) {
- this.$message({
- type: "success",
- message: "请选择班级",
- });
- return;
- }
- this.$request
- .changeGrade({
- goodsId: this.selectItem.goodsId,
- gradeId: this.gradeValue,
- oldGradeId: this.selectItem.gradeId,
- orderGoodsId: this.selectItem.orderGoodsId,
- userId: this.selectItem.userId,
- })
- .then((res) => {
- this.courseGoodsList();
- this.selectClassModal = false;
- this.$message({
- type: "success",
- message: "选班成功",
- });
- })
- .catch((err) => {
- this.$message({
- type: "success",
- message: res.msg,
- });
- });
- },
- /**
- * @param {Object} goodsId 商品id
- * 查询商品重修状态
- */
- courseGoodsRebuildStatus(goodsId, gradeId) {
- return new Promise((resolve) => {
- this.$request
- .courseGoodsRebuildStatus({
- goodsId: goodsId,
- gradeId: gradeId,
- })
- .then((res) => {
- resolve(res.data);
- });
- });
- },
- courseGoodsList() {
- this.$request.courseGoodsList(this.param).then((res) => {
- this.courseList = res.rows;
- this.total = res.total;
- });
- },
- progressText(item) {
- return () => {
- return (
- item.stuAllNum +
- item.recordNum +
- "/" +
- (item.secAllNum + item.examNum)
- );
- };
- },
- appointment(item) {
- var data = {
- goodsId: item.goodsId,
- gradeId: item.gradeId,
- };
- this.$request
- .getApplysubscribe(data)
- .then((res) => {
- this.$router.push({
- path: "/person-center/my-classhour/appointment",
- query: {
- goodsId: item.goodsId,
- gradeId: item.gradeId,
- orderGoodsId: item.orderGoodsId,
- },
- });
- })
- .catch((err) => {
- this.$message({
- type: "success",
- message: err.msg,
- });
- });
- },
- },
- };
- </script>
- <!-- Add "scoped" attribute to limit CSS to this component only -->
- <style scoped lang="scss">
- .my-course {
- &__header {
- /deep/ .el-tabs__header {
- margin-bottom: 0;
- }
- }
- &__body {
- .list {
- .course-item {
- margin-top: 24px;
- background: #fafbfc;
- border-radius: 8px;
- overflow: hidden;
- &__header {
- height: 40px;
- border-bottom: 1px solid #eee;
- padding: 0 18px;
- .state {
- margin-top: 8px;
- float: left;
- font-size: 14px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #666666;
- .red {
- color: #ff3b30;
- }
- .note {
- vertical-align: middle;
- display: inline-block;
- padding: 0 10px;
- height: 24px;
- background: #ffeceb;
- border: 1px solid #ff3b30;
- border-radius: 12px;
- font-size: 14px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #ff3b30;
- text-align: center;
- line-height: 24px;
- margin-right: 10px;
- &--yellow {
- border-color: #ffb001;
- color: #ffb001;
- background: #fff8e8;
- }
- &--green {
- border-color: #56dc68;
- color: #56dc68;
- background: #e6feea;
- }
- }
- }
- .time {
- float: right;
- line-height: 40px;
- text-align: right;
- font-size: 12px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #666666;
- }
- }
- &__body {
- .img {
- float: left;
- width: 160px;
- height: 90px;
- background: #3f8dfd;
- img {
- max-width: 100%;
- max-height: 100%;
- }
- }
- .text {
- float: left;
- margin-left: 12px;
- .title {
- margin-top: 10px;
- font-size: 16px;
- font-family: Microsoft YaHei;
- font-weight: bold;
- color: #333333;
- .note {
- display: inline-block;
- vertical-align: middle;
- border: 1px solid #333333;
- border-radius: 4px;
- font-size: 12px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #333333;
- padding: 2px 5px;
- margin-left: 12px;
- }
- }
- .progress {
- margin-top: 30px;
- font-size: 14px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #333333;
- &-line {
- width: 220px;
- display: inline-block;
- }
- /deep/ .el-progress-bar {
- padding-right: 70px;
- margin-right: -70px;
- }
- }
- }
- .btns-wrap {
- display: table;
- float: right;
- height: 90px;
- width: 130px;
- .btns {
- display: table-cell;
- vertical-align: middle;
- text-align: center;
- .btn {
- cursor: pointer;
- margin: 2px 0;
- width: 122px;
- height: 32px;
- padding: 0;
- border-radius: 16px;
- display: inline-block;
- text-align: center;
- line-height: 32px;
- color: #fff;
- &--warm {
- background: #ff3b30;
- }
- }
- }
- }
- }
- &__footer {
- padding: 20px 40px;
- font-size: 14px;
- color: #333;
- .text {
- margin-right: 20px;
- &--red {
- color: #ff3b30;
- }
- }
- }
- }
- }
- .pagination {
- padding: 30px 0;
- text-align: center;
- }
- }
- .select-modal {
- .radio {
- cursor: pointer;
- margin-right: 24px;
- padding: 0 24px;
- display: flex;
- align-items: center;
- margin-top: 2px;
- min-height: 40px;
- padding-top: 10px;
- padding-bottom: 10px;
- background: #f5f9ff;
- border-radius: 8px;
- box-sizing: border-box;
- &.right {
- background: #37c65b;
- }
- &.wrong {
- background: #ff3a30;
- }
- }
- }
- .rebuild {
- /deep/ .el-dialog__header {
- display: none;
- }
- /deep/ .el-dialog__body {
- padding: 0;
- overflow: unset;
- }
- &__close {
- cursor: pointer;
- position: absolute;
- right: 0;
- top: -28px;
- width: 24px;
- height: 24px;
- line-height: 24px;
- text-align: center;
- color: #eee;
- border: 1px solid #eee;
- border-radius: 50%;
- }
- &__header {
- height: 40px;
- border-bottom: 1px solid #eee;
- line-height: 40px;
- font-size: 16px;
- font-family: Microsoft YaHei;
- font-weight: bold;
- color: #333333;
- padding-left: 24px;
- }
- &__body {
- height: 400px;
- padding: 0 24px;
- .content {
- height: 100%;
- overflow-y: auto;
- &__header {
- padding: 16px 0;
- border-bottom: 1px solid #eee;
- .title {
- font-size: 16px;
- font-family: Microsoft YaHei;
- font-weight: bold;
- color: #ff3b30;
- line-height: 24px;
- }
- .desc {
- margin-top: 10px;
- font-size: 16px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #ff3b30;
- line-height: 24px;
- }
- }
- &__body {
- .list {
- &__item {
- padding: 16px 0;
- border-bottom: 1px solid #eee;
- .title {
- font-size: 14px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #333333;
- .note {
- width: 32px;
- height: 20px;
- border: 1px solid #3f8dfd;
- border-radius: 4px;
- color: #3f8dfd;
- font-size: 12px;
- &--yellow {
- border: 1px solid #ff9500;
- color: #ff9500;
- }
- }
- }
- .desc {
- margin-top: 10px;
- font-size: 14px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #333333;
- .note {
- color: #ff3b30;
- line-height: 20px;
- }
- .img {
- width: 100px;
- height: 100px;
- display: inline-block;
- text-align: center;
- img {
- max-width: 100%;
- max-height: 100%;
- }
- }
- }
- }
- }
- }
- }
- }
- &__footer {
- height: 90px;
- border-top: 1px solid #eee;
- text-align: center;
- .confirm {
- width: 200px;
- height: 40px;
- padding: 0;
- border-radius: 20px;
- text-align: center;
- line-height: 40px;
- color: #fff;
- margin: 24px auto;
- }
- }
- }
- }
- </style>
|