feat: 响应体组件封装
This commit is contained in:
18
components/CommandWrapper/index.vue
Normal file
18
components/CommandWrapper/index.vue
Normal file
@@ -0,0 +1,18 @@
|
||||
<template>
|
||||
<view class="command-wrapper">
|
||||
<text class="command-text">{{ text }}</text>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
defineProps({
|
||||
text: {
|
||||
type: String,
|
||||
default: "商品详情",
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
@import "./styles/index.scss";
|
||||
</style>
|
||||
Reference in New Issue
Block a user