How bailicangdu/vue2-elm works
This is a Vue/Vuex mobile-web client for an Ele.me-style food delivery platform. Users locate a city or address, browse and search restaurants, select food, manage a cart, and proceed through order confirmation; account, order-history, and benefits features form additional branches. The router mounts the page views, while a shared service layer sends API requests to the backend. README documents the broader capabilities; unsampled page internals and their detailed call relationships are not inferred here.
Main entry points: router.js Route Map · head.vue Shared Header · search.vue Restaurant Search · getData.js API Functions
Components 28
Application Shell
- Vue Bootstrap
src/main.js - Route Map
src/router/router.js - Root View
src/App.vue
Location and Discovery
- City Selection
src/page/city/city.vue - Home
src/page/home/home.vue - Restaurant Listings
src/page/msite/msite.vue - Food Filters
src/page/food/food.vue - Restaurant Search
src/page/search/search.vue
Food and Ordering
- Restaurant and Cart
src/page/shop/shop.vue - Order Confirmation
src/page/confirmOrder/confirmOrder.vue - Order History
src/page/order/order.vue - Order Detail
src/page/order/children/orderDetail.vue
Account and Services
- Login and Signup
src/page/login/login.vue - Profile
src/page/profile/profile.vue - Profile Information
src/page/profile/children/info.vue - Benefits and Coupons
src/page/benefit/benefit.vue - Help Center
src/page/service/service.vue - Membership Card
src/page/vipcard/vipcard.vue
Shared Runtime
- Shared Header
src/components/header/head.vue - Tab Footer
src/components/footer/footGuide.vue - Shop List Widget
src/components/common/shoplist.vue - SVG Icon Sprite
src/components/common/svg.vue - Vuex State
src/store/index.js - Store Actions
src/store/action.js - API Functions
src/service/getData.js - HTTP Client
src/config/fetch.js
Other components
- Mobile User
- Ele.me Backend
Connections 30
- Mobile User → Route Map: navigates
src/router/router.js - Vue Bootstrap → Route Map: installs routes
src/main.js - Vue Bootstrap → Vuex State: installs state
src/main.js - Route Map → Root View: mounts root
src/router/router.js - Root View → SVG Icon Sprite: renders icons
src/App.vue - Route Map → Home: routes to
src/router/router.js - Route Map → City Selection: routes to
src/router/router.js - Route Map → Restaurant Listings: routes to
src/router/router.js - Route Map → Food Filters: routes to
src/router/router.js - Route Map → Restaurant Search: routes to
src/router/router.js - Route Map → Restaurant and Cart: routes to
src/router/router.js - Route Map → Order Confirmation: routes to
src/router/router.js - Route Map → Order History: routes to
src/router/router.js - Route Map → Order Detail: routes to
src/router/router.js - Route Map → Login and Signup: routes to
src/router/router.js - Route Map → Profile: routes to
src/router/router.js - Route Map → Profile Information: routes to
src/router/router.js - Route Map → Benefits and Coupons: routes to
src/router/router.js - Route Map → Help Center: routes to
src/router/router.js - Route Map → Membership Card: routes to
src/router/router.js - Home → Shared Header: renders
src/page/home/home.vue - Login and Signup → Shared Header: renders
src/page/login/login.vue - Restaurant Search → Shared Header: renders
src/page/search/search.vue - Restaurant Listings → Shop List Widget: uses listings
- Restaurant and Cart → Shop List Widget: uses listings
- Restaurant Search → API Functions: searches restaurants
src/page/search/search.vue - Shared Header → Vuex State: dispatches user lookup
src/components/header/head.vue - Store Actions → API Functions: calls API
src/store/action.js - API Functions → HTTP Client: sends requests
src/service/getData.js - HTTP Client → Ele.me Backend: requests data
README.md