weUI应用之JS常用信息提示弹层的封装
网络编程 2021-07-04 19:19www.168986.cn编程入门
这篇文章主要为大家详细介绍了weUI应用中利用JS封装几个常用的信息提示弹层的相关资料,具有一定的参考价值,感兴趣的小伙伴们可以参考一下
weUI应用,自己用JS封装了几个常用的信息提示的弹层
测试页面的代码在后面有贴出
几个弹层如下图
HTML页面代码:
<!DOCTYPE html> <html> <head> <title>weUI-test</title> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> <meta name="viewport" content="width=device-width,initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="Cache-Control" content="no-cache"> <meta http-equiv="Expires" content="0"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta name="format-detection" content="telephone=no"> <meta name="apple-mobile-web-app-title" content=""> <link rel="stylesheet" type="text/css" href="weui.min.css"> </head> <body> <span id="showClick" style="display:block; width:100px; height:80px; line-height:80px; text-align:center; margin:50px; background-color:#ddd; cursor:pointer;">测试</span> <script type="text/javascript" src="http://code.jquery./jquery-2.0.0.min.js"></script> <script type="text/javascript" src="weUI.js"></script> <script type="text/javascript"> $(function(){ // //提示弹层,取消关闭,确定做相应操作 // dialog('标题1111111','内容1111111',function(){ // alert('你想做的相应操作1111111'); // $('#dialog1').remove(); // }); // $('#showClick').click(function(){ // dialog('标题2222222','内容2222222',function(){ // alert('你想做的相应操作2222222'); // $('#dialog1').remove(); // }); // }); // //提示弹层,确定关闭 // dialog('标题333333','内容333333'); // $('#showClick').click(function(){ // dialog('标题NEW','内容NEW'); // }); // //完成 // toast(); // //自定义 // $('#showClick').click(function(){ // toast('自定义'); // }); // //加载完成后关闭 // loadingToast(); // setTimeout(function(){$('#loadingToast').fadeOut('fast')},1000); // //加载完成后关闭(自定义文字) // $('#showClick').click(function(){ // loadingToast('自定义文字'); // setTimeout(function(){$('#loadingToast').fadeOut('fast')},1000); // }); // //菜单项弹层 // $('#showClick').click(function(){ // //actionSheetMenu({id:'aa',text:'菜单一'},{id:'bb',text:'删除'}); // //actionSheetMenu({id:'aa',text:'菜单一'},{id:'bb',text:'删除'},{id:'',text:'菜单三'}); // actionSheetMenu({id:'aa',text:'菜单一'},'DSFADS',{id:'bb',text:'删除'}); // }); // $('body').on('click','#aa',function(){ // alert('菜单一'); // $('#actionsheet_cancel').trigger('click'); // }); // $('body').on('click','#bb',function(){ // $('#actionsheet_cancel').trigger('click'); // dialog('标题','确认删除操作吗?',function(){ // alert('确定删除'); // $('#dialog1').remove(); // }); // }); // $('body').on('click','#',function(){ // alert('菜单三'); // }); //吐司提示 textToast('提示信息11111111111'); $('#showClick').click(function(){ textToast('提示信息2222222222222'); }); }); </script> </body> </html>
weui.min.css代码:
@font-face{font-weight:400;font-style:normal;font-family:weui;src:url('data:application/octet-stream;base64,d09GRgABAAAAAAjsAAsAAAAADlgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAAQAAAAFZAKEx1Y21hcAAAAXwAAACNAAACNOuCXH5nbHlmAAACDAAABJUAAAcs8IEm32hlYWQAAAakAAAALgAAADYIoMpYaGhlYQAABtQAAAAdAAAAJAgtA/hobXR4AAAG9AAAABAAAABAOpgAAGxvY2EAAAcEAAAAIgAAACIO3AzsbWF4cAAABygAAAAfAAAAIAEeAD5uYW1lAAAHSAAAAR4AAAHm41we2HBvc3QAAAhoAAAAggAAANZP98ExeJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2BkXsU4gYGVgYOpimkPAwNDD4RmfMBgyMjEwMDEwMrMgBUEpLmmMDi8YnzFz/wCyI1ifgkWZgQRAO85CyF4nO2R2Q0DIQxEHwt7HzSSGlJQvlJkqqGJjYdJGbH0PPJgELKBEcjBIyiQ3iQUr3BT9zNb9wvP3lPkt3rfkZNy1KXnI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ggNzIxLjggMjk3LjEgNzA4LjQgMjg0LjIwMDAwMDAwMDAwMDFDNjk1LjE5OTk5OTk5OTk5OTkgMjcxLjQwMDAwMDAwMDAwMDEgNjc0LjEgMjcxLjcwMDAwMDAwMDAwMDEgNjYxLjQgMjg0LjkwMDAwMDAwMDAwMDFMNDk5LjIgNDUyLjkwMDAwMDAwMDAwMDFMMzMxLjIgMjkwLjcwMDAwMDAwMDAwMDFDMzE4IDI3OCAyOTcuMSAyNzguMzAwMDAwMDAwMDAwMSAyODQuMiAyOTEuNzAwMDAwMDAwMDAwMUMyNzEuNCAzMDQuOTAwMDAwMDAwMDAwMSAyNzEuNyAzMjYgMjg0LjkgMzM4LjcwMDAwMDAwMDAwMDFMNDUyLjkgNTAwLjlMMjkwLjcgNjY4LjkwMDAwMDAwMDAwMDFDMjc4IDY4Mi4xIDI3OC4zIDcwMyAyOTEuNyA3MTUuOTAwMDAwMDAwMDAwMUMzMDQuOSA3MjguNyAzMjYgNzI4LjQwMDAwMDAwMDAwMDEgMzM4LjcgNzE1LjJMNTAwLjkgNTQ3LjJMNjY4LjkgNzA5LjQwMDAwMDAwMDAwMDFDNjgyLjEgNzIyLjEgNzAzIDcyMS44IDcxNS45IDcwOC40MDAwMDAwMDAwMDAxQzcyOC42OTk5OTk5OTk5OTk5IDY5NS4yIDcyOC40IDY3NC4xIDcxNS4xOTk5OTk5OTk5OTk5IDY2MS40MDAwMDAwMDAwMDAxTDU0Ny4xOTk5OTk5OTk5OTk5IDQ5OS4yTDcwOS4zOTk5OTk5OTk5OTk5IDMzMS4yMDAwMDAwMDAwMDAxeiIgLz4KICA8L2ZvbnQ+CjwvZGVmcz4KPC9zdmc+Cg==') format('svg')}[class*=" weui_icon_"]:before,[class^=weui_icon_]:before{font-family:weui;font-style:normal;font-weight:400;speak:none;display:inline-block;vertical-align:middle;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em}[class*=" weui_icon_"]:before,[class^=weui_icon_]:before{margin:0}.weui_dialog{position:fixed;z-index:4;width:85%;:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);background-color:#fafafc;text-align:center;border-radius:3px}.weui_dialog_confirm .weui_dialog .weui_dialog_hd{padding:1.2em 20px .5em}.weui_dialog_confirm .weui_dialog .weui_dialog_bd{text-align:left}.weui_dialog_hd{padding:1.2em 0 .5em}.weui_dialog_title{font-weight:400;font-size:17px}.weui_dialog_bd{padding:0 20px;font-size:15px;color:#888}.weui_dialog_ft{position:relative;line-height:42px;margin-:20px;font-size:17px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.weui_dialog_ft a{display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;color:#351f;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.weui_dialog_ft a:active{background-color:#eee}.weui_dialog_ft:after{content:" ";position:absolute;left:0;:0;width:100%;height:1px;border-:1px solid #d5d5d6;color:#d5d5d6;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui_dialog_confirm .weui_dialog_ft a{position:relative}.weui_dialog_confirm .weui_dialog_ft a:after{content:" ";position:absolute;left:0;:0;width:1px;height:100%;border-left:1px solid #d5d5d6;color:#d5d5d6;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleX(.5);transform:scaleX(.5)}.weui_dialog_confirm .weui_dialog_ft a:first-child:after{display:none}.weui_btn_dialog.default{color:#353535}.weui_btn_dialog.primary{color:#0bb20c}@media screen and (min-width:1024px){.weui_dialog{width:35%}}.weui_toast{position:fixed;z-index:3;width:7.6em;min-height:7.6em;:180px;left:50%;margin-left:-3.8em;background:rgba(40,40,40,.75);text-align:center;border-radius:5px;color:#fff}.weui_icon_toast{/*margin:22px 0 0;*/margin:10px 0 0;display:block}.weui_icon_toast:before{content:'\EA08';color:#fff;font-size:55px}.weui_toast_content{margin:0 0 15px}.weui_loading_toast .weui_toast_content{margin-:64%;font-size:14px}.weui_loading{position:absolute;width:0;z-index:5;left:50%;:38%}.weui_loading_leaf{position:absolute;:-1px;opacity:.25}.weui_loading_leaf:before{content:" ";position:absolute;width:8.14px;height:3.08px;background:#d1d1d5;box-shadow:rgba(0,0,0,.0980392) 0 0 1px;border-radius:1px;-webkit-transform-origin:left 50% 0;transform-origin:left 50% 0}.weui_loading_leaf_0{-webkit-animation:a 1.25s linear infinite;animation:a 1.25s linear infinite}.weui_loading_leaf_0:before{-webkit-transform:rotate(0deg) translate(7.92px);transform:rotate(0deg) translate(7.92px)}.weui_loading_leaf_1{-webkit-animation:b 1.25s linear infinite;animation:b 1.25s linear infinite}.weui_loading_leaf_1:before{-webkit-transform:rotate(30deg) translate(7.92px);transform:rotate(30deg) translate(7.92px)}.weui_loading_leaf_2{-webkit-animation:c 1.25s linear infinite;animation:c 1.25s linear infinite}.weui_loading_leaf_2:before{-webkit-transform:rotate(60deg) translate(7.92px);transform:rotate(60deg) translate(7.92px)}.weui_loading_leaf_3{-webkit-animation:d 1.25s linear infinite;animation:d 1.25s linear infinite}.weui_loading_leaf_3:before{-webkit-transform:rotate(90deg) translate(7.92px);transform:rotate(90deg) translate(7.92px)}.weui_loading_leaf_4{-webkit-animation:e 1.25s linear infinite;animation:e 1.25s linear infinite}.weui_loading_leaf_4:before{-webkit-transform:rotate(120deg) translate(7.92px);transform:rotate(120deg) translate(7.92px)}.weui_loading_leaf_5{-webkit-animation:f 1.25s linear infinite;animation:f 1.25s linear infinite}.weui_loading_leaf_5:before{-webkit-transform:rotate(150deg) translate(7.92px);transform:rotate(150deg) translate(7.92px)}.weui_loading_leaf_6{-webkit-animation:g 1.25s linear infinite;animation:g 1.25s linear infinite}.weui_loading_leaf_6:before{-webkit-transform:rotate(180deg) translate(7.92px);transform:rotate(180deg) translate(7.92px)}.weui_loading_leaf_7{-webkit-animation:h 1.25s linear infinite;animation:h 1.25s linear infinite}.weui_loading_leaf_7:before{-webkit-transform:rotate(210deg) translate(7.92px);transform:rotate(210deg) translate(7.92px)}.weui_loading_leaf_8{-webkit-animation:i 1.25s linear infinite;animation:i 1.25s linear infinite}.weui_loading_leaf_8:before{-webkit-transform:rotate(240deg) translate(7.92px);transform:rotate(240deg) translate(7.92px)}.weui_loading_leaf_9{-webkit-animation:j 1.25s linear infinite;animation:j 1.25s linear infinite}.weui_loading_leaf_9:before{-webkit-transform:rotate(270deg) translate(7.92px);transform:rotate(270deg) translate(7.92px)}.weui_loading_leaf_10{-webkit-animation:k 1.25s linear infinite;animation:k 1.25s linear infinite}.weui_loading_leaf_10:before{-webkit-transform:rotate(300deg) translate(7.92px);transform:rotate(300deg) translate(7.92px)}.weui_loading_leaf_11{-webkit-animation:l 1.25s linear infinite;animation:l 1.25s linear infinite}.weui_loading_leaf_11:before{-webkit-transform:rotate(330deg) translate(7.92px);transform:rotate(330deg) translate(7.92px)}@-webkit-keyframes a{0%,0.01%{opacity:.25}0.02%{opacity:1}60.01%,to{opacity:.25}}@-webkit-keyframes b{0%,8.34333%{opacity:.25}8.35333%{opacity:1}68.3433%,to{opacity:.25}}@-webkit-keyframes c{0%,16.6767%{opacity:.25}16.6867%{opacity:1}76.6767%,to{opacity:.25}}@-webkit-keyframes d{0%,25.01%{opacity:.25}25.02%{opacity:1}85.01%,to{opacity:.25}}@-webkit-keyframes e{0%,33.3433%{opacity:.25}33.3533%{opacity:1}93.3433%,to{opacity:.25}}@-webkit-keyframes f{0%{opacity:.270958333333333}41.6767%{opacity:.25}41.6867%{opacity:1}1.67667%{opacity:.25}to{opacity:.270958333333333}}@-webkit-keyframes g{0%{opacity:.375125}50.01%{opacity:.25}50.02%{opacity:1}10.01%{opacity:.25}to{opacity:.375125}}@-webkit-keyframes h{0%{opacity:.479291666666667}58.3433%{opacity:.25}58.3533%{opacity:1}18.3433%{opacity:.25}to{opacity:.479291666666667}}@-webkit-keyframes i{0%{opacity:.583458333333333}66.6767%{opacity:.25}66.6867%{opacity:1}26.6767%{opacity:.25}to{opacity:.583458333333333}}@-webkit-keyframes j{0%{opacity:.687625}75.01%{opacity:.25}75.02%{opacity:1}35.01%{opacity:.25}to{opacity:.687625}}@-webkit-keyframes k{0%{opacity:.791791666666667}83.3433%{opacity:.25}83.3533%{opacity:1}43.3433%{opacity:.25}to{opacity:.791791666666667}}@-webkit-keyframes l{0%{opacity:.895958333333333}91.6767%{opacity:.25}91.6867%{opacity:1}51.6767%{opacity:.25}to{opacity:.895958333333333}}.weui_mask{background:rgba(0,0,0,.6)}.weui_mask,.weui_mask_transition,.weui_mask_transparent{position:fixed;z-index:4;width:100%;height:100%;:0;left:0}.weui_mask_transition{display:none;background:transparent;-webkit-transition:background .3s;transition:background .3s}.weui_fade_toggle{background:rgba(0,0,0,.6)}.weui_actionsheet{position:fixed;left:0;bottom:0; z-index:4;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-backface-visibility:hidden;backface-visibility:hidden;width:100%;background-color:#efeff4;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;opacity:0;}.weui_actionsheet_menu{background-color:#fff}.weui_actionsheet_action{margin-:6px;background-color:#fff}.weui_actionsheet_cell{position:relative;padding:10px 0;text-align:center;font-size:18px}.weui_actionsheet_cell:before{content:" ";position:absolute;left:0;:0;width:100%;height:1px;border-:1px solid #d9d9d9;color:#d9d9d9;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui_actionsheet_cell:active{background-color:#ececec}.weui_actionsheet_cell:first-child:before{display:none}.weui_actionsheet_toggle{-webkit-transform:translate(0);transform:translate(0);opacity:1;} .textToast{ width:90%; height:32px; line-height:32px; font-size:16px; text-align:center; color:#fff !important; border-radius:5px; background-color:rgba(80,80,80,1); position:fixed; left:50%; :50%; -webkit-transform:translate(-50%,-50%); transform:translate(-50%,-50%); display:none;} .textToastShow{ display:block; -webkit-animation:textToastShow 1.5s .2s ease-in-out; animation:textToastShow 1.5s .2s ease-in-out;} @-webkit-keyframes textToastShow{ 30%{ opacity:1;} 100%{ opacity:0;} } @keyframes textToastShow{ 30%{ opacity:1;} 100%{ opacity:0;} }
weUI.js代码:
//标题提醒文字弹层 function dialog(title , msg , callback){ var dialog1 , dialog2; dialog1 = '\ <div class="weui_dialog_confirm" id="dialog1" style="display: none;">\ <div class="weui_mask"></div>\ <div class="weui_dialog">\ <div class="weui_dialog_hd"><strong class="weui_dialog_title">'+ title +'</strong></div>\ <div class="weui_dialog_bd">' + msg + '</div>\ <div class="weui_dialog_ft">\ <a href="javascript:;" class="weui_btn_dialog default">取消</a>\ <a href="javascript:;" class="weui_btn_dialog primary">确定</a>\ </div>\ </div>\ </div>\ '; dialog2 = '\ <div class="weui_dialog_alert" id="dialog2" style="display: none;">\ <div class="weui_mask"></div>\ <div class="weui_dialog">\ <div class="weui_dialog_hd"><strong class="weui_dialog_title">'+ title +'</strong></div>\ <div class="weui_dialog_bd">' + msg + '</div>\ <div class="weui_dialog_ft">\ <a href="javascript:;" class="weui_btn_dialog primary">确定</a>\ </div>\ </div>\ </div>\ '; if(arguments[2]){ $('body').append(dialog1); $('#dialog1').fadeIn('fast'); $('#dialog1 .primary').on('click',function(){ callback(); }); $('#dialog1 .default').on('click',function(){ $('#dialog1').fadeOut('fast',function(){ $('#dialog1').remove(); }); }); }else{ if(!$('#dialog2').length){ $('body').append(dialog2); }else{ $('#dialog2 .weui_dialog_title').html(title); $('#dialog2 .weui_dialog_bd').html(msg); } $('#dialog2').fadeIn('fast'); $('#dialog2 .primary').on('click',function(){ $('#dialog2').fadeOut('fast'); }); } } //完成提示弹层 function toast(){ var msg; arguments[0] ? msg = arguments[0] : msg = '已完成' ; var toast; toast = '\ <div id="toast" style="display: none;">\ <div class="weui_mask_transparent"></div>\ <div class="weui_toast">\ <i class="weui_icon_toast"></i>\ <p class="weui_toast_content">' + msg + '</p>\ </div>\ </div>\ '; if(!$('#toast').length){ $('body').append(toast); }else{ $('#toast .weui_toast_content').html(msg); } $('#toast').fadeIn('fast',function(){ setTimeout(function(){$('#toast').fadeOut('fast');},800); }); } //加载提示弹层 function loadingToast(){ var msg; arguments[0] ? msg = arguments[0] : msg = '数据加载中' ; var loadingToast; loadingToast = '\ <div id="loadingToast" class="weui_loading_toast" style="display:none;">\ <div class="weui_mask_transparent"></div>\ <div class="weui_toast">\ <div class="weui_loading">\ <div class="weui_loading_leaf weui_loading_leaf_0"></div>\ <div class="weui_loading_leaf weui_loading_leaf_1"></div>\ <div class="weui_loading_leaf weui_loading_leaf_2"></div>\ <div class="weui_loading_leaf weui_loading_leaf_3"></div>\ <div class="weui_loading_leaf weui_loading_leaf_4"></div>\ <div class="weui_loading_leaf weui_loading_leaf_5"></div>\ <div class="weui_loading_leaf weui_loading_leaf_6"></div>\ <div class="weui_loading_leaf weui_loading_leaf_7"></div>\ <div class="weui_loading_leaf weui_loading_leaf_8"></div>\ <div class="weui_loading_leaf weui_loading_leaf_9"></div>\ <div class="weui_loading_leaf weui_loading_leaf_10"></div>\ <div class="weui_loading_leaf weui_loading_leaf_11"></div>\ </div>\ <p class="weui_toast_content">' + msg + '</p>\ </div>\ </div>\ '; if(!$('#loadingToast').length){ $('body').append(loadingToast); }else{ $('#loadingToast .weui_toast_content').html(msg); } $('#loadingToast').fadeIn('fast'); } //菜单项弹层 function actionSheetMenu(){ if(!arguments.length){ return; } var menuHtml = ''; for(i=0;i<arguments.length;i++){ if(typeof(arguments[i]) != 'object' || !arguments[i].id || !arguments[i].text){ continue; } menuHtml += '<div class="weui_actionsheet_cell" id="' + arguments[i].id + '">' + arguments[i].text + '</div>'; } if(!menuHtml){ return; } var actionSheetMenu; actionSheetMenu = '\ <div id="actionSheet_wrap">\ <div class="weui_mask_transition" id="mask"></div>\ <div class="weui_actionsheet" id="weui_actionsheet">\ <div class="weui_actionsheet_menu">\ </div>\ <div class="weui_actionsheet_action">\ <div class="weui_actionsheet_cell" id="actionsheet_cancel">取消</div>\ </div>\ </div>\ </div>\ '; if(!$('#actionSheet_wrap').length){ $('body').append(actionSheetMenu); } $('.weui_actionsheet_menu').html(menuHtml); $('#mask').show().addClass('weui_fade_toggle'); $('#weui_actionsheet').addClass('weui_actionsheet_toggle'); $('#mask').unbind('transitionend').unbind('webkitTransitionEnd'); $('#mask , #actionsheet_cancel').on('click',function(){ $('#mask').removeClass('weui_fade_toggle'); $('#weui_actionsheet').removeClass('weui_actionsheet_toggle'); $('#mask').on('transitionend webkitTransitionEnd',function(e){ $('#mask').hide(); }); }); } //吐司提示 function textToast(text){ if(!$('#textToast').length){ $('body').append('<div id="textToast" class="textToast"></div>') } $('#textToast').text(text).addClass('textToastShow').on('animationend webkitAnimationEnd',function(e){ $(this).removeClass('textToastShow'); }); }
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持狼蚁SEO。
上一篇:浅谈js原生拖放
下一篇:js获取浏览器高度 窗口高度 元素尺寸 偏移属性的
编程语言
- 机械手焊接机器人编程 机械手焊接设备编程
- vb数据库编程实例,vb做数据库
- tiobe世界编程语言排行榜,全球编程语言排行
- 成都java编程培训 成都it编程培训中心
- 编程基础培训,编程基础知识培训
- flash游戏编程基础教程,flash游戏开发教程
- 不会英语能学编程吗 不会英语可以学程序员吗
- 爱心代码编程C语言 爱心代码编程c语言公式
- c语言编程学习入门 c语言编程快速入门
- 西门子plc编程培训 西门子plc编程培训班
- 哪里可以学编程 台州哪里可以学编程
- 少儿编程哪个好 少儿编程哪个品牌好
- 编程是什么意思,图形编程是什么意思
- c语言编程软件下载,c语言编程软件在哪下载
- java编程软件下载,java编程下载手机版
- ug编程培训学校,ug编程培训教程