2021-08-25 14:39:54 +08:00
|
|
|
|
# AS-Editor
|
|
|
|
|
|
2022-01-20 10:42:37 +08:00
|
|
|
|
## 介绍
|
2021-08-25 14:39:54 +08:00
|
|
|
|
|
2023-08-03 16:51:39 +08:00
|
|
|
|
基于 vue2.x 可视化拖拽编辑,页面生成工具。提升前端开发效率,可集成至移动端项目作为通过定义 JSON 直接生成 UI 界面。
|
2021-08-25 14:39:54 +08:00
|
|
|
|
|
2024-05-14 15:30:01 +08:00
|
|
|
|
文档地址:[http://qiniu-program.juroom.cn](http://qiniu-program.juroom.cn)
|
2021-11-25 16:50:26 +08:00
|
|
|
|
|
2024-05-14 15:30:01 +08:00
|
|
|
|
在线体验:[http://qiniu-plat.juroom.cn](http://qiniu-plat.juroom.cn)
|
2021-11-25 16:50:26 +08:00
|
|
|
|
|
2022-01-20 10:42:37 +08:00
|
|
|
|
### 安装教程
|
2021-08-25 14:39:54 +08:00
|
|
|
|
|
2022-01-20 10:42:37 +08:00
|
|
|
|
1. npm install (安装 node_modules 模块)
|
|
|
|
|
2. npm run serve (运行)
|
|
|
|
|
3. npm run build (打包)
|
|
|
|
|
4. npm update (用于更新包到基于规范范围的最新版本)
|
2021-08-25 14:39:54 +08:00
|
|
|
|
|
2022-10-12 16:31:39 +08:00
|
|
|
|
> 注:在新版本的npm中,默认情况下,npm install遇到冲突的peerDependencies时将失败。
|
|
|
|
|
> 可使用:npm install --legacy-peer-deps
|
|
|
|
|
|
2021-08-25 14:39:54 +08:00
|
|
|
|
#### 使用说明
|
|
|
|
|
|
2021-10-27 11:30:08 +08:00
|
|
|
|
##### 使用教程
|
2021-10-28 19:31:19 +08:00
|
|
|
|
|
2024-05-14 15:30:01 +08:00
|
|
|
|
![步骤1](http://qiniu-program.juroom.cn/assets/img/README1.632216e1.png 'image1.png')
|
|
|
|
|
![步骤2](http://qiniu-program.juroom.cn/assets/img/README2.7459c50e.png 'image2.png')
|
|
|
|
|
![步骤3](http://qiniu-program.juroom.cn/assets/img/README3.157d3f15.png 'image3.png')
|
|
|
|
|
![步骤4](http://qiniu-program.juroom.cn/assets/img/README4.aa04245c.png 'image4.png')
|
|
|
|
|
![步骤5](http://qiniu-program.juroom.cn/assets/img/README5.afb38460.png 'image5.png')
|
|
|
|
|
![步骤6](http://qiniu-program.juroom.cn/assets/img/README6.a77d96b6.png 'image6.png')
|
2021-10-27 11:30:08 +08:00
|
|
|
|
|
2022-01-20 10:42:37 +08:00
|
|
|
|
##### 自定义组件可以看
|
2021-09-28 18:28:46 +08:00
|
|
|
|
|
2022-01-20 10:42:37 +08:00
|
|
|
|
```text
|
2021-10-28 20:55:58 +08:00
|
|
|
|
src / layout / home / index.vue // 编辑页面文件
|
|
|
|
|
src / components / sliderassembly / index.vue // 左侧组件大全文件
|
|
|
|
|
src / components / componentscom // 左侧组件目录
|
|
|
|
|
src / components / rightslider // 右侧组件目录
|
|
|
|
|
src / utils / componentProperties.js // 组件数据
|
2021-09-28 18:30:51 +08:00
|
|
|
|
```
|
2021-08-25 14:39:54 +08:00
|
|
|
|
|
|
|
|
|
#### componentProperties(组件数据)字段注解
|
|
|
|
|
|
2021-09-26 09:56:24 +08:00
|
|
|
|
```js
|
2021-08-25 14:39:54 +08:00
|
|
|
|
{
|
2021-10-28 20:55:58 +08:00
|
|
|
|
component: 'custommodule', // 中间部分手机组件的name
|
2021-11-09 16:36:12 +08:00
|
|
|
|
text: '自定义模块', // 组件文字描述
|
2021-10-27 11:35:26 +08:00
|
|
|
|
type: '1-14', // data-tpye
|
|
|
|
|
active: true, // 是否选中
|
2021-10-28 20:55:58 +08:00
|
|
|
|
style: 'custommodulestyle', // 右边组件设置的name
|
2021-10-27 11:35:26 +08:00
|
|
|
|
setStyle: {} // 组件动态数据
|
2021-08-25 14:39:54 +08:00
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
2022-02-24 15:52:11 +08:00
|
|
|
|
#### 官方生态
|
2021-10-28 00:47:24 +08:00
|
|
|
|
|
2022-02-24 15:52:11 +08:00
|
|
|
|
| 项目 | 描述 |
|
|
|
|
|
| --- | --- |
|
2022-03-02 11:44:46 +08:00
|
|
|
|
| [AS-Editor <br/> Vue2版](https://gitee.com/was666/as-editor) | 基于 Vue2 的 AS-Editor |
|
|
|
|
|
| [AS-Editor <br/> Vue3版](https://gitee.com/was666/as-editor/tree/vue3.x/) | 基于 Vue3 的 AS-Editor |
|
2022-07-01 13:38:17 +08:00
|
|
|
|
| [AS-Editor-H5](https://gitee.com/was666/as-editor-h5) | AS-Editor-H5 是移动端 Vue 模版,可以通过定义的 JSON 生成 Vue 页面 |
|
2021-10-28 00:47:24 +08:00
|
|
|
|
|
2022-02-17 10:13:29 +08:00
|
|
|
|
#### 感谢捐赠
|
|
|
|
|
|
2024-04-10 15:43:12 +08:00
|
|
|
|
| [有育哥](https://gitee.com/cfxp) | [邓跃辉](https://gitee.com/york8888_admin) |[hackchen](https://gitee.com/hackchen) | [狼牙](https://gitee.com/fdfgasdvdxz) | [许中杰](https://gitee.com/xu-zhongjie) |[RainbowParadise](https://gitee.com/mars728) |[神秘的凯](https://gitee.com/shenmidekai) |
|
2024-05-14 15:30:01 +08:00
|
|
|
|
|---|---|---|---|---|---|---|
|
2022-02-17 10:13:29 +08:00
|
|
|
|
|
2021-08-25 14:39:54 +08:00
|
|
|
|
#### 参与贡献
|
|
|
|
|
|
2022-01-20 10:42:37 +08:00
|
|
|
|
1. Fork 本仓库
|
|
|
|
|
2. 新建 Feat_xxx 分支
|
|
|
|
|
3. 提交代码
|
|
|
|
|
4. 新建 Pull Request
|
2021-10-28 13:40:58 +08:00
|
|
|
|
|
|
|
|
|
#### 结尾
|
|
|
|
|
|
2022-01-20 10:42:37 +08:00
|
|
|
|
##### 如果喜欢的话给个 star 一下哈
|
2021-10-28 13:40:58 +08:00
|
|
|
|
|
2022-01-20 10:42:37 +08:00
|
|
|
|
##### 如果有意见和问题 可以在 lssues 提出,我会在线解答
|