MCPcopy Create free account

hub / github.com/CodeLittlePrince/react-webapp-spa / functions

Functions69 in github.com/CodeLittlePrince/react-webapp-spa

↓ 3 callersFunctionget
(url)
app/fetch/get.jsx:6
↓ 2 callersMethod_getGuessInterestData
* 获取猜你喜欢的数据,并更新state
app/containers/Home/subPage/GuessInterest.jsx:21
↓ 2 callersMethod_getSearchListData
* 获取猜你喜欢的数据,并更新state
app/containers/Search/subPage/SearchList.jsx:21
↓ 1 callersMethod_getCityName
* @return 返回获取到的城市名字
app/containers/index.jsx:21
↓ 1 callersMethod_getRecoData
* fetch推荐数据,然后更新state
app/containers/Home/subPage/Reco.jsx:16
↓ 1 callersMethod_loadMore
* 监听滚动事件,并处理回调
app/components/LoadMore/index.jsx:11
↓ 1 callersMethod_processResult
(result)
app/containers/Home/subPage/GuessInterest.jsx:33
↓ 1 callersMethod_processResult
(result)
app/containers/Search/subPage/SearchList.jsx:35
↓ 1 callersMethod_scrollHandler
* scroll事件的处理 * @param {*number} timeoutID 计时器的ID,为了可以clear * @param {*object} context 上下文
app/components/LoadMore/index.jsx:21
↓ 1 callersFunctiongetGuessInterestData
(city, page)
app/fetch/Home/index.jsx:7
↓ 1 callersFunctiongetRecoData
()
app/fetch/Home/index.jsx:3
↓ 1 callersFunctiongetSearchListData
(city, page, category, keywords)
app/fetch/Search/index.jsx:3
↓ 1 callersFunctionobj2params
* 将对象转换为a=1&b=2这样的字符串 * @param {*object} obj 需要转换的对象 * @return {*string} 返回转换结果
app/fetch/post.jsx:6
↓ 1 callersMethodrender
()
app/containers/index.jsx:40
↓ 1 callersFunctionupdateUserCity
(cityName)
app/actions/userInfo.jsx:3
MethodClickHandler
* 选择城市以后,更新城市数据 * @param {*object} e 事件event
app/components/CityList/index.jsx:11
FunctionMyLoadingComponent
({ isLoading, error })
app/router/routerMap.jsx:10
Method_callBack
* 当LoadMore元素出现在页面可视范围中,则调用获取数据
app/components/LoadMore/index.jsx:42
MethodchangeHandler
(e)
app/components/SearchInput/index.jsx:25
MethodclickHandler
()
app/components/SearchInput/index.jsx:14
MethodclickHandler
* 返回上一页
app/components/Header/index.jsx:9
MethodcomponentDidMount
()
app/components/LoadMore/index.jsx:51
MethodcomponentDidMount
()
app/containers/index.jsx:29
MethodcomponentDidMount
()
app/containers/Home/subPage/GuessInterest.jsx:65
MethodcomponentDidMount
()
app/containers/Home/subPage/Reco.jsx:37
MethodcomponentDidMount
()
app/containers/Search/subPage/SearchList.jsx:67
MethodcomponentWillUnmount
()
app/components/LoadMore/index.jsx:55
Methodconstructor
(props)
app/components/SearchInput/index.jsx:6
Methodconstructor
(props)
app/components/Category/index.jsx:6
Methodconstructor
(props)
app/containers/index.jsx:11
Methodconstructor
(props)
app/containers/Home/subPage/GuessInterest.jsx:8
Methodconstructor
(props)
app/containers/Home/subPage/Reco.jsx:6
Methodconstructor
(props)
app/containers/Search/subPage/SearchList.jsx:8
MethodkeyUpHandler
(e)
app/components/SearchInput/index.jsx:19
MethodloadMoreHandler
()
app/containers/Home/subPage/GuessInterest.jsx:70
MethodloadMoreHandler
()
app/containers/Search/subPage/SearchList.jsx:72
FunctionmapDispatchToProps
app/containers/index.jsx:58
FunctionmapDispatchToProps
(dispatch)
app/containers/City/index.jsx:44
FunctionmapStateToProps
app/containers/index.jsx:52
FunctionmapStateToProps
(state)
app/containers/Home/index.jsx:22
FunctionmapStateToProps
(state)
app/containers/Home/subPage/GuessInterest.jsx:87
FunctionmapStateToProps
(state)
app/containers/Search/subPage/SearchList.jsx:88
FunctionmapStateToProps
(state)
app/containers/City/index.jsx:38
Functionpost
(url, paramsObj)
app/fetch/post.jsx:23
Methodrender
()
app/components/CurrentCity/index.jsx:5
Methodrender
()
app/components/SearchInput/index.jsx:32
Methodrender
()
app/components/SearchHeader/index.jsx:16
Methodrender
()
app/components/LoadMore/index.jsx:60
Methodrender
()
app/components/HomeReco/index.jsx:6
Methodrender
()
app/components/CityList/index.jsx:22
Methodrender
()
app/components/GoodsList/index.jsx:7
Methodrender
()
app/components/GoodsList/Item/index.jsx:5
Methodrender
()
app/components/Header/index.jsx:13
Methodrender
()
app/components/HomeHeader/index.jsx:13
Methodrender
()
app/components/Category/index.jsx:12
Methodrender
()
app/containers/404.jsx:4
Methodrender
()
app/containers/Home/index.jsx:10
Methodrender
()
app/containers/Home/subPage/GuessInterest.jsx:74
Methodrender
()
app/containers/Home/subPage/Reco.jsx:41
Methodrender
()
app/containers/Detail/index.jsx:3
Methodrender
()
app/containers/Search/index.jsx:6
Methodrender
()
app/containers/Search/subPage/SearchList.jsx:76
Methodrender
()
app/containers/City/index.jsx:25
Methodrender
()
app/containers/User/index.jsx:4
Methodrender
()
app/router/routerMap.jsx:50
MethodsubmitHandler
(keywords)
app/components/SearchHeader/index.jsx:7
MethodsubmitHandler
(keywords)
app/components/HomeHeader/index.jsx:9
MethodupdateCityHandler
* 更新Redux userInfo的cityName,以及localStorage的城市名 * @param {*string} newCityName 新的城市名,由子组件回调提供
app/containers/City/index.jsx:16
FunctionuserInfo
(state = initState, action)
app/reducers/userInfo.jsx:3