|
@@ -1,9 +1,9 @@
|
|
|
-import { defineComponent, reactive, computed, toRef } from "vue";
|
|
|
+import { defineComponent, reactive, computed, toRef, ref } from "vue";
|
|
|
import styles from "./index.module.less"
|
|
|
import { headImg } from "../image";
|
|
|
import { headTopData } from "../index"
|
|
|
import { Switch, showToast, Field, Popup, Slider } from "vant";
|
|
|
-import state, { refreshMusicSvg, IPlatform, checkMoveNoSave } from "/src/state"
|
|
|
+import state, { refreshMusicSvg, IPlatform, checkMoveNoSave, handleGuide } from "/src/state"
|
|
|
import { api_closeCamera, api_openCamera, api_savePicture } from "/src/helpers/communication";
|
|
|
import { smoothAnimationState} from "/src/page-instrument/view-detail/smoothAnimation"
|
|
|
import Recommendation from "../../custom-plugins/helper-model/recommendation";
|
|
@@ -36,15 +36,6 @@ export default defineComponent({
|
|
|
}
|
|
|
: useDrag([`${parentClassName} .top_draging`, `${parentClassName} .bom_drag`], parentClassName, toRef(helperData, "recommendationShow"), userId);
|
|
|
|
|
|
- // 完成拖动弹窗引导页
|
|
|
- const handleGuide = async () => {
|
|
|
- state.guideInfo.teacherDrag = true;
|
|
|
- try {
|
|
|
- const res = await setGuidance({ guideTag: "guideInfo", guideValue: JSON.stringify(state.guideInfo) });
|
|
|
- } catch (e) {
|
|
|
- console.log(e);
|
|
|
- }
|
|
|
- };
|
|
|
|
|
|
// 加减评测频率
|
|
|
const operateHz = (type: number) => {
|