From 4520040a17bf9c2ce4e0112165b0de30a03edbd6 Mon Sep 17 00:00:00 2001
From: shikong <919411476@qq.com>
Date: Fri, 18 Oct 2024 15:46:57 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4/=E6=B5=8B=E8=AF=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.idea/uni-app-wx-study.iml | 5 ++++-
package.json | 1 +
pnpm-lock.yaml | 9 +++++++++
src/pages.json | 2 +-
src/pages/category/category.vue | 13 ++++++++++---
src/pages/commodity/commodity.vue | 10 ++++++++--
tailwind.config.js | 3 ++-
7 files changed, 35 insertions(+), 8 deletions(-)
diff --git a/.idea/uni-app-wx-study.iml b/.idea/uni-app-wx-study.iml
index d6ebd48..7fb54a8 100644
--- a/.idea/uni-app-wx-study.iml
+++ b/.idea/uni-app-wx-study.iml
@@ -2,8 +2,11 @@
-
+
+
+
+
\ No newline at end of file
diff --git a/package.json b/package.json
index 83a6db8..47a00c7 100644
--- a/package.json
+++ b/package.json
@@ -64,6 +64,7 @@
"moment": "^2.30.1",
"pinia": "^2.2.4",
"pinia-plugin-persistedstate": "^3.2.1",
+ "qs": "^6.7.0",
"vue": "^3.4.21",
"vue-i18n": "^9.1.9"
},
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index e452310..b29b61d 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -71,6 +71,9 @@ importers:
pinia-plugin-persistedstate:
specifier: ^3.2.1
version: 3.2.1(pinia@2.2.4(typescript@5.6.3)(vue@3.5.12(typescript@5.6.3)))
+ qs:
+ specifier: ^6.7.0
+ version: 6.7.0
vue:
specifier: ^3.4.21
version: 3.5.12(typescript@5.6.3)
@@ -3681,6 +3684,10 @@ packages:
resolution: {integrity: sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==}
engines: {node: '>=0.6'}
+ qs@6.7.0:
+ resolution: {integrity: sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==}
+ engines: {node: '>=0.6'}
+
querystringify@2.2.0:
resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==}
@@ -9121,6 +9128,8 @@ snapshots:
dependencies:
side-channel: 1.0.6
+ qs@6.7.0: {}
+
querystringify@2.2.0: {}
queue-microtask@1.2.3: {}
diff --git a/src/pages.json b/src/pages.json
index 0738852..0eea0ab 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -55,7 +55,7 @@
{
"path": "pages/commodity/commodity",
"style": {
- "navigationStyle": "custom",
+ "navigationStyle": "default",
"navigationBarTitleText": "商品页",
"enablePullDownRefresh": false
}
diff --git a/src/pages/category/category.vue b/src/pages/category/category.vue
index 8f90f4e..517859a 100644
--- a/src/pages/category/category.vue
+++ b/src/pages/category/category.vue
@@ -1,5 +1,6 @@
@@ -58,7 +63,9 @@ function switchCategory(index) {
-
diff --git a/src/pages/commodity/commodity.vue b/src/pages/commodity/commodity.vue
index 2c75593..4cb7e73 100644
--- a/src/pages/commodity/commodity.vue
+++ b/src/pages/commodity/commodity.vue
@@ -1,11 +1,17 @@
-
-
+
+
+ 商品页
+
diff --git a/tailwind.config.js b/tailwind.config.js
index 829a7aa..63374e6 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -15,7 +15,8 @@ module.exports = {
"./src/index.html",
"./pages/**/*.{html,js,ts,jsx,tsx,vue}",
"./src/pages/**/*.{html,js,ts,jsx,tsx,vue}",
- "./components/**/*.{html,js,ts,jsx,tsx,vue}"
+ "./components/**/*.{html,js,ts,jsx,tsx,vue}",
+ "./src/components/**/*.{html,js,ts,jsx,tsx,vue}"
],
corePlugins: {
// 跨多端可以 h5 开启,小程序关闭