index.tsx 637 B

123456789101112131415161718192021
  1. import { defineComponent } from 'vue';
  2. import styles from './index.module.less';
  3. import commentBg from './images/tip-bg.png';
  4. import commentTop from './images/tip-dang.png';
  5. export default defineComponent({
  6. name: 'screen-tips',
  7. setup() {
  8. return () => (
  9. <div class={styles.commonWork}>
  10. <img src={commentTop} class={styles.dingPng} alt="" />
  11. <img src={commentBg} class={styles.downMoveBg} alt="" />
  12. <h2>温馨提示</h2>
  13. <div class={styles.header}>
  14. 为了更好的上课体验,请切换到<span>横屏模式</span>
  15. </div>
  16. </div>
  17. );
  18. }
  19. });