import { Transition, defineComponent, onBeforeUnmount, onMounted, ref } from "vue"; import styles from "./index.module.less"; import icons from "./icons.json"; import { followData, handleFollowEnd, handleFollowStart } from "/src/view/follow-practice"; import { Popup } from "vant"; import Microphone from "./microphone"; import state, { IPlatform } from "/src/state"; import PcEndIcon from "../header-top/image/pc_end_icon.png"; import { headImg } from "/src/page-instrument/header-top/image"; export default defineComponent({ name: "follow-model", setup() { return () => ( <> {/* {!followData.start && (
{ handleFollowStart(); }} />
)}
{followData.start && (
{ handleFollowEnd(); }} />
)}
*/} {/* 遮罩 */} { followData.isBeginMask &&
}
{!followData.start && ( { followData.start = true; handleFollowStart(); }} /> )} {followData.start && ( <> handleFollowEnd()} /> handleFollowEnd()} /> )}
{/*
*/} { followData.earphone = false; }} /> ); }, });