提交 efdded6b 编写于 作者: 张磊

Merge branch 'dev' of https://gitcode.net/dcloud/hello-uni-app-x into dev

<template> <template>
<view style="flex-grow: 1;"> <view style="flex-grow: 1;">
<view style="height: 1000rpx;background-color: gray;justify-content: center;align-items: center;"> <view style="height: 1000rpx;background-color: gray;justify-content: center;align-items: center;">
<text class="common">CSS测试 CSS测试 CSS测试</text>
<text class="common" style="line-height: 150rpx;">line-height: 150rpx</text> <text class="common" style="line-height: 150rpx;">line-height: 150rpx</text>
<text class="common">CSS测试 CSS测试 CSS测试</text>
<text class="common" style="line-height: 3;">line-height: 3</text> <text class="common" style="line-height: 3;">line-height: 3</text>
<text class="common">CSS测试 CSS测试 CSS测试</text>
<text class="common" style="line-height: 3em;">line-height: 3em</text> <text class="common" style="line-height: 3em;">line-height: 3em</text>
<text class="common">CSS测试 CSS测试 CSS测试</text> <text class="common" style="line-height: 3;">line-height: 3\nline-height: 3\nline-height: 3</text>
</view> </view>
</view> </view>
</template> </template>
...@@ -19,5 +16,8 @@ ...@@ -19,5 +16,8 @@
<style> <style>
.common { .common {
font-size: 20px; font-size: 20px;
border: 1px red solid;
margin: 10px 0;
padding: 0 10px;
} }
</style> </style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册