提交 d0265f53 编写于 作者: 杜庆泉's avatar 杜庆泉

Update uts-component.md

上级 ebec5b11
......@@ -124,7 +124,7 @@ UTS组件的优势在于,它秉承了UTS的跨平台特性,统一的UTS语
```ts
<template>
<view class="defaultStyles">
<view >
</view>
</template>
......@@ -287,14 +287,10 @@ UTS组件的优势在于,它秉承了UTS的跨平台特性,统一的UTS语
}
</script>
<style>
/* 定义默认样式值, 组件使用者没有配置时使用 */
.defaultStyles {
width: 750rpx;
height: 240rpx;
background-color: blue;
}
</style>
```
> iOS
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册