|
@@ -36,6 +36,7 @@ import { handleStartBeat, hendleEndBeat } from './beat-tick';
|
|
import { browser } from '@/helpers/utils';
|
|
import { browser } from '@/helpers/utils';
|
|
import { useRoute } from 'vue-router';
|
|
import { useRoute } from 'vue-router';
|
|
import useDrag from '@/hooks/useDrag';
|
|
import useDrag from '@/hooks/useDrag';
|
|
|
|
+import useDragGuidance from '@/hooks/useDrag/useDragGuidance';
|
|
import { state as stateData } from '@/state';
|
|
import { state as stateData } from '@/state';
|
|
|
|
|
|
export default defineComponent({
|
|
export default defineComponent({
|
|
@@ -245,6 +246,8 @@ export default defineComponent({
|
|
stateData.user.data.id
|
|
stateData.user.data.id
|
|
);
|
|
);
|
|
}
|
|
}
|
|
|
|
+ // 引导页
|
|
|
|
+ const {guidanceShow,setGuidanceShow}=useDragGuidance()
|
|
return () => (
|
|
return () => (
|
|
<div
|
|
<div
|
|
onClick={() => {
|
|
onClick={() => {
|
|
@@ -479,6 +482,8 @@ export default defineComponent({
|
|
v-model:show={state.settingStatus}
|
|
v-model:show={state.settingStatus}
|
|
class={[styles.settingPopup, settingBoxClass]}>
|
|
class={[styles.settingPopup, settingBoxClass]}>
|
|
<SettingModal
|
|
<SettingModal
|
|
|
|
+ onGuideDone={setGuidanceShow}
|
|
|
|
+ showGuide={guidanceShow.value}
|
|
dataJson={state.dataJson}
|
|
dataJson={state.dataJson}
|
|
onClose={() => (state.settingStatus = false)}
|
|
onClose={() => (state.settingStatus = false)}
|
|
/>
|
|
/>
|