一. button组件与open-type属性介绍
组件介绍:
按钮组件 和 web中的button一样
可以通过 open-type属性 添加强大微信开放能力 如 获取手机号 分享 打开联系客服
属性介绍:
type button样式
open-type 获取强大微信开放功能
属性值介绍:
( 1 ) type
primary 绿色
default 白色
warn 红色
( 2 ) open-type
contact 打开客服
share 转发微信好友
getPhoneNumber 获取用户手机号
openSetting 打开授权设置
feedback 打开意见反馈
二. rich-text组件介绍与属性描述
语法结构:
<rich-text nodes="<h1>我是被解析标签</h1>"> </rich-text>