提交 84a20cf5 编写于 作者: DCloud-yinjiacheng's avatar DCloud-yinjiacheng

更新text示例

上级 b9a4a670
...@@ -87,13 +87,13 @@ ...@@ -87,13 +87,13 @@
</view> </view>
<view class="uni-title"> <view class="uni-title">
<text class="uni-subtitle-text">padding</text> <text class="uni-subtitle-text">padding和border</text>
</view> </view>
<view class="text-box"> <view class="text-box">
<text class="text-padding">hello uni-app x</text> <text class="text-padding-border">hello uni-app x</text>
<text class="text-padding" style="width: 200px;">hello uni-app x</text> <text class="text-padding-border" style="width: 200px;">hello uni-app x</text>
<text class="text-padding" style="height: 100px;">hello uni-app x</text> <text class="text-padding-border" style="height: 100px;">hello uni-app x</text>
<text class="text-padding" style="width: 200px;height: 100px;">hello uni-app x</text> <text class="text-padding-border" style="width: 200px;height: 100px;">hello uni-app x</text>
</view> </view>
<view v-if="autoTest"> <view v-if="autoTest">
...@@ -162,10 +162,10 @@ export default { ...@@ -162,10 +162,10 @@ export default {
text-align: center; text-align: center;
} }
.text-padding { .text-padding-border {
margin-top: 5px; margin-top: 5px;
padding: 20px; padding: 20px;
border: 1px solid red; border: 5px solid red;
text-align: center; text-align: center;
} }
</style> </style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册