Browse Source

课程中心返回

11wqe1 1 week ago
parent
commit
5a827eec58
2 changed files with 27 additions and 4 deletions
  1. BIN
      src/assets/icon/course/icon_return2.png
  2. 27 4
      src/components/index.vue

BIN
src/assets/icon/course/icon_return2.png


+ 27 - 4
src/components/index.vue

@@ -2,9 +2,8 @@
   <div class="pb_content">
     <div class="pb_content_body">
       <div class="student_head" style="position: relative;">
-        <div v-if="gotype" 
-        class="backBtn"
-        @click.stop="backliyuan">返回</div>
+        <div v-if="gotype" class="r_pub_button_retrun" @click.stop="backliyuan">返回</div>
+
         <!-- <img src="../assets/banner.png" alt="" /> -->
          <!-- //pbl.cocorobo.cn/pbl-teacher-table/dist -->
         <el-carousel trigger="click" style="width: 100%; height: 100%">
@@ -1334,7 +1333,31 @@ export default {
   cursor: pointer;
   position: absolute;
   top: 20px;
-  right: 20px;
+  left: 20px;
   z-index: 999999;
 }
+.r_pub_button_retrun {
+  position: absolute;
+  top: 20px;
+  left: 20px;
+  z-index: 999999;
+  color: #000;
+  font-size: 14px;
+  cursor: pointer;
+  display: flex;
+  align-items: center;
+  justify-content: center;
+}
+
+.r_pub_button_retrun::before {
+  content: "";
+  width: 14px;
+  height: 14px;
+  min-width: 14px;
+  min-height: 14px;
+  background-size: 100% 100%;
+  display: block;
+  margin-right: 7px;
+  background-image: url(../assets/icon/course/icon_return2.png);
+}
 </style>