-
Notifications
You must be signed in to change notification settings - Fork 0
message使用方法
evilucifero edited this page Apr 5, 2015
·
3 revisions
#message使用方法
- message.html为一个消息组件,可以通过以GET参数的形式传入进行调用
- 形如http://hostname/message/#?i=ok&c=red&t=title&p=paragraph&b=back
- i:(可选)图标内容,参见Bootstrap-Components-Glyphicons,强烈建议使用图标
- c:(可选)图标颜色,参见HTML颜色规范,默认黑色
- t:(必要)标题,你的消息所需要的标题,如不需要请留空(这都不要还叫消息?)
- p:(可选)段落,你的消息所需要的具体内容或者对标题的解释性语言,如不需要请留空
- b:(可选)按钮,默认有三种,back是返回,exit是退出页面(因为浏览器设置,暂时设置成跳转至首页),close是微信关闭页面的功能