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

更新rich-text示例

上级 b5a3deff
...@@ -9,17 +9,27 @@ ...@@ -9,17 +9,27 @@
</view> </view>
<view class="uni-btn-v"> <view class="uni-btn-v">
<navigator url="/pages/component/rich-text/rich-text-complex"> <navigator url="/pages/component/rich-text/rich-text-complex">
<button type="primary">rich-text渲染复杂HTML示例</button> <button type="primary">rich-text渲染复杂HTML示例</button>
</navigator> </navigator>
</view> </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>
</view> </view>
</template> </template>
<script> <script>
</script> </script>
<style> <style>
.text-box {
</style> 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.
先完成此消息的编辑!
想要评论请 注册