From 7244927127b2ef5b90076a2a4385811688724831 Mon Sep 17 00:00:00 2001 From: aixianling Date: Wed, 11 Jan 2023 17:47:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=B8=80=E6=B3=A2=E5=8D=8A?= =?UTF-8?q?=E6=88=90=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wxmp/package.json | 2 +- wxmp/src/App.vue | 2 +- wxmp/src/manifest.json | 6 +++++- wxmp/src/pages/home.vue | 36 +++++++++++++++++++++++++++++------- wxmp/vite.config.js | 4 +--- 5 files changed, 37 insertions(+), 13 deletions(-) diff --git a/wxmp/package.json b/wxmp/package.json index 63f1e03..4e2e793 100644 --- a/wxmp/package.json +++ b/wxmp/package.json @@ -22,7 +22,7 @@ "@dcloudio/uni-mp-weixin": "3.0.0-3061420221215001", "@dcloudio/uni-quickapp-webview": "3.0.0-3061420221215001", "@dcloudio/uni-ui": "^1.4.23", - "axios": "^1.2.2", + "axios": "^0.27.2", "axios-miniprogram-adapter": "^0.3.5", "dayjs": "^1.11.7", "query-string": "^8.1.0", diff --git a/wxmp/src/App.vue b/wxmp/src/App.vue index 028b28e..f037934 100644 --- a/wxmp/src/App.vue +++ b/wxmp/src/App.vue @@ -14,7 +14,7 @@ export default { /*每个页面公共css */ @each $padMar, $pm in (mar:margin, pad:padding) { - @each $v in (8, 10, 16, 20, 32, 48, 64) { + @each $v in (8, 10, 16, 20, 32, 48, 64, 80) { @each $pos, $p in (l:left, r:right, t:top, b:bottom) { .#{$padMar}-#{$pos+$v} { #{$pm}-#{$p}: #{$v}px diff --git a/wxmp/src/manifest.json b/wxmp/src/manifest.json index bb25919..8f491a4 100644 --- a/wxmp/src/manifest.json +++ b/wxmp/src/manifest.json @@ -8,7 +8,11 @@ "mp-weixin": { "appid": "wx68ef6cfaa104652a", "setting": { - "urlCheck": false + "urlCheck": false, + "enhance": true + }, + "optimization": { + "subPackages": true }, "usingComponents": true }, diff --git a/wxmp/src/pages/home.vue b/wxmp/src/pages/home.vue index 6f19ead..72b7823 100644 --- a/wxmp/src/pages/home.vue +++ b/wxmp/src/pages/home.vue @@ -2,8 +2,21 @@
-
- +
+ + + + + + + +
@@ -13,6 +26,7 @@ @@ -58,6 +78,8 @@ export default { height: calc(100vh - 100px); overflow-y: auto; font-size: 12px; + z-index: 202301111557; + background: #fff; } } diff --git a/wxmp/vite.config.js b/wxmp/vite.config.js index 1c63ae5..ef97458 100644 --- a/wxmp/vite.config.js +++ b/wxmp/vite.config.js @@ -3,7 +3,5 @@ import uni from '@dcloudio/vite-plugin-uni' export default defineConfig({ optimizeDeps: ['@dcloudio/uni-ui'], - plugins: [ - uni(), - ], + plugins: [uni()], })