123456789101112131415161718192021222324252627 |
- import { defineComponent, ref } from "vue";
- import styles from "./index.module.less";
- import iconBack from "../icons/icon-right-back.png";
- import { Icon, ImagePreview, Tab, Tabs } from "vant";
- import { getToken } from "/src/utils";
- export default defineComponent({
- name: "screenModel",
- emits: ["close"],
- setup(props, { emit }) {
- return () => (
- <>
- <img class={styles.closeBtn} src={iconBack} onClick={() => emit("close")} />
- <div class={styles.container}>
- <Tabs swipeable animated>
- <Tab name="投屏" title="投屏">
- <iframe src="https://online.colexiu.com/student/#/guide" />
- </Tab>
- <Tab name="帮助" title="帮助">
- <iframe src={location.origin + "#/help-center?source=music" + '&Authorization=' + getToken()} />
- </Tab>
- </Tabs>
- </div>
- </>
- );
- },
- });
|