feat: 初始化

This commit is contained in:
2026-07-27 15:54:32 +08:00
parent 6bc64eb408
commit c98187dff1
39 changed files with 10795 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
import Vue from 'vue'
import Router from 'vue-router'
import SupplierHome from '@/view/index.vue'
import JoyfulSelectionHome from '@/view/joyful-selection/index.vue'
import JoyfulSelectionProductList from '@/view/joyful-selection/products/index.vue'
import JoyfulSelectionProductDetail from '@/view/joyful-selection/product-detail/index.vue'
import JoyfulSelectionCart from '@/view/joyful-selection/cart/index.vue'
import JoyfulSelectionCartEdit from '@/view/joyful-selection/cart/edit/index.vue'
import JoyfulSelectionCheckout from '@/view/joyful-selection/cart/checkout/index.vue'
import JoyfulSelectionPayment from '@/view/joyful-selection/cart/payment/index.vue'
import JoyfulSelectionPaymentConfirm from '@/view/joyful-selection/cart/payment-confirm/index.vue'
import JoyfulSelectionPaymentSuccess from '@/view/joyful-selection/cart/payment-success/index.vue'
import JoyfulSelectionOrders from '@/view/joyful-selection/profile/orders/index.vue'
import JoyfulSelectionProfile from '@/view/joyful-selection/profile/index.vue'
import JoyfulSelectionPoints from '@/view/joyful-selection/profile/points/index.vue'
import HomeLiving from '@/view/home-living/index.vue'
import HappyShopping from '@/view/happy-shopping/index.vue'
import FreshFruit from '@/view/fresh-fruit/index.vue'
import CuteSelection from '@/view/cute-selection/index.vue'
Vue.use(Router)
export default new Router({
routes: [
{ path: '/', component: SupplierHome },
{ path: '/joyful-selection', component: JoyfulSelectionHome },
{ path: '/joyful-selection/products', component: JoyfulSelectionProductList },
{ path: '/joyful-selection/product-detail', component: JoyfulSelectionProductDetail },
{ path: '/joyful-selection/cart', component: JoyfulSelectionCart },
{ path: '/joyful-selection/cart/edit', component: JoyfulSelectionCartEdit },
{ path: '/joyful-selection/checkout', component: JoyfulSelectionCheckout },
{ path: '/joyful-selection/payment', component: JoyfulSelectionPayment },
{ path: '/joyful-selection/payment-confirm', component: JoyfulSelectionPaymentConfirm },
{ path: '/joyful-selection/payment-success', component: JoyfulSelectionPaymentSuccess },
{ path: '/joyful-selection/orders', component: JoyfulSelectionOrders },
{ path: '/joyful-selection/profile', component: JoyfulSelectionProfile },
{ path: '/joyful-selection/points', component: JoyfulSelectionPoints },
{ path: '/home-living', component: HomeLiving },
{ path: '/happy-shopping', component: HappyShopping },
{ path: '/fresh-fruit', component: FreshFruit },
{ path: '/cute-selection', component: CuteSelection }
]
})