以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 移动开发 toast可以只显示文字,不要图标吗? (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=128401) |
-- 作者:rogen -- 发布时间:2018/12/5 14:22:00 -- 移动开发 toast可以只显示文字,不要图标吗? toast可以只显示文字,不要图标吗?这样能更简洁。 [此贴子已经被作者于2018/12/5 14:22:41编辑过]
|
-- 作者:有点甜 -- 发布时间:2018/12/5 15:06:00 -- Select Case e.Path Case "test.htm", "" Dim wb As New WeUI With wb.AddButtonGroup("","bng2",True) .Add("btn1","Toast1").Attribute = """ \'参数2000表示2秒后隐藏 .Add("btn2","Toast2").Attribute = """ .Add("btn3","Toast3").Attribute = """ End With wb.AddToast("","t1", "操作完成",0) wb.AddToast("","t2", "正在加载",1) wb.AddToast("","t3", "操作完成",0).Icon= "success" wb.InsertHTML("<style>.weui_toast{min-height: 1px;padding-top: 12px;}.weui_icon_toast{display:none}</style>") e.WriteString(wb.Build) End Select |