Skip to content

Commit

Permalink
docs: 更新1.1版本md
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyuan389 committed Feb 12, 2022
1 parent 38b4861 commit 2b1080f
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 25 deletions.
75 changes: 50 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,61 @@
* @Autor: WangYuan
* @Date: 2021-12-20 14:20:57
* @LastEditors: WangYuan
* @LastEditTime: 2022-02-11 12:56:44
* @LastEditTime: 2022-02-12 17:24:38
-->
<!-- [English](./README.md) | 简体中文 -->

<h2 align="center">Mall-Cook - 商城可视化搭建平台</h2>
<img src="./packages/mall-cook-platform/src/assets/image/logo.jpeg" alt style="display: block; margin: 0 auto; width: 300px; ">

> 基于vue开发可视化商城搭建平台
<div style="display: flex;justify-content: center;width:500px;margin: 0 auto;">
<img style='margin:0 5px' src='https://badgen.net/github/stars/wangyuan389/mall-cook'>
<img style='margin:0 5px' src='https://badgen.net/github/forks/wangyuan389/mall-cook'>
<img style='margin:0 5px' src='https://img.shields.io/badge/version-1.1-686480.svg'>
<img style='margin:0 5px' src='https://img.shields.io/badge/code%20style-standard-7986d0.svg'>
</div>

> 我前端基建梦想的一小步
<div style="display: block; text-align: center;margin: 10px 0;">
SASS商城平台,通过可视化搭建商城,支持生成H5、小程序多端商城项目
</div>

<div style="display: block; text-align: center;margin: 10px 0;">
我前端基建梦想的一小步
</div>

## 介绍
Mall-Cook是一个基于vue开发的可视化商城搭建平台,包括多页面可视化构建、Json Schema生成器(可视化搭建物料控制面板),实现组件流水线式标准接入平台。

## 1.1 uni-app版本上线
- 支持构建H5、微信小程序多端商城
- 利用uni-app重构物料库与模板项目
Mall-Cook 是一个基于 vue 开发的可视化商城搭建平台,包括多页面可视化构建、Json Schema 生成器(可视化搭建物料控制面板),实现组件流水线式标准接入平台。最新版本使用 uni-app 重构物料、模板项目,支持生成 H5、小程序多端商城。

## 1.1 uni-app 版本上线

- 支持构建 H5、微信小程序多端商城
- 利用 uni-app 重构物料库与模板项目
- 修改项目为 [ root -> child project ] 结构,支持多个子项目独立存在

## 体验

<p data-tool="mdnice编辑器" style="font-size: 16px; padding-top: 8px; padding-bottom: 8px; margin: 0; line-height: 26px; color: black;">预览地址:<a href="http:https://110.42.184.128:8000/#/login" style="text-decoration: none; color: #1e6bb8; word-wrap: break-word; font-weight: bold; border-bottom: 1px solid #1e6bb8;">传送门</a></p>

<figcaption style="margin-top: 10px;margin-bottom: 10px; text-align: center; color: #888; font-size: 14px;">拖拽构建页面</figcaption>
<img src="https://files.mdnice.com/user/2544/f5f46fc7-38cf-4221-ae81-98274080f832.gif" alt style="display: block; margin: 0 auto; max-width: 100%;">
<figcaption style="margin-top: 10px;margin-bottom: 10px; text-align: center; color: #888; font-size: 14px;">项目可视化搭建</figcaption>
<img src="./static/MallCook-Build.gif" alt style="display: block; margin: 0 auto; max-width: 100%;">

<figcaption style="margin-top: 30px;margin-bottom: 10px; text-align: center; color: #888; font-size: 14px;">Json-Schema生成器</figcaption>
<img src="https://files.mdnice.com/user/2544/4e087cef-f13a-4b35-8bbf-1b8156740ba0.gif" alt style="display: block; margin: 0 auto; max-width: 100%;">
<figcaption style="margin-top: 10px;margin-bottom: 10px; text-align: center; color: #888; font-size: 14px;">页面使用魔方物料</figcaption>
<img src="./static/MallCook-Cube.gif" alt style="display: block; margin: 0 auto; max-width: 100%;">

<figcaption style="margin-top: 10px;margin-bottom: 10px; text-align: center; color: #888; font-size: 14px;">页面使用商品物料</figcaption>
<img src="./static/MallCook-Goods.gif" alt style="display: block; margin: 0 auto; max-width: 100%;">

