Pārlūkot izejas kodu

admin-2025-02-19 08:49:10

genlitex 2 mēneši atpakaļ
vecāks
revīzija
18dd1e5a88

+ 1 - 1
dist/assets/CartView-sBxUA18n.js → dist/assets/CartView-BgG0OjFN.js

@@ -1 +1 @@
-import{_ as t,c as a,a as s,o}from"./index-BekN1hYL.js";const r={class:"cart"},_={__name:"CartView",setup(c){return(n,e)=>(o(),a("div",r,e[0]||(e[0]=[s("h1",null,"购物车",-1)])))}},f=t(_,[["__scopeId","data-v-f59f2b3f"]]);export{f as default};
+import{_ as t,c as a,a as s,o}from"./index-D_xkYa7Z.js";const r={class:"cart"},_={__name:"CartView",setup(c){return(n,e)=>(o(),a("div",r,e[0]||(e[0]=[s("h1",null,"购物车",-1)])))}},f=t(_,[["__scopeId","data-v-f59f2b3f"]]);export{f as default};

+ 1 - 1
dist/assets/OrderView-nxVozElc.js → dist/assets/OrderView-CH51OtDb.js

@@ -1 +1 @@
-import{_ as r,c as s,a,o}from"./index-BekN1hYL.js";const t={class:"order"},_={__name:"OrderView",setup(c){return(d,e)=>(o(),s("div",t,e[0]||(e[0]=[a("h1",null,"订单",-1)])))}},p=r(_,[["__scopeId","data-v-fdfad1a3"]]);export{p as default};
+import{_ as r,c as s,a,o}from"./index-D_xkYa7Z.js";const t={class:"order"},_={__name:"OrderView",setup(c){return(d,e)=>(o(),s("div",t,e[0]||(e[0]=[a("h1",null,"订单",-1)])))}},p=r(_,[["__scopeId","data-v-fdfad1a3"]]);export{p as default};

+ 1 - 1
dist/assets/ProductDetailView-269w7mz-.js → dist/assets/ProductDetailView-DefJBqH3.js

@@ -1 +1 @@
-import{_ as t,c as a,a as o,o as s}from"./index-BekN1hYL.js";const c={class:"product-detail"},r={__name:"ProductDetailView",setup(_){return(d,e)=>(s(),a("div",c,e[0]||(e[0]=[o("h1",null,"商品详情",-1)])))}},n=t(r,[["__scopeId","data-v-3785a455"]]);export{n as default};
+import{_ as t,c as a,a as o,o as s}from"./index-D_xkYa7Z.js";const c={class:"product-detail"},r={__name:"ProductDetailView",setup(_){return(d,e)=>(s(),a("div",c,e[0]||(e[0]=[o("h1",null,"商品详情",-1)])))}},n=t(r,[["__scopeId","data-v-3785a455"]]);export{n as default};

+ 1 - 1
dist/assets/ProductListView-CIyNXisL.js → dist/assets/ProductListView-BEythlnl.js

@@ -1 +1 @@
-import{_ as s,c as e,a as o,o as c}from"./index-BekN1hYL.js";const a={class:"product-list"},r={__name:"ProductListView",setup(_){return(n,t)=>(c(),e("div",a,t[0]||(t[0]=[o("h1",null,"商品列表",-1)])))}},i=s(r,[["__scopeId","data-v-2254c416"]]);export{i as default};
+import{_ as s,c as e,a as o,o as c}from"./index-D_xkYa7Z.js";const a={class:"product-list"},r={__name:"ProductListView",setup(_){return(n,t)=>(c(),e("div",a,t[0]||(t[0]=[o("h1",null,"商品列表",-1)])))}},i=s(r,[["__scopeId","data-v-2254c416"]]);export{i as default};

+ 1 - 1
dist/assets/UserProfileView-CJCqFfeg.js → dist/assets/UserProfileView-CQS1Tt_z.js

@@ -1 +1 @@
-import{_ as s,c as o,a as r,o as t}from"./index-BekN1hYL.js";const a={class:"user-profile"},_={__name:"UserProfileView",setup(c){return(l,e)=>(t(),o("div",a,e[0]||(e[0]=[r("h1",null,"个人中心",-1)])))}},i=s(_,[["__scopeId","data-v-429c258d"]]);export{i as default};
+import{_ as s,c as o,a as r,o as t}from"./index-D_xkYa7Z.js";const a={class:"user-profile"},_={__name:"UserProfileView",setup(c){return(l,e)=>(t(),o("div",a,e[0]||(e[0]=[r("h1",null,"个人中心",-1)])))}},i=s(_,[["__scopeId","data-v-429c258d"]]);export{i as default};

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 1 - 1
dist/assets/index-D_xkYa7Z.js


+ 2 - 2
dist/index.html

@@ -4,8 +4,8 @@
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <title>Prototype Design</title>
-    <script type="module" crossorigin src="/ide/proxy/6008/assets/index-BekN1hYL.js"></script>
-    <link rel="stylesheet" crossorigin href="/ide/proxy/6008/assets/index-BgACLjNj.css">
+    <script type="module" crossorigin src="/ide/proxy/6005/assets/index-D_xkYa7Z.js"></script>
+    <link rel="stylesheet" crossorigin href="/ide/proxy/6005/assets/index-BgACLjNj.css">
   </head>
   <body>
     <div id="app"></div>

+ 3 - 3
src/views/HomeView.vue

@@ -4,10 +4,10 @@
       <nav>
         <ul>
           <li><router-link to="/">首页</router-link></li>
-          <li><router-link to="/product-list">全部商品</router-link></li>
+          <li><router-link to="/products">全部商品</router-link></li>
           <li><router-link to="/cart">购物车</router-link></li>
-          <li><router-link to="/order">我的订单</router-link></li>
-          <li><router-link to="/user-profile">个人中心</router-link></li>
+          <li><router-link to="/orders">我的订单</router-link></li>
+          <li><router-link to="/profile">个人中心</router-link></li>
         </ul>
       </nav>
     </header>

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels