Skip to content

Commit

Permalink
扫码点餐,增加菜品状态:待确认、已下厨、已上菜
Browse files Browse the repository at this point in the history
  • Loading branch information
woniudiancang committed Oct 9, 2020
1 parent 5d62f6c commit 15ed72b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ QQ群:926321567
| :------: | :------: | :------: | :------: |
| <img src="https://dcdn.it120.cc/2020/10/08/f7d15bc6-c366-4688-92f4-62183d87c898.png" width="200px"> | <img src="https://dcdn.it120.cc/2020/10/08/31c7fd0c-4cbe-4702-b318-02eccbc1d41f.png" width="190px"> | <img src="https://dcdn.it120.cc/2020/10/08/2ebad9a2-39d1-4c3b-8f9d-a64628e1dd86.png" width="190px"> | <img src="https://dcdn.it120.cc/2020/10/08/f935fb79-7565-41ee-a2b4-5c9a50348479.png" width="190px">

| 待确认 | 共享购物车 | 查看已点 |
| :------: | :------: | :------: |
| <img src="https://dcdn.it120.cc/2020/10/09/21a75f2c-75c2-495b-bdbf-505e75b516ce.png" width="200px"> | <img src="https://dcdn.it120.cc/2020/10/09/b1277a38-044b-433d-92b3-8ecf8f433769.png" width="190px"> | <img src="https://dcdn.it120.cc/2020/10/09/3fb83702-8093-4530-ac28-95ba912a7cff.png" width="190px">

# QQ交流群

群号:926321567
Expand Down
3 changes: 2 additions & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@
"van-calendar": "@vant/weapp/calendar/index",
"van-notice-bar": "@vant/weapp/notice-bar/index",
"van-tabbar": "@vant/weapp/tabbar/index",
"van-tabbar-item": "@vant/weapp/tabbar-item/index"
"van-tabbar-item": "@vant/weapp/tabbar-item/index",
"van-tag": "@vant/weapp/tag/index"
},
"sitemapLocation": "sitemap.json"
}
4 changes: 2 additions & 2 deletions config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
version: "3.0.0",
note: '增加堂食扫码点餐模式,一桌一码,支持多人同时点餐、加菜',
version: "3.1.0",
note: '扫码点餐,增加菜品状态:待确认、已下厨、已上菜',
subDomain: "beeorder", // 根据教程 https://www.it120.cc/help/qr6l4m.html 查看并设置你自己的 subDomain
}
8 changes: 7 additions & 1 deletion pages/cart/order.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@
thumb="{{ item.pic }}"
num="{{ item.number }}"
centered
/>
>
<view slot="footer">
<van-tag wx:if="{{ item.cyTableStatus == 0 }}" mark type="warning">待确认</van-tag>
<van-tag wx:if="{{ item.cyTableStatus == 1 }}" mark type="success">已下厨</van-tag>
<van-tag wx:if="{{ item.cyTableStatus == 2 }}" mark plain type="success">已上菜</van-tag>
</view>
</van-card>
</van-cell-group>
<van-cell-group>
<van-cell title="菜品数量" value="{{ orderInfo.goodsNumber }}" />
Expand Down

0 comments on commit 15ed72b

Please sign in to comment.