|
@@ -20,6 +20,7 @@ import ChangeSubject from "./change-subject";
|
|
|
import { Tabs,Tab } from "vant"
|
|
|
import useDrag from '/src/hooks/useDrag';
|
|
|
import Dragbom from '/src/hooks/useDrag/dragbom';
|
|
|
+import useDragGuidance from '/src/hooks/useDrag/useDragGuidance';
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: "viewFigner",
|
|
@@ -996,6 +997,8 @@ export default defineComponent({
|
|
|
value:"2"
|
|
|
}
|
|
|
]
|
|
|
+ // 引导页
|
|
|
+ const {guidanceShow,setGuidanceShow}=useDragGuidance()
|
|
|
// 切换乐器弹窗
|
|
|
let changeSubjectShowBoxDragData: any;
|
|
|
let changeSubjectShowBoxClass: string;
|
|
@@ -1725,9 +1728,7 @@ export default defineComponent({
|
|
|
</div>
|
|
|
{query.platform==="pc" && <>
|
|
|
<div class={[styles.dragTopBox,"dragTopBox"]}></div>
|
|
|
- <div class={[styles.dragbomBox,"dragbomBox"]}>
|
|
|
- <Dragbom></Dragbom>
|
|
|
- </div>
|
|
|
+ <Dragbom showGuide={guidanceShow.value} onGuideDone={setGuidanceShow}></Dragbom>
|
|
|
</>}
|
|
|
</Popup>
|
|
|
|
|
@@ -1776,9 +1777,7 @@ export default defineComponent({
|
|
|
/>
|
|
|
{query.platform==="pc" && <>
|
|
|
<div class={[styles.dragTopBox,"dragTopBox"]}></div>
|
|
|
- <div class={[styles.dragbomBox,"dragbomBox"]}>
|
|
|
- <Dragbom></Dragbom>
|
|
|
- </div>
|
|
|
+ <Dragbom showGuide={guidanceShow.value} onGuideDone={setGuidanceShow}></Dragbom>
|
|
|
</>}
|
|
|
</Popup>
|
|
|
|