Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bubucuo/snow-mall
/ functions
Functions
73 in github.com/bubucuo/snow-mall
⨍
Functions
73
◇
Types & classes
56
↓ 6 callers
Function
getProduct
(index)
mock/util.js:4
↓ 2 callers
Function
editCart
(params: QueryItem)
src/services/editCart.ts:9
↓ 2 callers
Function
node
({ id, title, img }: DataItem)
src/pages/home/Recommend/index.tsx:8
↓ 2 callers
Function
s
()
src/static/iconfont/iconfont.js:24
↓ 1 callers
Function
Node
({ img, title, price, tags, id }: ProductType)
src/pages/search/List/index.tsx:72
↓ 1 callers
Function
getDefaultReceivingInfo
()
src/services/confirmBill.ts:3
↓ 1 callers
Function
getList
()
mock/recommend.ts:6
↓ 1 callers
Function
getList
()
mock/cart.ts:5
↓ 1 callers
Function
getNowProduct
({ id }: { id: string })
mock/product.ts:5
↓ 1 callers
Function
getOList
()
mock/olist.ts:4
↓ 1 callers
Function
getProductList
({ pageNo = 0, pageSize = 10, total, }: getProductListProps)
mock/search.ts:13
↓ 1 callers
Function
getProductListBySearch
({ pageNo = 0, pageSize = 10, searchKey = '', total, }: getProductListProps)
mock/search.ts:38
↓ 1 callers
Function
handleSubmit
(value: LoginParams)
src/pages/login/index.tsx:23
↓ 1 callers
Function
logout
()
src/pages/user/index.tsx:19
↓ 1 callers
Function
onOpenChange
()
src/pages/confirmBill/PayBar/index.tsx:14
↓ 1 callers
Function
query
()
src/services/olist.ts:3
↓ 1 callers
Function
query
()
src/services/cart.ts:3
↓ 1 callers
Function
query
(params: QueryItem)
src/services/product.ts:7
↓ 1 callers
Function
query
(params: { pageNo: number; pageSize: number; searchKey?: string; })
src/services/search.ts:3
↓ 1 callers
Function
queryRecommend
()
src/services/home.ts:3
Function
Arc
({ className })
src/components/Arc/index.tsx:9
Function
BasicLayout
src/layouts/BasicLayout.tsx:12
Function
CartAndBuy
({ product, dispatch })
src/pages/product/CartAndBuy/index.tsx:16
Function
Header
({ name, icon })
src/pages/user/Header/index.tsx:35
Function
List
({ data, updateProduct })
src/pages/cart/List/index.tsx:19
Function
List
({ data })
src/pages/olist/List/index.tsx:11
Function
ListNode
({ id, title, img, price, count, })
src/pages/confirmBill/ListNode/index.tsx:7
Function
Login
({ user, location, dispatch })
src/pages/login/index.tsx:16
Function
LoginForm
({ form, handleSubmit })
src/pages/login/LoginForm.tsx:13
Function
Logout
({ logout })
src/pages/user/Logout/index.tsx:10
Function
MyList
()
src/pages/user/MyList/index.tsx:31
Function
Nav
({ icon, title, link }: NavProps)
src/pages/home/NavTable/index.tsx:86
Function
NavMall
()
src/pages/home/NavTable/index.tsx:70
Function
Node
({ id, title, img, price, count, checked, index, updateProduct, }: CartProductType & { updat
src/pages/cart/List/index.tsx:40
Function
Node
({ id, title, img, price, count })
src/pages/olist/List/index.tsx:21
Function
PayBar
({ data, checkedAllChange, goPay })
src/pages/cart/PayBar/index.tsx:15
Function
PayBar
({ totalPrice, count })
src/pages/confirmBill/PayBar/index.tsx:12
Function
PayModal
({ showPay, onOpenChange })
src/components/PayModal/index.tsx:19
Function
ReceivingInfo
({ name, tel, address })
src/pages/confirmBill/ReceivingInfo/index.tsx:11
Function
Recommend
()
src/pages/home/Recommend/index.tsx:17
Function
SeachInput
()
src/pages/home/SearchInput/index.tsx:5
Function
SearchInput
src/pages/search/SearchInput/index.tsx:9
Function
SecurityLayout
({ user, children, location, })
src/layouts/SecurityLayout.tsx:10
Function
Tags
({ tags = [] })
src/components/Tags/index.tsx:10
Function
User
({ dispatch, user })
src/pages/user/index.tsx:12
Function
clearUser
(state, action)
src/models/user.ts:98
Method
componentDidMount
()
src/pages/product/[id].tsx:21
Method
componentDidMount
()
src/pages/search/List/index.tsx:35
Method
componentDidMount
()
src/pages/cart/index.tsx:18
Method
componentDidMount
()
src/pages/confirmBill/index.tsx:26
Method
componentDidMount
()
src/pages/olist/index.tsx:15
Function
errorHandler
(error: { response: Response })
src/utils/request.ts:28
Function
fakeAccountLogin
(params: LoginParams)
src/services/login.ts:8
Function
fakeAccountLogout
()
src/services/user.ts:11
Function
fetchCurrent
(_, { call, put })
src/models/user.ts:64
Function
getCurrentUserInfo
()
mock/user.ts:7
Function
getFakeCaptcha
(req: Request, res: Response)
mock/user.ts:3
Function
getList
()
mock/receivingInfo.ts:4
Function
login
({ payload }, { call, put })
src/models/user.ts:71
Function
logout
(_, { call, put })
src/models/user.ts:86
Function
queryCurrent
()
src/services/user.ts:3
Function
queryDetail
()
src/services/user.ts:7
Function
queryDetail
(_, { call, put })
src/models/user.ts:82
Method
render
()
src/components/BottomNav/index.tsx:33
Method
render
()
src/pages/product/[id].tsx:29
Method
render
()
src/pages/search/index.tsx:65
Method
render
()
src/pages/search/List/index.tsx:40
Method
render
()
src/pages/cart/index.tsx:54
Method
render
()
src/pages/confirmBill/index.tsx:37
Method
render
()
src/pages/olist/index.tsx:20
Function
saveCart
(state, action)
src/models/cart.ts:24
Function
saveUser
(state, action)
src/models/user.ts:95
Function
submit
()
src/pages/login/LoginForm.tsx:15