commit b0744c8ab61bf17231131a3fb44ba0584f564635 Author: HongRun Liu Date: Tue May 26 15:52:30 2026 +0800 init diff --git a/.env b/.env new file mode 100644 index 0000000..301daf3 --- /dev/null +++ b/.env @@ -0,0 +1,52 @@ +# 版本号 +SHOPRO_VERSION=v2.4.1 +# 后端接口 - 正式环境(通过 process.env.NODE_ENV 非 development) +#SHOPRO_BASE_URL=http://8.136.55.200:48090 + +# 后端接口 - 测试环境(通过 process.env.NODE_ENV = development) + +# 霍慧超 +#SHOPRO_DEV_BASE_URL=http://192.168.101.7:48092 + +# 陈力 +# SHOPRO_DEV_BASE_URL=http://192.168.101.57:48092 + +# 张吉生 +#SHOPRO_DEV_BASE_URL=http://192.168.101.58:48090 + +# 服务器 +SHOPRO_DEV_BASE_URL=http://www.qflyqzy.net:48090 + +#SHOPRO_DEV_BASE_URL=https://www.qflyqzy.net/yg-api + +# 本地 +#SHOPRO_DEV_BASE_URL=http://8.136.55.200:48090 + +### SHOPRO_DEV_BASE_URL=http://10.171.1.188:48090 +### SHOPRO_DEV_BASE_URL = http://yunai.natapp1.cc + +# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务 +SHOPRO_UPLOAD_TYPE=server + +# 后端接口前缀(一般不建议调整) +SHOPRO_API_PATH=/app-api + +# 后端 websocket 接口前缀 +SHOPRO_WEBSOCKET_PATH=/infra/ws + +# 开发环境运行端口 +SHOPRO_DEV_PORT=3000 + +# 客户端静态资源地址 空=默认使用服务端指定的CDN资源地址前缀 | local=本地 | http(s)://xxx.xxx=自定义静态资源地址前缀 +SHOPRO_STATIC_URL=https://file.sheepjs.com +### SHOPRO_STATIC_URL = https://file.sheepjs.com + +# 前端 H5 访问域名 +SHOPRO_H5_URL=http://8.136.55.200:3000 + +# 是否开启直播 1 开启直播 | 0 关闭直播 +SHOPRO_MPLIVE_ON=0 + +# 租户ID 默认 1 +SHOPRO_TENANT_ID=1 + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fe6ddb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,12 @@ +unpackage/* +node_modules/* +.idea/* +deploy.sh +.hbuilderx/ +.vscode/ +**/.DS_Store +yarn.lock +package-lock.json +*.keystore +pnpm-lock.yaml +.history diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..7384df0 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,6 @@ +/unpackage/* +/node_modules/** +/uni_modules/** +/public/* +**/*.svg +**/*.sh diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..fe0a3f9 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,10 @@ +{ + "printWidth": 100, + "semi": true, + "vueIndentScriptAndStyle": true, + "singleQuote": true, + "trailingComma": "all", + "proseWrap": "never", + "htmlWhitespaceSensitivity": "strict", + "endOfLine": "auto" +} diff --git a/App.vue b/App.vue new file mode 100644 index 0000000..4495b17 --- /dev/null +++ b/App.vue @@ -0,0 +1,267 @@ + + + \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..9799627 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 lidongtony + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/androidPrivacy.json b/androidPrivacy.json new file mode 100644 index 0000000..00157a1 --- /dev/null +++ b/androidPrivacy.json @@ -0,0 +1,13 @@ +{ + "prompt" : "template", + "title" : "用户协议和隐私政策", + "message" : "欢迎使用本应用,我们非常重视您的个人信息和隐私保护。在使用服务之前,请仔细阅读《用户协议》和《隐私政策》。我们将按照您同意的条款使用您的个人信息,以便为您提供服务。", + "buttonAccept" : "同意并接受", + "buttonRefuse" : "退出应用", + "styles" : { + "backgroundColor" : "#ffffff", + "buttonAccept" : { + "color" : "#FA7E31" + } + } +} diff --git a/components/agreement.vue b/components/agreement.vue new file mode 100644 index 0000000..ed632b7 --- /dev/null +++ b/components/agreement.vue @@ -0,0 +1,152 @@ + + + + diff --git a/components/ai_order/ai_order.vue b/components/ai_order/ai_order.vue new file mode 100644 index 0000000..384542c --- /dev/null +++ b/components/ai_order/ai_order.vue @@ -0,0 +1,388 @@ + + + + diff --git a/components/card_echart/card_echart.vue b/components/card_echart/card_echart.vue new file mode 100644 index 0000000..a924aa7 --- /dev/null +++ b/components/card_echart/card_echart.vue @@ -0,0 +1,60 @@ + + + + \ No newline at end of file diff --git a/components/card_edit/card_edit.vue b/components/card_edit/card_edit.vue new file mode 100644 index 0000000..a34ae58 --- /dev/null +++ b/components/card_edit/card_edit.vue @@ -0,0 +1,392 @@ + + + + + + \ No newline at end of file diff --git a/components/card_list/card_list.vue b/components/card_list/card_list.vue new file mode 100644 index 0000000..2b39973 --- /dev/null +++ b/components/card_list/card_list.vue @@ -0,0 +1,45 @@ + + + + + diff --git a/components/card_navbar/card_navbar.vue b/components/card_navbar/card_navbar.vue new file mode 100644 index 0000000..c6525fa --- /dev/null +++ b/components/card_navbar/card_navbar.vue @@ -0,0 +1,105 @@ + + + + diff --git a/components/card_navbar/inner-navbar.vue b/components/card_navbar/inner-navbar.vue new file mode 100644 index 0000000..9c68025 --- /dev/null +++ b/components/card_navbar/inner-navbar.vue @@ -0,0 +1,114 @@ + + + + diff --git a/components/card_navbar/transparent_navbar.vue b/components/card_navbar/transparent_navbar.vue new file mode 100644 index 0000000..3387120 --- /dev/null +++ b/components/card_navbar/transparent_navbar.vue @@ -0,0 +1,126 @@ + + + + \ No newline at end of file diff --git a/components/card_orderBan/card_orderBan.vue b/components/card_orderBan/card_orderBan.vue new file mode 100644 index 0000000..22daf6d --- /dev/null +++ b/components/card_orderBan/card_orderBan.vue @@ -0,0 +1,213 @@ + + + + \ No newline at end of file diff --git a/components/card_pages/card_mescroll - 副本.vue b/components/card_pages/card_mescroll - 副本.vue new file mode 100644 index 0000000..947cade --- /dev/null +++ b/components/card_pages/card_mescroll - 副本.vue @@ -0,0 +1,140 @@ + + + + + diff --git a/components/card_pages/card_mescroll.vue b/components/card_pages/card_mescroll.vue new file mode 100644 index 0000000..34deff9 --- /dev/null +++ b/components/card_pages/card_mescroll.vue @@ -0,0 +1,144 @@ + + + + + diff --git a/components/card_pages/card_mescroll1.vue b/components/card_pages/card_mescroll1.vue new file mode 100644 index 0000000..26b66d7 --- /dev/null +++ b/components/card_pages/card_mescroll1.vue @@ -0,0 +1,140 @@ + + + + + diff --git a/components/card_pages/card_pages.vue b/components/card_pages/card_pages.vue new file mode 100644 index 0000000..9fa68c8 --- /dev/null +++ b/components/card_pages/card_pages.vue @@ -0,0 +1,119 @@ + + + + + diff --git a/components/card_payment/card_payment.vue b/components/card_payment/card_payment.vue new file mode 100644 index 0000000..592d481 --- /dev/null +++ b/components/card_payment/card_payment.vue @@ -0,0 +1,334 @@ + + + + \ No newline at end of file diff --git a/components/card_search/card_search.vue b/components/card_search/card_search.vue new file mode 100644 index 0000000..210a768 --- /dev/null +++ b/components/card_search/card_search.vue @@ -0,0 +1,80 @@ + + + diff --git a/components/card_tabber/card_tabber.vue b/components/card_tabber/card_tabber.vue new file mode 100644 index 0000000..3fb6176 --- /dev/null +++ b/components/card_tabber/card_tabber.vue @@ -0,0 +1,47 @@ + + + + + \ No newline at end of file diff --git a/components/goods/goods.vue b/components/goods/goods.vue new file mode 100644 index 0000000..9b3b080 --- /dev/null +++ b/components/goods/goods.vue @@ -0,0 +1,94 @@ + + + + + diff --git a/components/goods/goods1_1.vue b/components/goods/goods1_1.vue new file mode 100644 index 0000000..b33a91a --- /dev/null +++ b/components/goods/goods1_1.vue @@ -0,0 +1,220 @@ + + + + + diff --git a/components/goods/goods2.vue b/components/goods/goods2.vue new file mode 100644 index 0000000..086a65e --- /dev/null +++ b/components/goods/goods2.vue @@ -0,0 +1,115 @@ + + + + + diff --git a/components/goodsItem/card_goods.vue b/components/goodsItem/card_goods.vue new file mode 100644 index 0000000..6750bf1 --- /dev/null +++ b/components/goodsItem/card_goods.vue @@ -0,0 +1,315 @@ + + + + + diff --git a/components/goodsItem/goodsItem copy.vue b/components/goodsItem/goodsItem copy.vue new file mode 100644 index 0000000..f921dbd --- /dev/null +++ b/components/goodsItem/goodsItem copy.vue @@ -0,0 +1,170 @@ + + + + + diff --git a/components/goodsItem/goodsItem.vue b/components/goodsItem/goodsItem.vue new file mode 100644 index 0000000..196e292 --- /dev/null +++ b/components/goodsItem/goodsItem.vue @@ -0,0 +1,200 @@ + + + + + diff --git a/components/goodsItem/goodsItem2.vue b/components/goodsItem/goodsItem2.vue new file mode 100644 index 0000000..e91d54a --- /dev/null +++ b/components/goodsItem/goodsItem2.vue @@ -0,0 +1,89 @@ + + + + + diff --git a/components/mao-scroll/mao-scroll.vue b/components/mao-scroll/mao-scroll.vue new file mode 100644 index 0000000..4ff6134 --- /dev/null +++ b/components/mao-scroll/mao-scroll.vue @@ -0,0 +1,132 @@ + + + + + diff --git a/components/mao-scroll/mao-scroll1.vue b/components/mao-scroll/mao-scroll1.vue new file mode 100644 index 0000000..cc2246c --- /dev/null +++ b/components/mao-scroll/mao-scroll1.vue @@ -0,0 +1,83 @@ + + + + + diff --git a/components/orderItem/card_order.vue b/components/orderItem/card_order.vue new file mode 100644 index 0000000..22b544f --- /dev/null +++ b/components/orderItem/card_order.vue @@ -0,0 +1,163 @@ + + + + \ No newline at end of file diff --git a/components/orderItem/orderItem.vue b/components/orderItem/orderItem.vue new file mode 100644 index 0000000..ecc57ef --- /dev/null +++ b/components/orderItem/orderItem.vue @@ -0,0 +1,211 @@ + + + \ No newline at end of file diff --git a/components/pages_commodity/pages_commodity.vue b/components/pages_commodity/pages_commodity.vue new file mode 100644 index 0000000..f454d23 --- /dev/null +++ b/components/pages_commodity/pages_commodity.vue @@ -0,0 +1,625 @@ + + + + \ No newline at end of file diff --git a/components/truckLine/truckLine.vue b/components/truckLine/truckLine.vue new file mode 100644 index 0000000..3874d89 --- /dev/null +++ b/components/truckLine/truckLine.vue @@ -0,0 +1,76 @@ + + + + diff --git a/index.html b/index.html new file mode 100644 index 0000000..11798b2 --- /dev/null +++ b/index.html @@ -0,0 +1,21 @@ + + + + + + 优购商城 + + + + +
+ + + + \ No newline at end of file diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000..b1968ee --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,9 @@ +{ + "compilerOptions": { + "jsx": "preserve", + "baseUrl": ".", + "paths": { + "@/*": ["./*"] + } + } +} diff --git a/main.js b/main.js new file mode 100644 index 0000000..53bff8f --- /dev/null +++ b/main.js @@ -0,0 +1,35 @@ +import App from './App'; +import { + createSSRApp, + getCurrentInstance +} from 'vue'; +import { + setupPinia +} from './sheep/store'; +import * as utils from './utils/index' +import sheep from '@/sheep'; +import { + fen2yuan +} from '@/sheep/hooks/useGoods'; +import { + debounce +} from '@/utils/common' + + + +export function createApp() { + + const app = createSSRApp(App); + + setupPinia(app); + app.config.globalProperties.$url = 'https://sycbuck.oss-cn-hangzhou.aliyuncs.com/app/' + app.config.globalProperties.$ygUrl = 'https://swzhyg.oss-cn-hangzhou.aliyuncs.com/static/' + app.config.globalProperties.utils = utils; + app.config.globalProperties.$sheep = sheep; + app.config.globalProperties.$fen2yuan = fen2yuan; + app.config.globalProperties.$debounce = debounce; + app.config.globalProperties.$proxy = getCurrentInstance(); + return { + app, + }; +} \ No newline at end of file diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..2be3d59 --- /dev/null +++ b/manifest.json @@ -0,0 +1,145 @@ +{ + "name" : "优购商城", + "appid" : "__UNI__8B19741", + "description" : "", + "versionName" : "1.3.2", + "versionCode" : 132, + "transformPx" : false, + "app-plus" : { + "privacy" : { + "prompt" : "none" + }, + "usingComponents" : true, + "nvueStyleCompiler" : "uni-app", + "compilerVersion" : 3, + "splashscreen" : { + "alwaysShowBeforeRender" : true, + "waiting" : true, + "autoclose" : true, + "delay" : 0 + }, + "modules" : { + "Camera" : {}, + "Payment" : {}, + "OAuth" : {}, + "Share" : {} + }, + "distribute" : { + "android" : { + "schemes" : [ "weixin" ], + "permissions" : [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "abiFilters" : [ "arm64-v8a", "x86" ], + "minSdkVersion" : 21 + }, + "ios" : { + "privacyDescription" : { + "NSPhotoLibraryUsageDescription" : "需要同意访问您的相册选取图片才能完善该条目", + "NSPhotoLibraryAddUsageDescription" : "" + }, + "dSYMs" : false + }, + "sdkConfigs" : { + "payment" : { + "alipay" : { + "__platform__" : [ "ios", "android" ] + }, + "weixin" : { + "__platform__" : [ "ios", "android" ], + "appid" : "wx23b0c321b5d74d63", + "UniversalLinks" : "" + } + }, + "oauth" : { + "weixin" : { + "appid" : "wx23b0c321b5d74d63", + "UniversalLinks" : "" + } + }, + "share" : { + "weixin" : { + "appid" : "wx23b0c321b5d74d63", + "UniversalLinks" : "" + } + } + }, + "icons" : { + "android" : { + "hdpi" : "unpackage/res/icons/72x72.png", + "xhdpi" : "unpackage/res/icons/96x96.png", + "xxhdpi" : "unpackage/res/icons/144x144.png", + "xxxhdpi" : "unpackage/res/icons/192x192.png" + }, + "ios" : { + "appstore" : "unpackage/res/icons/1024x1024.png", + "ipad" : { + "app" : "unpackage/res/icons/76x76.png", + "app@2x" : "unpackage/res/icons/152x152.png", + "notification" : "unpackage/res/icons/20x20.png", + "notification@2x" : "unpackage/res/icons/40x40.png", + "proapp@2x" : "unpackage/res/icons/167x167.png", + "settings" : "unpackage/res/icons/29x29.png", + "settings@2x" : "unpackage/res/icons/58x58.png", + "spotlight" : "unpackage/res/icons/40x40.png", + "spotlight@2x" : "unpackage/res/icons/80x80.png" + }, + "iphone" : { + "app@2x" : "unpackage/res/icons/120x120.png", + "app@3x" : "unpackage/res/icons/180x180.png", + "notification@2x" : "unpackage/res/icons/40x40.png", + "notification@3x" : "unpackage/res/icons/60x60.png", + "settings@2x" : "unpackage/res/icons/58x58.png", + "settings@3x" : "unpackage/res/icons/87x87.png", + "spotlight@2x" : "unpackage/res/icons/80x80.png", + "spotlight@3x" : "unpackage/res/icons/120x120.png" + } + } + }, + "splashscreen" : { + "androidStyle" : "default", + "useOriginalMsgbox" : true + } + } + }, + "quickapp" : {}, + "mp-weixin" : { + "appid" : "wx23b0c321b5d74d63", + "setting" : { + "urlCheck" : true, + "postcss" : true, + "minified" : true, + "es6" : true + }, + "usingComponents" : true, + "permission" : {} + }, + "mp-alipay" : { + "usingComponents" : true + }, + "mp-baidu" : { + "usingComponents" : true + }, + "mp-toutiao" : { + "usingComponents" : true + }, + "uniStatistics" : { + "enable" : false + }, + "vueVersion" : "3", + "h5" : { + "router" : { + "base" : "/apph5/" + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..1e00dc7 --- /dev/null +++ b/package.json @@ -0,0 +1,108 @@ +{ + "id": "shopro", + "name": "shopro", + "displayName": "数维智合", + "version": "2025.09", + "description": "数维智合,一套代码,同时发行到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", + "商城模板" + ], + "author": "", + "license": "MIT", + "bugs": { + "url": "https://github.com/sheepjs/shop/issues" + }, + "homepage": "https://github.com/dcloudio/hello-uniapp#readme", + "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": { + "dayjs": "^1.11.18", + "echarts": "^6.0.0", + "lodash": "^4.17.21", + "lodash-es": "^4.17.21", + "luch-request": "^3.0.8", + "pinia": "2.0.23", + "pinia-plugin-persist-uni": "1.2.0", + "qrcode": "^1.5.4", + "tslib": "^2.8.1", + "weixin-js-sdk": "^1.6.0", + "zrender": "^6.0.0", + "uqrcodejs": "^4.0.7" + }, + "devDependencies": { + "prettier": "^2.8.7", + "vconsole": "^3.15.0" + } +} diff --git a/pages.json b/pages.json new file mode 100644 index 0000000..20560db --- /dev/null +++ b/pages.json @@ -0,0 +1,975 @@ +{ + "easycom": { + "autoscan": true, + "custom": { + "^s-(.*)": "@/sheep/components/s-$1/s-$1.vue", + "^su-(.*)": "@/sheep/ui/su-$1/su-$1.vue" + } + }, + "pages": [{ + "path": "pages/index/startPage", + "aliasPath": "/", + "style": { + "navigationBarTitleText": "启动页", + "enablePullDownRefresh": false + }, + "meta": { + "auth": false, + "sync": true, + "title": "启动页", + "group": "通用" + } + }, + { + "path": "pages/index/index", + "style": { + "navigationBarTitleText": "首页", + "enablePullDownRefresh": false + }, + "meta": { + "sync": true, + "title": "首页", + "group": "商城" + } + }, + { + "path": "pages/index/user", + "style": { + "navigationBarTitleText": "个人中心" + }, + "meta": { + "sync": true, + "title": "个人中心", + "group": "商城" + } + }, + { + "path": "pages/index/category", + "style": { + "navigationBarTitleText": "商品分类" + }, + "meta": { + "sync": true, + "title": "商品分类", + "group": "商城" + } + }, + { + "path": "pages/index/cart", + "style": { + "navigationBarTitleText": "购物车", + "navigationStyle": "custom" + }, + "meta": { + "sync": true, + "title": "购物车", + "group": "商城" + } + }, + { + "path": "pages/cart/cart", + "style": { + "navigationBarTitleText": "购物车", + "navigationStyle": "custom", + "enablePullDownRefresh": false + }, + "meta": { + "sync": true, + "title": "购物车", + "group": "商城" + } + } + ], + "subPackages": [ + { + "root": "pages/goods", + "pages": [{ + "path": "index", + "style": { + "navigationBarTitleText": "商品详情" + }, + "meta": { + "sync": true, + "title": "普通商品", + "group": "商品" + } + }, + { + "path": "groupon", + "style": { + "navigationBarTitleText": "拼团商品" + }, + "meta": { + "sync": true, + "title": "拼团商品", + "group": "商品" + } + }, + { + "path": "seckill", + "style": { + "navigationBarTitleText": "秒杀商品" + }, + "meta": { + "sync": true, + "title": "秒杀商品", + "group": "商品" + } + }, + { + "path": "point", + "style": { + "navigationBarTitleText": "积分商品" + }, + "meta": { + "sync": true, + "title": "积分商品", + "group": "商品" + } + }, + { + "path": "list", + "style": { + "navigationBarTitleText": "商品列表" + }, + "meta": { + "sync": true, + "title": "商品列表", + "group": "商品" + } + }, + { + "path": "comment/add", + "style": { + "navigationBarTitleText": "评价商品" + }, + "meta": { + "auth": true + } + }, + { + "path": "comment/list", + "style": { + "navigationBarTitleText": "商品评价" + } + }, + { + "path": "info", + "style": { + "navigationBarTitleText": "商品详情", + "enablePullDownRefresh": false + } + } + ] + }, + { + "root": "pages/order", + "pages": [{ + "path": "detail", + "style": { + "navigationBarTitleText": "订单详情" + }, + "meta": { + "auth": true, + "title": "订单详情" + } + }, + { + "path": "confirm", + "style": { + "navigationBarTitleText": "确认订单" + }, + "meta": { + "auth": true, + "title": "确认订单" + } + }, + { + "path": "list", + "style": { + "navigationBarTitleText": "我的订单" + }, + "meta": { + "auth": true, + "sync": true, + "title": "用户订单", + "group": "订单中心" + } + }, + { + "path": "aftersale/apply", + "style": { + "navigationBarTitleText": "申请售后" + }, + "meta": { + "auth": true, + "title": "申请售后" + } + }, + { + "path": "aftersale/return-delivery", + "style": { + "navigationBarTitleText": "退货物流" + }, + "meta": { + "auth": true, + "title": "退货物流" + } + }, + { + "path": "express/log", + "style": { + "navigationBarTitleText": "物流轨迹" + }, + "meta": { + "auth": true, + "title": "物流轨迹" + } + } + ] + }, + { + "root": "pages/user", + "pages": [{ + "path": "info", + "style": { + "navigationBarTitleText": "我的信息" + }, + "meta": { + "auth": true, + "sync": true, + "title": "用户信息", + "group": "用户中心" + } + }, + { + "path": "goods-collect", + "style": { + "navigationBarTitleText": "我的收藏" + }, + "meta": { + "auth": true, + "sync": true, + "title": "商品收藏", + "group": "用户中心" + } + }, + { + "path": "goods-log", + "style": { + "navigationBarTitleText": "我的足迹" + }, + "meta": { + "auth": true, + "sync": true, + "title": "浏览记录", + "group": "用户中心" + } + }, + { + "path": "address/list", + "style": { + "navigationBarTitleText": "收货地址" + }, + "meta": { + "auth": true, + "sync": true, + "title": "地址管理", + "group": "用户中心" + } + }, + { + "path": "goods_details_store/index", + "style": { + "navigationBarTitleText": "自提门店" + }, + "meta": { + "auth": true, + "sync": true, + "title": "地址管理", + "group": "用户中心" + } + }, + { + "path": "wallet/money", + "style": { + "navigationBarTitleText": "我的余额" + }, + "meta": { + "auth": true, + "sync": true, + "title": "用户余额", + "group": "用户中心" + } + }, + { + "path": "wallet/score", + "style": { + "navigationBarTitleText": "我的积分" + }, + "meta": { + "auth": true, + "sync": true, + "title": "用户积分", + "group": "用户中心" + } + } + ] + }, + { + "root": "pages/commission", + "pages": [{ + "path": "index", + "style": { + "navigationBarTitleText": "分销" + }, + "meta": { + "auth": true, + "sync": true, + "title": "分销中心", + "group": "分销商城" + } + }, + { + "path": "wallet", + "style": { + "navigationBarTitleText": "我的佣金" + }, + "meta": { + "auth": true, + "sync": true, + "title": "用户佣金", + "group": "分销中心" + } + }, + { + "path": "goods", + "style": { + "navigationBarTitleText": "推广商品" + }, + "meta": { + "auth": true, + "sync": true, + "title": "推广商品", + "group": "分销商城" + } + }, + { + "path": "order", + "style": { + "navigationBarTitleText": "分销订单" + }, + "meta": { + "auth": true, + "sync": true, + "title": "分销订单", + "group": "分销商城" + } + }, + { + "path": "team", + "style": { + "navigationBarTitleText": "我的团队" + }, + "meta": { + "auth": true, + "sync": true, + "title": "我的团队", + "group": "分销商城" + } + }, + { + "path": "promoter", + "style": { + "navigationBarTitleText": "推广人排行榜" + }, + "meta": { + "auth": true, + "sync": true, + "title": "推广人排行榜", + "group": "分销商城" + } + }, + { + "path": "commission-ranking", + "style": { + "navigationBarTitleText": "佣金排行榜" + }, + "meta": { + "auth": true, + "sync": true, + "title": "佣金排行榜", + "group": "分销商城" + } + }, + { + "path": "withdraw", + "style": { + "navigationBarTitleText": "申请提现" + }, + "meta": { + "auth": true, + "sync": true, + "title": "申请提现", + "group": "分销商城" + } + } + ] + }, + { + "root": "pages/app", + "pages": [{ + "path": "sign", + "style": { + "navigationBarTitleText": "签到中心" + }, + "meta": { + "auth": true, + "sync": true, + "title": "签到中心", + "group": "应用" + } + }] + }, + { + "root": "pages/public", + "pages": [{ + "path": "setting", + "style": { + "navigationBarTitleText": "系统设置" + }, + "meta": { + "sync": true, + "title": "系统设置", + "group": "通用" + } + }, + { + "path": "richtext", + "style": { + "navigationBarTitleText": "富文本" + }, + "meta": { + "sync": true, + "title": "富文本", + "group": "通用" + } + }, + { + "path": "faq", + "style": { + "navigationBarTitleText": "常见问题" + }, + "meta": { + "sync": true, + "title": "常见问题", + "group": "通用" + } + }, + { + "path": "error", + "style": { + "navigationBarTitleText": "错误页面" + } + }, + { + "path": "webview", + "style": { + "navigationBarTitleText": "" + } + }, + { + "path": "update", + "style": { + "navigationBarTitleText": "页面更新", + "enablePullDownRefresh": false + } + }, + { + "path": "versions/versions", + "style": { + "navigationBarTitleText": "版本号", + "enablePullDownRefresh": false + } + }, + { + "path": "realname", + "style": { + "navigationBarTitleText": "实名", + "enablePullDownRefresh": false + } + }, + { + "path": "logoff", + "style": { + "navigationBarTitleText": "账号注销" + } + }, + { + "path" : "test", + "style" : + { + "navigationBarTitleText" : "test" + } + }, + { + "path": "login", + "style": { + "navigationBarTitleText": "登录" + } + }, + { + "path": "search", + "style": { + "navigationBarTitleText": "搜索" + }, + "meta": { + "sync": true, + "title": "搜索", + "group": "商城" + } + }, + { + "path": "page", + "style": { + "navigationBarTitleText": "" + }, + "meta": { + "auth": false, + "sync": true, + "title": "自定义页面", + "group": "商城" + } + }, + { + "path": "huamao", + "style": { + "navigationBarTitleText": "华贸" + } + } + ] + }, + { + "root": "pages/coupon", + "pages": [{ + "path": "list", + "style": { + "navigationBarTitleText": "领券中心" + }, + "meta": { + "sync": true, + "title": "领券中心", + "group": "优惠券" + } + }, + { + "path": "detail", + "style": { + "navigationBarTitleText": "优惠券" + }, + "meta": { + "auth": false, + "sync": true, + "title": "优惠券详情", + "group": "优惠券" + } + } + ] + }, + { + "root": "pages/chat", + "pages": [{ + "path": "index", + "style": { + "navigationBarTitleText": "客服", + "app-plus": { + "softinputMode": "adjustResize" + } + }, + "meta": { + "auth": true, + "sync": true, + "title": "客服", + "group": "客服" + } + }] + }, + { + "root": "pages/pay", + "pages": [{ + "path": "index", + "style": { + "navigationBarTitleText": "收银台" + } + }, + { + "path": "result", + "style": { + "navigationBarTitleText": "支付结果" + } + }, + { + "path": "recharge", + "style": { + "navigationBarTitleText": "充值余额" + }, + "meta": { + "auth": true, + "sync": true, + "title": "充值余额", + "group": "支付" + } + }, + { + "path": "recharge-log", + "style": { + "navigationBarTitleText": "充值记录" + }, + "meta": { + "auth": true, + "sync": true, + "title": "充值记录", + "group": "支付" + } + } + ] + }, + { + "root": "pages/activity", + "pages": [{ + "path": "groupon/detail", + "style": { + "navigationBarTitleText": "拼团详情" + } + }, + { + "path": "groupon/order", + "style": { + "navigationBarTitleText": "我的拼团", + "enablePullDownRefresh": true + }, + "meta": { + "auth": true, + "sync": true, + "title": "拼团订单", + "group": "营销活动" + } + }, + { + "path": "index", + "style": { + "navigationBarTitleText": "营销商品" + }, + "meta": { + "sync": true, + "title": "营销商品", + "group": "营销活动" + } + }, + { + "path": "groupon/list", + "style": { + "navigationBarTitleText": "拼团活动" + }, + "meta": { + "sync": true, + "title": "拼团活动", + "group": "营销活动" + } + }, + { + "path": "seckill/list", + "style": { + "navigationBarTitleText": "秒杀活动" + }, + "meta": { + "sync": true, + "title": "秒杀活动", + "group": "营销活动" + } + }, + { + "path": "point/list", + "style": { + "navigationBarTitleText": "积分商城" + }, + "meta": { + "sync": true, + "title": "积分商城", + "group": "营销活动" + } + } + ] + }, + { + "root": "pages/home", + "pages": [{ + "path": "feedback", + "style": { + "navigationBarTitleText": "反馈页面", + "enablePullDownRefresh": false + } + }, + { + "path": "share", + "style": { + "navigationBarTitleText": "邀请好友", + "enablePullDownRefresh": false + } + }, + { + "path": "agency", + "style": { + "navigationBarTitleText": "我的收益", + "enablePullDownRefresh": false + } + }, + { + "path": "staff", + "style": { + "navigationBarTitleText": "我的社员", + "enablePullDownRefresh": false + } + }, + { + "path": "pass", + "style": { + "navigationBarTitleText": "修改密码", + "enablePullDownRefresh": false + } + }, + { + "path": "phone", + "style": { + "navigationBarTitleText": "修改手机号", + "enablePullDownRefresh": false + } + }, + { + "path": "agreement", + "style": { + "navigationBarTitleText": "协议", + "enablePullDownRefresh": false, + "navigationStyle": "default" + } + }, + { + "path": "seed", + "style": { + "navigationBarTitleText": "金种子", + "enablePullDownRefresh": false + } + }, + { + "path": "pointsDetail", + "style": { + "navigationBarTitleText": "明细", + "enablePullDownRefresh": false, + "navigationStyle": "custom" + } + }, + { + "path": "pay/seed", + "style": { + "navigationBarTitleText": "金种子", + "enablePullDownRefresh": false + } + }, + { + "path": "pay/withdrawRecord", + "style": { + "navigationBarTitleText": "提现记录", + "enablePullDownRefresh": false + } + }, + { + "path": "pay/withdraw", + "style": { + "navigationBarTitleText": "提现", + "enablePullDownRefresh": false + } + }, + { + "path": "calculate", + "style": { + "navigationBarTitleText": "calculate" + } + }, + { + "path": "recharge", + "style": { + "navigationBarTitleText": "充值" + } + }, + { + "path": "rechargeRecord", + "style": { + "navigationBarTitleText": "充值消费记录" + } + }, + { + "path": "noRelease", + "style": { + "navigationBarTitleText": "待释放明细" + } + }, + { + "path" : "wallet", + "style" : + { + "navigationBarTitleText" : "钱包" + } + } + ] + }, + { + "root": "pages/AI", + "pages": [{ + "path": "index", + "style": { + "navigationBarTitleText": "AI店铺", + "enablePullDownRefresh": false + } + }, + { + "path": "member", + "style": { + "navigationBarTitleText": "开通会员", + "enablePullDownRefresh": false + } + }, + { + "path": "comDetails", + "style": { + "navigationBarTitleText": "商品详情", + "enablePullDownRefresh": false + } + }, + { + "path": "placeOrder", + "style": { + "navigationBarTitleText": "确认订单", + "enablePullDownRefresh": false + } + }, + { + "path": "cashierDesk", + "style": { + "navigationBarTitleText": "收银台", + "enablePullDownRefresh": false + } + }, + { + "path": "orderInfo", + "style": { + "navigationBarTitleText": "订单详情", + "enablePullDownRefresh": false + } + }, + { + "path": "giftOrder", + "style": { + "navigationBarTitleText": "确认订单", + "enablePullDownRefresh": false + } + }, + { + "path": "giftCashierDesk", + "style": { + "navigationBarTitleText": "" + } + }, + { + "path": "giftOrderInfo", + "style": { + "navigationBarTitleText": "订单详情", + "enablePullDownRefresh": false + } + } + ] + }, + { + "root": "pages/increment", + "pages": [{ + "path": "index", + "style": { + "navigationBarTitleText": "绿色积分增值系统" + } + }, + { + "path": "user", + "style": { + "navigationBarTitleText": "我的" + } + }, + { + "path": "detail", + "style": { + "navigationBarTitleText": "明细" + } + }, + { + "path": "info", + "style": { + "navigationBarTitleText": "商品详情" + } + } + ] + } + ], + "globalStyle": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "数维智合", + "navigationBarBackgroundColor": "#FFFFFF", + "backgroundColor": "#FFFFFF", + "navigationStyle": "custom" + }, + "tabBar": { + "color": "#979797", + "selectedColor": "#FA7E31", + "backgroundColor": "#ffffff", + "height": "50px", + "fontSize": "10px", + "spacing": "3px", + "iconWidth": "24px", + "midButton": { + "width": "44px", + "height": "50px", + "backgroundImage": "/static/index/6.png" + }, + "list": [{ + "pagePath": "pages/index/index", + "text": "首页", + "iconPath": "static/index/1.png", + "selectedIconPath": "static/index/1_1.png" + }, + { + "pagePath": "pages/index/category", + "text": "分类", + "iconPath": "static/index/2.png", + "selectedIconPath": "static/index/2_1.png" + }, + { + "pagePath": "pages/cart/cart", + "text": "购物车", + "iconPath": "static/index/3.png", + "selectedIconPath": "static/index/3_1.png" + }, + { + "pagePath": "pages/index/user", + "text": "我的", + "iconPath": "static/index/4.png", + "selectedIconPath": "static/index/4_1.png" + } + ] + }, + "condition": { + //模式配置,仅开发期间生效 + "current": 0, //当前激活的模式(list 的索引项) + "list": [{ + "name": "", //模式名称 + "path": "", //启动页面,必选 + "query": "" //启动参数,在页面的onLoad函数里面得到 + }] + } +} \ No newline at end of file diff --git a/pages/AI/cashierDesk.vue b/pages/AI/cashierDesk.vue new file mode 100644 index 0000000..542d005 --- /dev/null +++ b/pages/AI/cashierDesk.vue @@ -0,0 +1,332 @@ + + + \ No newline at end of file diff --git a/pages/AI/comDetails.vue b/pages/AI/comDetails.vue new file mode 100644 index 0000000..17a441e --- /dev/null +++ b/pages/AI/comDetails.vue @@ -0,0 +1,470 @@ + + + diff --git a/pages/AI/giftCashierDesk.vue b/pages/AI/giftCashierDesk.vue new file mode 100644 index 0000000..c97b185 --- /dev/null +++ b/pages/AI/giftCashierDesk.vue @@ -0,0 +1,357 @@ + + + diff --git a/pages/AI/giftOrder.vue b/pages/AI/giftOrder.vue new file mode 100644 index 0000000..458c08a --- /dev/null +++ b/pages/AI/giftOrder.vue @@ -0,0 +1,160 @@ + + + diff --git a/pages/AI/giftOrderInfo.vue b/pages/AI/giftOrderInfo.vue new file mode 100644 index 0000000..48757b9 --- /dev/null +++ b/pages/AI/giftOrderInfo.vue @@ -0,0 +1,534 @@ + + + + + + diff --git a/pages/AI/index.vue b/pages/AI/index.vue new file mode 100644 index 0000000..a0c636e --- /dev/null +++ b/pages/AI/index.vue @@ -0,0 +1,365 @@ + + + diff --git a/pages/AI/member.vue b/pages/AI/member.vue new file mode 100644 index 0000000..144ca31 --- /dev/null +++ b/pages/AI/member.vue @@ -0,0 +1,632 @@ + + + \ No newline at end of file diff --git a/pages/AI/orderInfo.vue b/pages/AI/orderInfo.vue new file mode 100644 index 0000000..a7294ef --- /dev/null +++ b/pages/AI/orderInfo.vue @@ -0,0 +1,524 @@ + + + + + + diff --git a/pages/AI/placeOrder.vue b/pages/AI/placeOrder.vue new file mode 100644 index 0000000..d567e31 --- /dev/null +++ b/pages/AI/placeOrder.vue @@ -0,0 +1,152 @@ + + + diff --git a/pages/activity/groupon/detail.vue b/pages/activity/groupon/detail.vue new file mode 100644 index 0000000..f19d98e --- /dev/null +++ b/pages/activity/groupon/detail.vue @@ -0,0 +1,551 @@ + + + + + + diff --git a/pages/activity/groupon/list.vue b/pages/activity/groupon/list.vue new file mode 100644 index 0000000..0cd8bc9 --- /dev/null +++ b/pages/activity/groupon/list.vue @@ -0,0 +1,225 @@ + + + + diff --git a/pages/activity/groupon/order.vue b/pages/activity/groupon/order.vue new file mode 100644 index 0000000..a93cc6e --- /dev/null +++ b/pages/activity/groupon/order.vue @@ -0,0 +1,240 @@ + + + + + + diff --git a/pages/activity/index.vue b/pages/activity/index.vue new file mode 100644 index 0000000..9573915 --- /dev/null +++ b/pages/activity/index.vue @@ -0,0 +1,214 @@ + + + + diff --git a/pages/activity/point/list.vue b/pages/activity/point/list.vue new file mode 100644 index 0000000..7630fd2 --- /dev/null +++ b/pages/activity/point/list.vue @@ -0,0 +1,76 @@ + + + diff --git a/pages/activity/seckill/list.vue b/pages/activity/seckill/list.vue new file mode 100644 index 0000000..16eca3b --- /dev/null +++ b/pages/activity/seckill/list.vue @@ -0,0 +1,460 @@ + + + + diff --git a/pages/app/sign.vue b/pages/app/sign.vue new file mode 100644 index 0000000..e026374 --- /dev/null +++ b/pages/app/sign.vue @@ -0,0 +1,452 @@ + + + + + + diff --git a/pages/cart/cart.vue b/pages/cart/cart.vue new file mode 100644 index 0000000..0040bed --- /dev/null +++ b/pages/cart/cart.vue @@ -0,0 +1,351 @@ + + + + diff --git a/pages/chat/components/goods.vue b/pages/chat/components/goods.vue new file mode 100644 index 0000000..448e808 --- /dev/null +++ b/pages/chat/components/goods.vue @@ -0,0 +1,19 @@ + + + diff --git a/pages/chat/components/messageInput.vue b/pages/chat/components/messageInput.vue new file mode 100644 index 0000000..c538c06 --- /dev/null +++ b/pages/chat/components/messageInput.vue @@ -0,0 +1,109 @@ + + + + + diff --git a/pages/chat/components/messageList.vue b/pages/chat/components/messageList.vue new file mode 100644 index 0000000..e021e02 --- /dev/null +++ b/pages/chat/components/messageList.vue @@ -0,0 +1,293 @@ + + + + + diff --git a/pages/chat/components/messageListItem.vue b/pages/chat/components/messageListItem.vue new file mode 100644 index 0000000..b91472c --- /dev/null +++ b/pages/chat/components/messageListItem.vue @@ -0,0 +1,297 @@ + + + + + diff --git a/pages/chat/components/optimize-input.vue b/pages/chat/components/optimize-input.vue new file mode 100644 index 0000000..2ad5ff9 --- /dev/null +++ b/pages/chat/components/optimize-input.vue @@ -0,0 +1,539 @@ + + + + + diff --git a/pages/chat/components/order.vue b/pages/chat/components/order.vue new file mode 100644 index 0000000..dac6d4b --- /dev/null +++ b/pages/chat/components/order.vue @@ -0,0 +1,114 @@ + + + + + diff --git a/pages/chat/components/select-popup.vue b/pages/chat/components/select-popup.vue new file mode 100644 index 0000000..60711af --- /dev/null +++ b/pages/chat/components/select-popup.vue @@ -0,0 +1,151 @@ + + + + + diff --git a/pages/chat/components/toolsPopup.vue b/pages/chat/components/toolsPopup.vue new file mode 100644 index 0000000..a883e0b --- /dev/null +++ b/pages/chat/components/toolsPopup.vue @@ -0,0 +1,164 @@ + + + + + diff --git a/pages/chat/index.vue b/pages/chat/index.vue new file mode 100644 index 0000000..2c7d817 --- /dev/null +++ b/pages/chat/index.vue @@ -0,0 +1,222 @@ + + + + + diff --git a/pages/chat/util/constants.js b/pages/chat/util/constants.js new file mode 100644 index 0000000..d4187b4 --- /dev/null +++ b/pages/chat/util/constants.js @@ -0,0 +1,19 @@ +export const KeFuMessageContentTypeEnum = { + TEXT: 1, // 文本消息 + IMAGE: 2, // 图片消息 + VOICE: 3, // 语音消息 + VIDEO: 4, // 视频消息 + SYSTEM: 5, // 系统消息 + // ========== 商城特殊消息 ========== + PRODUCT: 10, // 商品消息 + ORDER: 11, // 订单消息" +}; +export const UserTypeEnum = { + MEMBER: 1, // 会员 面向 c 端,普通用户 + ADMIN: 2, // 管理员 面向 b 端,管理后台 +}; +// Promotion 的 WebSocket 消息类型枚举类 +export const WebSocketMessageTypeConstants = { + KEFU_MESSAGE_TYPE: 'kefu_message_type', // 客服消息类型 + KEFU_MESSAGE_ADMIN_READ: 'kefu_message_read_status_change', // 客服消息管理员已读 +}; diff --git a/pages/chat/util/emoji.js b/pages/chat/util/emoji.js new file mode 100644 index 0000000..83e6e84 --- /dev/null +++ b/pages/chat/util/emoji.js @@ -0,0 +1,58 @@ +export const emojiList = [ + { name: '[笑掉牙]', file: 'xiaodiaoya.png' }, + { name: '[可爱]', file: 'keai.png' }, + { name: '[冷酷]', file: 'lengku.png' }, + { name: '[闭嘴]', file: 'bizui.png' }, + { name: '[生气]', file: 'shengqi.png' }, + { name: '[惊恐]', file: 'jingkong.png' }, + { name: '[瞌睡]', file: 'keshui.png' }, + { name: '[大笑]', file: 'daxiao.png' }, + { name: '[爱心]', file: 'aixin.png' }, + { name: '[坏笑]', file: 'huaixiao.png' }, + { name: '[飞吻]', file: 'feiwen.png' }, + { name: '[疑问]', file: 'yiwen.png' }, + { name: '[开心]', file: 'kaixin.png' }, + { name: '[发呆]', file: 'fadai.png' }, + { name: '[流泪]', file: 'liulei.png' }, + { name: '[汗颜]', file: 'hanyan.png' }, + { name: '[惊悚]', file: 'jingshu.png' }, + { name: '[困~]', file: 'kun.png' }, + { name: '[心碎]', file: 'xinsui.png' }, + { name: '[天使]', file: 'tianshi.png' }, + { name: '[晕]', file: 'yun.png' }, + { name: '[啊]', file: 'a.png' }, + { name: '[愤怒]', file: 'fennu.png' }, + { name: '[睡着]', file: 'shuizhuo.png' }, + { name: '[面无表情]', file: 'mianwubiaoqing.png' }, + { name: '[难过]', file: 'nanguo.png' }, + { name: '[犯困]', file: 'fankun.png' }, + { name: '[好吃]', file: 'haochi.png' }, + { name: '[呕吐]', file: 'outu.png' }, + { name: '[龇牙]', file: 'ziya.png' }, + { name: '[懵比]', file: 'mengbi.png' }, + { name: '[白眼]', file: 'baiyan.png' }, + { name: '[饿死]', file: 'esi.png' }, + { name: '[凶]', file: 'xiong.png' }, + { name: '[感冒]', file: 'ganmao.png' }, + { name: '[流汗]', file: 'liuhan.png' }, + { name: '[笑哭]', file: 'xiaoku.png' }, + { name: '[流口水]', file: 'liukoushui.png' }, + { name: '[尴尬]', file: 'ganga.png' }, + { name: '[惊讶]', file: 'jingya.png' }, + { name: '[大惊]', file: 'dajing.png' }, + { name: '[不好意思]', file: 'buhaoyisi.png' }, + { name: '[大闹]', file: 'danao.png' }, + { name: '[不可思议]', file: 'bukesiyi.png' }, + { name: '[爱你]', file: 'aini.png' }, + { name: '[红心]', file: 'hongxin.png' }, + { name: '[点赞]', file: 'dianzan.png' }, + { name: '[恶魔]', file: 'emo.png' }, +]; + +export let emojiPage = {}; +emojiList.forEach((item, index) => { + if (!emojiPage[Math.floor(index / 30) + 1]) { + emojiPage[Math.floor(index / 30) + 1] = []; + } + emojiPage[Math.floor(index / 30) + 1].push(item); +}); diff --git a/pages/chat/util/useWebSocket.js b/pages/chat/util/useWebSocket.js new file mode 100644 index 0000000..4b59276 --- /dev/null +++ b/pages/chat/util/useWebSocket.js @@ -0,0 +1,150 @@ +import { onBeforeUnmount, reactive, ref } from 'vue'; +import { baseUrl, websocketPath } from '@/sheep/config'; +import { copyValueToTarget } from '@/sheep/helper/utils'; +import { getRefreshToken } from '@/sheep/request'; + +/** + * WebSocket 创建 hook + * @param opt 连接配置 + * @return {{options: *}} + */ +export function useWebSocket(opt) { + const options = reactive({ + url: (baseUrl + websocketPath).replace('http', 'ws') + '?token=' + getRefreshToken(), // ws 地址 + isReconnecting: false, // 正在重新连接 + reconnectInterval: 3000, // 重连间隔,单位毫秒 + heartBeatInterval: 5000, // 心跳间隔,单位毫秒 + pingTimeoutDuration: 1000, // 超过这个时间,后端没有返回pong,则判定后端断线了。 + heartBeatTimer: null, // 心跳计时器 + destroy: false, // 是否销毁 + pingTimeout: null, // 心跳检测定时器 + reconnectTimeout: null, // 重连定时器ID的属性 + onConnected: () => {}, // 连接成功时触发 + onClosed: () => {}, // 连接关闭时触发 + onMessage: (data) => {}, // 收到消息 + }); + const SocketTask = ref(null); // SocketTask 由 uni.connectSocket() 接口创建 + + const initEventListeners = () => { + // 监听 WebSocket 连接打开事件 + SocketTask.value.onOpen(() => { + console.log('WebSocket 连接成功'); + // 连接成功时触发 + options.onConnected(); + // 开启心跳检查 + startHeartBeat(); + }); + // 监听 WebSocket 接受到服务器的消息事件 + SocketTask.value.onMessage((res) => { + try { + if (res.data === 'pong') { + // 收到心跳重置心跳超时检查 + resetPingTimeout(); + } else { + options.onMessage(JSON.parse(res.data)); + } + } catch (error) { + console.error(error); + } + }); + // 监听 WebSocket 连接关闭事件 + SocketTask.value.onClose((event) => { + // 情况一:实例销毁 + if (options.destroy) { + options.onClosed(); + } else { + // 情况二:连接失败重连 + // 停止心跳检查 + stopHeartBeat(); + // 重连 + reconnect(); + } + }); + }; + + // 发送消息 + const sendMessage = (message) => { + if (SocketTask.value && !options.destroy) { + SocketTask.value.send({ data: message }); + } + }; + // 开始心跳检查 + const startHeartBeat = () => { + options.heartBeatTimer = setInterval(() => { + sendMessage('ping'); + options.pingTimeout = setTimeout(() => { + // 如果在超时时间内没有收到 pong,则认为连接断开 + reconnect(); + }, options.pingTimeoutDuration); + }, options.heartBeatInterval); + }; + // 停止心跳检查 + const stopHeartBeat = () => { + clearInterval(options.heartBeatTimer); + resetPingTimeout(); + }; + + // WebSocket 重连 + const reconnect = () => { + if (options.destroy || !SocketTask.value) { + // 如果WebSocket已被销毁或尚未完全关闭,不进行重连 + return; + } + + // 重连中 + options.isReconnecting = true; + + // 清除现有的重连标志,以避免多次重连 + if (options.reconnectTimeout) { + clearTimeout(options.reconnectTimeout); + } + + // 设置重连延迟 + options.reconnectTimeout = setTimeout(() => { + // 检查组件是否仍在运行和WebSocket是否关闭 + if (!options.destroy) { + // 重置重连标志 + options.isReconnecting = false; + // 初始化新的WebSocket连接 + initSocket(); + } + }, options.reconnectInterval); + }; + + const resetPingTimeout = () => { + if (options.pingTimeout) { + clearTimeout(options.pingTimeout); + options.pingTimeout = null; // 清除超时ID + } + }; + + const close = () => { + options.destroy = true; + stopHeartBeat(); + if (options.reconnectTimeout) { + clearTimeout(options.reconnectTimeout); + } + if (SocketTask.value) { + SocketTask.value.close(); + SocketTask.value = null; + } + }; + + const initSocket = () => { + options.destroy = false; + copyValueToTarget(options, opt); + SocketTask.value = uni.connectSocket({ + url: options.url, + complete: () => {}, + success: () => {}, + }); + initEventListeners(); + }; + + initSocket(); + + onBeforeUnmount(() => { + close(); + }); + return { options }; +} diff --git a/pages/commission/commission-ranking.vue b/pages/commission/commission-ranking.vue new file mode 100644 index 0000000..50fc76f --- /dev/null +++ b/pages/commission/commission-ranking.vue @@ -0,0 +1,239 @@ + + + + + diff --git a/pages/commission/components/account-info.vue b/pages/commission/components/account-info.vue new file mode 100644 index 0000000..14655cf --- /dev/null +++ b/pages/commission/components/account-info.vue @@ -0,0 +1,125 @@ + + + + + + diff --git a/pages/commission/components/account-type-select.vue b/pages/commission/components/account-type-select.vue new file mode 100644 index 0000000..c39c7a7 --- /dev/null +++ b/pages/commission/components/account-type-select.vue @@ -0,0 +1,171 @@ + + + + + + diff --git a/pages/commission/components/commission-auth.vue b/pages/commission/components/commission-auth.vue new file mode 100644 index 0000000..9a484fa --- /dev/null +++ b/pages/commission/components/commission-auth.vue @@ -0,0 +1,101 @@ + + + + + + diff --git a/pages/commission/components/commission-info.vue b/pages/commission/components/commission-info.vue new file mode 100644 index 0000000..63d7db2 --- /dev/null +++ b/pages/commission/components/commission-info.vue @@ -0,0 +1,113 @@ + + + + + + diff --git a/pages/commission/components/commission-log.vue b/pages/commission/components/commission-log.vue new file mode 100644 index 0000000..cee3b3c --- /dev/null +++ b/pages/commission/components/commission-log.vue @@ -0,0 +1,181 @@ + + + + + + diff --git a/pages/commission/components/commission-menu.vue b/pages/commission/components/commission-menu.vue new file mode 100644 index 0000000..42498f5 --- /dev/null +++ b/pages/commission/components/commission-menu.vue @@ -0,0 +1,145 @@ + + + + + + diff --git a/pages/commission/goods.vue b/pages/commission/goods.vue new file mode 100644 index 0000000..f4638f7 --- /dev/null +++ b/pages/commission/goods.vue @@ -0,0 +1,165 @@ + + + + + + diff --git a/pages/commission/index.vue b/pages/commission/index.vue new file mode 100644 index 0000000..28c077c --- /dev/null +++ b/pages/commission/index.vue @@ -0,0 +1,57 @@ + + + + + + diff --git a/pages/commission/order.vue b/pages/commission/order.vue new file mode 100644 index 0000000..94be9b7 --- /dev/null +++ b/pages/commission/order.vue @@ -0,0 +1,332 @@ + + + + + + diff --git a/pages/commission/promoter.vue b/pages/commission/promoter.vue new file mode 100644 index 0000000..2dfcc2b --- /dev/null +++ b/pages/commission/promoter.vue @@ -0,0 +1,288 @@ + + + + + diff --git a/pages/commission/team.vue b/pages/commission/team.vue new file mode 100644 index 0000000..ba86814 --- /dev/null +++ b/pages/commission/team.vue @@ -0,0 +1,604 @@ + + + + + + diff --git a/pages/commission/wallet.vue b/pages/commission/wallet.vue new file mode 100644 index 0000000..81961e3 --- /dev/null +++ b/pages/commission/wallet.vue @@ -0,0 +1,644 @@ + + + + + + diff --git a/pages/commission/withdraw.vue b/pages/commission/withdraw.vue new file mode 100644 index 0000000..0fcc59c --- /dev/null +++ b/pages/commission/withdraw.vue @@ -0,0 +1,487 @@ + + + + + + diff --git a/pages/components/HighlightNumberText.vue b/pages/components/HighlightNumberText.vue new file mode 100644 index 0000000..80d00f5 --- /dev/null +++ b/pages/components/HighlightNumberText.vue @@ -0,0 +1,84 @@ + + + + + diff --git a/pages/coupon/detail.vue b/pages/coupon/detail.vue new file mode 100644 index 0000000..96114a3 --- /dev/null +++ b/pages/coupon/detail.vue @@ -0,0 +1,390 @@ + + + + + + diff --git a/pages/coupon/list.vue b/pages/coupon/list.vue new file mode 100644 index 0000000..2afffd7 --- /dev/null +++ b/pages/coupon/list.vue @@ -0,0 +1,222 @@ + + + + + diff --git a/pages/goods/comment/add.vue b/pages/goods/comment/add.vue new file mode 100644 index 0000000..c52024c --- /dev/null +++ b/pages/goods/comment/add.vue @@ -0,0 +1,190 @@ + + + + + + diff --git a/pages/goods/comment/list.vue b/pages/goods/comment/list.vue new file mode 100644 index 0000000..ed55988 --- /dev/null +++ b/pages/goods/comment/list.vue @@ -0,0 +1,168 @@ + + + + + + diff --git a/pages/goods/components/detail/comment-item.vue b/pages/goods/components/detail/comment-item.vue new file mode 100644 index 0000000..518db2a --- /dev/null +++ b/pages/goods/components/detail/comment-item.vue @@ -0,0 +1,94 @@ + + + + + + diff --git a/pages/goods/components/detail/detail-activity-tip.vue b/pages/goods/components/detail/detail-activity-tip.vue new file mode 100644 index 0000000..e80fe39 --- /dev/null +++ b/pages/goods/components/detail/detail-activity-tip.vue @@ -0,0 +1,99 @@ + + + + + diff --git a/pages/goods/components/detail/detail-cell-sku.vue b/pages/goods/components/detail/detail-cell-sku.vue new file mode 100644 index 0000000..2a772e1 --- /dev/null +++ b/pages/goods/components/detail/detail-cell-sku.vue @@ -0,0 +1,35 @@ + + + diff --git a/pages/goods/components/detail/detail-cell.vue b/pages/goods/components/detail/detail-cell.vue new file mode 100644 index 0000000..14f039c --- /dev/null +++ b/pages/goods/components/detail/detail-cell.vue @@ -0,0 +1,64 @@ + + + + + + diff --git a/pages/goods/components/detail/detail-comment-card.vue b/pages/goods/components/detail/detail-comment-card.vue new file mode 100644 index 0000000..cc48dfd --- /dev/null +++ b/pages/goods/components/detail/detail-comment-card.vue @@ -0,0 +1,106 @@ + + + + + + diff --git a/pages/goods/components/detail/detail-content-card.vue b/pages/goods/components/detail/detail-content-card.vue new file mode 100644 index 0000000..94fe185 --- /dev/null +++ b/pages/goods/components/detail/detail-content-card.vue @@ -0,0 +1,50 @@ + + + + + diff --git a/pages/goods/components/detail/detail-navbar.vue b/pages/goods/components/detail/detail-navbar.vue new file mode 100644 index 0000000..d454ec0 --- /dev/null +++ b/pages/goods/components/detail/detail-navbar.vue @@ -0,0 +1,257 @@ + + + + + + diff --git a/pages/goods/components/detail/detail-progress.vue b/pages/goods/components/detail/detail-progress.vue new file mode 100644 index 0000000..a6210b1 --- /dev/null +++ b/pages/goods/components/detail/detail-progress.vue @@ -0,0 +1,40 @@ + + + + + + diff --git a/pages/goods/components/detail/detail-skeleton.vue b/pages/goods/components/detail/detail-skeleton.vue new file mode 100644 index 0000000..5eebf50 --- /dev/null +++ b/pages/goods/components/detail/detail-skeleton.vue @@ -0,0 +1,177 @@ + + + + + diff --git a/pages/goods/components/detail/detail-tabbar.vue b/pages/goods/components/detail/detail-tabbar.vue new file mode 100644 index 0000000..831a20f --- /dev/null +++ b/pages/goods/components/detail/detail-tabbar.vue @@ -0,0 +1,166 @@ + + + + + + diff --git a/pages/goods/components/groupon/groupon-card-list.vue b/pages/goods/components/groupon/groupon-card-list.vue new file mode 100644 index 0000000..2c75214 --- /dev/null +++ b/pages/goods/components/groupon/groupon-card-list.vue @@ -0,0 +1,140 @@ + + + + + + diff --git a/pages/goods/components/list/list-goods-card.vue b/pages/goods/components/list/list-goods-card.vue new file mode 100644 index 0000000..d02519f --- /dev/null +++ b/pages/goods/components/list/list-goods-card.vue @@ -0,0 +1,103 @@ + + + + + + diff --git a/pages/goods/components/list/list-navbar.vue b/pages/goods/components/list/list-navbar.vue new file mode 100644 index 0000000..c21e679 --- /dev/null +++ b/pages/goods/components/list/list-navbar.vue @@ -0,0 +1,93 @@ + + + + + + diff --git a/pages/goods/groupon.vue b/pages/goods/groupon.vue new file mode 100644 index 0000000..0fc81cf --- /dev/null +++ b/pages/goods/groupon.vue @@ -0,0 +1,562 @@ + + + + + + diff --git a/pages/goods/index.vue b/pages/goods/index.vue new file mode 100644 index 0000000..b30bb3c --- /dev/null +++ b/pages/goods/index.vue @@ -0,0 +1,674 @@ + + + + + diff --git a/pages/goods/info.vue b/pages/goods/info.vue new file mode 100644 index 0000000..0be70c6 --- /dev/null +++ b/pages/goods/info.vue @@ -0,0 +1,632 @@ + + + + + diff --git a/pages/goods/list copy.vue b/pages/goods/list copy.vue new file mode 100644 index 0000000..8a5259a --- /dev/null +++ b/pages/goods/list copy.vue @@ -0,0 +1,407 @@ + + + + + diff --git a/pages/goods/list.vue b/pages/goods/list.vue new file mode 100644 index 0000000..1bd3a97 --- /dev/null +++ b/pages/goods/list.vue @@ -0,0 +1,109 @@ + + + + diff --git a/pages/goods/point.vue b/pages/goods/point.vue new file mode 100644 index 0000000..631d940 --- /dev/null +++ b/pages/goods/point.vue @@ -0,0 +1,483 @@ + + + + + + diff --git a/pages/goods/seckill.vue b/pages/goods/seckill.vue new file mode 100644 index 0000000..c76e948 --- /dev/null +++ b/pages/goods/seckill.vue @@ -0,0 +1,575 @@ + + + + + + diff --git a/pages/home/agency.vue b/pages/home/agency.vue new file mode 100644 index 0000000..21022f2 --- /dev/null +++ b/pages/home/agency.vue @@ -0,0 +1,661 @@ + + + + diff --git a/pages/home/agreement copy.vue b/pages/home/agreement copy.vue new file mode 100644 index 0000000..23345d8 --- /dev/null +++ b/pages/home/agreement copy.vue @@ -0,0 +1,28 @@ + + + diff --git a/pages/home/agreement.vue b/pages/home/agreement.vue new file mode 100644 index 0000000..edc846f --- /dev/null +++ b/pages/home/agreement.vue @@ -0,0 +1,47 @@ + + + diff --git a/pages/home/calculate.vue b/pages/home/calculate.vue new file mode 100644 index 0000000..838de6c --- /dev/null +++ b/pages/home/calculate.vue @@ -0,0 +1,35 @@ + + + + diff --git a/pages/home/components/Qrcode.vue b/pages/home/components/Qrcode.vue new file mode 100644 index 0000000..1229dff --- /dev/null +++ b/pages/home/components/Qrcode.vue @@ -0,0 +1,89 @@ + + + + + diff --git a/pages/home/feedback.vue b/pages/home/feedback.vue new file mode 100644 index 0000000..cce63a3 --- /dev/null +++ b/pages/home/feedback.vue @@ -0,0 +1,66 @@ + + + diff --git a/pages/home/noRelease.vue b/pages/home/noRelease.vue new file mode 100644 index 0000000..84f464b --- /dev/null +++ b/pages/home/noRelease.vue @@ -0,0 +1,386 @@ + + + diff --git a/pages/home/pass.vue b/pages/home/pass.vue new file mode 100644 index 0000000..bb14e27 --- /dev/null +++ b/pages/home/pass.vue @@ -0,0 +1,162 @@ + + + diff --git a/pages/home/pay/seed.vue b/pages/home/pay/seed.vue new file mode 100644 index 0000000..8c62813 --- /dev/null +++ b/pages/home/pay/seed.vue @@ -0,0 +1,233 @@ + + + + diff --git a/pages/home/pay/withdraw.vue b/pages/home/pay/withdraw.vue new file mode 100644 index 0000000..a0e74ce --- /dev/null +++ b/pages/home/pay/withdraw.vue @@ -0,0 +1,463 @@ + + + + diff --git a/pages/home/pay/withdraw1.vue b/pages/home/pay/withdraw1.vue new file mode 100644 index 0000000..55be7d3 --- /dev/null +++ b/pages/home/pay/withdraw1.vue @@ -0,0 +1,193 @@ + + + + diff --git a/pages/home/pay/withdrawRecord.vue b/pages/home/pay/withdrawRecord.vue new file mode 100644 index 0000000..fe0edaa --- /dev/null +++ b/pages/home/pay/withdrawRecord.vue @@ -0,0 +1,79 @@ + + + + + diff --git a/pages/home/phone.vue b/pages/home/phone.vue new file mode 100644 index 0000000..3f1728d --- /dev/null +++ b/pages/home/phone.vue @@ -0,0 +1,199 @@ + + + diff --git a/pages/home/pointsDetail - 副本.vue b/pages/home/pointsDetail - 副本.vue new file mode 100644 index 0000000..a03ab6e --- /dev/null +++ b/pages/home/pointsDetail - 副本.vue @@ -0,0 +1,380 @@ + + + diff --git a/pages/home/pointsDetail copy.vue b/pages/home/pointsDetail copy.vue new file mode 100644 index 0000000..e7cec08 --- /dev/null +++ b/pages/home/pointsDetail copy.vue @@ -0,0 +1,357 @@ + + + diff --git a/pages/home/pointsDetail.vue b/pages/home/pointsDetail.vue new file mode 100644 index 0000000..31f4383 --- /dev/null +++ b/pages/home/pointsDetail.vue @@ -0,0 +1,487 @@ + + + diff --git a/pages/home/recharge.vue b/pages/home/recharge.vue new file mode 100644 index 0000000..babe6ab --- /dev/null +++ b/pages/home/recharge.vue @@ -0,0 +1,242 @@ + + + + + diff --git a/pages/home/rechargeRecord.vue b/pages/home/rechargeRecord.vue new file mode 100644 index 0000000..f303c77 --- /dev/null +++ b/pages/home/rechargeRecord.vue @@ -0,0 +1,412 @@ + + + diff --git a/pages/home/seed.vue b/pages/home/seed.vue new file mode 100644 index 0000000..d46c890 --- /dev/null +++ b/pages/home/seed.vue @@ -0,0 +1,322 @@ + + + diff --git a/pages/home/share.vue b/pages/home/share.vue new file mode 100644 index 0000000..16f7480 --- /dev/null +++ b/pages/home/share.vue @@ -0,0 +1,161 @@ + + + diff --git a/pages/home/staff.vue b/pages/home/staff.vue new file mode 100644 index 0000000..fcb39a2 --- /dev/null +++ b/pages/home/staff.vue @@ -0,0 +1,344 @@ + + + diff --git a/pages/home/wallet.vue b/pages/home/wallet.vue new file mode 100644 index 0000000..1b1aa6b --- /dev/null +++ b/pages/home/wallet.vue @@ -0,0 +1,147 @@ + + + + + diff --git a/pages/increment/components/detail/detail-content-card.vue b/pages/increment/components/detail/detail-content-card.vue new file mode 100644 index 0000000..94fe185 --- /dev/null +++ b/pages/increment/components/detail/detail-content-card.vue @@ -0,0 +1,50 @@ + + + + + diff --git a/pages/increment/components/detail/detail-skeleton.vue b/pages/increment/components/detail/detail-skeleton.vue new file mode 100644 index 0000000..5eebf50 --- /dev/null +++ b/pages/increment/components/detail/detail-skeleton.vue @@ -0,0 +1,177 @@ + + + + + diff --git a/pages/increment/components/increment/card_list.vue b/pages/increment/components/increment/card_list.vue new file mode 100644 index 0000000..4823d01 --- /dev/null +++ b/pages/increment/components/increment/card_list.vue @@ -0,0 +1,97 @@ + + + + diff --git a/pages/increment/components/increment/card_tabBar.vue b/pages/increment/components/increment/card_tabBar.vue new file mode 100644 index 0000000..3797422 --- /dev/null +++ b/pages/increment/components/increment/card_tabBar.vue @@ -0,0 +1,62 @@ + + + + diff --git a/pages/increment/detail.vue b/pages/increment/detail.vue new file mode 100644 index 0000000..68ee949 --- /dev/null +++ b/pages/increment/detail.vue @@ -0,0 +1,283 @@ + + + diff --git a/pages/increment/index.vue b/pages/increment/index.vue new file mode 100644 index 0000000..5fe2506 --- /dev/null +++ b/pages/increment/index.vue @@ -0,0 +1,53 @@ + + + + diff --git a/pages/increment/info.vue b/pages/increment/info.vue new file mode 100644 index 0000000..5015eff --- /dev/null +++ b/pages/increment/info.vue @@ -0,0 +1,538 @@ + + + + + diff --git a/pages/increment/user.vue b/pages/increment/user.vue new file mode 100644 index 0000000..4a65434 --- /dev/null +++ b/pages/increment/user.vue @@ -0,0 +1,193 @@ + + + + diff --git a/pages/index/cart.vue b/pages/index/cart.vue new file mode 100644 index 0000000..8f4caea --- /dev/null +++ b/pages/index/cart.vue @@ -0,0 +1,353 @@ + + + + + diff --git a/pages/index/category.vue b/pages/index/category.vue new file mode 100644 index 0000000..7da10e1 --- /dev/null +++ b/pages/index/category.vue @@ -0,0 +1,183 @@ + + + + + diff --git a/pages/index/components/first-one.vue b/pages/index/components/first-one.vue new file mode 100644 index 0000000..2decc86 --- /dev/null +++ b/pages/index/components/first-one.vue @@ -0,0 +1,26 @@ + + + + + + diff --git a/pages/index/components/first-two.vue b/pages/index/components/first-two.vue new file mode 100644 index 0000000..801cb8d --- /dev/null +++ b/pages/index/components/first-two.vue @@ -0,0 +1,66 @@ + + + + + + diff --git a/pages/index/components/second-one.vue b/pages/index/components/second-one.vue new file mode 100644 index 0000000..86b7078 --- /dev/null +++ b/pages/index/components/second-one.vue @@ -0,0 +1,80 @@ + + + + + + diff --git a/pages/index/index.vue b/pages/index/index.vue new file mode 100644 index 0000000..f17c664 --- /dev/null +++ b/pages/index/index.vue @@ -0,0 +1,304 @@ + + + + + + \ No newline at end of file diff --git a/pages/index/index1.vue b/pages/index/index1.vue new file mode 100644 index 0000000..a1a35ad --- /dev/null +++ b/pages/index/index1.vue @@ -0,0 +1,384 @@ + + + + + + diff --git a/pages/index/startPage.vue b/pages/index/startPage.vue new file mode 100644 index 0000000..595c660 --- /dev/null +++ b/pages/index/startPage.vue @@ -0,0 +1,71 @@ + + + diff --git a/pages/index/user.vue b/pages/index/user.vue new file mode 100644 index 0000000..3e5a280 --- /dev/null +++ b/pages/index/user.vue @@ -0,0 +1,535 @@ + + + diff --git a/pages/order/addressSelection.vue b/pages/order/addressSelection.vue new file mode 100644 index 0000000..c311f68 --- /dev/null +++ b/pages/order/addressSelection.vue @@ -0,0 +1,302 @@ + + + + + + diff --git a/pages/order/aftersale/apply.vue b/pages/order/aftersale/apply.vue new file mode 100644 index 0000000..fc3acd0 --- /dev/null +++ b/pages/order/aftersale/apply.vue @@ -0,0 +1,379 @@ + + + + + + diff --git a/pages/order/aftersale/detail.vue b/pages/order/aftersale/detail.vue new file mode 100644 index 0000000..02a239e --- /dev/null +++ b/pages/order/aftersale/detail.vue @@ -0,0 +1,380 @@ + + + + + + diff --git a/pages/order/aftersale/return-delivery.vue b/pages/order/aftersale/return-delivery.vue new file mode 100644 index 0000000..0adc33a --- /dev/null +++ b/pages/order/aftersale/return-delivery.vue @@ -0,0 +1,218 @@ + + + + diff --git a/pages/order/confirm.vue b/pages/order/confirm.vue new file mode 100644 index 0000000..af349c0 --- /dev/null +++ b/pages/order/confirm.vue @@ -0,0 +1,456 @@ + + + + + diff --git a/pages/order/detail.vue b/pages/order/detail.vue new file mode 100644 index 0000000..f246476 --- /dev/null +++ b/pages/order/detail.vue @@ -0,0 +1,459 @@ + + + + + + diff --git a/pages/order/express/log.vue b/pages/order/express/log.vue new file mode 100644 index 0000000..a8e6f7a --- /dev/null +++ b/pages/order/express/log.vue @@ -0,0 +1,233 @@ + + + + + + diff --git a/pages/order/list.vue b/pages/order/list.vue new file mode 100644 index 0000000..cc83fca --- /dev/null +++ b/pages/order/list.vue @@ -0,0 +1,265 @@ + + + + + + diff --git a/pages/order/pickUpVerify.vue b/pages/order/pickUpVerify.vue new file mode 100644 index 0000000..6c36578 --- /dev/null +++ b/pages/order/pickUpVerify.vue @@ -0,0 +1,260 @@ + + + + + diff --git a/pages/pay/index.vue b/pages/pay/index.vue new file mode 100644 index 0000000..31b4c60 --- /dev/null +++ b/pages/pay/index.vue @@ -0,0 +1,354 @@ + + + + + diff --git a/pages/pay/recharge-log.vue b/pages/pay/recharge-log.vue new file mode 100644 index 0000000..8de792a --- /dev/null +++ b/pages/pay/recharge-log.vue @@ -0,0 +1,167 @@ + + + + + + diff --git a/pages/pay/recharge.vue b/pages/pay/recharge.vue new file mode 100644 index 0000000..4ac646c --- /dev/null +++ b/pages/pay/recharge.vue @@ -0,0 +1,277 @@ + + + + + + diff --git a/pages/pay/result.vue b/pages/pay/result.vue new file mode 100644 index 0000000..69d2413 --- /dev/null +++ b/pages/pay/result.vue @@ -0,0 +1,373 @@ + + + + + + diff --git a/pages/public/error.vue b/pages/public/error.vue new file mode 100644 index 0000000..3f20878 --- /dev/null +++ b/pages/public/error.vue @@ -0,0 +1,60 @@ + + + + + + diff --git a/pages/public/faq.vue b/pages/public/faq.vue new file mode 100644 index 0000000..2c042c2 --- /dev/null +++ b/pages/public/faq.vue @@ -0,0 +1,118 @@ + + + + + + diff --git a/pages/public/huamao.vue b/pages/public/huamao.vue new file mode 100644 index 0000000..d5ddaf5 --- /dev/null +++ b/pages/public/huamao.vue @@ -0,0 +1,24 @@ + + + + + diff --git a/pages/public/login.vue b/pages/public/login.vue new file mode 100644 index 0000000..49eaf7a --- /dev/null +++ b/pages/public/login.vue @@ -0,0 +1,456 @@ + + + + diff --git a/pages/public/logoff.vue b/pages/public/logoff.vue new file mode 100644 index 0000000..27d39e5 --- /dev/null +++ b/pages/public/logoff.vue @@ -0,0 +1,65 @@ + + + diff --git a/pages/public/page.vue b/pages/public/page.vue new file mode 100644 index 0000000..cb37a0c --- /dev/null +++ b/pages/public/page.vue @@ -0,0 +1,51 @@ + + + + + + diff --git a/pages/public/realname.vue b/pages/public/realname.vue new file mode 100644 index 0000000..c772791 --- /dev/null +++ b/pages/public/realname.vue @@ -0,0 +1,298 @@ + + + + + diff --git a/pages/public/richtext.vue b/pages/public/richtext.vue new file mode 100644 index 0000000..b1fee46 --- /dev/null +++ b/pages/public/richtext.vue @@ -0,0 +1,54 @@ + + + + + + diff --git a/pages/public/search.vue b/pages/public/search.vue new file mode 100644 index 0000000..3c3d6c3 --- /dev/null +++ b/pages/public/search.vue @@ -0,0 +1,283 @@ + + + + + + diff --git a/pages/public/setting.vue b/pages/public/setting.vue new file mode 100644 index 0000000..5f9fcb2 --- /dev/null +++ b/pages/public/setting.vue @@ -0,0 +1,328 @@ + + + + + diff --git a/pages/public/test.vue b/pages/public/test.vue new file mode 100644 index 0000000..93f8cef --- /dev/null +++ b/pages/public/test.vue @@ -0,0 +1,33 @@ + + + + + diff --git a/pages/public/update.vue b/pages/public/update.vue new file mode 100644 index 0000000..558e671 --- /dev/null +++ b/pages/public/update.vue @@ -0,0 +1,11 @@ + + + diff --git a/pages/public/versions/versions.vue b/pages/public/versions/versions.vue new file mode 100644 index 0000000..f1700ed --- /dev/null +++ b/pages/public/versions/versions.vue @@ -0,0 +1,191 @@ + + + diff --git a/pages/public/webview.vue b/pages/public/webview.vue new file mode 100644 index 0000000..737809c --- /dev/null +++ b/pages/public/webview.vue @@ -0,0 +1,26 @@ + +