joeylee

 

apprise的使用非常简单,引入js脚本和css

<script type="text/javascript" src="/js/apprise-1.5.full.js"></script>
<link rel="stylesheet" href="/js/apprise.css" type="text/css" />

apprise可以重复调用,可以写在一个function里面被调用

apprise("请输入评语", { \'input\': true }, function (r) {
                if (r) {
                    if (typeof (r) == \'string\') {
                        //这里的r就是你获取到的输入框的值
                    }
                }
            });

默认确定按钮和取消按钮是英文的,修改为中文样式如下

image

image

分类:

技术点:

相关文章:

  • 2021-11-18
  • 2021-10-04
  • 2021-11-18
  • 2021-11-06
  • 2021-11-01
  • 2021-11-01
  • 2021-11-04
  • 2021-11-01
猜你喜欢
  • 2021-11-18
  • 2021-11-01
  • 2021-11-27
  • 2021-11-18
  • 2021-10-19
  • 2021-11-17
  • 2021-11-18
相关资源
相似解决方案