From c15433bb8fc6ed94b80c2c2e2d1d52dea80a94df Mon Sep 17 00:00:00 2001 From: wangzimeng <3297159934@qq.com> Date: Wed, 16 Jul 2025 14:46:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=E5=95=86=E5=9F=8E=E6=BA=90?= =?UTF-8?q?=E7=A0=81=EF=BC=8C=E4=BD=86=E6=98=AF=E4=B8=8D=E5=85=A8=E9=9D=A2?= =?UTF-8?q?=E5=8D=87=E7=BA=A7=E4=B8=BAvue3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 28 +- manifest.json | 2 +- package.json | 202 ++-- pages/index/components/third-one.vue | 4 - pages/index/fabu.vue | 9 - pages/index/index.vue | 467 ++------- pages/index/user.vue | 2 +- project.config.json | 25 - project.private.config.json | 14 - .../components/s-block-item/s-block-item.vue | 4 - .../components/s-goods-card/s-goods-card.vue | 2 +- .../components/s-image-cube/s-image-cube.vue | 1 - .../s-popup-image/s-popup-image.vue | 1 - sheep/config/index.js | 3 +- sheep/ui/su-image/su-image.vue | 226 ++--- sheep/ui/su-swiper/su-swiper.vue | 885 +++++++++--------- sheep/ui/su-video/su-video.vue | 1 - static/index/home.png | Bin 930 -> 0 bytes static/index/homeSeleced.png | Bin 953 -> 0 bytes static/index/hot.png | Bin 2919 -> 0 bytes static/index/locationList.png | Bin 994 -> 0 bytes static/index/locationTop.png | Bin 1337 -> 0 bytes static/index/logo1.png | Bin 22036 -> 0 bytes static/index/my.png | Bin 1016 -> 0 bytes static/index/mySeleced.png | Bin 1007 -> 0 bytes static/index/nextMore.png | Bin 493 -> 0 bytes static/index/release.png | Bin 2199 -> 0 bytes static/index/rent.png | Bin 54980 -> 0 bytes static/index/school.png | Bin 6636 -> 0 bytes static/index/search.png | Bin 157 -> 0 bytes static/index/shoppingMall.png | Bin 4713 -> 0 bytes static/index/topBack.png | Bin 13060 -> 0 bytes 32 files changed, 741 insertions(+), 1135 deletions(-) delete mode 100644 pages/index/fabu.vue delete mode 100644 project.config.json delete mode 100644 project.private.config.json delete mode 100644 static/index/home.png delete mode 100644 static/index/homeSeleced.png delete mode 100644 static/index/hot.png delete mode 100644 static/index/locationList.png delete mode 100644 static/index/locationTop.png delete mode 100644 static/index/logo1.png delete mode 100644 static/index/my.png delete mode 100644 static/index/mySeleced.png delete mode 100644 static/index/nextMore.png delete mode 100644 static/index/release.png delete mode 100644 static/index/rent.png delete mode 100644 static/index/school.png delete mode 100644 static/index/search.png delete mode 100644 static/index/shoppingMall.png delete mode 100644 static/index/topBack.png diff --git a/main.js b/main.js index 0bdbcba..2680ac6 100644 --- a/main.js +++ b/main.js @@ -1,23 +1,15 @@ import App from './App'; -import { - createSSRApp -} from 'vue'; -import { - setupPinia -} from './sheep/store'; -import { createPinia } from 'pinia' -import uView from 'uview-plus'; +import { createSSRApp } from 'vue'; +import { setupPinia } from './sheep/store'; + export function createApp() { - // Vue.use(uView); - const app = createSSRApp(App); - const pinia = createPinia() - app.use(pinia) - app.use(uView) - setupPinia(app); + const app = createSSRApp(App); + + setupPinia(app); - return { - app, - }; -} \ No newline at end of file + return { + app, + }; +} diff --git a/manifest.json b/manifest.json index a299681..17fba66 100644 --- a/manifest.json +++ b/manifest.json @@ -1,5 +1,5 @@ { - "name": "Shopro", + "name": "团餐宝典", "appid": "__UNI__B256060", "description": "Shopro是由SheepJS团队开发,使用Uniapp+Vue3技术驱动的在线商城系统,内含诸多功能与丰富的活动,期待您的使用和反馈。", "versionName": "3.1.0", diff --git a/package.json b/package.json index 7b95ca1..952c878 100644 --- a/package.json +++ b/package.json @@ -1,104 +1,102 @@ { - "id": "shopro", - "name": "shopro", - "displayName": "Shopro商城", - "version": "3.1.0", - "description": "Shopro-B2C商城,一套代码,同时发行到iOS、Android、H5、微信小程序多个平台,请使用手机扫码快速体验强大功能", - "scripts": { - "prettier": "prettier --write \"{pages,sheep}/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"" - }, - "repository": "https://github.com/sheepjs/shop.git", - "keywords": [ - "商城", - "B2C", - "Shopro", - "商城模板" - ], - "author": "", - "license": "MIT", - "homepage": "https://www.shopro.top", - "dcloudext": { - "category": [ - "前端页面模板", - "uni-app前端项目模板" - ], - "sale": { - "regular": { - "price": "0.00" - }, - "sourcecode": { - "price": "0.00" - } - }, - "contact": { - "qq": "" - }, - "declaration": { - "ads": "无", - "data": "无", - "permissions": "无" - }, - "npmurl": "" - }, - "uni_modules": { - "dependencies": [], - "encrypt": [], - "platforms": { - "cloud": { - "tcb": "u", - "aliyun": "u" - }, - "client": { - "App": { - "app-vue": "y", - "app-nvue": "u" - }, - "H5-mobile": { - "Safari": "y", - "Android Browser": "y", - "微信浏览器(Android)": "y", - "QQ浏览器(Android)": "y" - }, - "H5-pc": { - "Chrome": "y", - "IE": "y", - "Edge": "y", - "Firefox": "y", - "Safari": "y" - }, - "小程序": { - "微信": "y", - "阿里": "u", - "百度": "u", - "字节跳动": "u", - "QQ": "u", - "京东": "u" - }, - "快应用": { - "华为": "u", - "联盟": "u" - }, - "Vue": { - "vue2": "u", - "vue3": "y" - } - } - } - }, - "dependencies": { - "@hyoga/uni-socket.io": "^1.0.1", - "dayjs": "^1.11.9", - "lodash": "^4.17.21", - "luch-request": "^3.1.0", - "pinia": "^2.1.4", - "pinia-plugin-persist-uni": "1.2.0", - "qs-canvas": "^1.0.11", - "uview-plus": "^3.4.51", - "vue": "^3.5.17", - "weixin-js-sdk": "^1.6.0" - }, - "devDependencies": { - "prettier": "^3.0.0", - "vconsole": "^3.15.1" - } + "id": "shopro", + "name": "shopro", + "displayName": "Shopro商城", + "version": "3.1.0", + "description": "Shopro-B2C商城,一套代码,同时发行到iOS、Android、H5、微信小程序多个平台,请使用手机扫码快速体验强大功能", + "scripts": { + "prettier": "prettier --write \"{pages,sheep}/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"" + }, + "repository": "https://github.com/sheepjs/shop.git", + "keywords": [ + "商城", + "B2C", + "Shopro", + "商城模板" + ], + "author": "", + "license": "MIT", + "homepage": "https://www.shopro.top", + "dcloudext": { + "category": [ + "前端页面模板", + "uni-app前端项目模板" + ], + "sale": { + "regular": { + "price": "0.00" + }, + "sourcecode": { + "price": "0.00" + } + }, + "contact": { + "qq": "" + }, + "declaration": { + "ads": "无", + "data": "无", + "permissions": "无" + }, + "npmurl": "" + }, + "uni_modules": { + "dependencies": [], + "encrypt": [], + "platforms": { + "cloud": { + "tcb": "u", + "aliyun": "u" + }, + "client": { + "App": { + "app-vue": "y", + "app-nvue": "u" + }, + "H5-mobile": { + "Safari": "y", + "Android Browser": "y", + "微信浏览器(Android)": "y", + "QQ浏览器(Android)": "y" + }, + "H5-pc": { + "Chrome": "y", + "IE": "y", + "Edge": "y", + "Firefox": "y", + "Safari": "y" + }, + "小程序": { + "微信": "y", + "阿里": "u", + "百度": "u", + "字节跳动": "u", + "QQ": "u", + "京东": "u" + }, + "快应用": { + "华为": "u", + "联盟": "u" + }, + "Vue": { + "vue2": "u", + "vue3": "y" + } + } + } + }, + "dependencies": { + "@hyoga/uni-socket.io": "^1.0.1", + "dayjs": "^1.11.9", + "lodash": "^4.17.21", + "luch-request": "^3.1.0", + "pinia": "2.1.4", + "pinia-plugin-persist-uni": "1.2.0", + "qs-canvas": "^1.0.11", + "weixin-js-sdk": "^1.6.0" + }, + "devDependencies": { + "prettier": "^3.0.0", + "vconsole": "^3.15.1" + } } diff --git a/pages/index/components/third-one.vue b/pages/index/components/third-one.vue index ff5372f..e430681 100644 --- a/pages/index/components/third-one.vue +++ b/pages/index/components/third-one.vue @@ -46,10 +46,6 @@ activeMenu: [Number, String], pagination: Object, }); - - onload(() => { - console.log('onload',props.data.children[activeMenu].children); - }) \ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue index 24d9199..6a75481 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,425 +1,70 @@ - - \ No newline at end of file + diff --git a/pages/index/user.vue b/pages/index/user.vue index 8cda45f..1d087d6 100644 --- a/pages/index/user.vue +++ b/pages/index/user.vue @@ -1,6 +1,6 @@