初始化
This commit is contained in:
29
pages/index/index.vue
Normal file
29
pages/index/index.vue
Normal file
@@ -0,0 +1,29 @@
|
||||
<template>
|
||||
<u-action-sheet :list="list" v-model="show"></u-action-sheet>
|
||||
<view v-for="(item,index) in list" :key="index">
|
||||
<u-button :text="item.text"></u-button>
|
||||
</view>
|
||||
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import {
|
||||
ref
|
||||
} from 'vue';
|
||||
|
||||
const list = ref([{
|
||||
text: 'Southern Wind',
|
||||
},
|
||||
{
|
||||
text: '按钮2'
|
||||
},
|
||||
{
|
||||
text: '按钮2'
|
||||
}
|
||||
]);
|
||||
const show = ref(true);
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user