1.0.0 • Published 6 years ago
xp-mnui-msg v1.0.0
Msg 提示页
说明
基于微信小程序第三方框架wepyjs开发,使用需要先安装wepyjs
使用
安装组件
npm install xp-mnui-msg --save
引入组件
// index.wpy
<template>
<msg props="{{props}}"></msg>
</template>
<script>
import wepy from 'wepy'
import msg from 'xp-mnui-msg'
export default class Index extends wepy.page {
components = {
msg
}
}
</script>
props参数
iconObjObject
【选填】icon样式,默认为{ type: 'success', size: '100', color: '' }
textStirng
【选填】说明文字
btnObjObject
【选填】按钮样式,默认为{ show: true, text: '完成', style: '', callback: null }
1.0.0
6 years ago