加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.html 2.30 KB
一键复制 编辑 原始数据 按行查看 历史
echoyl 提交于 2021-11-08 11:34 . cascader 联级选择器
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" href="./layui/css/layui.css?v=20210906-01" media="all">
<script>
/^http(s*):\/\//.test(location.href) || alert('请先部署到 localhost 下再访问');
</script>
</head>
<body class="layui-layout-body">
<div id="LAY_app"></div>
<script src="./layui/layui.js?v=20210906-01"></script>
<script src="./dist/js/modules/require.js"></script>
<script>
var _env = 'dev';
var verson_str = '0.2.0';
if(_env == 'dev')
{
verson_str = (new Date()).getTime();
}
require.config({
baseUrl: "./dist/js/modules/requirejs",
//urlArgs: "bust=" + verson_str,
map: {
'*': {
'css': 'css.min'
}
},
paths:{
virtual:'virtual',
sortablejs:'Sortable.min',
vuedraggable:'vuedraggable.umd.min',
axios:'axios.min',
vue:'vue.min',
nprogress:'nprogress/nprogress',
ELEMENT:'element',
Quill:'quill/quill',
highlight:'highlight/highlight',
quill_image_resize:'quill/image-resize.min',
clipboard:'clipboard',
echarts:'echarts/echarts.min',
g2plot:'g2plot/g2plot.min',
metisMenu:'metisMenu/metisMenu',
jquery:'jquery-3.6.0.min',
aliyunUpload:'aliyun-upload-sdk/aliyun-upload-sdk-1.5.2.min',
aliyunOss:'aliyun-upload-sdk/lib/aliyun-oss-sdk-6.13.0.min',
promise:'aliyun-upload-sdk/lib/es6-promise.min',
underscore:'underscore.min'
},
shim:{
nprogress:['css!./nprogress.css'],
ELEMENT:['css!https://unpkg.com/element-ui/lib/theme-chalk/index.css'],
Quill:['css!quill/quill.snow','css!quill/customer','highlight'],
metisMenu:['css!./metisMenu.css','jquery'],
highlight:{
deps:['css!./highlight.css'],
exports:'hljs',
init()
{
this.hljs.configure({languages: ['javascript', 'ruby', 'python']});
}
},
aliyunUpload:{
deps:['promise'],
exports:'AliyunUpload'
}
}
});
require(['nprogress','vue'],function(nprogress,vue)
{
//系统默认预加载nprogress vue
window.nprogress = nprogress;
window.Vue = vue;
layui.config({
base: './dist/',
version: verson_str,
debug:true
}).use('main');
});
</script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化