diff --git a/.gitignore b/.gitignore index 48fcd8f..8eae3cf 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,6 @@ logs .DS_Store .fleet .idea +.history/ +.history/** +**/.history/** \ No newline at end of file diff --git a/.history/app/components/itemDetail/index_20250226145158.vue b/.history/app/components/itemDetail/index_20250226145158.vue new file mode 100644 index 0000000..eb55921 --- /dev/null +++ b/.history/app/components/itemDetail/index_20250226145158.vue @@ -0,0 +1,83 @@ + + + + + \ No newline at end of file diff --git a/.history/app/components/itemDetail/index_20250306154608.vue b/.history/app/components/itemDetail/index_20250306154608.vue new file mode 100644 index 0000000..7544234 --- /dev/null +++ b/.history/app/components/itemDetail/index_20250306154608.vue @@ -0,0 +1,87 @@ + + + + + \ No newline at end of file diff --git a/.history/app/components/itemDetail/index_20250306154630.vue b/.history/app/components/itemDetail/index_20250306154630.vue new file mode 100644 index 0000000..041c953 --- /dev/null +++ b/.history/app/components/itemDetail/index_20250306154630.vue @@ -0,0 +1,87 @@ + + + + + \ No newline at end of file diff --git a/.history/app/components/itemDetail/index_20250306154639.vue b/.history/app/components/itemDetail/index_20250306154639.vue new file mode 100644 index 0000000..9f57065 --- /dev/null +++ b/.history/app/components/itemDetail/index_20250306154639.vue @@ -0,0 +1,87 @@ + + + + + \ No newline at end of file diff --git a/.history/app/components/itemDetail/index_20250306154645.vue b/.history/app/components/itemDetail/index_20250306154645.vue new file mode 100644 index 0000000..5c315cb --- /dev/null +++ b/.history/app/components/itemDetail/index_20250306154645.vue @@ -0,0 +1,87 @@ + + + + + \ No newline at end of file diff --git a/.history/app/components/itemDetail/index_20250306154648.vue b/.history/app/components/itemDetail/index_20250306154648.vue new file mode 100644 index 0000000..5c315cb --- /dev/null +++ b/.history/app/components/itemDetail/index_20250306154648.vue @@ -0,0 +1,87 @@ + + + + + \ No newline at end of file diff --git a/.history/app/components/itemDetail/index_20250306154708.vue b/.history/app/components/itemDetail/index_20250306154708.vue new file mode 100644 index 0000000..021a82f --- /dev/null +++ b/.history/app/components/itemDetail/index_20250306154708.vue @@ -0,0 +1,87 @@ + + + + + \ No newline at end of file diff --git a/.history/app/components/itemDetail/index_20250306154817.vue b/.history/app/components/itemDetail/index_20250306154817.vue new file mode 100644 index 0000000..021a82f --- /dev/null +++ b/.history/app/components/itemDetail/index_20250306154817.vue @@ -0,0 +1,87 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250303111807.vue b/.history/app/pages/home/components/ItemList/index_20250303111807.vue new file mode 100644 index 0000000..81f6b29 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250303111807.vue @@ -0,0 +1,128 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306114740.vue b/.history/app/pages/home/components/ItemList/index_20250306114740.vue new file mode 100644 index 0000000..80fe6d9 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306114740.vue @@ -0,0 +1,128 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306114815.vue b/.history/app/pages/home/components/ItemList/index_20250306114815.vue new file mode 100644 index 0000000..323782e --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306114815.vue @@ -0,0 +1,128 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306114817.vue b/.history/app/pages/home/components/ItemList/index_20250306114817.vue new file mode 100644 index 0000000..323782e --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306114817.vue @@ -0,0 +1,128 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306115647.vue b/.history/app/pages/home/components/ItemList/index_20250306115647.vue new file mode 100644 index 0000000..81f6b29 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306115647.vue @@ -0,0 +1,128 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306115652.vue b/.history/app/pages/home/components/ItemList/index_20250306115652.vue new file mode 100644 index 0000000..81f6b29 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306115652.vue @@ -0,0 +1,128 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306141705.vue b/.history/app/pages/home/components/ItemList/index_20250306141705.vue new file mode 100644 index 0000000..da94d6b --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306141705.vue @@ -0,0 +1,128 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306141747.vue b/.history/app/pages/home/components/ItemList/index_20250306141747.vue new file mode 100644 index 0000000..81645f5 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306141747.vue @@ -0,0 +1,128 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306141844.vue b/.history/app/pages/home/components/ItemList/index_20250306141844.vue new file mode 100644 index 0000000..6403033 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306141844.vue @@ -0,0 +1,108 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306142633.vue b/.history/app/pages/home/components/ItemList/index_20250306142633.vue new file mode 100644 index 0000000..4db4c24 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306142633.vue @@ -0,0 +1,139 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306142647.vue b/.history/app/pages/home/components/ItemList/index_20250306142647.vue new file mode 100644 index 0000000..579a90a --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306142647.vue @@ -0,0 +1,139 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306142801.vue b/.history/app/pages/home/components/ItemList/index_20250306142801.vue new file mode 100644 index 0000000..579a90a --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306142801.vue @@ -0,0 +1,139 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306142804.vue b/.history/app/pages/home/components/ItemList/index_20250306142804.vue new file mode 100644 index 0000000..579a90a --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306142804.vue @@ -0,0 +1,139 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306143140.vue b/.history/app/pages/home/components/ItemList/index_20250306143140.vue new file mode 100644 index 0000000..7c425cb --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306143140.vue @@ -0,0 +1,146 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306143143.vue b/.history/app/pages/home/components/ItemList/index_20250306143143.vue new file mode 100644 index 0000000..7c425cb --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306143143.vue @@ -0,0 +1,146 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306143321.vue b/.history/app/pages/home/components/ItemList/index_20250306143321.vue new file mode 100644 index 0000000..32f4990 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306143321.vue @@ -0,0 +1,144 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306143328.vue b/.history/app/pages/home/components/ItemList/index_20250306143328.vue new file mode 100644 index 0000000..e050a09 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306143328.vue @@ -0,0 +1,144 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306143357.vue b/.history/app/pages/home/components/ItemList/index_20250306143357.vue new file mode 100644 index 0000000..9067e55 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306143357.vue @@ -0,0 +1,144 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306143628.vue b/.history/app/pages/home/components/ItemList/index_20250306143628.vue new file mode 100644 index 0000000..8647cd4 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306143628.vue @@ -0,0 +1,144 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306143705.vue b/.history/app/pages/home/components/ItemList/index_20250306143705.vue new file mode 100644 index 0000000..41dd3d2 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306143705.vue @@ -0,0 +1,144 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306143826.vue b/.history/app/pages/home/components/ItemList/index_20250306143826.vue new file mode 100644 index 0000000..2065d1e --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306143826.vue @@ -0,0 +1,144 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306143843.vue b/.history/app/pages/home/components/ItemList/index_20250306143843.vue new file mode 100644 index 0000000..0b8ae00 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306143843.vue @@ -0,0 +1,144 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306143933.vue b/.history/app/pages/home/components/ItemList/index_20250306143933.vue new file mode 100644 index 0000000..8943c8a --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306143933.vue @@ -0,0 +1,144 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306144009.vue b/.history/app/pages/home/components/ItemList/index_20250306144009.vue new file mode 100644 index 0000000..8b1382c --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306144009.vue @@ -0,0 +1,144 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306144013.vue b/.history/app/pages/home/components/ItemList/index_20250306144013.vue new file mode 100644 index 0000000..8b1382c --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306144013.vue @@ -0,0 +1,144 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306144044.vue b/.history/app/pages/home/components/ItemList/index_20250306144044.vue new file mode 100644 index 0000000..1735773 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306144044.vue @@ -0,0 +1,144 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306144045.vue b/.history/app/pages/home/components/ItemList/index_20250306144045.vue new file mode 100644 index 0000000..1735773 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306144045.vue @@ -0,0 +1,144 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306144047.vue b/.history/app/pages/home/components/ItemList/index_20250306144047.vue new file mode 100644 index 0000000..1735773 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306144047.vue @@ -0,0 +1,144 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306144142.vue b/.history/app/pages/home/components/ItemList/index_20250306144142.vue new file mode 100644 index 0000000..c7dea9f --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306144142.vue @@ -0,0 +1,144 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306144159.vue b/.history/app/pages/home/components/ItemList/index_20250306144159.vue new file mode 100644 index 0000000..f7500c8 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306144159.vue @@ -0,0 +1,144 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306144205.vue b/.history/app/pages/home/components/ItemList/index_20250306144205.vue new file mode 100644 index 0000000..39e8ce4 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306144205.vue @@ -0,0 +1,142 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306144214.vue b/.history/app/pages/home/components/ItemList/index_20250306144214.vue new file mode 100644 index 0000000..d833f0e --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306144214.vue @@ -0,0 +1,142 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306144237.vue b/.history/app/pages/home/components/ItemList/index_20250306144237.vue new file mode 100644 index 0000000..21c00a9 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306144237.vue @@ -0,0 +1,142 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306144307.vue b/.history/app/pages/home/components/ItemList/index_20250306144307.vue new file mode 100644 index 0000000..0ad7182 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306144307.vue @@ -0,0 +1,142 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306144717.vue b/.history/app/pages/home/components/ItemList/index_20250306144717.vue new file mode 100644 index 0000000..cea1fc4 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306144717.vue @@ -0,0 +1,142 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306144728.vue b/.history/app/pages/home/components/ItemList/index_20250306144728.vue new file mode 100644 index 0000000..8759410 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306144728.vue @@ -0,0 +1,142 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306144732.vue b/.history/app/pages/home/components/ItemList/index_20250306144732.vue new file mode 100644 index 0000000..b2a9ae7 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306144732.vue @@ -0,0 +1,142 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306144816.vue b/.history/app/pages/home/components/ItemList/index_20250306144816.vue new file mode 100644 index 0000000..41d1e7a --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306144816.vue @@ -0,0 +1,142 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306144834.vue b/.history/app/pages/home/components/ItemList/index_20250306144834.vue new file mode 100644 index 0000000..fa05a29 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306144834.vue @@ -0,0 +1,142 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306144838.vue b/.history/app/pages/home/components/ItemList/index_20250306144838.vue new file mode 100644 index 0000000..0ba3b89 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306144838.vue @@ -0,0 +1,142 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306145158.vue b/.history/app/pages/home/components/ItemList/index_20250306145158.vue new file mode 100644 index 0000000..0ba3b89 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306145158.vue @@ -0,0 +1,142 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306145738.vue b/.history/app/pages/home/components/ItemList/index_20250306145738.vue new file mode 100644 index 0000000..1fc502a --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306145738.vue @@ -0,0 +1,189 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306145812.vue b/.history/app/pages/home/components/ItemList/index_20250306145812.vue new file mode 100644 index 0000000..1fc502a --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306145812.vue @@ -0,0 +1,189 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306150719.vue b/.history/app/pages/home/components/ItemList/index_20250306150719.vue new file mode 100644 index 0000000..502c189 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306150719.vue @@ -0,0 +1,209 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306150743.vue b/.history/app/pages/home/components/ItemList/index_20250306150743.vue new file mode 100644 index 0000000..502c189 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306150743.vue @@ -0,0 +1,209 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/components/ItemList/index_20250306150745.vue b/.history/app/pages/home/components/ItemList/index_20250306150745.vue new file mode 100644 index 0000000..502c189 --- /dev/null +++ b/.history/app/pages/home/components/ItemList/index_20250306150745.vue @@ -0,0 +1,209 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306094955.vue b/.history/app/pages/home/index_20250306094955.vue new file mode 100644 index 0000000..5d884cd --- /dev/null +++ b/.history/app/pages/home/index_20250306094955.vue @@ -0,0 +1,96 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306114651.vue b/.history/app/pages/home/index_20250306114651.vue new file mode 100644 index 0000000..d3e199e --- /dev/null +++ b/.history/app/pages/home/index_20250306114651.vue @@ -0,0 +1,99 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306114655.vue b/.history/app/pages/home/index_20250306114655.vue new file mode 100644 index 0000000..3cc9aed --- /dev/null +++ b/.history/app/pages/home/index_20250306114655.vue @@ -0,0 +1,99 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306114938.vue b/.history/app/pages/home/index_20250306114938.vue new file mode 100644 index 0000000..808fc6a --- /dev/null +++ b/.history/app/pages/home/index_20250306114938.vue @@ -0,0 +1,99 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306115027.vue b/.history/app/pages/home/index_20250306115027.vue new file mode 100644 index 0000000..edb8588 --- /dev/null +++ b/.history/app/pages/home/index_20250306115027.vue @@ -0,0 +1,99 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306115109.vue b/.history/app/pages/home/index_20250306115109.vue new file mode 100644 index 0000000..a4e45ec --- /dev/null +++ b/.history/app/pages/home/index_20250306115109.vue @@ -0,0 +1,102 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306115149.vue b/.history/app/pages/home/index_20250306115149.vue new file mode 100644 index 0000000..171d48d --- /dev/null +++ b/.history/app/pages/home/index_20250306115149.vue @@ -0,0 +1,102 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306115151.vue b/.history/app/pages/home/index_20250306115151.vue new file mode 100644 index 0000000..171d48d --- /dev/null +++ b/.history/app/pages/home/index_20250306115151.vue @@ -0,0 +1,102 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306115253.vue b/.history/app/pages/home/index_20250306115253.vue new file mode 100644 index 0000000..8388756 --- /dev/null +++ b/.history/app/pages/home/index_20250306115253.vue @@ -0,0 +1,102 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306115256.vue b/.history/app/pages/home/index_20250306115256.vue new file mode 100644 index 0000000..8388756 --- /dev/null +++ b/.history/app/pages/home/index_20250306115256.vue @@ -0,0 +1,102 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306115330.vue b/.history/app/pages/home/index_20250306115330.vue new file mode 100644 index 0000000..f185aef --- /dev/null +++ b/.history/app/pages/home/index_20250306115330.vue @@ -0,0 +1,103 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306115336.vue b/.history/app/pages/home/index_20250306115336.vue new file mode 100644 index 0000000..b4b6a61 --- /dev/null +++ b/.history/app/pages/home/index_20250306115336.vue @@ -0,0 +1,104 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306115423.vue b/.history/app/pages/home/index_20250306115423.vue new file mode 100644 index 0000000..6d7ee79 --- /dev/null +++ b/.history/app/pages/home/index_20250306115423.vue @@ -0,0 +1,107 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306115449.vue b/.history/app/pages/home/index_20250306115449.vue new file mode 100644 index 0000000..a474711 --- /dev/null +++ b/.history/app/pages/home/index_20250306115449.vue @@ -0,0 +1,109 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306115451.vue b/.history/app/pages/home/index_20250306115451.vue new file mode 100644 index 0000000..a474711 --- /dev/null +++ b/.history/app/pages/home/index_20250306115451.vue @@ -0,0 +1,109 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306115547.vue b/.history/app/pages/home/index_20250306115547.vue new file mode 100644 index 0000000..6dd076a --- /dev/null +++ b/.history/app/pages/home/index_20250306115547.vue @@ -0,0 +1,109 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306115555.vue b/.history/app/pages/home/index_20250306115555.vue new file mode 100644 index 0000000..c10170c --- /dev/null +++ b/.history/app/pages/home/index_20250306115555.vue @@ -0,0 +1,109 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306115559.vue b/.history/app/pages/home/index_20250306115559.vue new file mode 100644 index 0000000..c10170c --- /dev/null +++ b/.history/app/pages/home/index_20250306115559.vue @@ -0,0 +1,109 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306115611.vue b/.history/app/pages/home/index_20250306115611.vue new file mode 100644 index 0000000..542d172 --- /dev/null +++ b/.history/app/pages/home/index_20250306115611.vue @@ -0,0 +1,109 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306115635.vue b/.history/app/pages/home/index_20250306115635.vue new file mode 100644 index 0000000..1d2de14 --- /dev/null +++ b/.history/app/pages/home/index_20250306115635.vue @@ -0,0 +1,109 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306115641.vue b/.history/app/pages/home/index_20250306115641.vue new file mode 100644 index 0000000..6777ad2 --- /dev/null +++ b/.history/app/pages/home/index_20250306115641.vue @@ -0,0 +1,109 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306115705.vue b/.history/app/pages/home/index_20250306115705.vue new file mode 100644 index 0000000..f634fe4 --- /dev/null +++ b/.history/app/pages/home/index_20250306115705.vue @@ -0,0 +1,109 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306115706.vue b/.history/app/pages/home/index_20250306115706.vue new file mode 100644 index 0000000..f634fe4 --- /dev/null +++ b/.history/app/pages/home/index_20250306115706.vue @@ -0,0 +1,109 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306115740.vue b/.history/app/pages/home/index_20250306115740.vue new file mode 100644 index 0000000..8d212cf --- /dev/null +++ b/.history/app/pages/home/index_20250306115740.vue @@ -0,0 +1,109 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306115742.vue b/.history/app/pages/home/index_20250306115742.vue new file mode 100644 index 0000000..8d212cf --- /dev/null +++ b/.history/app/pages/home/index_20250306115742.vue @@ -0,0 +1,109 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306115809.vue b/.history/app/pages/home/index_20250306115809.vue new file mode 100644 index 0000000..8d212cf --- /dev/null +++ b/.history/app/pages/home/index_20250306115809.vue @@ -0,0 +1,109 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/home/index_20250306145820.vue b/.history/app/pages/home/index_20250306145820.vue new file mode 100644 index 0000000..8d212cf --- /dev/null +++ b/.history/app/pages/home/index_20250306145820.vue @@ -0,0 +1,109 @@ + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250304114512.vue b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250304114512.vue new file mode 100644 index 0000000..873fff9 --- /dev/null +++ b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250304114512.vue @@ -0,0 +1,154 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306131850.vue b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306131850.vue new file mode 100644 index 0000000..a8f546d --- /dev/null +++ b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306131850.vue @@ -0,0 +1,157 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306131852.vue b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306131852.vue new file mode 100644 index 0000000..a8f546d --- /dev/null +++ b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306131852.vue @@ -0,0 +1,157 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306131940.vue b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306131940.vue new file mode 100644 index 0000000..873fff9 --- /dev/null +++ b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306131940.vue @@ -0,0 +1,154 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306132936.vue b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306132936.vue new file mode 100644 index 0000000..c112d96 --- /dev/null +++ b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306132936.vue @@ -0,0 +1,195 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306133213.vue b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306133213.vue new file mode 100644 index 0000000..ff3328b --- /dev/null +++ b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306133213.vue @@ -0,0 +1,236 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306133617.vue b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306133617.vue new file mode 100644 index 0000000..986333a --- /dev/null +++ b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306133617.vue @@ -0,0 +1,331 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306133625.vue b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306133625.vue new file mode 100644 index 0000000..986333a --- /dev/null +++ b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306133625.vue @@ -0,0 +1,331 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306133628.vue b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306133628.vue new file mode 100644 index 0000000..986333a --- /dev/null +++ b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306133628.vue @@ -0,0 +1,331 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306133712.vue b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306133712.vue new file mode 100644 index 0000000..873fff9 --- /dev/null +++ b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306133712.vue @@ -0,0 +1,154 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306133716.vue b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306133716.vue new file mode 100644 index 0000000..873fff9 --- /dev/null +++ b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306133716.vue @@ -0,0 +1,154 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306133943.vue b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306133943.vue new file mode 100644 index 0000000..95500c4 --- /dev/null +++ b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306133943.vue @@ -0,0 +1,155 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306140953.vue b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306140953.vue new file mode 100644 index 0000000..e350328 --- /dev/null +++ b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306140953.vue @@ -0,0 +1,158 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306140956.vue b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306140956.vue new file mode 100644 index 0000000..e350328 --- /dev/null +++ b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306140956.vue @@ -0,0 +1,158 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306141031.vue b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306141031.vue new file mode 100644 index 0000000..0174574 --- /dev/null +++ b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306141031.vue @@ -0,0 +1,159 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306141033.vue b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306141033.vue new file mode 100644 index 0000000..0174574 --- /dev/null +++ b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306141033.vue @@ -0,0 +1,159 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306141324.vue b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306141324.vue new file mode 100644 index 0000000..c2087e5 --- /dev/null +++ b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306141324.vue @@ -0,0 +1,165 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306141326.vue b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306141326.vue new file mode 100644 index 0000000..c2087e5 --- /dev/null +++ b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306141326.vue @@ -0,0 +1,165 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306141342.vue b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306141342.vue new file mode 100644 index 0000000..1b8e79a --- /dev/null +++ b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306141342.vue @@ -0,0 +1,166 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306141836.vue b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306141836.vue new file mode 100644 index 0000000..5e2c0cb --- /dev/null +++ b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306141836.vue @@ -0,0 +1,166 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306141916.vue b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306141916.vue new file mode 100644 index 0000000..bfc5e01 --- /dev/null +++ b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306141916.vue @@ -0,0 +1,166 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306141952.vue b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306141952.vue new file mode 100644 index 0000000..b46dc62 --- /dev/null +++ b/.history/app/pages/liveRoom/components/SideButton/tangPopup_20250306141952.vue @@ -0,0 +1,166 @@ + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/index.client_20250306114123.vue b/.history/app/pages/liveRoom/index.client_20250306114123.vue new file mode 100644 index 0000000..eee42b1 --- /dev/null +++ b/.history/app/pages/liveRoom/index.client_20250306114123.vue @@ -0,0 +1,249 @@ + + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/index.client_20250306152016.vue b/.history/app/pages/liveRoom/index.client_20250306152016.vue new file mode 100644 index 0000000..f5f127c --- /dev/null +++ b/.history/app/pages/liveRoom/index.client_20250306152016.vue @@ -0,0 +1,247 @@ + + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/index.client_20250306152035.vue b/.history/app/pages/liveRoom/index.client_20250306152035.vue new file mode 100644 index 0000000..f5f127c --- /dev/null +++ b/.history/app/pages/liveRoom/index.client_20250306152035.vue @@ -0,0 +1,247 @@ + + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/index.client_20250306152725.vue b/.history/app/pages/liveRoom/index.client_20250306152725.vue new file mode 100644 index 0000000..f5f127c --- /dev/null +++ b/.history/app/pages/liveRoom/index.client_20250306152725.vue @@ -0,0 +1,247 @@ + + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/index.client_20250306153357.vue b/.history/app/pages/liveRoom/index.client_20250306153357.vue new file mode 100644 index 0000000..8b02b56 --- /dev/null +++ b/.history/app/pages/liveRoom/index.client_20250306153357.vue @@ -0,0 +1,248 @@ + + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/index.client_20250306153359.vue b/.history/app/pages/liveRoom/index.client_20250306153359.vue new file mode 100644 index 0000000..8b02b56 --- /dev/null +++ b/.history/app/pages/liveRoom/index.client_20250306153359.vue @@ -0,0 +1,248 @@ + + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/index.client_20250306153403.vue b/.history/app/pages/liveRoom/index.client_20250306153403.vue new file mode 100644 index 0000000..4fc3ce2 --- /dev/null +++ b/.history/app/pages/liveRoom/index.client_20250306153403.vue @@ -0,0 +1,248 @@ + + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/index.client_20250306153405.vue b/.history/app/pages/liveRoom/index.client_20250306153405.vue new file mode 100644 index 0000000..4fc3ce2 --- /dev/null +++ b/.history/app/pages/liveRoom/index.client_20250306153405.vue @@ -0,0 +1,248 @@ + + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/index.client_20250306153730.vue b/.history/app/pages/liveRoom/index.client_20250306153730.vue new file mode 100644 index 0000000..9676191 --- /dev/null +++ b/.history/app/pages/liveRoom/index.client_20250306153730.vue @@ -0,0 +1,247 @@ + + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/index.client_20250306153732.vue b/.history/app/pages/liveRoom/index.client_20250306153732.vue new file mode 100644 index 0000000..9676191 --- /dev/null +++ b/.history/app/pages/liveRoom/index.client_20250306153732.vue @@ -0,0 +1,247 @@ + + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/index.client_20250306153754.vue b/.history/app/pages/liveRoom/index.client_20250306153754.vue new file mode 100644 index 0000000..9676191 --- /dev/null +++ b/.history/app/pages/liveRoom/index.client_20250306153754.vue @@ -0,0 +1,247 @@ + + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/index.client_20250306153824.vue b/.history/app/pages/liveRoom/index.client_20250306153824.vue new file mode 100644 index 0000000..9676191 --- /dev/null +++ b/.history/app/pages/liveRoom/index.client_20250306153824.vue @@ -0,0 +1,247 @@ + + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/index.client_20250306153827.vue b/.history/app/pages/liveRoom/index.client_20250306153827.vue new file mode 100644 index 0000000..9676191 --- /dev/null +++ b/.history/app/pages/liveRoom/index.client_20250306153827.vue @@ -0,0 +1,247 @@ + + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/index.client_20250306153829.vue b/.history/app/pages/liveRoom/index.client_20250306153829.vue new file mode 100644 index 0000000..9676191 --- /dev/null +++ b/.history/app/pages/liveRoom/index.client_20250306153829.vue @@ -0,0 +1,247 @@ + + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/index.client_20250306153831.vue b/.history/app/pages/liveRoom/index.client_20250306153831.vue new file mode 100644 index 0000000..9676191 --- /dev/null +++ b/.history/app/pages/liveRoom/index.client_20250306153831.vue @@ -0,0 +1,247 @@ + + + + + + \ No newline at end of file diff --git a/.history/app/pages/liveRoom/index.client_20250306154125.vue b/.history/app/pages/liveRoom/index.client_20250306154125.vue new file mode 100644 index 0000000..9676191 --- /dev/null +++ b/.history/app/pages/liveRoom/index.client_20250306154125.vue @@ -0,0 +1,247 @@ + + + + + + \ No newline at end of file diff --git a/.history/app/stores/goods/index_20250303111807.js b/.history/app/stores/goods/index_20250303111807.js new file mode 100644 index 0000000..ae0d219 --- /dev/null +++ b/.history/app/stores/goods/index_20250303111807.js @@ -0,0 +1,109 @@ +import { createGlobalState,useLocalStorage } from '@vueuse/core' +import { ref } from 'vue' +import { artworkList, defaultDetail, artworkDetail } from "@/api/goods/index.js" + +export const goodStore = createGlobalState(() => { + // 状态定义 + const actionDetails = ref({}) + const currentItem = ref({}) + const myArtWorks = ref([]) + const pageRef = ref({ + page: 0, + pageSize: 5, + itemCount: 0 + }) + const artWorkDetail = useLocalStorage('artWorkDetail',{}) + const itemList = ref([]) + const auctionDetail = ref({}) + const loading = ref(false) + const error = ref(null) + + // 重置分页 + const resetPage = () => { + pageRef.value.page = 1 + pageRef.value.pageSize=5 + pageRef.value.itemCount = 0 + } + + // 获取拍卖详情 + const getAuctionDetail = async () => { + try { + loading.value = true + const res = await defaultDetail({}) + if (res.status === 0) { + auctionDetail.value = res.data + } + } catch (err) { + } finally { + loading.value = false + } + } + + // 获取艺术品列表 + const getArtworkList = async (isRefresh = false) => { + if (isRefresh) { + resetPage() + } + try { + loading.value = true + const res = await artworkList({ + auctionUuid: auctionDetail.value.uuid, + page: pageRef.value.page, + pageSize: pageRef.value.pageSize + }) + if (res.status === 0) { + const newItems = res.data.data || [] + + if (isRefresh) { + itemList.value = newItems + } else { + itemList.value = [...itemList.value, ...newItems] + } + + pageRef.value.itemCount = res.data.count || 0 + return { + finished: !newItems.length || newItems.length < pageRef.value.pageSize, + items: newItems + } + } + return { finished: true, items: [] } + } catch (err) { + return { finished: true, items: [] } + } finally { + loading.value = false + } + } + + // 获取艺术品详情 + const getArtworkDetail = async (uuid) => { + try { + loading.value = true + const res = await artworkDetail({ uuid }) + if (res.status === 0) { + artWorkDetail.value = res.data + } + } catch (err) { + } finally { + loading.value = false + } + } + + return { + // 状态 + actionDetails, + + currentItem, + myArtWorks, + pageRef, + artWorkDetail, + itemList, + auctionDetail, + loading, + error, + // 方法 + getAuctionDetail, + getArtworkList, + getArtworkDetail, + resetPage + } +}) \ No newline at end of file diff --git a/.history/app/stores/goods/index_20250306132938.js b/.history/app/stores/goods/index_20250306132938.js new file mode 100644 index 0000000..ae0d219 --- /dev/null +++ b/.history/app/stores/goods/index_20250306132938.js @@ -0,0 +1,109 @@ +import { createGlobalState,useLocalStorage } from '@vueuse/core' +import { ref } from 'vue' +import { artworkList, defaultDetail, artworkDetail } from "@/api/goods/index.js" + +export const goodStore = createGlobalState(() => { + // 状态定义 + const actionDetails = ref({}) + const currentItem = ref({}) + const myArtWorks = ref([]) + const pageRef = ref({ + page: 0, + pageSize: 5, + itemCount: 0 + }) + const artWorkDetail = useLocalStorage('artWorkDetail',{}) + const itemList = ref([]) + const auctionDetail = ref({}) + const loading = ref(false) + const error = ref(null) + + // 重置分页 + const resetPage = () => { + pageRef.value.page = 1 + pageRef.value.pageSize=5 + pageRef.value.itemCount = 0 + } + + // 获取拍卖详情 + const getAuctionDetail = async () => { + try { + loading.value = true + const res = await defaultDetail({}) + if (res.status === 0) { + auctionDetail.value = res.data + } + } catch (err) { + } finally { + loading.value = false + } + } + + // 获取艺术品列表 + const getArtworkList = async (isRefresh = false) => { + if (isRefresh) { + resetPage() + } + try { + loading.value = true + const res = await artworkList({ + auctionUuid: auctionDetail.value.uuid, + page: pageRef.value.page, + pageSize: pageRef.value.pageSize + }) + if (res.status === 0) { + const newItems = res.data.data || [] + + if (isRefresh) { + itemList.value = newItems + } else { + itemList.value = [...itemList.value, ...newItems] + } + + pageRef.value.itemCount = res.data.count || 0 + return { + finished: !newItems.length || newItems.length < pageRef.value.pageSize, + items: newItems + } + } + return { finished: true, items: [] } + } catch (err) { + return { finished: true, items: [] } + } finally { + loading.value = false + } + } + + // 获取艺术品详情 + const getArtworkDetail = async (uuid) => { + try { + loading.value = true + const res = await artworkDetail({ uuid }) + if (res.status === 0) { + artWorkDetail.value = res.data + } + } catch (err) { + } finally { + loading.value = false + } + } + + return { + // 状态 + actionDetails, + + currentItem, + myArtWorks, + pageRef, + artWorkDetail, + itemList, + auctionDetail, + loading, + error, + // 方法 + getAuctionDetail, + getArtworkList, + getArtworkDetail, + resetPage + } +}) \ No newline at end of file diff --git a/.history/app/stores/goods/index_20250306133215.js b/.history/app/stores/goods/index_20250306133215.js new file mode 100644 index 0000000..ae0d219 --- /dev/null +++ b/.history/app/stores/goods/index_20250306133215.js @@ -0,0 +1,109 @@ +import { createGlobalState,useLocalStorage } from '@vueuse/core' +import { ref } from 'vue' +import { artworkList, defaultDetail, artworkDetail } from "@/api/goods/index.js" + +export const goodStore = createGlobalState(() => { + // 状态定义 + const actionDetails = ref({}) + const currentItem = ref({}) + const myArtWorks = ref([]) + const pageRef = ref({ + page: 0, + pageSize: 5, + itemCount: 0 + }) + const artWorkDetail = useLocalStorage('artWorkDetail',{}) + const itemList = ref([]) + const auctionDetail = ref({}) + const loading = ref(false) + const error = ref(null) + + // 重置分页 + const resetPage = () => { + pageRef.value.page = 1 + pageRef.value.pageSize=5 + pageRef.value.itemCount = 0 + } + + // 获取拍卖详情 + const getAuctionDetail = async () => { + try { + loading.value = true + const res = await defaultDetail({}) + if (res.status === 0) { + auctionDetail.value = res.data + } + } catch (err) { + } finally { + loading.value = false + } + } + + // 获取艺术品列表 + const getArtworkList = async (isRefresh = false) => { + if (isRefresh) { + resetPage() + } + try { + loading.value = true + const res = await artworkList({ + auctionUuid: auctionDetail.value.uuid, + page: pageRef.value.page, + pageSize: pageRef.value.pageSize + }) + if (res.status === 0) { + const newItems = res.data.data || [] + + if (isRefresh) { + itemList.value = newItems + } else { + itemList.value = [...itemList.value, ...newItems] + } + + pageRef.value.itemCount = res.data.count || 0 + return { + finished: !newItems.length || newItems.length < pageRef.value.pageSize, + items: newItems + } + } + return { finished: true, items: [] } + } catch (err) { + return { finished: true, items: [] } + } finally { + loading.value = false + } + } + + // 获取艺术品详情 + const getArtworkDetail = async (uuid) => { + try { + loading.value = true + const res = await artworkDetail({ uuid }) + if (res.status === 0) { + artWorkDetail.value = res.data + } + } catch (err) { + } finally { + loading.value = false + } + } + + return { + // 状态 + actionDetails, + + currentItem, + myArtWorks, + pageRef, + artWorkDetail, + itemList, + auctionDetail, + loading, + error, + // 方法 + getAuctionDetail, + getArtworkList, + getArtworkDetail, + resetPage + } +}) \ No newline at end of file diff --git a/app/api-collect-code/auth/index.js b/app/api-collect-code/auth/index.js index 07177d0..ff4ebdf 100644 --- a/app/api-collect-code/auth/index.js +++ b/app/api-collect-code/auth/index.js @@ -20,4 +20,11 @@ export async function mobileLogin(data) { method: 'POST', data }) +} +export async function sessionUserNo(data) { + return await request( { + url:'/api/v1/auction/sessionUserNo/check', + method: 'POST', + data + }) } \ No newline at end of file diff --git a/app/app.vue b/app/app.vue index e6e6688..8c2c324 100644 --- a/app/app.vue +++ b/app/app.vue @@ -49,13 +49,20 @@ provide('slideDirection', slideDirection) + }" /> \ No newline at end of file diff --git a/app/components/floating2/index.vue b/app/components/floating2/index.vue new file mode 100644 index 0000000..c57c7e2 --- /dev/null +++ b/app/components/floating2/index.vue @@ -0,0 +1,238 @@ + + + + + \ No newline at end of file diff --git a/app/components/itemDetail/index.vue b/app/components/itemDetail/index.vue index eb55921..2dec729 100644 --- a/app/components/itemDetail/index.vue +++ b/app/components/itemDetail/index.vue @@ -1,6 +1,7 @@ diff --git a/app/pages/[...all].vue b/app/pages/[...all].vue deleted file mode 100644 index f9637a9..0000000 --- a/app/pages/[...all].vue +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/app/pages/artDetail/index.vue b/app/pages/artDetail/index.vue index 7039a28..6bd2dff 100644 --- a/app/pages/artDetail/index.vue +++ b/app/pages/artDetail/index.vue @@ -15,41 +15,13 @@ const initData = async () => { const res = await userArtwork({uuid}) if (res.status === 0) { detail.value = res.data + detail.value.auctionArtworkInfo.userId=detail.value.userID } } const router = useRouter(); -const position = ref({x: window?.innerWidth - 120 || 0, y: 240}) -const startPosition = ref({x: 0, y: 0}) -const isDragging = ref(false) -const startDrag = (e) => { - isDragging.value = true - const clientX = e.touches ? e.touches[0].clientX : e.clientX - const clientY = e.touches ? e.touches[0].clientY : e.clientY - startPosition.value = { - x: clientX - position.value.x, - y: clientY - position.value.y - } -} - -const onDrag = (e) => { - if (isDragging.value) { - const clientX = e.touches ? e.touches[0].clientX : e.clientX - const clientY = e.touches ? e.touches[0].clientY : e.clientY - - const maxX = window.innerWidth - 108 - const maxY = window.innerHeight - 137 - - const x = Math.min(Math.max(0, clientX - startPosition.value.x), maxX) - const y = Math.min(Math.max(0, clientY - startPosition.value.y), maxY) - position.value = {x, y} - } -} -const stopDrag = () => { - isDragging.value = false -} const goPay=()=>{ - payment.value.leftPrice=detail.value.leftPrice + payment.value.leftPrice=detail.value.leftCnyPrice payment.value.leftCurrency=detail.value.leftCurrency payment.value.buyUid=detail.value.uuid payment.value.auctionArtworkUuid=detail.value?.auctionArtworkUuid @@ -60,18 +32,7 @@ const goPay=()=>{ } //router.push('/payment') } -onMounted(() => { - document.addEventListener('mousemove', onDrag) - document.addEventListener('mouseup', stopDrag) - document.addEventListener('touchmove', onDrag) - document.addEventListener('touchend', stopDrag) -}) -onUnmounted(() => { - document.removeEventListener('mousemove', onDrag) - document.removeEventListener('mouseup', stopDrag) - document.removeEventListener('touchmove', onDrag) - document.removeEventListener('touchend', stopDrag) -}) + function formatThousands(num) { return Number(num).toLocaleString(); @@ -87,22 +48,7 @@ initData() {{ $t('art_detail_page.button') }} {{detail.leftCurrency}}{{formatThousands(detail.leftPrice)}} -
- -
-
{{ $t('art_detail_page.prompt_title')}}
-
{{ $t('art_detail_page.prompt_desc')}}
-
-
+ diff --git a/app/pages/collectCode/login/index.vue b/app/pages/collectCode/login/index.vue index d908856..e7b49fd 100644 --- a/app/pages/collectCode/login/index.vue +++ b/app/pages/collectCode/login/index.vue @@ -7,7 +7,7 @@ import {message} from '@/components/x-message/useMessage.js' // ... 现有导入 ... import FingerprintJS from '@fingerprintjs/fingerprintjs' import {checkPhone, mobileLogin, userSend} from "@/api-collect-code/auth/index.js"; - +import countryCode from '@/pages/countryRegion/data/index.js' const {userInfo, codeToken, fingerprint} = codeAuthStore() const router = useRouter(); const route = useRoute(); @@ -103,6 +103,40 @@ const showPassword = ref(false) const togglePasswordVisibility = () => { showPassword.value = !showPassword.value } +const getDefaultCountry = () => { + let defaultCode = 'CN' // 默认中国大陆 + switch (locale.value) { + case 'zh-CN': + defaultCode = 'CN' + break + case 'zh-TW': + defaultCode = 'TW' + break + case 'ja-JP': + defaultCode = 'JP' + break + case 'en-US': + defaultCode = 'US' + break + } + + const country = countryCode.find(c => c.code === defaultCode) + return { + zone: country.zone, + name: locale.value === 'zh-CN' ? country.cn : + locale.value === 'zh-TW' ? country.tw : + locale.value === 'ja-JP' ? country.ja : + country.en + } +} +const defaultCountry = getDefaultCountry() + +const selectedCountry = ref('') + +// onMounted(()=>{ +// selectedZone.value=route.query.zone || defaultCountry.zone +// selectedCountry.value=route.query.countryName || defaultCountry.name +// }) diff --git a/app/pages/externallinks/index.vue b/app/pages/externallinks/index.vue deleted file mode 100644 index f14457a..0000000 --- a/app/pages/externallinks/index.vue +++ /dev/null @@ -1,22 +0,0 @@ - - - - - \ No newline at end of file diff --git a/app/pages/home/components/ItemList/index.vue b/app/pages/home/components/ItemList/index.vue index 81f6b29..f4f478a 100644 --- a/app/pages/home/components/ItemList/index.vue +++ b/app/pages/home/components/ItemList/index.vue @@ -1,8 +1,9 @@