|
@@ -4,7 +4,8 @@ import icons from "./icons.json";
|
|
|
import { followData, handleFollowEnd, handleFollowStart } from "/src/view/follow-practice";
|
|
|
import { Popup } from "vant";
|
|
|
import Microphone from "./microphone";
|
|
|
-import state from "/src/state";
|
|
|
+import state, { IPlatform } from "/src/state";
|
|
|
+import PcEndIcon from "../header-top/image/pc_end_icon.png"
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: "follow-model",
|
|
@@ -25,9 +26,9 @@ export default defineComponent({
|
|
|
</Transition>
|
|
|
<Transition name="pop-center">
|
|
|
{followData.start && (
|
|
|
- <div class={[styles.endBtn, state.fingeringInfo?.name && state.fingeringInfo.direction == 'transverse' && state.setting.displayFingering ? styles.top : styles.bottom]} key="end">
|
|
|
+ <div class={[styles.endBtn, state.fingeringInfo?.name && state.fingeringInfo.direction == 'transverse' && state.setting.displayFingering ? styles.top : styles.bottom, state.platform === IPlatform.PC && styles.pcEndBtn]} key="end">
|
|
|
<img
|
|
|
- src={icons.end}
|
|
|
+ src={state.platform === IPlatform.PC ? PcEndIcon : icons.end}
|
|
|
onClick={() => {
|
|
|
handleFollowEnd();
|
|
|
}}
|