diff --git a/package-lock.json b/package-lock.json index 4ed28de..d155106 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,6 +13,7 @@ "@better-scroll/scroll-bar": "^2.5.1", "axios": "^1.6.7", "lodash-es": "^4.17.21", + "pinia": "^2.2.0", "swiper": "^11.1.1", "vue": "^3.4.15" }, @@ -1931,6 +1932,11 @@ "@vue/shared": "3.4.19" } }, + "node_modules/@vue/devtools-api": { + "version": "6.6.3", + "resolved": "https://registry.npmmirror.com/@vue/devtools-api/-/devtools-api-6.6.3.tgz", + "integrity": "sha512-0MiMsFma/HqA6g3KLKn+AGpL1kgKhFWszC9U29NfpWK5LE7bjeXxySWJrOJ77hBz+TBrBQ7o4QJqbPbqbs8rJw==" + }, "node_modules/@vue/eslint-config-prettier": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/@vue/eslint-config-prettier/-/eslint-config-prettier-8.0.0.tgz", @@ -6579,12 +6585,62 @@ "node": ">=0.10.0" } }, + "node_modules/pinia": { + "version": "2.2.0", + "resolved": "https://registry.npmmirror.com/pinia/-/pinia-2.2.0.tgz", + "integrity": "sha512-iPrIh26GMqfpUlMOGyxuDowGmYousTecbTHFwT0xZ1zJvh23oQ+Cj99ZoPQA1TnUPhU6AuRPv6/drkTCJ0VHQA==", + "dependencies": { + "@vue/devtools-api": "^6.6.3", + "vue-demi": "^0.14.8" + }, + "funding": { + "url": "https://github.com/sponsors/posva" + }, + "peerDependencies": { + "@vue/composition-api": "^1.4.0", + "typescript": ">=4.4.4", + "vue": "^2.6.14 || ^3.3.0" + }, + "peerDependenciesMeta": { + "@vue/composition-api": { + "optional": true + }, + "typescript": { + "optional": true + } + } + }, "node_modules/pinia-logger": { "version": "1.3.12", "resolved": "https://registry.npmjs.org/pinia-logger/-/pinia-logger-1.3.12.tgz", "integrity": "sha512-0qY41Bh6iYN7mncwOGCaiS02OGujf9NK1kLVzNTRLw/L88xbBOCA6r4bO1PD3KRTiPtXc5u3nnnqKR+kTIIdsA==", "dev": true }, + "node_modules/pinia/node_modules/vue-demi": { + "version": "0.14.10", + "resolved": "https://registry.npmmirror.com/vue-demi/-/vue-demi-0.14.10.tgz", + "integrity": "sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg==", + "hasInstallScript": true, + "bin": { + "vue-demi-fix": "bin/vue-demi-fix.js", + "vue-demi-switch": "bin/vue-demi-switch.js" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "@vue/composition-api": "^1.0.0-rc.1", + "vue": "^3.0.0-0 || ^2.6.0" + }, + "peerDependenciesMeta": { + "@vue/composition-api": { + "optional": true + } + } + }, "node_modules/pinkie": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", diff --git a/package.json b/package.json index 0baab33..ea414eb 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "@better-scroll/scroll-bar": "^2.5.1", "axios": "^1.6.7", "lodash-es": "^4.17.21", + "pinia": "^2.2.0", "swiper": "^11.1.1", "vue": "^3.4.15" }, diff --git a/public/static/offline/JSON/getBackTime.json b/public/static/offline/JSON/getBackTime.json new file mode 100644 index 0000000..5a77f33 --- /dev/null +++ b/public/static/offline/JSON/getBackTime.json @@ -0,0 +1 @@ +{"code":200,"msg":"操作成功","data":[60,0]} diff --git a/public/static/offline/JSON/getCustomerQr.json b/public/static/offline/JSON/getCustomerQr.json new file mode 100644 index 0000000..ae3caeb --- /dev/null +++ b/public/static/offline/JSON/getCustomerQr.json @@ -0,0 +1,16 @@ +{ + "code": 200, + "msg": "操作成功", + "data": [ + { + "id": 1476, + "entryCode": "ogMDNkoxrQrFIXWP06T6y", + "title": "顾客心声二维码", + "content": { + "qrUrl": [ + "/iotFile/project-bg9aktmmvxxfvi6vya0dua/20240715/ZR8QBUPdCyn2qZIszWaT2.jpg" + ] + } + } + ] +} diff --git a/public/static/offline/JSON/getDevCoordinateByIP.json b/public/static/offline/JSON/getDevCoordinateByIP.json index 2ae12ac..ca4a715 100644 --- a/public/static/offline/JSON/getDevCoordinateByIP.json +++ b/public/static/offline/JSON/getDevCoordinateByIP.json @@ -17,7 +17,7 @@ "mac": "30B49EC47D5E", "location": "51", "angle": "0", - "projectCode": "project-o99mwit8jby-qb_xrffk2a", + "projectCode": "project-200", "regionCode": "", "lensCoordinate": "", "orientationCoordinate": "", diff --git a/src/App.vue b/src/App.vue index c652628..a984dc9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,12 +3,51 @@
+ + + diff --git a/src/assets/images/a.svg b/src/assets/images/a.svg new file mode 100644 index 0000000..86a89d3 --- /dev/null +++ b/src/assets/images/a.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/assets/images/q.svg b/src/assets/images/q.svg new file mode 100644 index 0000000..bd236fd --- /dev/null +++ b/src/assets/images/q.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/base/AutoBackNotification/AutoBackNotification.vue b/src/base/AutoBackNotification/AutoBackNotification.vue new file mode 100644 index 0000000..35bb398 --- /dev/null +++ b/src/base/AutoBackNotification/AutoBackNotification.vue @@ -0,0 +1,53 @@ + + + + + diff --git a/src/components/List/List.vue b/src/components/List/List.vue index 708e43e..f769091 100644 --- a/src/components/List/List.vue +++ b/src/components/List/List.vue @@ -1,18 +1,18 @@