mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-11-30 02:49:03 +08:00
编辑器组件CDN跨域处理
This commit is contained in:
parent
d9e2d8ddbe
commit
f65956ed88
@ -22,7 +22,7 @@
|
||||
<script type='text/javascript' src="{{$public_host}}static/common/lib/echarts/macarons.js?v={{:MyC('home_static_cache_version')}}"></script>
|
||||
|
||||
<!-- ueditor 编辑器 -->
|
||||
<script type='text/javascript' src="{{$public_host}}static/common/lib/ueditor/ueditor.config.js?v={{:MyC('home_static_cache_version')}}"></script>
|
||||
<script type='text/javascript' src="{{$my_public_url}}static/common/lib/ueditor/ueditor.config.js?v={{:MyC('home_static_cache_version')}}"></script>
|
||||
<script type='text/javascript' src="{{$public_host}}static/common/lib/ueditor/ueditor.all.js?v={{:MyC('home_static_cache_version')}}"></script>
|
||||
<script type='text/javascript' src="{{$public_host}}static/common/lib/ueditor/lang/zh-cn/zh-cn.js?v={{:MyC('home_static_cache_version')}}"></script>
|
||||
|
||||
|
@ -54,6 +54,7 @@
|
||||
<script type="text/javascript">
|
||||
var __root__ = '{{$public_host}}';
|
||||
var __my_url__ = '{{$my_url}}';
|
||||
var __my_public_url__ = '{{$my_public_url}}';
|
||||
var __public__ = '{{$public_host}}';
|
||||
var __attachment_host__ = '{{$attachment_host}}';
|
||||
var __currency_symbol__ = '{{$currency_symbol}}';
|
||||
|
@ -13,7 +13,7 @@
|
||||
<button type="button" class="am-close">×</button>
|
||||
<p>1. 默认使用的文件缓存、使用Redis缓存PHP需要先安装Redis扩展</p>
|
||||
<p>2. 请确保Redis服务稳定性(Session使用缓存后、服务不稳定可能导致后台也无法登录)</p>
|
||||
<p>3. 如遇到Redis服务异常无法登录管理后台、可进入数据库[ <strong class="am-text-danger">{{:config('database.prefix')}}config</strong> ]表修改配置、然后删除[ <strong class="am-text-danger">config</strong> ]目录下[ <strong class="am-text-danger">session.php,cache.php</strong> ]文件</p>
|
||||
<p>3. 如遇到Redis服务异常无法登录管理后台、修改配置文件[ <strong class="am-text-danger">config</strong> ]目录下[ <strong class="am-text-danger">session.php,cache.php</strong> ]文件</p>
|
||||
</div>
|
||||
|
||||
<!-- Session缓存配置 -->
|
||||
|
@ -50,7 +50,7 @@
|
||||
<script type='text/javascript' src="{{$public_host}}static/common/lib/dragsort/jquery.dragsort-0.5.2.min.js?v={{:MyC('home_static_cache_version')}}"></script>
|
||||
|
||||
<!-- ueditor 编辑器 -->
|
||||
<script type='text/javascript' src="{{$public_host}}static/common/lib/ueditor/ueditor.config.js?v={{:MyC('home_static_cache_version')}}"></script>
|
||||
<script type='text/javascript' src="{{$my_public_url}}static/common/lib/ueditor/ueditor.config.js?v={{:MyC('home_static_cache_version')}}"></script>
|
||||
<script type='text/javascript' src="{{$public_host}}static/common/lib/ueditor/ueditor.all.js?v={{:MyC('home_static_cache_version')}}"></script>
|
||||
<script type='text/javascript' src="{{$public_host}}static/common/lib/ueditor/lang/zh-cn/zh-cn.js?v={{:MyC('home_static_cache_version')}}"></script>
|
||||
|
||||
|
@ -58,6 +58,7 @@
|
||||
<script type="text/javascript">
|
||||
var __root__ = '{{$public_host}}';
|
||||
var __my_url__ = '{{$my_url}}';
|
||||
var __my_public_url__ = '{{$my_public_url}}';
|
||||
var __public__ = '{{$public_host}}';
|
||||
var __default_theme__ = '{{$default_theme}}';
|
||||
var __modal_login_url__ = '{{:Url("index/user/modallogininfo")}}';
|
||||
|
@ -140,7 +140,6 @@
|
||||
dialog.onok = function (){
|
||||
var center = map.getCenter();
|
||||
var zoom = map.getZoom();
|
||||
console.log(zoom)
|
||||
var size = map.getSize();
|
||||
var mapWidth = size.width;
|
||||
var mapHeight = size.height;
|
||||
|
@ -14,7 +14,7 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak={{common_baidu_map_ak}}"></script>
|
||||
<script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=XSdiGjfg3wOHiKjpYEMG6CYA"></script>
|
||||
</head>
|
||||
|
||||
<body onload="initMap();">
|
||||
|
Loading…
Reference in New Issue
Block a user