Bladeren bron

只有老师端有白板

liushengqiang 2 jaren geleden
bovenliggende
commit
011298124b
1 gewijzigde bestanden met toevoegingen van 15 en 13 verwijderingen
  1. 15 13
      src/views/coursewarePlay/index.tsx

+ 15 - 13
src/views/coursewarePlay/index.tsx

@@ -853,20 +853,22 @@ export default defineComponent({
             {popupData.tabName}
           </div>
 
-          <div
-            class={styles.headRight}
-            onClick={(e: Event) => {
-              e.stopPropagation()
-              clearTimeout(activeData.timer)
-            }}
-          >
-            <div class={styles.rightBtn} onClick={() => (popupData.guideOpen = true)}>
-              <img src={iconTouping} />
+          {state.platformType == 'TEACHER' && (
+            <div
+              class={styles.headRight}
+              onClick={(e: Event) => {
+                e.stopPropagation()
+                clearTimeout(activeData.timer)
+              }}
+            >
+              <div class={styles.rightBtn} onClick={() => (popupData.guideOpen = true)}>
+                <img src={iconTouping} />
+              </div>
+              <div class={styles.rightBtn} onClick={() => (popupData.toolOpen = true)}>
+                <img src={iconMore} />
+              </div>
             </div>
-            <div class={styles.rightBtn} onClick={() => (popupData.toolOpen = true)}>
-              <img src={iconMore} />
-            </div>
-          </div>
+          )}
         </div>
 
         {/* 更多弹窗 */}