diff --git a/examples/code.html b/examples/code.html index 34278dac..2bb69152 100644 --- a/examples/code.html +++ b/examples/code.html @@ -141,8 +141,8 @@ code line - - + + @@ -157,17 +157,17 @@ layui.use(['code', 'dropdown'], function(){ // 高亮主题 css 库 var themeData = $.map([ // hljs 主题库 - 'https://cdn.staticfile.net/highlight.js/11.8.0/styles/vs2015.min.css', - 'https://cdn.staticfile.net/highlight.js/11.8.0/styles/vs.min.css', - 'https://cdn.staticfile.net/highlight.js/11.8.0/styles/github-dark.min.css', - 'https://cdn.staticfile.net/highlight.js/11.8.0/styles/github.min.css', - 'https://cdn.staticfile.net/highlight.js/11.8.0/styles/base16/google-dark.min.css', - 'https://cdn.staticfile.net/highlight.js/11.8.0/styles/base16/google-light.min.css', - 'https://cdn.staticfile.net/highlight.js/11.8.0/styles/monokai-sublime.min.css', + 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/vs2015.min.css', + 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/vs.min.css', + 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/github-dark.min.css', + 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/github.min.css', + 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/base16/google-dark.min.css', + 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/base16/google-light.min.css', + 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/monokai-sublime.min.css', '-', // prism 主题库 - 'https://cdn.staticfile.net/prism/1.29.0/themes/prism-dark.min.css', - 'https://cdn.staticfile.net/prism/1.29.0/themes/prism.min.css' + 'https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism-dark.min.css', + 'https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism.min.css' ], function(v, index) { return { title: v, diff --git a/examples/form.html b/examples/form.html index 31270ea3..ce12b05d 100644 --- a/examples/form.html +++ b/examples/form.html @@ -370,7 +370,7 @@


- + - + + + - - + - + +