ソースを参照

Merge branch 'iteration-beat-one'

lex 1 年間 前
コミット
2d21b313f9

+ 1 - 0
src/page-instrument/view-figner/index.module.less

@@ -589,6 +589,7 @@
         position: absolute;
         top: 2px;
         left: -2px;
+        z-index: 99;
 
         &.errorAnswer {
             background: url('./image/icon_btn_red_sub.png') no-repeat center / contain;

+ 2 - 2
src/page-instrument/view-figner/index.tsx

@@ -972,7 +972,7 @@ export default defineComponent({
                 {playAction.userAnswerStatus === 1 && <div class={[styles.tipsT, styles.playSuccess]}></div>}
                 {playAction.userAnswerStatus === 2 && <div class={[styles.tipsT, styles.playError]}></div>}
 
-                {data.noteType !== "#c" && orientationDirection.value === 0 && (
+                {(data.noteType !== "#c" && orientationDirection.value === 0 || orientationDirection.value === 1) && (
                   <Button class={styles.noteBtn} onClick={() => scrollNoteBox("left")}>
                     <Icon name="arrow-left" />
                   </Button>
@@ -1056,7 +1056,7 @@ export default defineComponent({
                     </div>
                   </div>
                 </div>
-                {data.noteType !== "#c" && orientationDirection.value === 0 && (
+                {(data.noteType !== "#c" && orientationDirection.value === 0 || orientationDirection.value === 1) && (
                   <Button class={styles.noteBtn} onClick={() => scrollNoteBox("right")}>
                     <Icon name="arrow" />
                   </Button>