|
@@ -346,40 +346,40 @@ export default defineComponent({
|
|
|
return {
|
|
|
paddingTop: "1rem",
|
|
|
paddingBottom: "",
|
|
|
- }
|
|
|
+ };
|
|
|
}
|
|
|
if (data.subject === "hulusi-flute") {
|
|
|
return {
|
|
|
paddingTop: "3.1rem",
|
|
|
paddingBottom: ".8rem",
|
|
|
- }
|
|
|
+ };
|
|
|
} else if (data.subject === "piccolo") {
|
|
|
return {
|
|
|
paddingTop: "4rem",
|
|
|
paddingBottom: ".8rem",
|
|
|
- }
|
|
|
- } else if (data.subject === 'pan-flute'){
|
|
|
+ };
|
|
|
+ } else if (data.subject === "pan-flute") {
|
|
|
return {
|
|
|
paddingTop: "0",
|
|
|
paddingBottom: "0",
|
|
|
- }
|
|
|
+ };
|
|
|
} else if (data.subject === "ocarina") {
|
|
|
return {
|
|
|
paddingTop: "1.2rem",
|
|
|
paddingBottom: "0",
|
|
|
- }
|
|
|
- } else if (data.subject === 'melodica') {
|
|
|
+ };
|
|
|
+ } else if (data.subject === "melodica") {
|
|
|
return {
|
|
|
paddingTop: "2.8rem",
|
|
|
paddingBottom: "1.8rem",
|
|
|
- }
|
|
|
+ };
|
|
|
} else {
|
|
|
return {
|
|
|
paddingTop: "",
|
|
|
paddingBottom: "",
|
|
|
- }
|
|
|
+ };
|
|
|
}
|
|
|
- })
|
|
|
+ });
|
|
|
return () => {
|
|
|
const relationship = fingerData.subject?.relationship?.[data.realKey] || [];
|
|
|
const rs: number[] = Array.isArray(relationship[1])
|
|
@@ -616,7 +616,11 @@ export default defineComponent({
|
|
|
class="tonePopup"
|
|
|
v-model:show={data.tnoteShow}
|
|
|
position={
|
|
|
- !query.modelType && fingerData.fingeringInfo.orientation === 1 ? "bottom" : "right"
|
|
|
+ state.platform !== IPlatform.PC &&
|
|
|
+ !query.modelType &&
|
|
|
+ fingerData.fingeringInfo.orientation === 1
|
|
|
+ ? "bottom"
|
|
|
+ : "right"
|
|
|
}
|
|
|
>
|
|
|
<div class={styles.tones}>
|