请问题wijdialog的buttons为什么没有应用样式,如下图
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8" />
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
- <meta name="description" content="" />
- <meta name="author" content="" />
- <!-- Wijmo CSS skin -->
- <link href="/wijmo/themes/aristo/jquery-wijmo.css" rel="stylesheet" type="text/css" title="rocket-jqueryui" />
- <!-- jQuery -->
- <script src="/jquery/jquery.min.js" type="text/javascript"></script>
- <script src="/jquery/jquery-ui.min.js" type="text/javascript"></script>
- <!-- Wijmo CSS and script -->
- <link href="/wijmo/css/jquery.wijmo-pro.all.3.20171.111.min.css" rel="stylesheet" type="text/css" />
- <!-- Wijmo-->
- <script src="/wijmo/js/jquery.wijmo-open.all.3.20171.111.min.js" type="text/javascript"></script>
- <script src="/wijmo/js/jquery.wijmo-pro.all.3.20171.111.min.js" type="text/javascript"></script>
- <title></title>
- </head>
- <body style="font-size:75%;margin:0;padding:0;">
- <div id="dialog"></div>
- </body>
- </html>
- <script id="scriptInit" type="text/javascript">
- $(document).ready(function () {
- $('#dialog').wijdialog({
- title: "对话框", width: 320, height: 240,
- autoOpen: true, captionButtons: {
- pin: { visible: false }, refresh: { visible: false }, toggle: { visible: false }, minimize: { visible: false }, maximize: { visible: false }
- }, closeOnEscape: true,
- show: 'size', hide: 'size', modal: true, resizable: false,
- buttons: {
- "确定": function () {
- $(this).wijdialog("close");
- },
- "取消": function () {
- $(this).wijdialog("close");
- }
- }
- });
- });
- </script>
复制代码
|