提交 bf752e86 编写于 作者: DCloud_iOS_XHY's avatar DCloud_iOS_XHY

rich-text 添加固定 height 测试例

上级 c3e943d3
......@@ -23,6 +23,10 @@
<text>rich-text-parent</text>
<text id='rich-text-str'>{{richTextStr}}</text>
</view>
</view>
<view class="text-box2">
<rich-text style="height: 80px;" :selectable="true"
:nodes="text"></rich-text>
</view>
</view>
</view>
......@@ -88,5 +92,11 @@
.text-box {
padding: 20px 0;
background-color: white;
}
}
.text-box2 {
top: 20px;
background-color: white;
}
</style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册