文件
OmniCard/mpuniapp/pages/API/element-get-attribute/child.uvue

17 行
268 B
Plaintext

<template>
<view class="child-view">
<text class="child-text">我是子组件child</text>
</view>
</template>
<script setup lang="uts">
</script>
<style>
.child-view {
margin-top: 15px;
height: 100px;
background-color: dodgerblue;
}
</style>