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

rich-text 添加固定 height 测试例

上级 c3e943d3
......@@ -24,6 +24,10 @@
<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>
<rich-text v-if="autoTest" id="test-rich-text" :nodes="testNodes" :selectable="true" @itemclick="itemClickForTest" style="position: fixed;width: 100px;height: 100px;"></rich-text>
......@@ -89,4 +93,10 @@
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.
先完成此消息的编辑!
想要评论请 注册