|
@@ -1,7 +1,11 @@
|
|
<template>
|
|
<template>
|
|
<div id="app">
|
|
<div id="app">
|
|
<!-- html -->
|
|
<!-- html -->
|
|
- <Demo7></Demo7>
|
|
|
|
|
|
+ <Demo9></Demo9>
|
|
|
|
+ <!-- <h2 ref="address">哈尔滨</h2>
|
|
|
|
+ <button @click="getMain">获取</button>
|
|
|
|
+ <Demo8 ref="haha"></Demo8> -->
|
|
|
|
+ <!-- <Demo7></Demo7> -->
|
|
<!-- <Demo6></Demo6> -->
|
|
<!-- <Demo6></Demo6> -->
|
|
<!-- <Demo5></Demo5> -->
|
|
<!-- <Demo5></Demo5> -->
|
|
<!-- <Demo4></Demo4> -->
|
|
<!-- <Demo4></Demo4> -->
|
|
@@ -13,6 +17,8 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
|
+import Demo9 from './components/Demo9.vue'
|
|
|
|
+import Demo8 from './components/Demo8.vue'
|
|
import Demo7 from './components/Demo7.vue'
|
|
import Demo7 from './components/Demo7.vue'
|
|
import Demo6 from './components/Demo6.vue'
|
|
import Demo6 from './components/Demo6.vue'
|
|
import Demo5 from './components/Demo5.vue'
|
|
import Demo5 from './components/Demo5.vue'
|
|
@@ -31,10 +37,21 @@ export default {
|
|
// Demo4,
|
|
// Demo4,
|
|
// Demo5,
|
|
// Demo5,
|
|
// Demo6,
|
|
// Demo6,
|
|
- Demo7,
|
|
|
|
|
|
+ // Demo7,
|
|
|
|
+ Demo8,
|
|
|
|
+ Demo9
|
|
},
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
|
|
+<script setup>
|
|
|
|
+ import {ref} from 'vue';
|
|
|
|
+ let address = ref();
|
|
|
|
+ let haha = ref();
|
|
|
|
+ function getMain() {
|
|
|
|
+ // console.log(address.value,'app页')
|
|
|
|
+ console.log(haha.value,'app')
|
|
|
|
+ }
|
|
|
|
+</script>
|
|
|
|
|
|
<style scoped>
|
|
<style scoped>
|
|
/* 样式 */
|
|
/* 样式 */
|