本项目已在 Github 开源(ele-drag)。
预览地址:https://oyps.github.io/ele-drag/
<script src="script.js">
导入库文件(CDN 地址)增加拖拽功能,.move
是需要拖拽的元素
const ele = document.querySelector('.move')
new EleDrag(ele, window, true)
一如既往的 Bootstrap 简约风,主要使用到卡片、阴影、边距、表单等。
/usr/themes
目录/admin/themes.php
,启用 Typecho Apee Theme 即可