|
@@ -1,5 +1,5 @@
|
|
|
import { Tab, Tabs } from 'vant'
|
|
|
-import { defineComponent } from 'vue'
|
|
|
+import { defineComponent, ref } from 'vue'
|
|
|
import styles from './index.module.less'
|
|
|
import icon1 from './image/1.png'
|
|
|
import icon2 from './image/2.png'
|
|
@@ -9,15 +9,16 @@ import Guide from './guide/guide'
|
|
|
export default defineComponent({
|
|
|
name: 'OGuide',
|
|
|
setup(props, ctx) {
|
|
|
+ const active = ref('tv')
|
|
|
return () => (
|
|
|
<div class={styles.guideWrap}>
|
|
|
- <Tabs animated swipeable>
|
|
|
+ <Tabs animated swipeable v-model:active={active.value}>
|
|
|
<Tab title="电视投屏" name="tv">
|
|
|
<Guide class={styles.tv} />
|
|
|
</Tab>
|
|
|
<Tab title="电脑投屏" name="computer">
|
|
|
<div class={styles.content}>
|
|
|
- <div style={{ fontSize: '16px', whiteSpace: 'nowrap', marginBottom: '20px' }}>
|
|
|
+ <div style={{ fontSize: '16px', marginBottom: '20px' }}>
|
|
|
通过爱思投屏助手将手机投屏至电脑
|
|
|
</div>
|
|
|
<div class={styles.item}>
|