32 lines
397 B
Vue
32 lines
397 B
Vue
<template>
|
|
<view class="container">
|
|
<view class="header">
|
|
<view class="title">{{ a }}</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
<script setup>
|
|
|
|
const arr=ref([1,2,3])
|
|
|
|
reactive({
|
|
a:1
|
|
})
|
|
|
|
|
|
|
|
</script>
|
|
<style scoped>
|
|
.container {
|
|
flex-direction: column;
|
|
}
|
|
.header {
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.title {
|
|
font-size: 32rpx;
|
|
font-weight: bold;
|
|
}
|
|
</style> |