<template>
<div class="container-full">
<richtext type="html">{{content}}</richtext>
</div>
</template> <style lang="less">
@import '../Common/styles/container.less';
</style> <script>
export default {
private: {
content: <div class="item-content" style="background-color: #FFFFFF">
<style>h1{color: red;}</style>
<p class="item-title">h1</p>
<h1>文本测试</h1>
<p class="item-title">h2</p>
<h2>文本测试</h2>
<p class="item-title">h3</p>
<h3>文本测试</h3>
<p class="item-title">h4</p>
<h4>文本测试</h4>
<p class="item-title">h5</p>
<h5>文本测试</h5>
<p class="item-title">h6</p>
<h6>文本测试</h6> <h3 class="item-title">mark标签</h3>
You can use the mark tag to <mark>highlight</mark> text.
<h3 class="item-title">del标签:被删除的文本</h3>
<del>This line of text is meant to be treated as deleted text.</del>
<h3 class="item-title">s标签:无用的文本</h3>
<s>This line of text is meant to be treated as no longer accurate.</s>
<h3 class="item-title">ins标签:额外插入的文本</h3>
<ins>This line of text is meant to be treated as an addition to the document.</ins>
<h3 class="item-title">u标签:为文本添加下划线</h3>
<u>This line of text will render as underlined</u>
<h3 class="item-title">small标签:小号文本</h3>
<small>This line of text is meant to be treated as fine print.</small>
<h3 class="item-title">文本强调</h3>
<strong>This line of text is meant to be treated as fine print.</strong>
<em>This line of text is meant to be treated as fine print.</em> <p class="item-title">a</p>
<div>
<a href="https://www.quickapp.cn/" style="color: #09ba07;text-decoration: underline">文本测试</a>
</div>
<p class="item-title">img</p>
<div>
<img src="https://bbs.quickapp.cn/template/dingzhi_x_oneplus/dingzhi/logo.png" style="width: 100%;"/>
</div>
<p class="item-title">p</p>
<p>文本测试</p>
<p class="item-title">span</p>
<p><span>文本测试</span></p>
<p class="item-title">strong</p>
<p><strong>文本测试</strong></p>
<p class="item-title">del</p>
<p><del>文本测试</del></p>
<p class="item-title">b</p>
<p><b>文本测试</b></p>
<p class="item-title">i</p>
<p><i>文本测试</i></p>
</div>
}
<script>

扫码体验

"html富文本"组件:<richtext> —— 快应用原生组件的更多相关文章

  1. "格式化的文本"组件:<span> —— 快应用原生组件

     `<template> <div class="container"> <text><span class="success ...

  2. "文本"组件:<text> —— 快应用原生组件

     <template> <div class="container"> <text>H-UI</text> </div> ...

  3. 2.15 富文本(richtext)

    2.15 富文本(richtext) 前言     富文本编辑框是做web自动化最常见的场景,有很多小伙伴不知从何下手,本篇以博客园的编辑器为例,解决如何定位富文本,输入文本内容一.加载配置    1 ...

  4. zx-editor 移动端(HTML5)富文本编辑器,可与原生App混合(hybrid)开发

    ZxEditor 移动端HTML文档(富文本)编辑器,支持图文混排.引用.大标题.无序列表,字体颜色.加粗.斜体. 可用于独立web项目开发,也可以用于与原生App混合(hybrid)开发. 源码地址 ...

  5. ueditor富文本编辑器使用百度地图自定义动态地图组件及兼容https及http协议

    ueditor富文本编辑器默认支持百度地图组件,但是如果导入动态地图后会加很多默认的地图组件在上面.如果需要自定义动态地图的组件则需要修改ueditor特定的html. ueditor百度地图组件所在 ...

  6. "多行文本"组件:<multi> —— 快应用组件库H-UI

     <import name="multi" src="../Common/ui/h-ui/text/c_text_multi"></impo ...

  7. 给web项目整合富文本编辑器

    给jsp页面整合富文本编辑器下载——删除多余的组件——加入到项目中——参照案例来完成整合步骤:1. 解压zip文件,将所有文件复制到Tomcat的webapps/kindeditor目录下. 2. 将 ...

  8. (转)淘淘商城系列——KindEditor富文本编辑器的使用

    http://blog.csdn.net/yerenyuan_pku/article/details/72809794 通过上文的学习,我们知道了怎样解决KindEditor富文本编辑器上传图片时的浏 ...

  9. (转)学习淘淘商城第二十二课(KindEditor富文本编辑器的使用)

    http://blog.csdn.net/u012453843/article/details/70184155 上节课我们一起学习了怎样解决KindEditor富文本编辑器上传图片的浏览器兼容性问题 ...

随机推荐

  1. 【Android】Retrofit源码学习

    使用Retrofit的流程 通过Builder创建Retrofit对象: Retrofit retrofit = new Retrofit.Builder().baseUrl("" ...

  2. 深度学习与人类语言处理-语音识别(part3)

    上节回顾深度学习与人类语言处理-语音识别(part2),这节课我们接着看seq2seq模型怎么做语音识别 上节课我们知道LAS做语音识别需要看完一个完整的序列才能输出,把我们希望语音识别模型可以在听到 ...

  3. 【Weiss】【第03章】练习3.7:有序多项式相乘

    [练习3.7] 编写一个函数将两个多项式相乘,用一个链表实现.你必须保证输出的多项式按幂次排列,并且任意幂次最多只有一项. a.给出以O(M2N2)时间求解该问题的算法. b.写一个以O(M2N)时间 ...

  4. 从零开始学习R语言(二)——数据结构之“因素(Factor)”

    本文首发于知乎专栏:https://zhuanlan.zhihu.com/p/60101041 也同步更新于我的个人博客:https://www.cnblogs.com/nickwu/p/125370 ...

  5. docker:一文学基础使用

    目录 docker介绍 安装与镜像源配置 CentOS7 安装 设置镜像源 补充: 简单使用例子 基础概念 四个概念 镜像概念补充: 容器概念补充: 常用命令: 查看docker信息 镜像操作 容器操 ...

  6. IntelliJ IDEA 2018.1.4 x64安装创建maven项目等

    Intellij IDEA 一:介绍 Jetbrains公司https://www.jetbrains.com/idea/ 1.1版本 Ultimate最终[收费] 网络,移动和企业开发 Web, m ...

  7. 【洛谷P1801】黑匣子——优先队列

    题目链接 一道有点意思的题目 我们可以维护两个优先队列:pqmin和pqmax 其中 pqmin 是小根堆, pqmax 是大根堆 每次 add 一个数字,则将数字推入到 pqmin 中 每次 get ...

  8. 硬货 | 手把手带你构建视频分类模型(附Python演练))

    译者 | VK 来源 | Analytics Vidhya 概述 了解如何使用计算机视觉和深度学习技术处理视频数据 我们将在Python中构建自己的视频分类模型 这是一个非常实用的视频分类教程,所以准 ...

  9. Markdown 高阶语法

    记录一些 Markdown 的高阶语法,想起来什么,再更新 分割线 两条分割线 *** *** 插入表格 Column Column Column Row Content Content | Colu ...

  10. Hadoop Zookeeper 分布式服务框架

    what is Zookeeper? 1,开源的分布式的,为分布式应用提供协调服务的Apache项目2,提供一个简单原语集合,以便于分布式应用可以在它之上构建更高层次的同步服务3,设计非常易于编程,它 ...