Skip to content

Commit

Permalink
修改文档
Browse files Browse the repository at this point in the history
  • Loading branch information
kala888 committed Nov 20, 2023
1 parent 099543c commit 794e30c
Show file tree
Hide file tree
Showing 7 changed files with 56 additions and 60 deletions.
48 changes: 24 additions & 24 deletions docs/tixwork-taro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,59 +65,59 @@ $yarn dev:weapp
#### 我需要一个后端服务,最好搭配一个中台
- 这里强力安利一款牛逼的低码平台,通过使用自动代码生成技术,告别996。
[Tixwork-generator](https://github.com/kala888/tixwork-generator),可以与nice-router完美配合
[Tixwork-generator](https://github.com/kala888/tixwork-generator),可以与tixwork完美配合
### 开发手册
[新增简单页面](/tixwork-taro/docs/hello-daas-page.md)
[新增简单页面](/docs/tixwork-taro/hello-daas-page.md)
[让页面与后端进行数据交互](/tixwork-taro/docs/fetch-data-for-first-page.md)
[让页面与后端进行数据交互](/docs/tixwork-taro/fetch-data-for-first-page.md)
[来几个概念和约定](/tixwork-taro/docs/concept.md)
[来几个概念和约定](/docs/tixwork-taro/concept.md)
[简单使用listof组件](/tixwork-taro/docs/use-listof.md)
[简单使用listof组件](/docs/tixwork-taro/use-listof.md)
[如何创建新的line-item](/tixwork-taro/docs/how-to-create-new-line-item.md)
[如何创建新的line-item](/docs/tixwork-taro/how-to-create-new-line-item.md)
[图片上传](/tixwork-taro/docs/file-upload-service.md)
[图片上传](/docs/tixwork-taro/file-upload-service.md)
[提交一个Form](/tixwork-taro/docs/submit-form.md)
[提交一个Form](/docs/tixwork-taro/submit-form.md)
[Step-Form]
[ServerImage](/tixwork-taro/docs/server-image.md)
[ServerImage](/docs/tixwork-taro/server-image.md)
[使用后端驱动Toast消息](/tixwork-taro/docs/taost-from-backend.md)
[使用后端驱动Toast消息](/docs/tixwork-taro/taost-from-backend.md)
[使用后端驱动的Popup消息](/tixwork-taro/docs/popup-from-backend.md)
[使用后端驱动的Popup消息](/docs/tixwork-taro/popup-from-backend.md)
[使用后端驱动的登录跳转](/tixwork-taro/docs/listof-page.md)
[使用后端驱动的登录跳转](/docs/tixwork-taro/listof-page.md)
[NavigationService](/tixwork-taro/docs/navigation-service.md)
[NavigationService](/docs/tixwork-taro/navigation-service.md)
[view-mapping](/tixwork-taro/docs/view-mapping.md)
[view-mapping](/docs/tixwork-taro/view-mapping.md)
[nice-router.model](/tixwork-taro/docs/nice-router.model.md)
[nice-router.model](/docs/tixwork-taro/nice-router.model.md)
### 几个内置页面
[混搭H5页面](/tixwork-taro/docs/h5-page.md)
[混搭H5页面](/docs/tixwork-taro/h5-page.md)
[断网重试network-exception-page](/tixwork-taro/docs/network-exception-page.md)
[断网重试network-exception-page](/docs/tixwork-taro/network-exception-page.md)
[使用HomePage](/tixwork-taro/docs/home-page.md)
[使用HomePage](/docs/tixwork-taro/home-page.md)
[使用LoginPage](/tixwork-taro/docs/login-page.md)
[使用LoginPage](/docs/tixwork-taro/login-page.md)
[使用Listofpage](/tixwork-taro/docs/listof-page.md)
[使用Listofpage](/docs/tixwork-taro/listof-page.md)
[使用GenericPage](/tixwork-taro/docs/generic-page.md)
[使用GenericPage](/docs/tixwork-taro/generic-page.md)
[内置的Genericpage UI Element](/tixwork-taro/docs/generic-page-ele.md)
[内置的Genericpage UI Element](/docs/tixwork-taro/generic-page-ele.md)
[内置的Listof item](/tixwork-taro/docs/listof-item.md)
[内置的Listof item](/docs/tixwork-taro/listof-item.md)
##### ......
##### 100. [Tips](/tixwork-taro/docs/tips.md)
##### 100. [Tips](/docs/tixwork-taro/tips.md)
8 changes: 4 additions & 4 deletions docs/tixwork-taro/concept.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ tixwork-taro 目标是统一多端的开发体验,具体就是说无论前端

tixwork-taro 提供基础的,请求,路由,数据处理,异常处理等功能,同时额外支持listof和genericpage。

- [nice-router.model](/tixwork-taro/docs/navigation-service.md)
- [nice-router.model](/docs/tixwork-taro/navigation-service.md)

基于dva的核心路由组件。封装了https请求前后的一些常见行为方法。

- [NavigationService](/tixwork-taro/docs/navigation-service.md) 
- [NavigationService](/docs/tixwork-taro/navigation-service.md) 

工具类。通过基础配置后,随时随地无脑享用页面跳转和请求服务端数据。

- [Listofpage](/tixwork-taro/docs/navigation-service.md)
- [Listofpage](/docs/tixwork-taro/navigation-service.md)

一个通用的list页面,可以用来展示各种list。

- [GenericPage](/tixwork-taro/docs/navigation-service.md)
- [GenericPage](/docs/tixwork-taro/navigation-service.md)

一个基于数据驱动的动态页面,根据服务端返回的数据,来render不同的页面

Expand Down
4 changes: 2 additions & 2 deletions docs/tixwork-taro/fetch-data-for-first-page.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@

页面会先展示

![1](/tixwork-taro/docs/assets/first-page-onload.jpg)
![1](/docs/tixwork-taro/assets/first-page-onload.jpg)

代码获取数据后

![2](/tixwork-taro/docs/assets/first-page-after-load.jpg)
![2](/docs/tixwork-taro/assets/first-page-after-load.jpg)

点击"go to Me Page" 按钮,页面会跳转到Me页面

Expand Down
28 changes: 14 additions & 14 deletions docs/tixwork-taro/generic-page-ele.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type=text
<EleText text="hello daas" customStyle={{ color: 'red' }} />
```

![](/tixwork-taro/docs/assets/ele-text.jpg)
![](/docs/tixwork-taro/assets/ele-text.jpg)

###### 图片 EleImage

Expand All @@ -48,7 +48,7 @@ type=image
/>
```

![](/tixwork-taro/docs/assets/ele-image.jpg)
![](/docs/tixwork-taro/assets/ele-image.jpg)

###### 按钮 EleButton

Expand Down Expand Up @@ -98,7 +98,7 @@ type=button
</EleButton>
```

![](/tixwork-taro/docs/assets/ele-button2.jpg)
![](/docs/tixwork-taro/assets/ele-button2.jpg)

###### 跑马灯 EleCarousel

Expand Down Expand Up @@ -126,7 +126,7 @@ Items中支持视频和图片
| autoplay | 视频是否自动播放 |
| id | 必须的 |

![](/tixwork-taro/docs/assets/ele-carousel.gif)
![](/docs/tixwork-taro/assets/ele-carousel.gif)

###### EleMessageSwiper

Expand All @@ -150,7 +150,7 @@ Items中支持视频和图片
/>
```

![](/tixwork-taro/docs/assets/message.gif)
![](/docs/tixwork-taro/assets/message.gif)

###### EleBreakLine

Expand All @@ -174,7 +174,7 @@ type=break-line
<EleBreakLine />
```

![](/tixwork-taro/docs/assets/ele-breakline.jpg)
![](/docs/tixwork-taro/assets/ele-breakline.jpg)

###### EleWhiteSpace

Expand All @@ -191,7 +191,7 @@ type=white-space
<EleWhiteSpace color='green' />
```

![](/tixwork-taro/docs/assets/white-space.jpg)
![](/docs/tixwork-taro/assets/white-space.jpg)

###### EleNavigationBox

Expand Down Expand Up @@ -221,7 +221,7 @@ type=fab
<EleFab icon='clock' />
```

![](/tixwork-taro/docs/assets/fab.jpg)
![](/docs/tixwork-taro/assets/fab.jpg)

###### EleStoreLocation

Expand Down Expand Up @@ -249,7 +249,7 @@ type=store-location
/>
```

![](/tixwork-taro/docs/assets/store-location.jpg)
![](/docs/tixwork-taro/assets/store-location.jpg)

###### ElePopup

Expand All @@ -275,7 +275,7 @@ const popup = {
}
```

![](/tixwork-taro/docs/assets/popup2.png)
![](/docs/tixwork-taro/assets/popup2.png)

###### EleFooterTabs

Expand Down Expand Up @@ -318,7 +318,7 @@ const footer = {
}
```

![](/tixwork-taro/docs/assets/footer.png)
![](/docs/tixwork-taro/assets/footer.png)

###### EleQrcode

Expand All @@ -345,7 +345,7 @@ type=qrcode
/>
```

![](/tixwork-taro/docs/assets/qrcode.png)
![](/docs/tixwork-taro/assets/qrcode.png)

###### EleMoreActions

Expand Down Expand Up @@ -394,7 +394,7 @@ type=more-actions
/>
```

![](/tixwork-taro/docs/assets/action-sheet.png)
![](/docs/tixwork-taro/assets/action-sheet.png)

###### EleListof

Expand Down Expand Up @@ -428,7 +428,7 @@ type=listof
)
```

![](/tixwork-taro/docs/assets/listof.png)
![](/docs/tixwork-taro/assets/listof.png)

###### EleCheckbox

Expand Down
2 changes: 1 addition & 1 deletion docs/tixwork-taro/generic-page.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tixwork-taro 会路由到GenericPage页面渲染数据。

又来一个栗子(数据:mock-genericpage.data.js)

![](/tixwork-taro/docs/assets/generic-page.gif)
![](/docs/tixwork-taro/assets/generic-page.gif)

结合Daas系统生成的前端,可以由运营同学拖拽完成。(**拖拽部分正在研发,有兴趣的同学要添砖加瓦**

Expand Down
18 changes: 9 additions & 9 deletions docs/tixwork-taro/listof-item.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ listof 列表中哪些一个一个的小组件

#### 测试页面和数据

![](/tixwork-taro/docs/assets/listof-item_big-card.png)
![](/tixwork-taro/docs/assets/listof-item_h-card.png)
![](/tixwork-taro/docs/assets/listof-item_v-card.png)
![](/tixwork-taro/docs/assets/listof-card_user.png)
![](/tixwork-taro/docs/assets/listof-item_card-1.png)
![](/tixwork-taro/docs/assets/listof-item_card-2.png)
![](/tixwork-taro/docs/assets/listof-item_card-3.png)
![](/tixwork-taro/docs/assets/listof-item_product.png)
![](/tixwork-taro/docs/assets/listof-item_auto.png)
![](/docs/tixwork-taro/assets/listof-item_big-card.png)
![](/docs/tixwork-taro/assets/listof-item_h-card.png)
![](/docs/tixwork-taro/assets/listof-item_v-card.png)
![](/docs/tixwork-taro/assets/listof-card_user.png)
![](/docs/tixwork-taro/assets/listof-item_card-1.png)
![](/docs/tixwork-taro/assets/listof-item_card-2.png)
![](/docs/tixwork-taro/assets/listof-item_card-3.png)
![](/docs/tixwork-taro/assets/listof-item_product.png)
![](/docs/tixwork-taro/assets/listof-item_auto.png)

各种displayMode

Expand Down
8 changes: 2 additions & 6 deletions tixwork-taro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ tixwork-taro 是一个前端低代码框架(低码),可以使用JSON数据驱
- 目前来说Taro可能是综合评分最高的第三方小程序开发框架(相比wepy和mpvue)


[开始安装看效果](/docs/README.md)
[开始文档](/docs/tixwork-taro/README.md)



Expand All @@ -40,11 +40,7 @@ tixwork-taro 是一个前端低代码框架(低码),可以使用JSON数据驱

### tixwork-taro 已经组件共享提供了基础的支持。希望各位兄弟贡献各种常用的组件,尤其是那些促销组件。让体力活变为OOTB。

tixwork-taro 包含两部分:


[tixwork-taro 开发文档](https://github.com/kala888/nice-router-taro/tree/master/tixwork-taro/docs/README.md)

###### 感谢Jetbrains提供IDE支持

[![](https://github.com/kala888/tixwork-taro/blob/master/docs/assets/jetbrains.svg)](https://www.jetbrains.com)
[![](https://github.com/kala888/nice-router-taro/blob/master/docs/tixwork-taro/assets/jetbrains.svg)](https://www.jetbrains.com)

0 comments on commit 794e30c

Please sign in to comment.