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

更新rich-text示例

上级 b5a3deff
......@@ -9,17 +9,27 @@
</view>
<view class="uni-btn-v">
<navigator url="/pages/component/rich-text/rich-text-complex">
<button type="primary">rich-text渲染复杂HTML示例</button>
<button type="primary">rich-text渲染复杂HTML示例</button>
</navigator>
</view>
<view class="uni-title">
<text class="uni-subtitle-text">selectable</text>
</view>
<view class="text-box">
<rich-text :selectable="true"
nodes="<span>hello uni-app x!</span><br/><span>uni-app x,终极跨平台方案</span>"></rich-text>
</view>
</view>
</view>
</template>
<script>
</script>
<style>
</style>
.text-box {
padding: 40rpx 0;
background-color: white;
}
</style>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册