Переглянути джерело

黑板模式显示切换按钮

natasha 1 місяць тому
батько
коміт
6bf472edbe
1 змінених файлів з 4 додано та 4 видалено
  1. 4 4
      src/components/Adult/phonePreview/Voicefullscreen.vue

+ 4 - 4
src/components/Adult/phonePreview/Voicefullscreen.vue

@@ -167,8 +167,8 @@
         <div
         <div
           :class="[
           :class="[
             'vc-left vc-left-grey',
             'vc-left vc-left-grey',
-            isShowLeft && bgIndex == 0 ? 'vc-left-black' : '',
-            isShowLeft && bgIndex == 1 ? 'vc-left-white' : '',
+            bgIndex == 0 ? 'vc-left-black' : '',
+            bgIndex == 1 ? 'vc-left-white' : '',
             curSentIndex == 0 ? 'hidden' : ''
             curSentIndex == 0 ? 'hidden' : ''
           ]"
           ]"
           @click="prevSentence"
           @click="prevSentence"
@@ -607,8 +607,8 @@
         <div
         <div
           :class="[
           :class="[
             'vc-left vc-right-grey',
             'vc-left vc-right-grey',
-            isShowRight && bgIndex == 0 ? 'vc-right-black' : '',
-            isShowRight && bgIndex == 1 ? 'vc-right-white' : '',
+            bgIndex == 0 ? 'vc-right-black' : '',
+            bgIndex == 1 ? 'vc-right-white' : '',
             curSentIndex == sentList.length - 1 ? 'hidden' : ''
             curSentIndex == sentList.length - 1 ? 'hidden' : ''
           ]"
           ]"
           @click="nextSentence"
           @click="nextSentence"