提交 95adbed9 编写于 作者: guangjun.yang's avatar guangjun.yang

样式优化等

上级 6ff1d387
...@@ -119,15 +119,16 @@ export default { ...@@ -119,15 +119,16 @@ export default {
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
// .rc-cropper {
// margin-left: 20px;
// }
.rc-cropper__canvasCrop1 { .rc-cropper__canvasCrop1 {
/* border: 1px solid red; */
width: 800px; width: 800px;
height: 540px; height: 540px;
} }
.rc-cropper__canvasCrop2 { .rc-cropper__canvasCrop2 {
/* border: 1px solid red; */
width: 400px; width: 400px;
height: 300px; height: 300px;
} }
......
...@@ -104,10 +104,10 @@ export default { ...@@ -104,10 +104,10 @@ export default {
} }
</script> </script>
<style > <style >
.rc-cropper { /* .rc-cropper {
position: relative; position: relative;
margin-top: 20px; margin-top: 20px;
} } */
/* img { /* img {
width: 100%; width: 100%;
......
<template> <template>
<div class="edit-course-wrapper dialog-title-border"> <div class="edit-course-wrapper">
<el-dialog <el-dialog
class="dialog-title-border"
ref="testDialogRef" ref="testDialogRef"
title="上传课程" title="上传课程"
:visible="dialogVisible" :visible="dialogVisible"
...@@ -317,7 +318,7 @@ ...@@ -317,7 +318,7 @@
<img class="success-img" src="../../../assets/image/phrase3/icon-audit-success.png" /> <img class="success-img" src="../../../assets/image/phrase3/icon-audit-success.png" />
<span class="tips-1">您上传的课程已成功提交,预计在3-5个工作日内完成审核</span> <span class="tips-1">您上传的课程已成功提交,预计在3-5个工作日内完成审核</span>
<span class="tips-2">审核通过后,您才可以选择课程完成项目配置。如有任何疑问可联系云鹊医400-920-8877</span> <span class="tips-2">审核通过后,您才可以选择课程完成项目配置。如有任何疑问可联系云鹊医400-920-8877</span>
<el-button type="primary" icon="el-icon-back" @click="backToOrgCourse">返回机构课程</el-button> <el-button class="back-btn" type="primary" icon="el-icon-back" @click="backToOrgCourse">返回机构课程</el-button>
</div> </div>
<div v-show="step == 1" slot="footer" class="dialog-footer"> <div v-show="step == 1" slot="footer" class="dialog-footer">
<el-button @click="dialogObj.visible=true">取 消</el-button> <el-button @click="dialogObj.visible=true">取 消</el-button>
...@@ -331,6 +332,7 @@ ...@@ -331,6 +332,7 @@
<DialogComponet :dialogObj="dialogObj" @hide="hideCancleTips" @confirm="dialogObj.visible=false"></DialogComponet> <DialogComponet :dialogObj="dialogObj" @hide="hideCancleTips" @confirm="dialogObj.visible=false"></DialogComponet>
<PreviewVideo :dialogVisible="isPreviewVideo" :videoUrl="videoUrl" @close="isPreviewVideo=false"></PreviewVideo> <PreviewVideo :dialogVisible="isPreviewVideo" :videoUrl="videoUrl" @close="isPreviewVideo=false"></PreviewVideo>
<el-dialog <el-dialog
class="dialog-title-border-old"
title="图片裁剪" title="图片裁剪"
:visible.sync="showCropper" :visible.sync="showCropper"
:width="currentOption.cropDialogWidth" :width="currentOption.cropDialogWidth"
...@@ -350,8 +352,6 @@ ...@@ -350,8 +352,6 @@
</template> </template>
<script> <script>
import PreviewVideo from "@/components/education/custom-resource/preview-video"; import PreviewVideo from "@/components/education/custom-resource/preview-video";
import PreviewProtocol from "@/components/education/custom-resource/preview-protocol";
import PreviewEditCourse from "@/components/education/custom-resource/edit-course-dialog";
import DialogComponet from "@/components/education/template/dialog"; import DialogComponet from "@/components/education/template/dialog";
import CropperImg from '@/components/common/cropper-img.vue' import CropperImg from '@/components/common/cropper-img.vue'
import { doUpload, getFilePath } from "@/utils/qiniu-util"; import { doUpload, getFilePath } from "@/utils/qiniu-util";
...@@ -556,7 +556,6 @@ export default { ...@@ -556,7 +556,6 @@ export default {
}, },
components: { components: {
PreviewVideo, PreviewVideo,
PreviewEditCourse,
DialogComponet, DialogComponet,
CropperImg CropperImg
}, },
...@@ -1121,18 +1120,25 @@ export default { ...@@ -1121,18 +1120,25 @@ export default {
width: 12px; width: 12px;
} }
} }
.line-left, .line-left {
flex: 1;
margin-left: 20px;
border-bottom: 1px dashed #e4e7ed;
}
.line-right { .line-right {
// display: inline-block;
// width: 100%;
flex: 1; flex: 1;
margin-right: 6px;
border-bottom: 1px dashed #e4e7ed; border-bottom: 1px dashed #e4e7ed;
} }
} }
.tips { .tips {
width: 100%; // margin-left: -20px;
// width: 810px;
// width: 100%;
height: 32px; height: 32px;
line-height: 32px; line-height: 32px;
margin-left: 20px;;
margin-right: 10px;
padding-left: 12px; padding-left: 12px;
background: rgba(254, 250, 245, 1); background: rgba(254, 250, 245, 1);
border-radius: 3px; border-radius: 3px;
...@@ -1234,9 +1240,13 @@ export default { ...@@ -1234,9 +1240,13 @@ export default {
text-align: center; text-align: center;
align-items: center; align-items: center;
.success-img { .success-img {
margin-top: 80px;
width: 60px; width: 60px;
height: 60px; height: 60px;
} }
.back-btn {
margin-bottom: 70px;
}
.tips-1 { .tips-1 {
margin-top: 30px; margin-top: 30px;
font-size: 18px; font-size: 18px;
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<div slot="title" style="text-align: left;"> <div slot="title" style="text-align: left;">
<span style="font-weight: 700;">用户协议</span> <span style="font-weight: 700;">用户协议</span>
</div> </div>
<div v-html="protocolContent"></div> <div style="margin: 20px 20px;height: 400px;padding: 10px 0;" v-html="protocolContent"></div>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="close(false)">不同意</el-button> <el-button @click="close(false)">不同意</el-button>
<el-button type="primary" @click="signProtocol">同意</el-button> <el-button type="primary" @click="signProtocol">同意</el-button>
......
<template> <template>
<div class="preview-video-wrapper dialog-title-border"> <div class="preview-video-wrapper dialog-title-border-old">
<el-dialog <el-dialog
title="预览课程" title="预览课程"
:visible="dialogVisible" :visible="dialogVisible"
......
...@@ -436,13 +436,13 @@ export default { ...@@ -436,13 +436,13 @@ export default {
align-items: center; align-items: center;
background:rgba(248,249,250,1); background:rgba(248,249,250,1);
border-radius:4px; border-radius:4px;
border:1px solid rgba(228,231,237,1); border: 1px dashed rgba(228,231,237,1);
img { img {
width: 16px; width: 16px;
height: 16px; height: 16px;
} }
span { span {
margin-top: 10px; margin-top: 8px;
font-size: 12px; font-size: 12px;
color: #979899; color: #979899;
} }
......
...@@ -172,14 +172,28 @@ ...@@ -172,14 +172,28 @@
} }
.el-tabs__active-bar { .el-tabs__active-bar {
background: #449284 !important; background: #449284 !important;
height: 3px;
border-radius: 2px;
} }
} }
.dialog-title-border { .dialog-title-border {
.el-dialog__body { .el-dialog__header {
margin: 0 20px; margin: 0 20px;
padding: 25px 5px 30px; padding: 20px 0px;
border-top: 1px solid #E4E7ED; border-bottom: 1px solid #E4E7ED;
}
.el-dialog--center .el-dialog__body {
margin: 0;
padding: 0;
margin-right: 10px;
}
.el-dialog__body {
max-height: 380px;
margin: 0;
padding: 0;
overflow-y: auto;
overflow-x: hidden;
} }
.dialog { .dialog {
.el-dialog__body { .el-dialog__body {
...@@ -188,6 +202,29 @@ ...@@ -188,6 +202,29 @@
border-top: 0px solid #E4E7ED; border-top: 0px solid #E4E7ED;
} }
} }
.el-dialog__footer {
padding-top: 20px;
}
}
.dialog-title-border-old {
.el-dialog__header {
margin: 0 20px;
padding: 15px 0px;
border-bottom: 1px solid #E4E7ED;
}
.el-dialog__body {
margin: 0 20px;
padding: 25px 5px 30px;
// border-top: 1px solid #E4E7ED;
}
.dialog {
.el-dialog__body {
margin: 0;
padding: 25px 5px 30px;
border-top: 1px solid #E4E7ED;
}
}
} }
.el-cascader .el-input .el-input__inner:focus, .el-cascader .el-input.is-focus .el-input__inner { .el-cascader .el-input .el-input__inner:focus, .el-cascader .el-input.is-focus .el-input__inner {
border-color: #449284 !important; border-color: #449284 !important;
......
...@@ -54,7 +54,7 @@ service.interceptors.request.use(config => { ...@@ -54,7 +54,7 @@ service.interceptors.request.use(config => {
} }
if( process.env.BUILD_ENV == "development" ){ // 本地开发环境 if( process.env.BUILD_ENV == "development" ){ // 本地开发环境
// console.log('环境变量>>>> ', process.env.BUILD_ENV); // console.log('环境变量>>>> ', process.env.BUILD_ENV);
config.headers['token'] = 'FB40194EE277496093448BF696A3D0E4'; config.headers['token'] = '01968031113F41F1AF503205C9BAFE50';
// config.headers['token'] = localStorage.getItem('storageToken') // config.headers['token'] = localStorage.getItem('storageToken')
}else{ }else{
config.headers['token'] = localStorage.getItem('storageToken') config.headers['token'] = localStorage.getItem('storageToken')
......
...@@ -174,7 +174,7 @@ export default { ...@@ -174,7 +174,7 @@ export default {
isPreviewEditCourse: false, isPreviewEditCourse: false,
courseId: '0', courseId: '0',
isPreviewProtocol: false, isPreviewProtocol: true,
protocolId: 22, protocolId: 22,
protocolContent: '', protocolContent: '',
isFirst: true, // 是否是第一次(不做更新) isFirst: true, // 是否是第一次(不做更新)
...@@ -704,8 +704,10 @@ export default { ...@@ -704,8 +704,10 @@ export default {
.edit-custom-wrap { .edit-custom-wrap {
::-webkit-scrollbar { ::-webkit-scrollbar {
width: 10px; // width: 10px;
height: 10px; // height: 10px;
width: 5px;
height: 5px;
background-color: #fff; background-color: #fff;
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册