zengyicheng 1 年之前
父节点
当前提交
7f59005063

二进制
src/assets/icon/newIcons/delete.png


+ 10 - 4
src/components/easy2/studyStudent.vue

@@ -8896,7 +8896,7 @@
                 <div class="hfContent" v-html="h.content"></div>
                 <div class="hfBottom">
                   <div class="hfTime">{{ h.time }}</div>
-                  <div @click="deleteReply(h.id)" v-if="userid == h.userid">删除</div>
+                  <div class="deleteHfItem" @click="deleteReply(h.id)" v-if="userid == h.userid"><img src="../../assets/icon/newIcons/delete.png" alt="" /></div>
                 </div>
               </div>
             </div>
@@ -22539,13 +22539,19 @@ ol {
   display: flex;
   flex-direction: row;
   flex-wrap: nowrap;
-  align-items: baseline;
+  align-items: center;
   justify-content: space-between;
   font-size: 14px;
 }
-.hfBottom>div:last-child{
+.deleteHfItem{
   cursor: pointer;
-  color: #cd1a1a;
+  width: 20px;
+  height: 20px;
+}
+
+.deleteHfItem>img{
+  width: 100%;
+  height: 100%;
 }
 .whoReplyWho>.hfImg{
   width: 12px;

+ 10 - 4
src/components/easy3/studyStudent.vue

@@ -8885,7 +8885,7 @@
                 <div class="hfContent" v-html="h.content"></div>
                 <div class="hfBottom">
                   <div class="hfTime">{{ h.time }}</div>
-                  <div @click="deleteReply(h.id)" v-if="userid == h.userid">删除</div>
+                  <div class="deleteHfItem" @click="deleteReply(h.id)" v-if="userid == h.userid"><img src="../../assets/icon/newIcons/delete.png" alt="" /></div>
                 </div>
               </div>
             </div>
@@ -22388,13 +22388,19 @@ ol {
   display: flex;
   flex-direction: row;
   flex-wrap: nowrap;
-  align-items: baseline;
+  align-items: center;
   justify-content: space-between;
   font-size: 14px;
 }
-.hfBottom>div:last-child{
+.deleteHfItem{
   cursor: pointer;
-  color: #cd1a1a;
+  width: 20px;
+  height: 20px;
+}
+
+.deleteHfItem>img{
+  width: 100%;
+  height: 100%;
 }
 .whoReplyWho>.hfImg{
   width: 12px;

+ 10 - 4
src/components/student/studyStudent.vue

@@ -713,7 +713,7 @@
                 <div class="hfContent" v-html="h.content"></div>
                 <div class="hfBottom">
                   <div class="hfTime">{{ h.time }}</div>
-                  <div @click="deleteReply(h.id)" v-if="userid == h.userid">删除</div>
+                  <div class="deleteHfItem" @click="deleteReply(h.id)" v-if="userid == h.userid"><img src="../../assets/icon/newIcons/delete.png" alt="" /></div>
                 </div>
               </div>
             </div>
@@ -6303,13 +6303,19 @@ ol {
   display: flex;
   flex-direction: row;
   flex-wrap: nowrap;
-  align-items: baseline;
+  align-items: center;
   justify-content: space-between;
   font-size: 14px;
 }
-.hfBottom>div:last-child{
+.deleteHfItem{
   cursor: pointer;
-  color: #cd1a1a;
+  width: 20px;
+  height: 20px;
+}
+
+.deleteHfItem>img{
+  width: 100%;
+  height: 100%;
 }
 .whoReplyWho>.hfImg{
   width: 12px;

+ 10 - 4
src/components/studio/studyStudent.vue

@@ -699,7 +699,7 @@
                 <div class="hfContent" v-html="h.content"></div>
                 <div class="hfBottom">
                   <div class="hfTime">{{ h.time }}</div>
-                  <div @click="deleteReply(h.id)" v-if="userid == h.userid">删除</div>
+                  <div class="deleteHfItem" @click="deleteReply(h.id)" v-if="userid == h.userid"><img src="../../assets/icon/newIcons/delete.png" alt="" /></div>
                 </div>
               </div>
             </div>
@@ -6188,13 +6188,19 @@ ol {
   display: flex;
   flex-direction: row;
   flex-wrap: nowrap;
-  align-items: baseline;
+  align-items: center;
   justify-content: space-between;
   font-size: 14px;
 }
-.hfBottom>div:last-child{
+.deleteHfItem{
   cursor: pointer;
-  color: #cd1a1a;
+  width: 20px;
+  height: 20px;
+}
+
+.deleteHfItem>img{
+  width: 100%;
+  height: 100%;
 }
 .whoReplyWho>.hfImg{
   width: 12px;

+ 14 - 6
src/components/studyStudent.vue

@@ -3538,7 +3538,7 @@
                   </div>
                   <div
                     class="xuan_right_box"
-                    style="background: unset; padding: 0 10px"
+                    style="background: unset; padding: 0 10px;width: 91.5%;"
                     v-if="
                       tType &&
                       ((tType == 2 && sIsOpen == true) ||
@@ -6157,10 +6157,11 @@
                   <div
                     v-if="tool.tool.indexOf(49) != -1"
                     class="xuan_right_box"
+                    style="margin: 0 15px 0 25px;width: 93%;"
                   >
                     <div
                       v-if="courseDetail.userid == userid"
-                      style="display: flex; justify-content: flex-end"
+                      style="display: flex; justify-content: flex-end;margin-right: 10px;"
                     >
                       <el-button
                         type="primary"
@@ -7598,7 +7599,7 @@
                 <div class="hfContent" v-html="h.content"></div>
                 <div class="hfBottom">
                   <div class="hfTime">{{ h.time }}</div>
-                  <div @click="deleteReply(h.id)" v-if="userid == h.userid">删除</div>
+                  <div class="deleteHfItem" @click="deleteReply(h.id)" v-if="userid == h.userid"><img src="../assets/icon/newIcons/delete.png" alt="" /></div>
                 </div>
               </div>
             </div>
@@ -21712,14 +21713,21 @@ ol {
   display: flex;
   flex-direction: row;
   flex-wrap: nowrap;
-  align-items: baseline;
+  align-items: center;
   justify-content: space-between;
   font-size: 14px;
 }
-.hfBottom>div:last-child{
+.deleteHfItem{
   cursor: pointer;
-  color: #cd1a1a;
+  width: 20px;
+  height: 20px;
 }
+
+.deleteHfItem>img{
+  width: 100%;
+  height: 100%;
+}
+
 .whoReplyWho>.hfImg{
   width: 12px;
   height: 12px;