瀏覽代碼

fix: 老师端云教练缩小模式样式修改

TIANYONG 1 年之前
父節點
當前提交
4d4180db77
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/page-instrument/view-detail/index.tsx
  2. 1 1
      src/view/selection/index.tsx

+ 1 - 1
src/page-instrument/view-detail/index.tsx

@@ -377,7 +377,7 @@ export default defineComponent({
     };
     return () => (
       <div
-        class={[styles.detail, state.setting.eyeProtection && "eyeProtection", state.platform === IPlatform.PC && styles.PC, state.isPreView && styles.preViewDetail, state.isSingleLine && styles.singleLineDetail]}
+        class={[styles.detail, state.setting.eyeProtection && "eyeProtection", (state.platform === IPlatform.PC && state.zoom === 1.5) && styles.PC, state.isPreView && styles.preViewDetail, state.isSingleLine && styles.singleLineDetail]}
         style={{
           paddingLeft: detailData.paddingLeft,
           background: state.setting.camera ? `rgba(${state.setting.eyeProtection ? "253,244,229" : "255,255,255"} ,${state.setting.cameraOpacity / 100}) !important` : "",

+ 1 - 1
src/view/selection/index.tsx

@@ -263,7 +263,7 @@ export default defineComponent({
 										styles.position,
 										showClass.value(item),
 										scoreItem ? `scoreItemLeve${scoreItem.leve}` : "",
-										state.platform === IPlatform.PC ? styles.linePC : '',
+										(state.platform === IPlatform.PC && state.zoom === 1.5) ? styles.linePC : '',
 									]}
 									style={item.staveBox}
 									onClick={() => handleSelection(item)}