- 🎓 BJTU School of Software Engineering
- 🔭 Working on ACH, a Minecraft Server Helper for AzurCraft
- 🌱 Learning Rust
heavyplatform's Introduction
heavyplatform's People
heavyplatform's Issues
[component] Order create modal
创建订单组件
难度较难,工作量中等
做成组件而非页面的原因是,组件方便传参,可以实现成一个 Modal(参考 /components/MenuItem/CreateMenuItemModal.tsx
)。
const CreateOrderModal: Component<{show: Accessor<boolean>, cartItems: Accessor<CardItem[]>}> = (props) => {
// ...
}
在这个组件里面同时再做一下支付和支付成功(支付成功才会创建订单)
就整体上是一个弹窗来创建订单,点下一步,内容变成支付,再点立即支付,内容变成支付成功,这个时候添加到订单列表里。
[page] Good category page
详细商品分类页:/pages/Main/Categories
,使用 #2 的卡片展示分类下的商品内容
路由:详细分类页:`/categories/:id
难度中等,工作量少
需要学习一下 https://github.com/solidjs/solid-router?tab=readme-ov-file#dynamic-routes
[page] Me page
我的页面:/pages/Main/Me
路由:/me
难度简单,工作量中等
Roadmap
答辩
答就完了
[page] Cart page
购物车页面:/pages/Main/CartItems
路由:/cartitems
难度简单,工作量中等
[Component] Good Card
[page] Good detail page
商品详情页:/pages/Main/Good
路由:/goods/:id
难度中等,工作量中等
需要学习一下 https://github.com/solidjs/solid-router?tab=readme-ov-file#dynamic-routes
![image-20240603165758177](https://private-user-images.githubusercontent.com/22115534/337520175-f2ff67cf-e7e6-4992-81bb-d548bf4ab0e1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE3MjU4MTcsIm5iZiI6MTcyMTcyNTUxNywicGF0aCI6Ii8yMjExNTUzNC8zMzc1MjAxNzUtZjJmZjY3Y2YtZTdlNi00OTkyLTgxYmItZDU0OGJmNGFiMGUxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIzVDA5MDUxN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk1MjA0NjkwZGMzY2VhMDA1ZjQ2ZjY2MjIxMzNhMzQ1YjBlZmFlNzM4ZDFlNGM3Y2Y4NDI2ZjlmMDk1MzEyZTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Q-X-rH2lqxpF3_aR8fb3oImP4ylAE-HNmmWnKAUKnwA)
[page] Order list page
订单列表页面:/pages/Main/Orders
路由:/orders
难度简单,工作量中等
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.