<figcaption style="margin-top: 10px;margin-bottom: 10px; text-align: center; color: #888; font-size: 14px;">模板商城使用模板</figcaption>
<img src="./static/MallCook-Model.gif" alt style="display: block; margin: 0 auto; max-width: 100%;">

<figcaption style="margin-top: 10px;margin-bottom: 10px; text-align: center; color: #888; font-size: 14px;">JsonSchema生成器可视化构建属性面板</figcaption>
<img src="./static/MallCook-Schema.gif" alt style="display: block; margin: 0 auto; max-width: 100%;">

## 可视化搭建教程
项目从被阮一峰老师推荐到技术周刊,到一天得到200个star深深的激励了我,感谢大佬们的抬爱。

本着授人以鱼不如授人以渔思想,我决定在项目新建shelf分支,正常迭代Mall-Cook情况下,从零重构一套"干净"的可视化架构(很多现成的思路和组件是能复用的,并不是重新写一个),同时会在掘金同步出教程文章详细讲述关键功能点,带大家一览此类平台从零到架构搭建的整个过程,谢谢大家的支持
项目从被阮一峰老师推荐到技术周刊,到一天得到 200 个 star 深深的激励了我,感谢大佬们的抬爱。

本着授人以鱼不如授人以渔思想,我决定在项目新建 shelf 分支,正常迭代 Mall-Cook 情况下,从零重构一套"干净"的可视化架构,同时会在掘金同步出教程文章详细讲述关键功能点,带大家一览此类平台从零到架构搭建的整个过程,谢谢大家的支持

<figcaption style="margin-top: 10px;margin-bottom: 10px; text-align: center; color: #888; font-size: 14px;">Mall-Cook平台架构</figcaption>
<img src="https://p9-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/7bf42b58cd14458c8f9d2e9dd7e1e7c2~tplv-k3u1fbpfcp-watermark.image" alt style="display: block; margin: 0 auto; max-width: 100%;">
Expand All @@ -49,25 +72,25 @@ Mall-Cook是一个基于vue开发的可视化商城搭建平台,包括多页

<p data-tool="mdnice编辑器" style="font-size: 15px; padding-top: 8px; padding-bottom: 8px; margin: 0; line-height: 26px; color: black;"><a href="https://juejin.cn/post/7049149768328544270" style="text-decoration: none; color: #1e6bb8; word-wrap: break-word; font-weight: bold; border-bottom: 1px solid #1e6bb8;">手把手带你开发一个低代码可视化平台(三) 组件物料复合类型属性</a></p>


## 特性

- 项目基于VUE语言开发
- 暂支持生成H5商城,后续提供生成小程序商城
- 项目基于 VUE 语言开发
- 暂支持生成 H5 商城,后续提供生成小程序商城
- 生成商城支持屏幕适配
- 提供物料Json Schema 生成器,根据Json自动生成配置栏
- 提供物料 Json Schema 生成器,根据 Json 自动生成配置栏
- 提供多页面搭建
- 提供模板商城,可直接套用模板构建商城
- 自定义底部tab菜单


- 自定义底部 tab 菜单
- 支持生成 H5、小程序多端商城

## 启动

root 项目选择需运行的子项目

```bash
$ npm run dev # 开发
```

<img src="https://p1-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/30d2081c1dcd42b0ab2d0edc09ffb748~tplv-k3u1fbpfcp-watermark.image" alt style="display: block; width: 32%;">

## 结构
Expand All @@ -76,14 +99,16 @@ $ npm run dev # 开发
├─ packages // 子项目包
│ ├─ mall-cook-platform // 可视化搭建平台项目
│ └─ mall-cook-template // unn-app模板项目
├─ scripts // root脚本
└─ package.json
├─ scripts // root脚本
└─ package.json
```

## to do list

- 持续业务组件开发
- 探索平台接入NPM组件
- 探索平台接入 NPM 组件

## Mall-Cook 交流群

大家可以加群交流低代码/零代码可视化搭建
<img src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/d9dd52f6364940409fb992fa0cfdb243~tplv-k3u1fbpfcp-watermark.image" alt style="display: block; margin: 30px auto; width: 30%;">
<img src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/d9dd52f6364940409fb992fa0cfdb243~tplv-k3u1fbpfcp-watermark.image" alt style="display: block; margin: 30px auto; width: 30%;">
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/MallCook-Build.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/MallCook-Cube.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/MallCook-Goods.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/MallCook-Model.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/MallCook-Schema.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2b1080f

Please sign in to comment.