mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
移动插件
This commit is contained in:
parent
17deae634e
commit
f84b2e7f2c
@ -23,11 +23,22 @@
|
|||||||
<h3 class="layui-timeline-title">
|
<h3 class="layui-timeline-title">
|
||||||
版本号 {$version} <span class="margin-left-10 font-s13 color-desc">{$change.version|default=''}</span>
|
版本号 {$version} <span class="margin-left-10 font-s13 color-desc">{$change.version|default=''}</span>
|
||||||
</h3>
|
</h3>
|
||||||
{$change.content|default=''|raw}
|
<div data-marked>
|
||||||
|
{$change.content|default=''|raw}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
<li class="layui-timeline-item"></li>
|
<li class="layui-timeline-item"></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
require(['marked'], function (marked) {
|
||||||
|
$('[data-marked]').map(function () {
|
||||||
|
if (this.marked) return; else this.marked = true;
|
||||||
|
this.innerHTML = marked.parse(this.innerHTML);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
</form>
|
</form>
|
@ -54,12 +54,13 @@ require.config({
|
|||||||
map: {'*': {css: baseRoot + 'plugs/require/css.js'}},
|
map: {'*': {css: baseRoot + 'plugs/require/css.js'}},
|
||||||
paths: {
|
paths: {
|
||||||
'vue': ['plugs/vue/vue.min'],
|
'vue': ['plugs/vue/vue.min'],
|
||||||
'md5': ['plugs/jquery/md5.min'],
|
'md5': ['plugs/script/md5.min'],
|
||||||
'json': ['plugs/jquery/json.min'],
|
'json': ['plugs/script/json.min'],
|
||||||
'xlsx': ['plugs/jquery/xlsx.min'],
|
'xlsx': ['plugs/script/xlsx.min'],
|
||||||
'jszip': ['plugs/jquery/jszip.min'],
|
'jszip': ['plugs/script/jszip.min'],
|
||||||
'excel': ['plugs/jquery/excel.xlsx'],
|
'excel': ['plugs/jquery/excel.xlsx'],
|
||||||
'base64': ['plugs/jquery/base64.min'],
|
'marked': ['plugs/script/marked.min'],
|
||||||
|
'base64': ['plugs/script/base64.min'],
|
||||||
'upload': [tapiRoot + '/api.upload/index?'],
|
'upload': [tapiRoot + '/api.upload/index?'],
|
||||||
'notify': ['plugs/notify/notify.min'],
|
'notify': ['plugs/notify/notify.min'],
|
||||||
'angular': ['plugs/angular/angular.min'],
|
'angular': ['plugs/angular/angular.min'],
|
||||||
@ -67,10 +68,10 @@ require.config({
|
|||||||
'echarts': ['plugs/echarts/echarts.min'],
|
'echarts': ['plugs/echarts/echarts.min'],
|
||||||
'ckeditor4': ['plugs/ckeditor4/ckeditor'],
|
'ckeditor4': ['plugs/ckeditor4/ckeditor'],
|
||||||
'ckeditor5': ['plugs/ckeditor5/ckeditor'],
|
'ckeditor5': ['plugs/ckeditor5/ckeditor'],
|
||||||
'filesaver': ['plugs/jquery/filesaver.min'],
|
'filesaver': ['plugs/script/filesaver.min'],
|
||||||
'websocket': ['plugs/socket/websocket'],
|
'websocket': ['plugs/socket/websocket'],
|
||||||
'pcasunzips': ['plugs/jquery/pcasunzips'],
|
'pcasunzips': ['plugs/script/pcasunzips'],
|
||||||
'compressor': ['plugs/jquery/compressor.min'],
|
'compressor': ['plugs/script/compressor.min'],
|
||||||
'sortablejs': ['plugs/sortable/sortable.min'],
|
'sortablejs': ['plugs/sortable/sortable.min'],
|
||||||
'vue.sortable': ['plugs/sortable/vue.draggable.min'],
|
'vue.sortable': ['plugs/sortable/vue.draggable.min'],
|
||||||
'jquery.ztree': ['plugs/ztree/ztree.all.min'],
|
'jquery.ztree': ['plugs/ztree/ztree.all.min'],
|
||||||
|
6
public/static/plugs/script/marked.min.js
vendored
Normal file
6
public/static/plugs/script/marked.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user