|
|
@@ -2,9 +2,9 @@
|
|
|
<template>
|
|
|
<div class="programming-content">
|
|
|
<!-- 标题部分 -->
|
|
|
- <div class="upper-box">
|
|
|
+ <div class="top-box">
|
|
|
<!-- 返回按钮 -->
|
|
|
- <div class="left-box">
|
|
|
+ <div class="top-left-box">
|
|
|
<div class="top-left-inner-box">
|
|
|
<!-- 左侧返回图标 -->
|
|
|
<el-icon class="left-icon" @click="goBackIndex"><ArrowLeftBold /></el-icon>
|
|
|
@@ -12,13 +12,13 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 标题 -->
|
|
|
- <div class="middle-box">
|
|
|
+ <div class="top-center-box">
|
|
|
<div class="top-center-inner-box" style="background-image: url('./src/assets/programming/list_title.png');">
|
|
|
<span>{{ pageTitle }}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 课程提示 -->
|
|
|
- <div class="right-box">
|
|
|
+ <div class="top-right-box">
|
|
|
<div class="top-right-inner-box">
|
|
|
<div class="course-info-box">{{ originalCourseTitle }}</div>
|
|
|
</div>
|
|
|
@@ -177,15 +177,22 @@ const goBackIndex = () => {
|
|
|
flex-direction: column;
|
|
|
}
|
|
|
|
|
|
-.upper-box {
|
|
|
- flex: 1;
|
|
|
+.top-box {
|
|
|
+ height: 20%;
|
|
|
display: flex;
|
|
|
- justify-content: space-between;
|
|
|
}
|
|
|
|
|
|
-.left-box, .middle-box, .right-box {
|
|
|
+.top-left-box,
|
|
|
+.top-right-box {
|
|
|
flex: 1;
|
|
|
- margin: rpx(5);
|
|
|
+ height: 50%;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+}
|
|
|
+
|
|
|
+.top-center-box {
|
|
|
+ flex: 2;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
@@ -194,8 +201,8 @@ const goBackIndex = () => {
|
|
|
.top-center-inner-box{
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
- background-size: 100%;
|
|
|
- background-position: 50% 30%;
|
|
|
+ background-size: 70%;
|
|
|
+ background-position: 50% 80%;
|
|
|
background-repeat: no-repeat;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
@@ -246,7 +253,7 @@ const goBackIndex = () => {
|
|
|
}
|
|
|
|
|
|
.lower-box {
|
|
|
- flex: 5;
|
|
|
+ flex: 1;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|