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 @@
-
-
@@ -18,11 +16,9 @@
-
-
diff --git a/sheep/components/s-goods-card/s-goods-card.vue b/sheep/components/s-goods-card/s-goods-card.vue
index 50f3470..8aeba1f 100644
--- a/sheep/components/s-goods-card/s-goods-card.vue
+++ b/sheep/components/s-goods-card/s-goods-card.vue
@@ -1,7 +1,7 @@
-
+
- s-image-cube
diff --git a/sheep/components/s-popup-image/s-popup-image.vue b/sheep/components/s-popup-image/s-popup-image.vue
index 5800723..f2528a3 100644
--- a/sheep/components/s-popup-image/s-popup-image.vue
+++ b/sheep/components/s-popup-image/s-popup-image.vue
@@ -21,7 +21,6 @@
-
diff --git a/sheep/config/index.js b/sheep/config/index.js
index b685915..0fd7ced 100644
--- a/sheep/config/index.js
+++ b/sheep/config/index.js
@@ -12,8 +12,7 @@ if (process.env.NODE_ENV === 'development') {
if (typeof baseUrl === 'undefined') {
console.error('请检查.env配置文件是否存在');
} else {
- // console.log(`[Shopro ${version}] https://www.sheepjs.com/`);
- console.log(`[Shopro ${version}] https://jiangxiaoxian.hschool.com.cn/`);
+ console.log(`[Shopro ${version}] https://www.sheepjs.com/`);
}
export const apiPath = import.meta.env.SHOPRO_API_PATH;
diff --git a/sheep/ui/su-image/su-image.vue b/sheep/ui/su-image/su-image.vue
index 4951217..a53eda8 100644
--- a/sheep/ui/su-image/su-image.vue
+++ b/sheep/ui/su-image/su-image.vue
@@ -1,126 +1,130 @@
-
-
-
+
\ No newline at end of file
+ .su-img {
+ position: relative;
+ width: 100%;
+ height: 100%;
+ display: block;
+ }
+
diff --git a/sheep/ui/su-swiper/su-swiper.vue b/sheep/ui/su-swiper/su-swiper.vue
index 0856fec..1027b84 100644
--- a/sheep/ui/su-swiper/su-swiper.vue
+++ b/sheep/ui/su-swiper/su-swiper.vue
@@ -1,480 +1,507 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ state.cur + 1 }} / {{ props.list.length }}
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ state.cur + 1 }} / {{ props.list.length }}
+
+
+
+
+
\ No newline at end of file
+ .swiper-item.cur .ui-swiper-main {
+ transform: scale(0.96);
+ transition: all 0.2s ease-in 0s;
+ }
+ }
+ }
+
diff --git a/sheep/ui/su-video/su-video.vue b/sheep/ui/su-video/su-video.vue
index 550d65f..f52965f 100644
--- a/sheep/ui/su-video/su-video.vue
+++ b/sheep/ui/su-video/su-video.vue
@@ -20,7 +20,6 @@
@ended="end"
:poster="poster"
>
-
diff --git a/static/index/home.png b/static/index/home.png
deleted file mode 100644
index ac57b51..0000000
Binary files a/static/index/home.png and /dev/null differ
diff --git a/static/index/homeSeleced.png b/static/index/homeSeleced.png
deleted file mode 100644
index bc34feb..0000000
Binary files a/static/index/homeSeleced.png and /dev/null differ
diff --git a/static/index/hot.png b/static/index/hot.png
deleted file mode 100644
index 900a85d..0000000
Binary files a/static/index/hot.png and /dev/null differ
diff --git a/static/index/locationList.png b/static/index/locationList.png
deleted file mode 100644
index d2aa04a..0000000
Binary files a/static/index/locationList.png and /dev/null differ
diff --git a/static/index/locationTop.png b/static/index/locationTop.png
deleted file mode 100644
index 2086758..0000000
Binary files a/static/index/locationTop.png and /dev/null differ
diff --git a/static/index/logo1.png b/static/index/logo1.png
deleted file mode 100644
index 26bcb4b..0000000
Binary files a/static/index/logo1.png and /dev/null differ
diff --git a/static/index/my.png b/static/index/my.png
deleted file mode 100644
index 7acad84..0000000
Binary files a/static/index/my.png and /dev/null differ
diff --git a/static/index/mySeleced.png b/static/index/mySeleced.png
deleted file mode 100644
index 28c8076..0000000
Binary files a/static/index/mySeleced.png and /dev/null differ
diff --git a/static/index/nextMore.png b/static/index/nextMore.png
deleted file mode 100644
index b9fa459..0000000
Binary files a/static/index/nextMore.png and /dev/null differ
diff --git a/static/index/release.png b/static/index/release.png
deleted file mode 100644
index 82723fd..0000000
Binary files a/static/index/release.png and /dev/null differ
diff --git a/static/index/rent.png b/static/index/rent.png
deleted file mode 100644
index f285c85..0000000
Binary files a/static/index/rent.png and /dev/null differ
diff --git a/static/index/school.png b/static/index/school.png
deleted file mode 100644
index ced0949..0000000
Binary files a/static/index/school.png and /dev/null differ
diff --git a/static/index/search.png b/static/index/search.png
deleted file mode 100644
index cddb4c6..0000000
Binary files a/static/index/search.png and /dev/null differ
diff --git a/static/index/shoppingMall.png b/static/index/shoppingMall.png
deleted file mode 100644
index d61bd7f..0000000
Binary files a/static/index/shoppingMall.png and /dev/null differ
diff --git a/static/index/topBack.png b/static/index/topBack.png
deleted file mode 100644
index b190014..0000000
Binary files a/static/index/topBack.png and /dev/null differ