From 3526914a0d165d2793aead7b0c36fe25f7a9e23c Mon Sep 17 00:00:00 2001 From: "453530270@qq.com" Date: Mon, 23 Oct 2023 15:03:44 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=88=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.js | 5 +- manifest.json | 30 ++-- pages.json | 22 +-- pages/index/components/banner.vue | 161 +++++++++++++++++++ pages/index/components/goods.vue | 256 ++++++++++++++++++++++++++++++ pages/index/components/search.vue | 237 +++++++++++++++++++++++++++ pages/index/index - 副本.vue | 132 +++++++++++++++ pages/index/index.vue | 155 ++++++++++++------ static/01.png | Bin 4103 -> 0 bytes 9 files changed, 912 insertions(+), 86 deletions(-) create mode 100644 pages/index/components/banner.vue create mode 100644 pages/index/components/goods.vue create mode 100644 pages/index/components/search.vue create mode 100644 pages/index/index - 副本.vue delete mode 100644 static/01.png diff --git a/config.js b/config.js index 6da5b30..b137fc0 100644 --- a/config.js +++ b/config.js @@ -1,12 +1,11 @@ module.exports = { // 系统名称 - name: "工会活动", + name: "萤火商城2.0", // 必填: 后端api地址, 斜杠/结尾, 参照下面格式 // 例如: https://www.你的域名.com/index.php?s=/api/ - //apiUrl: "https://www.你的域名.com/index.php?s=/api/", - apiUrl: "https://192.168.66.16:8089/index.php?s=/api/", + apiUrl: "http://192.168.66.16:8089/index.php?s=/api/", /** * 是否启用商城设置缓存 diff --git a/manifest.json b/manifest.json index b8ed184..2d9d328 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { - "name" : "szgh", - "appid" : "__UNI__2C2043C", + "name" : "萤火商城2.0", + "appid" : "", "description" : "萤火商城V2.0,是2021年全新推出的一款轻量级、高性能、前后端分离的电商系统", "versionName" : "2.0.3", "versionCode" : 203, @@ -72,19 +72,19 @@ "mp-weixin" : { "appid" : "", "setting" : { - // 是否检查安全域名和 TLS 版本 - "urlCheck" : true, - // es6转es5 - "es6" : false, - // 上传代码时自动压缩 - "minified" : true, - // 调试器 wxml面板展示 shadow-root - "showShadowRootInWxmlPanel" : true, - // 上传代码时是否自动压缩样式文件 - "minifyWXSS" : true, - // 上传代码时是否自动压缩wxml文件 - // 因uniappp构建出来的wxml本身就是压缩好的, 如果再用微信开发工具压缩一次的话, 有可能会破坏到文件, 所以此处设为false - "minifyWXML" : false + // 是否检查安全域名和 TLS 版本 + "urlCheck" : true, + // es6转es5 + "es6" : false, + // 上传代码时自动压缩 + "minified" : true, + // 调试器 wxml面板展示 shadow-root + "showShadowRootInWxmlPanel" : true, + // 上传代码时是否自动压缩样式文件 + "minifyWXSS" : true, + // 上传代码时是否自动压缩wxml文件 + // 因uniappp构建出来的wxml本身就是压缩好的, 如果再用微信开发工具压缩一次的话, 有可能会破坏到文件, 所以此处设为false + "minifyWXML" : false }, "usingComponents" : true, "lazyCodeLoading" : "requiredComponents", diff --git a/pages.json b/pages.json index 4a5a4b1..52489df 100644 --- a/pages.json +++ b/pages.json @@ -28,7 +28,7 @@ }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { - "path": "pages/index/home", + "path": "pages/index/index", "style": { "enablePullDownRefresh": true, "navigationStyle": "custom" @@ -239,25 +239,7 @@ "navigationBarTitleText": "申请售后" } } - ,{ - "path" : "pages/index/index", - "style" : - { - "navigationBarTitleText": "", - "enablePullDownRefresh": false - } - - } - ,{ - "path" : "pages/cal/index", - "style" : - { - "navigationBarTitleText": "", - "enablePullDownRefresh": false - } - - } - ], + ], "globalStyle": { // #ifdef H5 // "navigationStyle": "custom", diff --git a/pages/index/components/banner.vue b/pages/index/components/banner.vue new file mode 100644 index 0000000..0f8c483 --- /dev/null +++ b/pages/index/components/banner.vue @@ -0,0 +1,161 @@ + + + + + diff --git a/pages/index/components/goods.vue b/pages/index/components/goods.vue new file mode 100644 index 0000000..10099fc --- /dev/null +++ b/pages/index/components/goods.vue @@ -0,0 +1,256 @@ + + + + + diff --git a/pages/index/components/search.vue b/pages/index/components/search.vue new file mode 100644 index 0000000..169e58c --- /dev/null +++ b/pages/index/components/search.vue @@ -0,0 +1,237 @@ + + + + + diff --git a/pages/index/index - 副本.vue b/pages/index/index - 副本.vue new file mode 100644 index 0000000..b35568d --- /dev/null +++ b/pages/index/index - 副本.vue @@ -0,0 +1,132 @@ + + + + + diff --git a/pages/index/index.vue b/pages/index/index.vue index b35568d..0568fbf 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,29 +1,62 @@