|
|
@@ -16,7 +16,7 @@
|
|
|
<span class="people">25人学习</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
</div>
|
|
|
<div class="right">
|
|
|
<div class="header">
|
|
|
@@ -29,7 +29,9 @@
|
|
|
<div class="body">
|
|
|
<div class="descript">
|
|
|
<p class="title">课程描述</p>
|
|
|
- <p class="content">产品知识要点,产品知识要点,产品知识要点,产品知识要点,产品知识要点,产品知识要点产品知识要点,产品知识要点,产品知识要点,产品知识要点,产品知识要点,产品知识要点产品知识要点,产品知识要点,产品知识要点,产品知识要点,产品知识要点,产品知识要点</p>
|
|
|
+ <p class="content">
|
|
|
+ 产品知识要点,产品知识要点,产品知识要点,产品知识要点,产品知识要点,产品知识要点产品知识要点,产品知识要点,产品知识要点,产品知识要点,产品知识要点,产品知识要点产品知识要点,产品知识要点,产品知识要点,产品知识要点,产品知识要点,产品知识要点
|
|
|
+ </p>
|
|
|
</div>
|
|
|
<div class="main">
|
|
|
<p class="title">课件</p>
|
|
|
@@ -65,28 +67,29 @@
|
|
|
<script>
|
|
|
export default {
|
|
|
name: 'index',
|
|
|
- data() {
|
|
|
+ data () {
|
|
|
return {
|
|
|
- param: {
|
|
|
- "accesstoken": "305def8607e623c06f118e94adcebaf1",
|
|
|
- "classname": "saletool.courseware.courseware",
|
|
|
- "method": "selectDetail",
|
|
|
- "content": {
|
|
|
- "sat_coursewareid": 12
|
|
|
- }
|
|
|
- },
|
|
|
+ param: {
|
|
|
+ "accesstoken": "305def8607e623c06f118e94adcebaf1",
|
|
|
+ "classname": "saletool.courseware.courseware",
|
|
|
+ "method": "selectDetail",
|
|
|
+ "content": {
|
|
|
+ "sat_coursewareid": ''
|
|
|
+ }
|
|
|
+ }
|
|
|
};
|
|
|
},
|
|
|
- computed:{
|
|
|
+ computed: {
|
|
|
},
|
|
|
- watch:{
|
|
|
+ watch: {
|
|
|
},
|
|
|
- created() {
|
|
|
+ created () {
|
|
|
this.getDetailData()
|
|
|
},
|
|
|
methods: {
|
|
|
- getDetailData() {
|
|
|
- this.$api.requested(this.param).then( res => {
|
|
|
+ getDetailData () {
|
|
|
+ this.param.content.sat_coursewareid = this.$route.query.id
|
|
|
+ this.$api.requested(this.param).then(res => {
|
|
|
console.log(res);
|
|
|
})
|
|
|
}
|
|
|
@@ -95,157 +98,156 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|
|
|
- * {
|
|
|
- box-sizing: border-box;
|
|
|
- }
|
|
|
- .detail {
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- display: flex;
|
|
|
- font-family: PingFang SC-Bold, PingFang SC;
|
|
|
- }
|
|
|
- .detail .left {
|
|
|
- width: calc(100% - 475px);
|
|
|
- }
|
|
|
- .detail .left .left-box {
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- background: #EEEEEE;
|
|
|
- border-radius: 4px 4px 0px 0px;
|
|
|
- }
|
|
|
- .detail .left .left-box .top {
|
|
|
- height: calc(100% - 73px);
|
|
|
- position: relative;
|
|
|
- }
|
|
|
- .detail .left .left-box .top video {
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- }
|
|
|
- .detail .left .left-box .top .see {
|
|
|
- position: absolute;
|
|
|
- left: 50%;
|
|
|
- top: 50%;
|
|
|
- transform: translate(-50%,-50%);
|
|
|
- width: 120px;
|
|
|
- height: 180px;
|
|
|
- }
|
|
|
- .detail .left .left-box .top .see .image {
|
|
|
- width: 100%;
|
|
|
- height: 120px;
|
|
|
- padding: 0 11px;
|
|
|
- }
|
|
|
- .detail .left .left-box .top .see .image img {
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- }
|
|
|
- .detail .left .left-box .top .see .el-button {
|
|
|
- position: absolute;
|
|
|
- width: 100%;
|
|
|
- margin-top: 20px;
|
|
|
- }
|
|
|
- .detail .left .left-box .footer {
|
|
|
- height: 73px;
|
|
|
- padding: 0 30px;
|
|
|
- background: #000000;
|
|
|
- display: flex;
|
|
|
- line-height: 73px;
|
|
|
- justify-content: space-between;
|
|
|
- }
|
|
|
-
|
|
|
- .detail .left .left-box .footer span:first-child {
|
|
|
- font-size: 24px;
|
|
|
- font-family: PingFang SC-Bold, PingFang SC;
|
|
|
- font-weight: bold;
|
|
|
- color: #FFFFFF;
|
|
|
- }
|
|
|
- .detail .left .left-box .footer span:last-child {
|
|
|
- font-size: 16px;
|
|
|
- font-family: PingFang SC-Regular, PingFang SC;
|
|
|
- font-weight: 400;
|
|
|
- color: #FFFFFF;
|
|
|
- }
|
|
|
- .detail .right {
|
|
|
- width: 475px;
|
|
|
- background: #FFFFFF;
|
|
|
- }
|
|
|
- .detail .right .header {
|
|
|
- padding: 30px;
|
|
|
- }
|
|
|
- .detail .right .header .title {
|
|
|
- font-size: 16px;
|
|
|
- font-weight: bold;
|
|
|
- color: #333333;
|
|
|
- margin-bottom: 20px;
|
|
|
- }
|
|
|
- .detail .right .header .info {
|
|
|
- font-weight: 400;
|
|
|
- color: #666666;
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- font-size: 14px;
|
|
|
- }
|
|
|
- .detail .right .body {
|
|
|
- padding: 30px;
|
|
|
- border-top: 1px solid #DDDDDD;
|
|
|
- }
|
|
|
- .detail .right .body .descript {
|
|
|
- margin-bottom: 40px;
|
|
|
- }
|
|
|
- .detail .right .body .descript .title {
|
|
|
- font-size: 16px;
|
|
|
- font-weight: bold;
|
|
|
- margin-bottom: 20px;
|
|
|
- }
|
|
|
- .detail .right .body .descript .content {
|
|
|
- font-size: 14px;
|
|
|
- }
|
|
|
- .detail .right .body .main {
|
|
|
+* {
|
|
|
+ box-sizing: border-box;
|
|
|
+}
|
|
|
+.detail {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ font-family: PingFang SC-Bold, PingFang SC;
|
|
|
+}
|
|
|
+.detail .left {
|
|
|
+ width: calc(100% - 500px);
|
|
|
+}
|
|
|
+.detail .left .left-box {
|
|
|
+ width: 100%;
|
|
|
+ height: 880px;
|
|
|
+ background: #eeeeee;
|
|
|
+ border-radius: 4px 4px 0px 0px;
|
|
|
+}
|
|
|
+.detail .left .left-box .top {
|
|
|
+ height: 807px;
|
|
|
+ position: relative;
|
|
|
+}
|
|
|
+.detail .left .left-box .top video {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+}
|
|
|
+.detail .left .left-box .top .see {
|
|
|
+ position: absolute;
|
|
|
+ left: 50%;
|
|
|
+ top: 50%;
|
|
|
+ transform: translate(-50%, -50%);
|
|
|
+ width: 120px;
|
|
|
+ height: 180px;
|
|
|
+}
|
|
|
+.detail .left .left-box .top .see .image {
|
|
|
+ width: 100%;
|
|
|
+ height: 120px;
|
|
|
+ padding: 0 11px;
|
|
|
+}
|
|
|
+.detail .left .left-box .top .see .image img {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+}
|
|
|
+.detail .left .left-box .top .see .el-button {
|
|
|
+ position: absolute;
|
|
|
+ width: 100%;
|
|
|
+ margin-top: 20px;
|
|
|
+}
|
|
|
+.detail .left .left-box .footer {
|
|
|
+ height: 73px;
|
|
|
+ padding: 0 30px;
|
|
|
+ background: #000000;
|
|
|
+ display: flex;
|
|
|
+ line-height: 73px;
|
|
|
+ justify-content: space-between;
|
|
|
+}
|
|
|
|
|
|
- }
|
|
|
- .detail .right .body .main .title {
|
|
|
- margin-bottom: 20px;
|
|
|
- }
|
|
|
- .detail .right .body .main .file {
|
|
|
- width: 415px;
|
|
|
- margin-bottom: 20px;
|
|
|
- }
|
|
|
- .detail .right .body .main .file .file-item {
|
|
|
- width: 100%;
|
|
|
- height: 96px;
|
|
|
- padding: 16px 30px 16px 16px;
|
|
|
- margin-bottom: 10px;
|
|
|
- border: 1px solid #CCCCCC;
|
|
|
- border-radius: 4px;
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- align-items: center;
|
|
|
- }
|
|
|
- .detail .right .body .main .file .file-item .left1 {
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- margin-right: 22px;
|
|
|
- align-items: center;
|
|
|
- }
|
|
|
- .detail .right .body .main .file .file-item .left1 img {
|
|
|
- width: 53px;
|
|
|
- height: 64px;
|
|
|
- margin-right: 16px;
|
|
|
- }
|
|
|
- .detail .right .body .main .file .file-item .left1 .info {
|
|
|
-
|
|
|
- }
|
|
|
- .detail .right .body .main .file .file-item .left1 .info .title {
|
|
|
- font-size: 16px;
|
|
|
- font-weight: bold;
|
|
|
- color: #333333;
|
|
|
- margin-bottom: 16px;
|
|
|
- }
|
|
|
- .detail .right .body .main .file .file-item .left1 .info .time {
|
|
|
- font-size: 12px;
|
|
|
- font-weight: 400;
|
|
|
- color: #999999;
|
|
|
- }
|
|
|
- .detail .right .body .main .file .file-item .right {
|
|
|
-
|
|
|
- }
|
|
|
+.detail .left .left-box .footer span:first-child {
|
|
|
+ font-size: 24px;
|
|
|
+ font-family: PingFang SC-Bold, PingFang SC;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #ffffff;
|
|
|
+}
|
|
|
+.detail .left .left-box .footer span:last-child {
|
|
|
+ font-size: 16px;
|
|
|
+ font-family: PingFang SC-Regular, PingFang SC;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #ffffff;
|
|
|
+}
|
|
|
+.detail .right {
|
|
|
+ width: 475px;
|
|
|
+ height: 984px;
|
|
|
+ background: #ffffff;
|
|
|
+}
|
|
|
+.detail .right .header {
|
|
|
+ padding: 30px;
|
|
|
+}
|
|
|
+.detail .right .header .title {
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #333333;
|
|
|
+ margin-bottom: 20px;
|
|
|
+}
|
|
|
+.detail .right .header .info {
|
|
|
+ font-weight: 400;
|
|
|
+ color: #666666;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ font-size: 14px;
|
|
|
+}
|
|
|
+.detail .right .body {
|
|
|
+ padding: 30px;
|
|
|
+ border-top: 1px solid #dddddd;
|
|
|
+}
|
|
|
+.detail .right .body .descript {
|
|
|
+ margin-bottom: 40px;
|
|
|
+}
|
|
|
+.detail .right .body .descript .title {
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: bold;
|
|
|
+ margin-bottom: 20px;
|
|
|
+}
|
|
|
+.detail .right .body .descript .content {
|
|
|
+ font-size: 14px;
|
|
|
+}
|
|
|
+.detail .right .body .main {
|
|
|
+}
|
|
|
+.detail .right .body .main .title {
|
|
|
+ margin-bottom: 20px;
|
|
|
+}
|
|
|
+.detail .right .body .main .file {
|
|
|
+ width: 415px;
|
|
|
+ margin-bottom: 20px;
|
|
|
+}
|
|
|
+.detail .right .body .main .file .file-item {
|
|
|
+ width: 100%;
|
|
|
+ height: 96px;
|
|
|
+ padding: 16px 30px 16px 16px;
|
|
|
+ margin-bottom: 10px;
|
|
|
+ border: 1px solid #cccccc;
|
|
|
+ border-radius: 4px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+.detail .right .body .main .file .file-item .left1 {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ margin-right: 22px;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+.detail .right .body .main .file .file-item .left1 img {
|
|
|
+ width: 53px;
|
|
|
+ height: 64px;
|
|
|
+ margin-right: 16px;
|
|
|
+}
|
|
|
+.detail .right .body .main .file .file-item .left1 .info {
|
|
|
+}
|
|
|
+.detail .right .body .main .file .file-item .left1 .info .title {
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #333333;
|
|
|
+ margin-bottom: 16px;
|
|
|
+}
|
|
|
+.detail .right .body .main .file .file-item .left1 .info .time {
|
|
|
+ font-size: 12px;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #999999;
|
|
|
+}
|
|
|
+.detail .right .body .main .file .file-item .right {
|
|
|
+}
|
|
|
</style>
|