Browse Source

Merge branch 'iteration-temp-http' into staging

lex-xin 9 months ago
parent
commit
0979b0c98c

+ 10 - 3
src/views/coursewarePlay/coursewarePlay.vue

@@ -80,7 +80,7 @@
             <div class="title-section">
                <div class="title">{{ activeCourseware?.parentData.name || "" }}</div>
                <div class="content">
-                  {{ activeCourseware?.name || "" }}
+                  <p>{{ activeCourseware?.name || "" }}</p>
                   <span v-if="activeCourseware?.phaseGoals" @click="onTitleTip('phaseGoals', activeCourseware?.phaseGoals)">阶段目标</span>
                   <span v-if="activeCourseware?.checkItem" @click="onTitleTip('checkItem', activeCourseware?.checkItem)">检查事项</span>
                </div>
@@ -636,6 +636,13 @@ function onTitleTip(type: "phaseGoals" | "checkItem", text: string) {
                font-size: 18px;
                color: #ffffff;
                line-height: 26px;
+               display: flex;
+               align-items: center;
+
+               p {
+                  line-height: 1;
+                  padding-top: 1px;
+               }
 
                span {
                   background: rgba(0, 0, 0, 0.1);
@@ -644,8 +651,8 @@ function onTitleTip(type: "phaseGoals" | "checkItem", text: string) {
                   font-size: 14px;
                   color: #ffffff;
                   line-height: 22px;
-                  padding: 3px 8px;
-                  margin-left: 6px;
+                  padding: 3px 10px;
+                  margin-left: 10px;
                   cursor: pointer;
                }
             }

+ 1 - 1
src/views/coursewarePlay/videoPlay/videoPlay.vue

@@ -389,7 +389,7 @@ defineExpose({
          justify-content: space-between;
          padding-top: 4px;
          .leftPlayController {
-            margin-left: -16px;
+            margin-left: -12px;
             display: flex;
             & > img {
                cursor: pointer;