From 9d2488a631fb83801ee00a9a0cfa8cbb30432dc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=AF=E4=B9=90=E5=8A=A0=E5=86=B0?= <11869599+addie66@user.noreply.gitee.com> Date: Wed, 23 Sep 2026 20:25:01 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=BA=B3=E5=85=A5=E5=B0=8F=E7=A8=8B?= =?UTF-8?q?=E5=BA=8F=E5=AE=8C=E6=95=B4=E6=BA=90=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- .gitignore | 2 + App.vue | 22 + androidPrivacy.json | 38 + components/page-loading/page-loading.vue | 294 ++ .../shopro-auth-modal-copy.vue | 1029 +++++ .../shopro-auth-modal/shopro-auth-modal.vue | 985 +++++ components/shopro-canvas/shopro-canvas.vue | 123 + components/shopro-coupon/shopro-coupon.vue | 183 + components/shopro-empty/shopro-empty.vue | 77 + .../shopro-float-btn/shopro-float-btn.vue | 256 ++ .../shopro-goods-card/shopro-goods-card.vue | 380 ++ .../shopro-live-card/shopro-live-card.vue | 361 ++ components/shopro-loading/shopro-loading.vue | 300 ++ .../shopro-mini-card/shopro-mini-card.vue | 140 + components/shopro-navbar/shopro-navbar.vue | 136 + .../shopro-notice-modal.vue | 154 + .../shopro-protocol/shopro-protocol.vue | 84 + components/shopro-share/shopro-share.vue | 599 +++ components/shopro-sku/shopro-sku.vue | 587 +++ components/shopro-tabbar/shopro-tabbar.vue | 205 + components/uni-popup/uni-popup.vue | 263 ++ components/uni-transition/uni-transition.vue | 279 ++ components/yk-authpup/yk-authpup.vue | 335 ++ env.js | 9 + main.js | 45 + manifest.json | 243 + package-lock.json | 62 + package.json | 24 + pages.json | 1151 +++++ pages/activity/discounts/list.vue | 227 + pages/activity/groupon/detail.vue | 371 ++ pages/activity/groupon/list.vue | 246 ++ pages/activity/groupon/my-groupon.vue | 247 ++ pages/activity/promote/list.vue | 278 ++ pages/activity/robbuy/list.vue | 274 ++ pages/activity/seckill/list.vue | 248 ++ pages/activity/sign/index.vue | 361 ++ pages/activity/timer/list.vue | 248 ++ pages/app/commission/apply.vue | 267 ++ pages/app/commission/commission-log.vue | 415 ++ pages/app/commission/goods.vue | 167 + pages/app/commission/index.vue | 856 ++++ pages/app/commission/order.vue | 539 +++ pages/app/commission/rankings.vue | 148 + pages/app/commission/share-log.vue | 255 ++ pages/app/commission/team.vue | 356 ++ pages/app/components/sh-collapse-item.vue | 151 + pages/app/coupon/detail.vue | 247 ++ pages/app/coupon/list.vue | 176 + pages/app/merchant/detail.vue | 227 + pages/app/merchant/index.vue | 674 +++ pages/app/merchant/info.vue | 115 + pages/app/merchant/list.vue | 116 + pages/app/score/list.vue | 105 + pages/app/store/detail.vue | 46 + pages/app/store/index.vue | 242 + pages/goods/comment/add-comment.vue | 208 + pages/goods/comment/comment-list.vue | 126 + pages/goods/components/sh-activity.vue | 157 + pages/goods/components/sh-comment.vue | 100 + pages/goods/components/sh-coupon.vue | 81 + pages/goods/components/sh-filter.vue | 168 + pages/goods/components/sh-groupon.vue | 220 + pages/goods/components/sh-parmas.vue | 180 + pages/goods/components/sh-price-card.vue | 580 +++ pages/goods/components/sh-serve.vue | 140 + pages/goods/detail.vue | 1218 +++++ pages/goods/list.vue | 224 + pages/index-extra/all-menu.vue | 234 + pages/index-extra/message.vue | 294 ++ pages/index-extra/money.vue | 102 + pages/index-extra/protocol.vue | 27 + pages/index-extra/user-protocol.vue | 29 + pages/index-extra/view.vue | 227 + pages/index/all-menu.vue | 234 + pages/index/cart.vue | 397 ++ pages/index/category.vue | 186 + pages/index/category/one-catgory.vue | 304 ++ pages/index/category/takeout-catgory.vue | 646 +++ pages/index/category/three-catgory.vue | 209 + pages/index/category/two-catgory.vue | 239 + pages/index/components/sh-adv.vue | 174 + pages/index/components/sh-banner.vue | 69 + pages/index/components/sh-category-tabs.vue | 348 ++ pages/index/components/sh-cell.vue | 56 + pages/index/components/sh-coupon.vue | 295 ++ pages/index/components/sh-goods-card.vue | 394 ++ pages/index/components/sh-grid-swiper.vue | 196 + pages/index/components/sh-grid.vue | 158 + pages/index/components/sh-groupon.vue | 319 ++ pages/index/components/sh-hot-goods.vue | 227 + pages/index/components/sh-image-goods.vue | 53 + pages/index/components/sh-live.vue | 108 + pages/index/components/sh-order-card.vue | 151 + pages/index/components/sh-pic-ads.vue | 65 + pages/index/components/sh-richtext.vue | 46 + pages/index/components/sh-search.vue | 46 + pages/index/components/sh-seckill.vue | 300 ++ pages/index/components/sh-title-card.vue | 64 + pages/index/components/sh-wallet.vue | 108 + pages/index/index.vue | 246 ++ pages/index/index/home-head.vue | 265 ++ pages/index/index/privacy-modal.vue | 116 + pages/index/message.vue | 294 ++ pages/index/money.vue | 102 + pages/index/protocol.vue | 27 + pages/index/user-copy.vue | 157 + pages/index/user-protocol.vue | 29 + pages/index/user.vue | 216 + pages/index/user/userinfo-card.vue | 355 ++ pages/index/view.vue | 227 + pages/live/list.vue | 216 + pages/live/list2.nvue | 99 + pages/lq-upgrade/checkVersion.js | 61 + pages/lq-upgrade/upgrade.js | 93 + pages/lq-upgrade/upgrade.vue | 284 ++ pages/lq-upgrade/upgrade_bg.png | Bin 0 -> 41769 bytes pages/message/detail.vue | 53 + pages/message/message.vue | 62 + pages/order/after-sale/detail.vue | 329 ++ pages/order/after-sale/list.vue | 329 ++ pages/order/after-sale/log.vue | 96 + pages/order/after-sale/refund.vue | 430 ++ pages/order/components/sh-select-coupon.vue | 123 + pages/order/confirm.vue | 1749 ++++++++ pages/order/detail.vue | 843 ++++ pages/order/express/distribution-detail.vue | 411 ++ pages/order/express/express-detail.vue | 218 + pages/order/express/express-list.vue | 114 + pages/order/express/store-address.vue | 351 ++ pages/order/list.vue | 452 ++ pages/order/payment/method.vue | 436 ++ pages/order/report.vue | 363 ++ pages/order/report_list.vue | 379 ++ pages/public/404.vue | 8 + pages/public/chat/index.vue | 55 + pages/public/chat/shopro/chat.js | 161 + pages/public/chat/shopro/chat.scss | 185 + pages/public/chat/shopro/index.vue | 1113 +++++ pages/public/chat/wm/config.js | 131 + pages/public/chat/wm/index.vue | 1622 +++++++ pages/public/faq.vue | 67 + pages/public/feedback.vue | 217 + pages/public/loading.vue | 39 + pages/public/richtext.vue | 43 + pages/public/search.vue | 113 + pages/public/store/store.vue | 169 + pages/public/webview.vue | 19 + pages/user/address/edit.vue | 381 ++ pages/user/address/list.vue | 166 + pages/user/favorite.vue | 190 + pages/user/info.vue | 538 +++ pages/user/live-copy.nvue | 449 ++ pages/user/live.nvue | 441 ++ pages/user/rob-order.vue | 265 ++ pages/user/set.vue | 129 + pages/user/view-log.vue | 192 + pages/user/wallet/index.vue | 350 ++ pages/user/wallet/score-balance.vue | 175 + pages/user/wallet/top-up-log.vue | 127 + pages/user/wallet/top-up.vue | 284 ++ pages/user/wallet/withdraw-log.vue | 150 + pages/user/wallet/withdraw.vue | 609 +++ shopro/apple/index.js | 76 + shopro/index.js | 60 + shopro/mixins/index.js | 139 + shopro/permission/app.js | 281 ++ shopro/permission/h5.js | 37 + shopro/permission/index.js | 37 + shopro/permission/mp.js | 88 + shopro/platform/index.js | 81 + shopro/poster/QS-SharePoster/QRCodeAlg.js | 1009 +++++ .../poster/QS-SharePoster/QS-SharePoster.js | 1589 +++++++ shopro/poster/QS-SharePoster/app.js | 567 +++ shopro/poster/QS-SharePoster/image-tools.js | 147 + shopro/poster/tools.js | 193 + shopro/request/apis.js | 912 ++++ shopro/request/index.js | 78 + shopro/request/request.js | 133 + shopro/router/index.js | 70 + shopro/router/uni-simple-router.js | 1 + shopro/share/index.js | 112 + shopro/store/index.js | 17 + shopro/store/modules/cart.js | 182 + shopro/store/modules/shopro.js | 148 + shopro/store/modules/user.js | 241 + shopro/utils/sdk-h5.js | 585 +++ shopro/utils/tools.js | 139 + shopro/validate/form.js | 112 + shopro/wechat/sdk.js | 170 + shopro/wechat/wechat.js | 265 ++ static/arrow.png | Bin 0 -> 4568 bytes static/back2.png | Bin 0 -> 1182 bytes static/beautiful.png | Bin 0 -> 1607 bytes static/common/js/touch-emulator.js | 363 ++ static/countdown.png | Bin 0 -> 1234 bytes static/font/OPPOSANS-M-subfont.ttf | Bin 0 -> 9832 bytes static/font/shopro-icon.css | 106 + static/icon-3.png | Bin 0 -> 1382 bytes static/images/empty_network.png | Bin 0 -> 8727 bytes static/images/tabbar/tabbar_cart.png | Bin 0 -> 2598 bytes static/images/tabbar/tabbar_cart1.png | Bin 0 -> 2303 bytes static/images/tabbar/tabbar_category.png | Bin 0 -> 2009 bytes static/images/tabbar/tabbar_category1.png | Bin 0 -> 2104 bytes static/images/tabbar/tabbar_home.png | Bin 0 -> 1834 bytes static/images/tabbar/tabbar_home1.png | Bin 0 -> 1977 bytes static/images/tabbar/tabbar_personal.png | Bin 0 -> 2686 bytes static/images/tabbar/tabbar_personal1.png | Bin 0 -> 2492 bytes static/images/tabbar/tabbar_video.png | Bin 0 -> 2055 bytes static/images/tabbar/tabbar_video1.png | Bin 0 -> 2125 bytes static/img/fanhui.png | Bin 0 -> 284 bytes static/img/fanhui2.png | Bin 0 -> 435 bytes static/img/fenbianshuai.png | Bin 0 -> 892 bytes static/img/hd.png | Bin 0 -> 6103 bytes static/img/huanyihuan2x.png | Bin 0 -> 1066 bytes static/img/kaishi.png | Bin 0 -> 20099 bytes static/img/line-phone.png | Bin 0 -> 1452 bytes static/img/line-service.png | Bin 0 -> 4157 bytes static/img/meiyan.png | Bin 0 -> 1228 bytes static/img/paly.png | Bin 0 -> 1192 bytes static/img/qiehuan.png | Bin 0 -> 1013 bytes static/img/stop.png | Bin 0 -> 996 bytes static/img/tianjia.png | Bin 0 -> 1648 bytes static/img/tuichu.png | Bin 0 -> 463 bytes static/img/zhiboshop.png | Bin 0 -> 459 bytes static/img/zhiboshop2.png | Bin 0 -> 1038 bytes static/jilu.png | Bin 0 -> 18928 bytes static/left-gray-arrow.png | Bin 0 -> 2389 bytes static/live-back-active.png | Bin 0 -> 1477 bytes static/live-back.png | Bin 0 -> 1205 bytes static/live-logo.png | Bin 0 -> 1897 bytes static/live-love-active.png | Bin 0 -> 2995 bytes static/live-love.png | Bin 0 -> 2334 bytes static/live-open-active.png | Bin 0 -> 1846 bytes static/live-open.png | Bin 0 -> 1505 bytes static/live-video-active.png | Bin 0 -> 1486 bytes static/live-video.png | Bin 0 -> 1266 bytes static/live-white-active.png | Bin 0 -> 2136 bytes static/live-white.png | Bin 0 -> 1719 bytes static/meiyan.png | Bin 0 -> 5736 bytes static/no-shop.png | Bin 0 -> 11894 bytes static/qiehuan.png | Bin 0 -> 5991 bytes static/reversal.png | Bin 0 -> 2119 bytes static/selecr-my.png | Bin 0 -> 4916 bytes static/select-chang.png | Bin 0 -> 5224 bytes static/shanchu.png | Bin 0 -> 5926 bytes static/style/colorui.css | 3924 +++++++++++++++++ static/style/index.scss | 55 + static/template_empty.png | Bin 0 -> 26725 bytes static/yes.png | Bin 0 -> 3147 bytes static/zhiboshop.png | Bin 0 -> 5041 bytes template.h5.html | 47 + uni.scss | 7 + uni_modules/x-perm-apply-instr/changelog.md | 30 + .../x-perm-apply-instr/js_sdk/index.js | 319 ++ .../x-perm-apply-instr/js_sdk/permission.js | 272 ++ uni_modules/x-perm-apply-instr/p1.png | Bin 0 -> 23615 bytes uni_modules/x-perm-apply-instr/p2.png | Bin 0 -> 18270 bytes uni_modules/x-perm-apply-instr/p3.png | Bin 0 -> 19090 bytes uni_modules/x-perm-apply-instr/p4.png | Bin 0 -> 11303 bytes uni_modules/x-perm-apply-instr/p5.png | Bin 0 -> 6101 bytes uni_modules/x-perm-apply-instr/package.json | 86 + uni_modules/x-perm-apply-instr/readme.md | 46 + uview-ui/LICENSE | 21 + uview-ui/README.md | 0 uview-ui/components/u-calendar/u-calendar.vue | 667 +++ .../u-checkbox-group/u-checkbox-group.vue | 122 + uview-ui/components/u-checkbox/u-checkbox.vue | 284 ++ .../u-collapse-item/u-collapse-item.vue | 204 + uview-ui/components/u-collapse/u-collapse.vue | 99 + .../u-column-notice/u-column-notice.vue | 237 + .../components/u-count-down/u-count-down.vue | 318 ++ .../u-dropdown-item/u-dropdown-item.vue | 150 + uview-ui/components/u-dropdown/u-dropdown.vue | 321 ++ uview-ui/components/u-empty/u-empty.vue | 193 + .../components/u-form-item/u-form-item.vue | 431 ++ uview-ui/components/u-form/u-form.vue | 134 + uview-ui/components/u-icon/u-icon.vue | 336 ++ uview-ui/components/u-input/u-input.vue | 390 ++ .../u-line-progress/u-line-progress.vue | 148 + uview-ui/components/u-line/u-line.vue | 84 + uview-ui/components/u-loadmore/u-loadmore.vue | 227 + uview-ui/components/u-mask/u-mask.vue | 133 + uview-ui/components/u-modal/u-modal.vue | 297 ++ .../components/u-no-network/u-no-network.vue | 231 + .../components/u-notice-bar/u-notice-bar.vue | 272 ++ .../components/u-number-box/u-number-box.vue | 386 ++ .../components/u-parse/libs/CssHandler.js | 100 + .../components/u-parse/libs/MpHtmlParser.js | 580 +++ uview-ui/components/u-parse/libs/config.js | 80 + uview-ui/components/u-parse/libs/handler.wxs | 22 + uview-ui/components/u-parse/libs/trees.vue | 505 +++ uview-ui/components/u-parse/u-parse.vue | 659 +++ uview-ui/components/u-picker/u-picker.vue | 676 +++ uview-ui/components/u-popup/u-popup.vue | 462 ++ .../u-radio-group/u-radio-group.vue | 128 + uview-ui/components/u-radio/u-radio.vue | 275 ++ uview-ui/components/u-rate/u-rate.vue | 275 ++ .../components/u-row-notice/u-row-notice.vue | 269 ++ uview-ui/components/u-search/u-search.vue | 342 ++ uview-ui/components/u-select/u-select.vue | 417 ++ uview-ui/components/u-steps/u-steps.vue | 200 + uview-ui/components/u-sticky/u-sticky.vue | 172 + uview-ui/components/u-swiper/u-swiper.vue | 365 ++ uview-ui/components/u-switch/u-switch.vue | 161 + .../u-time-line-item/u-time-line-item.vue | 83 + .../components/u-time-line/u-time-line.vue | 43 + uview-ui/components/u-upload/u-upload.vue | 665 +++ uview-ui/iconfont.css | 892 ++++ uview-ui/index.js | 78 + uview-ui/index.scss | 23 + uview-ui/libs/config/config.js | 15 + uview-ui/libs/config/zIndex.js | 20 + uview-ui/libs/css/color.scss | 155 + uview-ui/libs/css/common.scss | 240 + uview-ui/libs/css/style.components.scss | 7 + uview-ui/libs/css/style.h5.scss | 8 + uview-ui/libs/css/style.mp.scss | 72 + uview-ui/libs/css/style.nvue.scss | 3 + uview-ui/libs/css/style.vue.scss | 180 + uview-ui/libs/function/$parent.js | 18 + uview-ui/libs/function/addUnit.js | 8 + uview-ui/libs/function/debounce.js | 29 + uview-ui/libs/function/deepClone.js | 23 + uview-ui/libs/function/guid.js | 41 + uview-ui/libs/function/sys.js | 9 + uview-ui/libs/function/test.js | 232 + uview-ui/libs/function/throttle.js | 32 + uview-ui/libs/function/timeFormat.js | 51 + uview-ui/libs/function/timeFrom.js | 47 + uview-ui/libs/function/toast.js | 9 + uview-ui/libs/function/trim.js | 15 + uview-ui/libs/mixin/mixin.js | 76 + uview-ui/libs/util/async-validator.js | 1356 ++++++ uview-ui/libs/util/emitter.js | 51 + uview-ui/package.json | 39 + uview-ui/theme.scss | 38 + vue.config.js | 18 + 338 files changed, 72261 insertions(+) create mode 100644 App.vue create mode 100644 androidPrivacy.json create mode 100644 components/page-loading/page-loading.vue create mode 100644 components/shopro-auth-modal/shopro-auth-modal-copy.vue create mode 100644 components/shopro-auth-modal/shopro-auth-modal.vue create mode 100644 components/shopro-canvas/shopro-canvas.vue create mode 100644 components/shopro-coupon/shopro-coupon.vue create mode 100644 components/shopro-empty/shopro-empty.vue create mode 100644 components/shopro-float-btn/shopro-float-btn.vue create mode 100644 components/shopro-goods-card/shopro-goods-card.vue create mode 100644 components/shopro-live-card/shopro-live-card.vue create mode 100644 components/shopro-loading/shopro-loading.vue create mode 100644 components/shopro-mini-card/shopro-mini-card.vue create mode 100644 components/shopro-navbar/shopro-navbar.vue create mode 100644 components/shopro-notice-modal/shopro-notice-modal.vue create mode 100644 components/shopro-protocol/shopro-protocol.vue create mode 100644 components/shopro-share/shopro-share.vue create mode 100644 components/shopro-sku/shopro-sku.vue create mode 100644 components/shopro-tabbar/shopro-tabbar.vue create mode 100644 components/uni-popup/uni-popup.vue create mode 100644 components/uni-transition/uni-transition.vue create mode 100644 components/yk-authpup/yk-authpup.vue create mode 100644 env.js create mode 100644 main.js create mode 100644 manifest.json create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 pages.json create mode 100644 pages/activity/discounts/list.vue create mode 100644 pages/activity/groupon/detail.vue create mode 100644 pages/activity/groupon/list.vue create mode 100644 pages/activity/groupon/my-groupon.vue create mode 100644 pages/activity/promote/list.vue create mode 100644 pages/activity/robbuy/list.vue create mode 100644 pages/activity/seckill/list.vue create mode 100644 pages/activity/sign/index.vue create mode 100644 pages/activity/timer/list.vue create mode 100644 pages/app/commission/apply.vue create mode 100644 pages/app/commission/commission-log.vue create mode 100644 pages/app/commission/goods.vue create mode 100644 pages/app/commission/index.vue create mode 100644 pages/app/commission/order.vue create mode 100644 pages/app/commission/rankings.vue create mode 100644 pages/app/commission/share-log.vue create mode 100644 pages/app/commission/team.vue create mode 100644 pages/app/components/sh-collapse-item.vue create mode 100644 pages/app/coupon/detail.vue create mode 100644 pages/app/coupon/list.vue create mode 100644 pages/app/merchant/detail.vue create mode 100644 pages/app/merchant/index.vue create mode 100644 pages/app/merchant/info.vue create mode 100644 pages/app/merchant/list.vue create mode 100644 pages/app/score/list.vue create mode 100644 pages/app/store/detail.vue create mode 100644 pages/app/store/index.vue create mode 100644 pages/goods/comment/add-comment.vue create mode 100644 pages/goods/comment/comment-list.vue create mode 100644 pages/goods/components/sh-activity.vue create mode 100644 pages/goods/components/sh-comment.vue create mode 100644 pages/goods/components/sh-coupon.vue create mode 100644 pages/goods/components/sh-filter.vue create mode 100644 pages/goods/components/sh-groupon.vue create mode 100644 pages/goods/components/sh-parmas.vue create mode 100644 pages/goods/components/sh-price-card.vue create mode 100644 pages/goods/components/sh-serve.vue create mode 100644 pages/goods/detail.vue create mode 100644 pages/goods/list.vue create mode 100644 pages/index-extra/all-menu.vue create mode 100644 pages/index-extra/message.vue create mode 100644 pages/index-extra/money.vue create mode 100644 pages/index-extra/protocol.vue create mode 100644 pages/index-extra/user-protocol.vue create mode 100644 pages/index-extra/view.vue create mode 100644 pages/index/all-menu.vue create mode 100644 pages/index/cart.vue create mode 100644 pages/index/category.vue create mode 100644 pages/index/category/one-catgory.vue create mode 100644 pages/index/category/takeout-catgory.vue create mode 100644 pages/index/category/three-catgory.vue create mode 100644 pages/index/category/two-catgory.vue create mode 100644 pages/index/components/sh-adv.vue create mode 100644 pages/index/components/sh-banner.vue create mode 100644 pages/index/components/sh-category-tabs.vue create mode 100644 pages/index/components/sh-cell.vue create mode 100644 pages/index/components/sh-coupon.vue create mode 100644 pages/index/components/sh-goods-card.vue create mode 100644 pages/index/components/sh-grid-swiper.vue create mode 100644 pages/index/components/sh-grid.vue create mode 100644 pages/index/components/sh-groupon.vue create mode 100644 pages/index/components/sh-hot-goods.vue create mode 100644 pages/index/components/sh-image-goods.vue create mode 100644 pages/index/components/sh-live.vue create mode 100644 pages/index/components/sh-order-card.vue create mode 100644 pages/index/components/sh-pic-ads.vue create mode 100644 pages/index/components/sh-richtext.vue create mode 100644 pages/index/components/sh-search.vue create mode 100644 pages/index/components/sh-seckill.vue create mode 100644 pages/index/components/sh-title-card.vue create mode 100644 pages/index/components/sh-wallet.vue create mode 100644 pages/index/index.vue create mode 100644 pages/index/index/home-head.vue create mode 100644 pages/index/index/privacy-modal.vue create mode 100644 pages/index/message.vue create mode 100644 pages/index/money.vue create mode 100644 pages/index/protocol.vue create mode 100644 pages/index/user-copy.vue create mode 100644 pages/index/user-protocol.vue create mode 100644 pages/index/user.vue create mode 100644 pages/index/user/userinfo-card.vue create mode 100644 pages/index/view.vue create mode 100644 pages/live/list.vue create mode 100644 pages/live/list2.nvue create mode 100644 pages/lq-upgrade/checkVersion.js create mode 100644 pages/lq-upgrade/upgrade.js create mode 100644 pages/lq-upgrade/upgrade.vue create mode 100644 pages/lq-upgrade/upgrade_bg.png create mode 100644 pages/message/detail.vue create mode 100644 pages/message/message.vue create mode 100644 pages/order/after-sale/detail.vue create mode 100644 pages/order/after-sale/list.vue create mode 100644 pages/order/after-sale/log.vue create mode 100644 pages/order/after-sale/refund.vue create mode 100644 pages/order/components/sh-select-coupon.vue create mode 100644 pages/order/confirm.vue create mode 100644 pages/order/detail.vue create mode 100644 pages/order/express/distribution-detail.vue create mode 100644 pages/order/express/express-detail.vue create mode 100644 pages/order/express/express-list.vue create mode 100644 pages/order/express/store-address.vue create mode 100644 pages/order/list.vue create mode 100644 pages/order/payment/method.vue create mode 100644 pages/order/report.vue create mode 100644 pages/order/report_list.vue create mode 100644 pages/public/404.vue create mode 100644 pages/public/chat/index.vue create mode 100644 pages/public/chat/shopro/chat.js create mode 100644 pages/public/chat/shopro/chat.scss create mode 100644 pages/public/chat/shopro/index.vue create mode 100644 pages/public/chat/wm/config.js create mode 100644 pages/public/chat/wm/index.vue create mode 100644 pages/public/faq.vue create mode 100644 pages/public/feedback.vue create mode 100644 pages/public/loading.vue create mode 100644 pages/public/richtext.vue create mode 100644 pages/public/search.vue create mode 100644 pages/public/store/store.vue create mode 100644 pages/public/webview.vue create mode 100644 pages/user/address/edit.vue create mode 100644 pages/user/address/list.vue create mode 100644 pages/user/favorite.vue create mode 100644 pages/user/info.vue create mode 100644 pages/user/live-copy.nvue create mode 100644 pages/user/live.nvue create mode 100644 pages/user/rob-order.vue create mode 100644 pages/user/set.vue create mode 100644 pages/user/view-log.vue create mode 100644 pages/user/wallet/index.vue create mode 100644 pages/user/wallet/score-balance.vue create mode 100644 pages/user/wallet/top-up-log.vue create mode 100644 pages/user/wallet/top-up.vue create mode 100644 pages/user/wallet/withdraw-log.vue create mode 100644 pages/user/wallet/withdraw.vue create mode 100644 shopro/apple/index.js create mode 100644 shopro/index.js create mode 100644 shopro/mixins/index.js create mode 100644 shopro/permission/app.js create mode 100644 shopro/permission/h5.js create mode 100644 shopro/permission/index.js create mode 100644 shopro/permission/mp.js create mode 100644 shopro/platform/index.js create mode 100644 shopro/poster/QS-SharePoster/QRCodeAlg.js create mode 100644 shopro/poster/QS-SharePoster/QS-SharePoster.js create mode 100644 shopro/poster/QS-SharePoster/app.js create mode 100644 shopro/poster/QS-SharePoster/image-tools.js create mode 100644 shopro/poster/tools.js create mode 100644 shopro/request/apis.js create mode 100644 shopro/request/index.js create mode 100644 shopro/request/request.js create mode 100644 shopro/router/index.js create mode 100644 shopro/router/uni-simple-router.js create mode 100644 shopro/share/index.js create mode 100644 shopro/store/index.js create mode 100644 shopro/store/modules/cart.js create mode 100644 shopro/store/modules/shopro.js create mode 100644 shopro/store/modules/user.js create mode 100644 shopro/utils/sdk-h5.js create mode 100644 shopro/utils/tools.js create mode 100644 shopro/validate/form.js create mode 100644 shopro/wechat/sdk.js create mode 100644 shopro/wechat/wechat.js create mode 100644 static/arrow.png create mode 100644 static/back2.png create mode 100644 static/beautiful.png create mode 100644 static/common/js/touch-emulator.js create mode 100644 static/countdown.png create mode 100644 static/font/OPPOSANS-M-subfont.ttf create mode 100644 static/font/shopro-icon.css create mode 100644 static/icon-3.png create mode 100644 static/images/empty_network.png create mode 100644 static/images/tabbar/tabbar_cart.png create mode 100644 static/images/tabbar/tabbar_cart1.png create mode 100644 static/images/tabbar/tabbar_category.png create mode 100644 static/images/tabbar/tabbar_category1.png create mode 100644 static/images/tabbar/tabbar_home.png create mode 100644 static/images/tabbar/tabbar_home1.png create mode 100644 static/images/tabbar/tabbar_personal.png create mode 100644 static/images/tabbar/tabbar_personal1.png create mode 100644 static/images/tabbar/tabbar_video.png create mode 100644 static/images/tabbar/tabbar_video1.png create mode 100644 static/img/fanhui.png create mode 100644 static/img/fanhui2.png create mode 100644 static/img/fenbianshuai.png create mode 100644 static/img/hd.png create mode 100644 static/img/huanyihuan2x.png create mode 100644 static/img/kaishi.png create mode 100644 static/img/line-phone.png create mode 100644 static/img/line-service.png create mode 100644 static/img/meiyan.png create mode 100644 static/img/paly.png create mode 100644 static/img/qiehuan.png create mode 100644 static/img/stop.png create mode 100644 static/img/tianjia.png create mode 100644 static/img/tuichu.png create mode 100644 static/img/zhiboshop.png create mode 100644 static/img/zhiboshop2.png create mode 100644 static/jilu.png create mode 100644 static/left-gray-arrow.png create mode 100644 static/live-back-active.png create mode 100644 static/live-back.png create mode 100644 static/live-logo.png create mode 100644 static/live-love-active.png create mode 100644 static/live-love.png create mode 100644 static/live-open-active.png create mode 100644 static/live-open.png create mode 100644 static/live-video-active.png create mode 100644 static/live-video.png create mode 100644 static/live-white-active.png create mode 100644 static/live-white.png create mode 100644 static/meiyan.png create mode 100644 static/no-shop.png create mode 100644 static/qiehuan.png create mode 100644 static/reversal.png create mode 100644 static/selecr-my.png create mode 100644 static/select-chang.png create mode 100644 static/shanchu.png create mode 100644 static/style/colorui.css create mode 100644 static/style/index.scss create mode 100644 static/template_empty.png create mode 100644 static/yes.png create mode 100644 static/zhiboshop.png create mode 100644 template.h5.html create mode 100644 uni.scss create mode 100644 uni_modules/x-perm-apply-instr/changelog.md create mode 100644 uni_modules/x-perm-apply-instr/js_sdk/index.js create mode 100644 uni_modules/x-perm-apply-instr/js_sdk/permission.js create mode 100644 uni_modules/x-perm-apply-instr/p1.png create mode 100644 uni_modules/x-perm-apply-instr/p2.png create mode 100644 uni_modules/x-perm-apply-instr/p3.png create mode 100644 uni_modules/x-perm-apply-instr/p4.png create mode 100644 uni_modules/x-perm-apply-instr/p5.png create mode 100644 uni_modules/x-perm-apply-instr/package.json create mode 100644 uni_modules/x-perm-apply-instr/readme.md create mode 100644 uview-ui/LICENSE create mode 100644 uview-ui/README.md create mode 100644 uview-ui/components/u-calendar/u-calendar.vue create mode 100644 uview-ui/components/u-checkbox-group/u-checkbox-group.vue create mode 100644 uview-ui/components/u-checkbox/u-checkbox.vue create mode 100644 uview-ui/components/u-collapse-item/u-collapse-item.vue create mode 100644 uview-ui/components/u-collapse/u-collapse.vue create mode 100644 uview-ui/components/u-column-notice/u-column-notice.vue create mode 100644 uview-ui/components/u-count-down/u-count-down.vue create mode 100644 uview-ui/components/u-dropdown-item/u-dropdown-item.vue create mode 100644 uview-ui/components/u-dropdown/u-dropdown.vue create mode 100644 uview-ui/components/u-empty/u-empty.vue create mode 100644 uview-ui/components/u-form-item/u-form-item.vue create mode 100644 uview-ui/components/u-form/u-form.vue create mode 100644 uview-ui/components/u-icon/u-icon.vue create mode 100644 uview-ui/components/u-input/u-input.vue create mode 100644 uview-ui/components/u-line-progress/u-line-progress.vue create mode 100644 uview-ui/components/u-line/u-line.vue create mode 100644 uview-ui/components/u-loadmore/u-loadmore.vue create mode 100644 uview-ui/components/u-mask/u-mask.vue create mode 100644 uview-ui/components/u-modal/u-modal.vue create mode 100644 uview-ui/components/u-no-network/u-no-network.vue create mode 100644 uview-ui/components/u-notice-bar/u-notice-bar.vue create mode 100644 uview-ui/components/u-number-box/u-number-box.vue create mode 100644 uview-ui/components/u-parse/libs/CssHandler.js create mode 100644 uview-ui/components/u-parse/libs/MpHtmlParser.js create mode 100644 uview-ui/components/u-parse/libs/config.js create mode 100644 uview-ui/components/u-parse/libs/handler.wxs create mode 100644 uview-ui/components/u-parse/libs/trees.vue create mode 100644 uview-ui/components/u-parse/u-parse.vue create mode 100644 uview-ui/components/u-picker/u-picker.vue create mode 100644 uview-ui/components/u-popup/u-popup.vue create mode 100644 uview-ui/components/u-radio-group/u-radio-group.vue create mode 100644 uview-ui/components/u-radio/u-radio.vue create mode 100644 uview-ui/components/u-rate/u-rate.vue create mode 100644 uview-ui/components/u-row-notice/u-row-notice.vue create mode 100644 uview-ui/components/u-search/u-search.vue create mode 100644 uview-ui/components/u-select/u-select.vue create mode 100644 uview-ui/components/u-steps/u-steps.vue create mode 100644 uview-ui/components/u-sticky/u-sticky.vue create mode 100644 uview-ui/components/u-swiper/u-swiper.vue create mode 100644 uview-ui/components/u-switch/u-switch.vue create mode 100644 uview-ui/components/u-time-line-item/u-time-line-item.vue create mode 100644 uview-ui/components/u-time-line/u-time-line.vue create mode 100644 uview-ui/components/u-upload/u-upload.vue create mode 100644 uview-ui/iconfont.css create mode 100644 uview-ui/index.js create mode 100644 uview-ui/index.scss create mode 100644 uview-ui/libs/config/config.js create mode 100644 uview-ui/libs/config/zIndex.js create mode 100644 uview-ui/libs/css/color.scss create mode 100644 uview-ui/libs/css/common.scss create mode 100644 uview-ui/libs/css/style.components.scss create mode 100644 uview-ui/libs/css/style.h5.scss create mode 100644 uview-ui/libs/css/style.mp.scss create mode 100644 uview-ui/libs/css/style.nvue.scss create mode 100644 uview-ui/libs/css/style.vue.scss create mode 100644 uview-ui/libs/function/$parent.js create mode 100644 uview-ui/libs/function/addUnit.js create mode 100644 uview-ui/libs/function/debounce.js create mode 100644 uview-ui/libs/function/deepClone.js create mode 100644 uview-ui/libs/function/guid.js create mode 100644 uview-ui/libs/function/sys.js create mode 100644 uview-ui/libs/function/test.js create mode 100644 uview-ui/libs/function/throttle.js create mode 100644 uview-ui/libs/function/timeFormat.js create mode 100644 uview-ui/libs/function/timeFrom.js create mode 100644 uview-ui/libs/function/toast.js create mode 100644 uview-ui/libs/function/trim.js create mode 100644 uview-ui/libs/mixin/mixin.js create mode 100644 uview-ui/libs/util/async-validator.js create mode 100644 uview-ui/libs/util/emitter.js create mode 100644 uview-ui/package.json create mode 100644 uview-ui/theme.scss create mode 100644 vue.config.js diff --git a/.gitignore b/.gitignore index 675f0dc..746a8a0 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,6 @@ unpackage/ node_modules/ .hbuilderx/ .DS_Store +__MACOSX/ *.log +*.zip diff --git a/App.vue b/App.vue new file mode 100644 index 0000000..fb77cbd --- /dev/null +++ b/App.vue @@ -0,0 +1,22 @@ + + + \ No newline at end of file diff --git a/androidPrivacy.json b/androidPrivacy.json new file mode 100644 index 0000000..2f8a0c5 --- /dev/null +++ b/androidPrivacy.json @@ -0,0 +1,38 @@ +{ + "version" : "1", + "prompt" : "template", + "title" : "用户协议和隐私政策", + "message" : "  请您务必仔细阅读,充分理解用户协议和隐私政策各条款,包括但不限于为了向您提供在线交易在线支付,内容分享等服务,我们需要收集您设备信息和个人信息,您可以在设置中查看,管理您的授权。
  你可阅读《服务协议》和《隐私政策》了解详细信息。如果你同意,请点击同意接受我们的服务。", + "buttonAccept" : "同意并接受", + "buttonRefuse" : "暂不同意", + "hrefLoader" : "system", + "backToExit" : "false", + "second" : { + "title" : "确认提示", + "message" : "  进入应用前,你需先同意《服务协议》和《隐私政策》,否则将退出应用。", + "buttonAccept" : "同意并继续", + "buttonRefuse" : "退出应用" + }, + "disagreeMode" : { + "support" : false, + "loadNativePlugins" : false, + "visitorEntry" : false, + "showAlways" : false + }, + "styles" : { + "backgroundColor" : "#ffffff", + "borderRadius" : "5px", + "title" : { + "color" : "#000000" + }, + "buttonAccept" : { + "color" : "#00aaff" + }, + "buttonRefuse" : { + "color" : "#ff0000" + }, + "buttonVisitor" : { + "color" : "#00aa00" + } + } +} diff --git a/components/page-loading/page-loading.vue b/components/page-loading/page-loading.vue new file mode 100644 index 0000000..ebf6055 --- /dev/null +++ b/components/page-loading/page-loading.vue @@ -0,0 +1,294 @@ + + + + + \ No newline at end of file diff --git a/components/shopro-auth-modal/shopro-auth-modal-copy.vue b/components/shopro-auth-modal/shopro-auth-modal-copy.vue new file mode 100644 index 0000000..d5bf639 --- /dev/null +++ b/components/shopro-auth-modal/shopro-auth-modal-copy.vue @@ -0,0 +1,1029 @@ + + + + + \ No newline at end of file diff --git a/components/shopro-auth-modal/shopro-auth-modal.vue b/components/shopro-auth-modal/shopro-auth-modal.vue new file mode 100644 index 0000000..b064ef4 --- /dev/null +++ b/components/shopro-auth-modal/shopro-auth-modal.vue @@ -0,0 +1,985 @@ + + + + + \ No newline at end of file diff --git a/components/shopro-canvas/shopro-canvas.vue b/components/shopro-canvas/shopro-canvas.vue new file mode 100644 index 0000000..b3a1246 --- /dev/null +++ b/components/shopro-canvas/shopro-canvas.vue @@ -0,0 +1,123 @@ + + + + + diff --git a/components/shopro-coupon/shopro-coupon.vue b/components/shopro-coupon/shopro-coupon.vue new file mode 100644 index 0000000..941cc05 --- /dev/null +++ b/components/shopro-coupon/shopro-coupon.vue @@ -0,0 +1,183 @@ + + + + + \ No newline at end of file diff --git a/components/shopro-empty/shopro-empty.vue b/components/shopro-empty/shopro-empty.vue new file mode 100644 index 0000000..7ceb170 --- /dev/null +++ b/components/shopro-empty/shopro-empty.vue @@ -0,0 +1,77 @@ + + + + + diff --git a/components/shopro-float-btn/shopro-float-btn.vue b/components/shopro-float-btn/shopro-float-btn.vue new file mode 100644 index 0000000..597e5d6 --- /dev/null +++ b/components/shopro-float-btn/shopro-float-btn.vue @@ -0,0 +1,256 @@ + + + + + \ No newline at end of file diff --git a/components/shopro-goods-card/shopro-goods-card.vue b/components/shopro-goods-card/shopro-goods-card.vue new file mode 100644 index 0000000..e444705 --- /dev/null +++ b/components/shopro-goods-card/shopro-goods-card.vue @@ -0,0 +1,380 @@ + + + + + diff --git a/components/shopro-live-card/shopro-live-card.vue b/components/shopro-live-card/shopro-live-card.vue new file mode 100644 index 0000000..3ea10b3 --- /dev/null +++ b/components/shopro-live-card/shopro-live-card.vue @@ -0,0 +1,361 @@ + + + + + diff --git a/components/shopro-loading/shopro-loading.vue b/components/shopro-loading/shopro-loading.vue new file mode 100644 index 0000000..18908c8 --- /dev/null +++ b/components/shopro-loading/shopro-loading.vue @@ -0,0 +1,300 @@ + + + + + \ No newline at end of file diff --git a/components/shopro-mini-card/shopro-mini-card.vue b/components/shopro-mini-card/shopro-mini-card.vue new file mode 100644 index 0000000..aa05a5b --- /dev/null +++ b/components/shopro-mini-card/shopro-mini-card.vue @@ -0,0 +1,140 @@ + + + + + \ No newline at end of file diff --git a/components/shopro-navbar/shopro-navbar.vue b/components/shopro-navbar/shopro-navbar.vue new file mode 100644 index 0000000..31f19d0 --- /dev/null +++ b/components/shopro-navbar/shopro-navbar.vue @@ -0,0 +1,136 @@ + + + + + \ No newline at end of file diff --git a/components/shopro-notice-modal/shopro-notice-modal.vue b/components/shopro-notice-modal/shopro-notice-modal.vue new file mode 100644 index 0000000..99d4211 --- /dev/null +++ b/components/shopro-notice-modal/shopro-notice-modal.vue @@ -0,0 +1,154 @@ + + + + + diff --git a/components/shopro-protocol/shopro-protocol.vue b/components/shopro-protocol/shopro-protocol.vue new file mode 100644 index 0000000..9cadab5 --- /dev/null +++ b/components/shopro-protocol/shopro-protocol.vue @@ -0,0 +1,84 @@ + + + + + \ No newline at end of file diff --git a/components/shopro-share/shopro-share.vue b/components/shopro-share/shopro-share.vue new file mode 100644 index 0000000..41870e4 --- /dev/null +++ b/components/shopro-share/shopro-share.vue @@ -0,0 +1,599 @@ + + + + \ No newline at end of file diff --git a/components/shopro-sku/shopro-sku.vue b/components/shopro-sku/shopro-sku.vue new file mode 100644 index 0000000..0378b1e --- /dev/null +++ b/components/shopro-sku/shopro-sku.vue @@ -0,0 +1,587 @@ + + + + + diff --git a/components/shopro-tabbar/shopro-tabbar.vue b/components/shopro-tabbar/shopro-tabbar.vue new file mode 100644 index 0000000..a9c48bd --- /dev/null +++ b/components/shopro-tabbar/shopro-tabbar.vue @@ -0,0 +1,205 @@ + + + + + diff --git a/components/uni-popup/uni-popup.vue b/components/uni-popup/uni-popup.vue new file mode 100644 index 0000000..83742f8 --- /dev/null +++ b/components/uni-popup/uni-popup.vue @@ -0,0 +1,263 @@ + + + + diff --git a/components/uni-transition/uni-transition.vue b/components/uni-transition/uni-transition.vue new file mode 100644 index 0000000..908a939 --- /dev/null +++ b/components/uni-transition/uni-transition.vue @@ -0,0 +1,279 @@ + + + + + diff --git a/components/yk-authpup/yk-authpup.vue b/components/yk-authpup/yk-authpup.vue new file mode 100644 index 0000000..5790fd2 --- /dev/null +++ b/components/yk-authpup/yk-authpup.vue @@ -0,0 +1,335 @@ + + + + \ No newline at end of file diff --git a/env.js b/env.js new file mode 100644 index 0000000..81f4671 --- /dev/null +++ b/env.js @@ -0,0 +1,9 @@ +/** + * Shopro全局配置文件 + */ + +export const BASE_URL = 'https://chufang.gynhc.com' //后台根域名 https://demo.shopro.top +export const API_URL = `${BASE_URL}/addons/shopro/` //后台接口域名 +export const IMG_URL = 'https://chufang.gynhc.com' //全局网络图片地址变量,css背景图片地址变量在uni.scss +export const MAP_KEY = '24eb092b2163da8fa5087bf92844a5bd'; //高德地图开发者Web服务key,逆坐标解析 +export const HAS_LIVE = false //后台是否开通直播权限,根据情况在manifest.json中,开启注释相应组件的引入,pages.json中打开直播 diff --git a/main.js b/main.js new file mode 100644 index 0000000..fb7c655 --- /dev/null +++ b/main.js @@ -0,0 +1,45 @@ +import Vue from "vue"; +import App from "./App"; +import { + router, + RouterMount +} from "@/shopro/router"; +import store from "@/shopro/store"; +import uView from "uview-ui"; +import shopro from "@/shopro"; + +import { + addPermisionInterceptor, + removePermisionInterceptor +} from '@/uni_modules/x-perm-apply-instr/js_sdk/index.js' +addPermisionInterceptor('chooseImage', '为了修改个人头像和发布信息图片视频等, 我们需要申请您设备的相机和存储权限') +addPermisionInterceptor('chooseVideo', '为了发布信息图片视频等, 我们需要申请您设备的相机和存储权限') +addPermisionInterceptor('saveImageToPhotosAlbum', '为了保存推广海报到手机相册, 我们需要申请您设备的存储权限') +addPermisionInterceptor('getLocation', '为了根据您的位置展示信息, 我们需要申请您设备的位置权限') +addPermisionInterceptor('makePhoneCall', '为了联系客服/用户/咨询等, 我们需要申请您设备的拨打电话权限') +addPermisionInterceptor('getRecorderManager', '为了使用语言消息功能等, 我们需要申请您设备的麦克风权限') +addPermisionInterceptor('startLocationUpdate', '为了根据您的位置展示信息, 我们需要申请您设备的位置权限') +addPermisionInterceptor('scanCode', '为了识别二维码信息, 我们需要申请您设备的相机权限') + +async function bootstrap() { + App.mpType = "app"; + //引入路由 + Vue.use(router); + // 引入全局uView + Vue.use(uView); + // 加载shopro + Vue.use(shopro); + + const app = new Vue({ + store, + ...App + }); + // #ifdef H5 + RouterMount(app, router, "#app"); + // #endif + // #ifndef H5 + app.$mount(); + // #endif +} + +bootstrap(); \ No newline at end of file diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..a72fcd9 --- /dev/null +++ b/manifest.json @@ -0,0 +1,243 @@ +{ + "name" : "小众厨房设备1", + "appid" : "__UNI__C77F3FE", + "description" : "小众厨房设备1", + "versionName" : "1.3.9", + "versionCode" : 137, + "transformPx" : false, + "app-plus" : { + // APP-VUE分包,可提APP升启动速度,2.7.12开始支持,兼容微信小程序分包方案,默认关闭 + "optimization" : { + "subPackages" : true + }, + "runmode" : "liberate", // 开启分包优化后,必须配置资源释放模式 + "safearea" : { + // APP底部安全区域 + "background" : "#fff", + "bottom" : { + "offset" : "auto" + } + }, + "splashscreen" : { + "alwaysShowBeforeRender" : true, + "waiting" : true, + "autoclose" : true, + "delay" : 200 + }, + "usingComponents" : true, + "nvueCompiler" : "uni-app", + "compilerVersion" : 3, + "modules" : { + "Maps" : {}, + "OAuth" : {}, + "VideoPlayer" : {}, + "LivePusher" : {}, + "Record" : {}, + "Share" : {}, + "Payment" : {}, + "Geolocation" : {}, + "Camera" : {} + }, + "distribute" : { + "android" : { + "permissionExternalStorage" : { + "request" : "none", + "prompt" : "应用保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。" + }, + "permissions" : [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "abiFilters" : [ "armeabi-v7a", "arm64-v8a" ], + "targetSdkVersion" : 30 + }, + "ios" : { + "capabilities" : { + "entitlements" : { + "com.apple.developer.associated-domains" : [ "applinks:m.*****.top" ] + } + }, + "privacyDescription" : { + "NSLocationAlwaysAndWhenInUseUsageDescription" : "需要同意获取您的位置信息才能展示附近信息", + "NSLocationAlwaysUsageDescription" : "需要同意获取您的位置信息才能展示附近信息", + "NSLocationWhenInUseUsageDescription" : "需要同意获取您的位置信息才能展示附近信息", + "NSPhotoLibraryAddUsageDescription" : "需要同意访问您的相册才能保存图片", + "NSPhotoLibraryUsageDescription" : "需要同意访问您的相册才能选取图片", + "NSCameraUsageDescription" : "需要同意访问您的摄像头才能拍摄照片", + "NSUserTrackingUsageDescription" : "请放心,开启权限不会获取您在其他站点的隐私信息,该权限仅用于标识设备并保障服务安全与提升浏览体验" + }, + "dSYMs" : false + }, + "sdkConfigs" : { + "ad" : {}, + "payment" : { + "weixin" : { + "__platform__" : [ "ios", "android" ], + "appid" : "wx8dab4aa7e442592a", + "UniversalLinks" : "https://m.*****.top/uni-universallinks/__*****" + }, + "alipay" : { + "__platform__" : [ "ios", "android" ] + } + }, + "geolocation" : {}, + "maps" : { + "amap" : { + "appkey_ios" : "949f86b55f*****de010206494", + "appkey_android" : "48d8fd11e2d377cba0b60c1ce6ee8677", + "name" : "amap_17606999993BTeVgXGEm" + } + }, + "oauth" : { + "apple" : {}, + "weixin" : { + "appid" : "wx8dab4aa7e442592a", + "UniversalLinks" : "https://m.*****.top/uni-universallinks/__*****" + } + }, + "share" : { + "weixin" : { + "appid" : "wx8dab4aa7e442592a", + "UniversalLinks" : "https://m.*****.top/uni-universallinks/__*****" + } + }, + "push" : {} + }, + "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" : { + "useOriginalMsgbox" : true + } + }, + "kernel" : { + "ios" : "WKWebview" //或者 "WKWebview" + } + }, + "quickapp" : {}, + "mp-weixin" : { + "appid" : "wxc99af35376585e88", + "setting" : { + "urlCheck" : false, + "es6" : true, //消除大多数样式警告 + "minified" : true, + "postcss" : true, + "checkSiteMap" : false // 关闭页面索引检测 + }, + "optimization" : { + "subPackages" : true + }, + "lazyCodeLoading" : "requiredComponents", + "plugins" : {}, + // 这段代码,需要放到plugins中。 + // 只有后台开通小程序直播功能权限,才可以打开,不然报错,程序无法运行。 + // "live-player-plugin": { + // "version": "1.3.2", // 注意填写该直播组件最新版本号,微信开发者工具调试时可获取最新版本号 + // "provider": "wx2b03c6e691cd7370" // 必须填该直播组件appid,该示例值即为直播组件appid + // } + "usingComponents" : true, + "permission" : { + "scope.userLocation" : { + "desc" : "计算附近商家位置" + } + }, + "requiredPrivateInfos" : [ "getLocation", "chooseLocation" ], + "unipush" : { + "enable" : false + } + }, + "mp-alipay" : { + "usingComponents" : true, + "component2" : true + }, + "mp-qq" : { + "appid" : "" + }, + "mp-baidu" : { + "usingComponents" : true, + "appid" : "" + }, + "mp-toutiao" : { + "usingComponents" : true, + "appid" : "" + }, + "h5" : { + "template" : "template.h5.html", + "router" : { + "mode" : "history", + "base" : "" + }, + "optimization" : { + "treeShaking" : { + "enable" : true + } + }, + "title" : "知己知彼", + "devServer" : { + "https" : false, + "port" : "" + }, + "sdkConfigs" : { + "maps" : { + "qqmap" : { + "key" : "4NRBZ-CM*****-ARYXH-DCFH3" + } + } + }, + "domain" : "*****.com" + }, + "_spaceID" : "f0536a*****8350-2aa7c3e11334" +} diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..333173c --- /dev/null +++ b/package-lock.json @@ -0,0 +1,62 @@ +{ + "name": "shopro-plus", + "version": "1.0.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@babel/runtime": { + "version": "7.20.0", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.0.tgz", + "integrity": "sha512-NDYdls71fTXoU8TZHfbBWg7DiZfNzClcKui/+kyi6ppD2L1qnWW3VV6CjtaBXSUGGhiTWJ6ereOIkUvenif66Q==", + "requires": { + "regenerator-runtime": "^0.13.10" + } + }, + "copy-text-to-clipboard": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/copy-text-to-clipboard/-/copy-text-to-clipboard-3.0.1.tgz", + "integrity": "sha512-rvVsHrpFcL4F2P8ihsoLdFHmd404+CMg71S756oRSeQgqk51U3kicGdnvfkrxva0xXH92SjGS62B0XIJsbh+9Q==" + }, + "core-js": { + "version": "3.26.0", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.26.0.tgz", + "integrity": "sha512-+DkDrhoR4Y0PxDz6rurahuB+I45OsEUv8E1maPTB6OuHRohMMcznBq9TMpdpDMm/hUPob/mJJS3PqgbHpMTQgw==" + }, + "jweixin-module": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/jweixin-module/-/jweixin-module-1.6.0.tgz", + "integrity": "sha512-dGk9cf+ipipHmtzYmKZs5B2toX+p4hLyllGLF6xuC8t+B05oYxd8fYoaRz0T30U2n3RUv8a4iwvjhA+OcYz52w==" + }, + "mutation-observer": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/mutation-observer/-/mutation-observer-1.0.3.tgz", + "integrity": "sha512-M/O/4rF2h776hV7qGMZUH3utZLO/jK7p8rnNgGkjKUw8zCGjRQPxB8z6+5l8+VjRUQ3dNYu4vjqXYLr+U8ZVNA==" + }, + "regenerator-runtime": { + "version": "0.13.10", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz", + "integrity": "sha512-KepLsg4dU12hryUO7bp/axHAKvwGOCV0sGloQtpagJ12ai+ojVDqkeGSiRX1zlq+kjIMZ1t7gpze+26QqtdGqw==" + }, + "uni-read-pages": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/uni-read-pages/-/uni-read-pages-1.0.5.tgz", + "integrity": "sha512-GkrrZ0LX0vn9R5k6RKEi0Ez3Q3e2vUpjXQ8Z6/K/d28KudI9ajqgt8WEjQFlG5EPm1K6uTArN8LlqmZTEixDUA==" + }, + "uni-simple-router": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/uni-simple-router/-/uni-simple-router-2.0.7.tgz", + "integrity": "sha512-8FKv5dw7Eoonm0gkO8udprrxzin0fNUI0+AvIphFkFRH5ZmP5ZWJ2pvnWzb2NiiqQSECTSU5VSB7HhvOSwD5eA==" + }, + "vconsole": { + "version": "3.14.7", + "resolved": "https://registry.npmjs.org/vconsole/-/vconsole-3.14.7.tgz", + "integrity": "sha512-48byrra1sZk0zJfUM8HFN/ZKtMzvd7Sirt2h5Hfnf7txKOxL9JfoFKB2uLixmOF3jjxCpwnLLb1tsHlg4YzoyA==", + "requires": { + "@babel/runtime": "^7.17.2", + "copy-text-to-clipboard": "^3.0.1", + "core-js": "^3.11.0", + "mutation-observer": "^1.0.3" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..752b733 --- /dev/null +++ b/package.json @@ -0,0 +1,24 @@ +{ + "name": "shopro-plus", + "version": "1.0.0", + "main": "main.js", + "scripts": { + "test": "" + }, + "repository": { + "type": "git", + "url": "" + }, + "keywords": [], + "author": "", + "license": "ISC", + "homepage": "", + "dependencies": { + "jweixin-module": "^1.6.0", + "uni-read-pages": "^1.0.5", + "uni-simple-router": "^2.0.6", + "vconsole": "^3.7.0" + }, + "description": "", + "devDependencies": {} +} diff --git a/pages.json b/pages.json new file mode 100644 index 0000000..dd4d116 --- /dev/null +++ b/pages.json @@ -0,0 +1,1151 @@ +{ + "easycom": { + "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue", + "^shopro-(.*)": "@/components/shopro-$1/shopro-$1.vue" + }, + + "pages": [{ + "path": "pages/index/index", + "aliasPath": "/", //对于h5端你必须在首页加上aliasPath并设置为/ + "style": { + "navigationBarTitleText": "首页", + "navigationBarTextStyle": "white", + "enablePullDownRefresh": true, + "navigationStyle": "custom", + "mp-alipay": { + "transparentTitle": "always", + "titlePenetrate": "YES", + "allowsBounceVertical": "NO" + } + }, + "meta": { + "auth": false, //需要登录 + "async": true, //是否同步 + "title": "首页", //标题 + "group": "商城" //分组 + } + }, + { + "path": "pages/index/all-menu", + "style": { + "navigationBarTitleText": "全部分类", + "navigationStyle": "custom", + "enablePullDownRefresh": false + }, + "meta": { + "auth": false, + "async": true, + "title": "全部分类", + "group": "商城" + } + }, + { + "path": "pages/index/category", + "style": { + "navigationBarTitleText": "分类", + "navigationStyle": "custom" + }, + "meta": { + "auth": false, + "async": true, + "title": "分类", + "group": "商城" + } + }, + { + "path": "pages/index/cart", + "style": { + "navigationBarTitleText": "购物车" + }, + "meta": { + "auth": false, + "async": true, + "title": "购物车", + "group": "商城" + } + }, + { + "path": "pages/index/user", + "style": { + "navigationBarTitleText": "我的", + "navigationStyle": "custom", + "navigationBarTextStyle": "white", + "enablePullDownRefresh": true + }, + "meta": { + "auth": false, + "async": true, + "title": "我的", + "group": "商城" + } + }, + { + "path": "pages/index/view", + "name": "view", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": true + + }, + "meta": { + "auth": false, + "async": true, + "title": "自定义页面", + "group": "商城" + } + }, + { + "path": "pages/live/list", + "name": "video", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": true + }, + "meta": { + "auth": false, + "async": true, + "title": "直播", + "group": "直播" + } + }, + { + "path": "pages/index/money", + "name": "money", + "style": { + "navigationBarTitleText": "省钱", + "enablePullDownRefresh": false + }, + "meta": { + "auth": false, + "async": true, + "title": "省钱", + "group": "省钱" + } + }, + { + "path": "pages/index/message", + "name": "message", + "style": { + "navigationBarTitleText": "消息", + "enablePullDownRefresh": false + }, + "meta": { + "auth": false, + "async": true, + "title": "消息", + "group": "消息" + } + }, + { + "path": "pages/index/protocol", + "style": { + "navigationBarTitleText": "协议内容" + }, + "meta": { + "auth": false, + "async": true, + "title": "协议", + "group": "协议" + } + }, + { + "path": "pages/index/user-protocol", + "style": { + "navigationBarTitleText": "用户协议" + }, + "meta": { + "auth": false, + "async": true, + "title": "用户协议", + "group": "用户协议" + } + }, + { + "path": "pages/lq-upgrade/upgrade", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom", + "app-plus": { + "bounce": "none", + "animationType": "none", // 取消窗口动画 + "background": "transparent" // 设置背景透明 + } + } + }, + { + "path" : "pages/message/message", + "style" : + { + "navigationBarTitleText" : "消息" + } + }, + { + "path" : "pages/message/detail", + "style" : + { + "navigationBarTitleText" : "消息" + } + } + ], + "subPackages": [{ + "root": "pages/activity", + "pages": [{ + "path": "sign/index", + "style": { + "navigationBarTitleText": "签到中心" + }, + "meta": { + "auth": true, + "async": true, + "title": "签到中心", + "group": "应用" + } + }, + { + "path": "robbuy/list", + "style": { + "navigationBarTitleText": "预约抢购", + "enablePullDownRefresh": true + }, + "meta": { + "auth": false, + "async": true, + "title": "预约抢购", + "group": "抢购" + } + }, + { + "path": "seckill/list", + "style": { + "navigationBarTitleText": "秒杀", + "enablePullDownRefresh": true + }, + "meta": { + "auth": false, + "async": true, + "title": "秒杀", + "group": "秒杀" + } + }, + { + "path": "timer/list", + "style": { + "navigationBarTitleText": "限时秒杀", + "enablePullDownRefresh": true + }, + "meta": { + "auth": false, + "async": true, + "title": "限时秒杀", + "group": "秒杀" + } + }, + { + "path": "promote/list", + "style": { + "navigationBarTitleText": "限时促销", + "enablePullDownRefresh": true + }, + "meta": { + "auth": false, + "async": true, + "title": "限时促销", + "group": "促销" + } + }, + { + "path": "groupon/list", + "style": { + "navigationBarTitleText": "今日必拼", + "enablePullDownRefresh": true + }, + "meta": { + "auth": false, + "async": true, + "title": "今日必拼", + "group": "拼团" + } + }, + { + "path": "groupon/detail", + "style": { + "navigationBarTitleText": "拼团详情", + "enablePullDownRefresh": true + }, + "meta": { + "auth": false, + "async": false, + "title": "拼团详情", + "group": "拼团" + } + }, + { + "path": "groupon/my-groupon", + "style": { + "navigationBarTitleText": "我的拼团", + "enablePullDownRefresh": true + }, + "meta": { + "auth": true, + "async": true, + "title": "我的拼团", + "group": "拼团" + } + }, + { + "path": "discounts/list", + "style": { + "navigationBarTitleText": "优惠活动商品" + }, + "meta": { + "auth": false, + "async": false, + "title": "优惠活动商品", + "group": "活动" + } + } + ] + }, + { + "root": "pages/app", + "pages": [ + // { + // "path": "live/list", + // "style": { + // "navigationBarTitleText": "直播列表" + // }, + // "meta": { + // "auth": false, + // "async": false, + // "title": "直播列表", + // "group": "直播" + // } + // }, + { + "path": "store/index", + "style": { + "navigationBarTitleText": "门店列表", + "enablePullDownRefresh": true + }, + "meta": { + "auth": false, + "async": true, + "title": "门店列表", + "group": "门店" + } + }, + { + "path": "store/detail", + "style": { + "navigationBarTitleText": "门店详情" + }, + "meta": { + "auth": false, + "async": true, + "title": "门店详情", + "group": "门店" + } + }, + { + "path": "score/list", + "style": { + "navigationBarTitleText": "积分商品" + }, + "meta": { + "auth": false, + "async": true, + "title": "积分商品", + "group": "积分" + } + }, + { + "path": "coupon/list", + "style": { + "navigationBarTitleText": "优惠券中心", + "navigationStyle": "custom" + }, + "meta": { + "auth": true, + "async": true, + "title": "优惠券中心", + "group": "优惠券" + } + }, { + "path": "coupon/detail", + "style": { + "navigationBarTitleText": "优惠券详情", + "navigationStyle": "custom" + }, + "meta": { + "auth": true, + "async": true, + "title": "优惠券详情", + "group": "优惠券" + } + }, + { + "path": "merchant/index", + "style": { + "navigationBarTitleText": "门店中心", + "navigationStyle": "custom", + "enablePullDownRefresh": true, + "navigationBarTextStyle": "white" + + }, + "meta": { + "auth": true, + "async": false, + "title": "门店中心", + "group": "门店" + } + }, + // { + // "path": "merchant/apply", + // "style": { + // "navigationBarTitleText": "门店入驻", + // "navigationStyle": "custom" + // }, + // "meta": { + // "auth": true, + // "async": true, + // "title": "门店入驻", + // "group": "门店" + // } + // }, + { + "path": "merchant/detail", + "style": { + "navigationBarTitleText": "订单详情" + }, + "meta": { + "auth": true, + "async": false, + "title": "订单详情", + "group": "订单" + } + }, + { + "path": "merchant/info", + "style": { + "navigationBarTitleText": "门店详情" + }, + "meta": { + "auth": true, + "async": false, + "title": "门店详情", + "group": "门店" + } + }, + { + "path": "merchant/list", + "style": { + "navigationBarTitleText": "我的门店" + }, + "meta": { + "auth": true, + "async": true, + "title": "我的门店", + "group": "门店" + } + }, + { + "path": "commission/index", + "style": { + "navigationBarTitleText": "分销中心", + "enablePullDownRefresh": true, + "navigationStyle": "custom", + "navigationBarTextStyle": "white" + }, + "meta": { + "auth": true, + "async": true, + "title": "分销中心", + "group": "分销" + } + }, + { + "path": "commission/team", + "style": { + "navigationBarTitleText": "我的团队", + "navigationStyle": "custom", + "navigationBarTextStyle": "white" + }, + "meta": { + "auth": true, + "async": true, + "title": "我的团队", + "group": "分销" + } + }, + { + "path": "commission/commission-log", + "style": { + "navigationBarTitleText": "佣金明细", + "enablePullDownRefresh": true + }, + "meta": { + "auth": true, + "async": true, + "title": "佣金明细", + "group": "分销" + } + }, + { + "path": "commission/order", + "style": { + "navigationBarTitleText": "分销订单", + "navigationStyle": "custom", + "navigationBarTextStyle": "white", + "enablePullDownRefresh": true + }, + "meta": { + "auth": true, + "async": true, + "title": "分销订单", + "group": "分销" + } + }, + { + "path": "commission/goods", + "style": { + "navigationBarTitleText": "推广商品" + + + }, + "meta": { + "auth": true, + "async": true, + "title": "推广商品", + "group": "分销" + } + }, + { + "path": "commission/apply", + "style": { + "navigationBarTitleText": "申请分销商", + "navigationStyle": "custom", + "navigationBarTextStyle": "white" + + }, + "meta": { + "auth": true, + "async": true, + "title": "申请分销商", + "group": "分销" + } + }, + { + "path": "commission/rankings", + "style": { + "navigationBarTitleText": "分销排行", + "navigationStyle": "custom", + "navigationBarTextStyle": "white" + + }, + "meta": { + "auth": true, + "async": true, + "title": "分销排行", + "group": "分销" + } + }, + { + "path": "commission/share-log", + "style": { + "navigationBarTitleText": "分享记录", + "navigationStyle": "custom", + "navigationBarTextStyle": "white", + "enablePullDownRefresh": true + + }, + "meta": { + "auth": true, + "async": false, + "title": "分享记录", + "group": "分销" + } + } + + ] + }, + { + "root": "pages/goods", + "pages": [{ + "path": "list", + "style": { + "navigationBarTitleText": "商品列表", + "navigationStyle": "custom" + }, + "meta": { + "auth": false, + "async": true, + "title": "商品列表", + "group": "商品" + } + }, + { + "path": "detail", + "style": { + "navigationBarTitleText": "商品详情", + "navigationStyle": "custom" + }, + "meta": { + "auth": false, + "async": true, + "title": "商品详情", + "group": "商品" + } + }, + { + "path": "comment/add-comment", + "style": { + "navigationBarTitleText": "评价" + }, + "meta": { + "auth": false, + "async": false, + "title": "评价", + "group": "商品" + } + }, + { + "path": "comment/comment-list", + "style": { + "navigationBarTitleText": "评价列表" + }, + "meta": { + "auth": false, + "async": false, + "title": "评价列表", + "group": "商品" + } + } + ] + }, + { + "root": "pages/order", + "pages": [{ + "path": "confirm", + "style": { + "navigationBarTitleText": "确认订单" + }, + "meta": { + "auth": true, + "async": false, + "title": "确认订单", + "group": "订单" + } + }, + { + "path": "payment/method", + "style": { + "navigationBarTitleText": "收银台" + }, + "meta": { + "auth": true, + "async": false, + "title": "收银台", + "group": "订单" + } + }, + { + "path": "payment/result", + "style": { + "navigationBarTitleText": "支付结果" + }, + "meta": { + "auth": false, + "async": false, + "title": "支付结果", + "group": "订单" + } + }, + { + "path": "list", + "style": { + "navigationBarTitleText": "订单列表" + }, + "meta": { + "auth": true, + "async": true, + "title": "订单列表", + "group": "订单" + } + }, + { + "path": "detail", + "style": { + "navigationBarTitleText": "订单详情" + }, + "meta": { + "auth": true, + "async": false, + "title": "订单详情", + "group": "订单" + } + }, + { + "path": "after-sale/detail", + "style": { + "navigationBarTitleText": "售后详情" + }, + "meta": { + "auth": true, + "async": false, + "title": "售后详情", + "group": "订单" + } + }, + { + "path": "after-sale/list", + "style": { + "navigationBarTitleText": "售后列表" + }, + "meta": { + "auth": true, + "async": true, + "title": "售后列表", + "group": "订单" + } + }, + { + "path": "after-sale/log", + "style": { + "navigationBarTitleText": "售后记录" + }, + "meta": { + "auth": true, + "async": false, + "title": "售后记录", + "group": "订单" + } + }, + { + "path": "after-sale/refund", + "style": { + "navigationBarTitleText": "申请售后" + }, + "meta": { + "auth": true, + "async": false, + "title": "申请售后", + "group": "订单" + } + }, + { + "path": "report", + "style": { + "navigationBarTitleText": "订单报修" + }, + "meta": { + "auth": true, + "async": false, + "title": "订单报修", + "group": "订单" + } + }, + { + "path": "report_list", + "style": { + "navigationBarTitleText": "订单报修列表" + }, + "meta": { + "auth": true, + "async": false, + "title": "订单报修列表", + "group": "订单" + } + }, + { + "path": "express/distribution-detail", + "style": { + "navigationBarTitleText": "配送详情" + }, + "meta": { + "auth": true, + "async": false, + "title": "配送详情", + "group": "订单" + } + }, + { + "path": "express/express-detail", + "style": { + "navigationBarTitleText": "物流详情" + }, + "meta": { + "auth": true, + "async": false, + "title": "物流详情", + "group": "订单" + } + }, + { + "path": "express/express-list", + "style": { + "navigationBarTitleText": "包裹列表" + }, + "meta": { + "auth": true, + "async": false, + "title": "包裹列表", + "group": "订单" + } + }, + + { + "path": "express/store-address", + "style": { + "navigationBarTitleText": "选择自提点", + "navigationStyle": "custom", + "navigationBarTextStyle": "white" + + }, + "meta": { + "auth": true, + "async": false, + "title": "选择自提点", + "group": "订单" + } + } + + ] + }, + { + "root": "pages/public", + "pages": [{ + "path": "faq", + "style": { + "navigationBarTitleText": "常见问题" + }, + "meta": { + "auth": false, + "async": true, + "title": "常见问题", + "group": "通用" + } + }, + { + "path": "feedback", + "style": { + "navigationBarTitleText": "问题反馈" + }, + "meta": { + "auth": true, + "async": true, + "title": "问题反馈", + "group": "通用" + } + }, + { + "path": "chat/index", + "style": { + "navigationBarTitleText": "客服", + "navigationStyle": "custom", + "navigationBarTextStyle": "white" + + }, + "meta": { + "auth": true, + "async": true, + "title": "客服", + "group": "通用" + } + }, + { + "path": "search", + "style": { + "navigationBarTitleText": "搜索" + }, + "meta": { + "auth": false, + "async": true, + "title": "搜索", + "group": "通用" + } + }, + { + "path": "richtext", + "style": { + "navigationBarTitleText": "" + }, + "meta": { + "auth": false, + "async": true, + "title": "富文本", + "group": "通用" + } + }, + { + "path": "webview", + "style": { + "navigationBarTitleText": "" + }, + "meta": { + "auth": false, + "async": true, + "title": "外链", + "group": "通用" + } + }, + { + "path": "404", + "name": "404", + "style": { + "navigationBarTitleText": "页面不存在" + } + }, + { + "path": "store/store", + "style": { + "navigationBarTitleText": "门店", + "enablePullDownRefresh": false + } + + }, + { + "path": "loading", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom", + "enablePullDownRefresh": false + } + + } + ] + }, + { + "root": "pages/user", + "pages": [{ + "path": "info", + "style": { + "navigationBarTitleText": "个人信息" + }, + "meta": { + "auth": true, + "async": true, + "title": "个人信息", + "group": "用户" + } + }, + { + "path": "live", + "style": { + "navigationStyle": "custom", + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": false, + "scrollIndicator": "none" + } + }, + "meta": { + "auth": true, + "async": true, + "title": "开启直播", + "group": "直播" + } + }, + { + "path": "set", + "style": { + "navigationBarTitleText": "系统设置" + }, + "meta": { + "auth": false, + "async": true, + "title": "系统设置", + "group": "通用" + } + }, + { + "path": "view-log", + "style": { + "navigationBarTitleText": "浏览足迹" + }, + "meta": { + "auth": true, + "async": true, + "title": "浏览足迹", + "group": "用户" + } + }, + { + "path": "rob-order", + "style": { + "navigationBarTitleText": "抢购预约列表" + }, + "meta": { + "auth": true, + "async": true, + "title": "抢购预约列表", + "group": "用户" + } + }, + { + "path": "wallet/index", + "style": { + "navigationBarTitleText": "我的钱包" + + }, + "meta": { + "auth": true, + "async": true, + "title": "钱包", + "group": "用户" + } + }, + { + "path": "wallet/withdraw", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + + }, + "meta": { + "auth": true, + "async": true, + "title": "提现", + "group": "用户" + } + }, + { + "path": "wallet/withdraw-log", + "style": { + "navigationBarTitleText": "提现记录" + + }, + "meta": { + "auth": true, + "async": true, + "title": "提现记录", + "group": "用户" + } + }, + { + "path": "wallet/top-up", + "style": { + "navigationBarTitleText": "充值", + "navigationStyle": "custom" + + }, + "meta": { + "auth": true, + "async": true, + "title": "充值", + "group": "用户" + } + }, + { + "path": "wallet/top-up-log", + "style": { + "navigationBarTitleText": "充值记录" + + }, + "meta": { + "auth": true, + "async": true, + "title": "充值记录", + "group": "用户" + } + }, + { + "path": "wallet/score-balance", + "style": { + "navigationBarTitleText": "积分余额", + "navigationStyle": "custom" + + }, + "meta": { + "auth": true, + "async": true, + "title": "积分余额", + "group": "积分" + } + }, + { + "path": "address/list", + "style": { + "navigationBarTitleText": "收货地址" + + }, + "meta": { + "auth": true, + "async": true, + "title": "收货地址", + "group": "用户" + } + }, + { + "path": "address/edit", + "style": { + "navigationBarTitleText": "" + + }, + "meta": { + "auth": true, + "async": false, + "title": "修改地址", + "group": "用户" + } + }, + { + "path": "favorite", + "style": { + "navigationBarTitleText": "我的收藏" + }, + "meta": { + "auth": true, + "async": true, + "title": "我的收藏", + "group": "用户" + } + } + ] + } + ], + "preloadRule": { + "pages/index/index": { + "network": "all", + "packages": ["pages/activity", "pages/user", "pages/goods", "pages/app", "pages/public", + "pages/order" + ] + } + }, + "globalStyle": { + "navigationBarTextStyle": "white", + "navigationBarTitleText": "shopro-plus", + "navigationBarBackgroundColor": "#4C7AF3", + "backgroundColor": "#FFFFFF" + }, + "tabBar": { + "color": "#333", + "selectedColor": "#4C7AF3", + "backgroundColor": "#ffffff", + "borderStyle": "black", + "list": [{ + "pagePath": "pages/index/index", + "text": "首页", + "iconPath": "static/images/tabbar/tabbar_home.png", + "selectedIconPath": "/static/images/tabbar/tabbar_home1.png" + }, + { + "pagePath": "pages/index/category", + "text": "分类", + "iconPath": "static/images/tabbar/tabbar_category.png", + "selectedIconPath": "/static/images/tabbar/tabbar_category1.png" + }, + { + "pagePath": "pages/index/cart", + "text": "购物车", + "iconPath": "static/images/tabbar/tabbar_cart.png", + "selectedIconPath": "/static/images/tabbar/tabbar_cart1.png" + }, + { + "pagePath": "pages/index/user", + "text": "我的", + "iconPath": "static/images/tabbar/tabbar_personal.png", + "selectedIconPath": "/static/images/tabbar/tabbar_personal1.png" + } + ] + } +} \ No newline at end of file diff --git a/pages/activity/discounts/list.vue b/pages/activity/discounts/list.vue new file mode 100644 index 0000000..b2d2163 --- /dev/null +++ b/pages/activity/discounts/list.vue @@ -0,0 +1,227 @@ + + + + + + diff --git a/pages/activity/groupon/detail.vue b/pages/activity/groupon/detail.vue new file mode 100644 index 0000000..9e42faa --- /dev/null +++ b/pages/activity/groupon/detail.vue @@ -0,0 +1,371 @@ + + + + + + diff --git a/pages/activity/groupon/list.vue b/pages/activity/groupon/list.vue new file mode 100644 index 0000000..373b209 --- /dev/null +++ b/pages/activity/groupon/list.vue @@ -0,0 +1,246 @@ + + + + + + diff --git a/pages/activity/groupon/my-groupon.vue b/pages/activity/groupon/my-groupon.vue new file mode 100644 index 0000000..83af6ff --- /dev/null +++ b/pages/activity/groupon/my-groupon.vue @@ -0,0 +1,247 @@ + + + + + + diff --git a/pages/activity/promote/list.vue b/pages/activity/promote/list.vue new file mode 100644 index 0000000..e155043 --- /dev/null +++ b/pages/activity/promote/list.vue @@ -0,0 +1,278 @@ + + + + + + \ No newline at end of file diff --git a/pages/activity/robbuy/list.vue b/pages/activity/robbuy/list.vue new file mode 100644 index 0000000..260a128 --- /dev/null +++ b/pages/activity/robbuy/list.vue @@ -0,0 +1,274 @@ + + + + + + \ No newline at end of file diff --git a/pages/activity/seckill/list.vue b/pages/activity/seckill/list.vue new file mode 100644 index 0000000..097b813 --- /dev/null +++ b/pages/activity/seckill/list.vue @@ -0,0 +1,248 @@ + + + + + + diff --git a/pages/activity/sign/index.vue b/pages/activity/sign/index.vue new file mode 100644 index 0000000..b15edd2 --- /dev/null +++ b/pages/activity/sign/index.vue @@ -0,0 +1,361 @@ + + + + + + diff --git a/pages/activity/timer/list.vue b/pages/activity/timer/list.vue new file mode 100644 index 0000000..ba1f749 --- /dev/null +++ b/pages/activity/timer/list.vue @@ -0,0 +1,248 @@ + + + + + + diff --git a/pages/app/commission/apply.vue b/pages/app/commission/apply.vue new file mode 100644 index 0000000..175614d --- /dev/null +++ b/pages/app/commission/apply.vue @@ -0,0 +1,267 @@ + + + + + + diff --git a/pages/app/commission/commission-log.vue b/pages/app/commission/commission-log.vue new file mode 100644 index 0000000..51b6ec4 --- /dev/null +++ b/pages/app/commission/commission-log.vue @@ -0,0 +1,415 @@ + + + + + + \ No newline at end of file diff --git a/pages/app/commission/goods.vue b/pages/app/commission/goods.vue new file mode 100644 index 0000000..e1338cb --- /dev/null +++ b/pages/app/commission/goods.vue @@ -0,0 +1,167 @@ + + + + + + diff --git a/pages/app/commission/index.vue b/pages/app/commission/index.vue new file mode 100644 index 0000000..1dbb30a --- /dev/null +++ b/pages/app/commission/index.vue @@ -0,0 +1,856 @@ + + + + + + diff --git a/pages/app/commission/order.vue b/pages/app/commission/order.vue new file mode 100644 index 0000000..ac826c7 --- /dev/null +++ b/pages/app/commission/order.vue @@ -0,0 +1,539 @@ + + + + + + \ No newline at end of file diff --git a/pages/app/commission/rankings.vue b/pages/app/commission/rankings.vue new file mode 100644 index 0000000..809cf85 --- /dev/null +++ b/pages/app/commission/rankings.vue @@ -0,0 +1,148 @@ + + + + + + diff --git a/pages/app/commission/share-log.vue b/pages/app/commission/share-log.vue new file mode 100644 index 0000000..8e4fb2b --- /dev/null +++ b/pages/app/commission/share-log.vue @@ -0,0 +1,255 @@ + + + + + + diff --git a/pages/app/commission/team.vue b/pages/app/commission/team.vue new file mode 100644 index 0000000..4c58ba3 --- /dev/null +++ b/pages/app/commission/team.vue @@ -0,0 +1,356 @@ + + + + + + \ No newline at end of file diff --git a/pages/app/components/sh-collapse-item.vue b/pages/app/components/sh-collapse-item.vue new file mode 100644 index 0000000..64eb503 --- /dev/null +++ b/pages/app/components/sh-collapse-item.vue @@ -0,0 +1,151 @@ + + + + + diff --git a/pages/app/coupon/detail.vue b/pages/app/coupon/detail.vue new file mode 100644 index 0000000..314fe52 --- /dev/null +++ b/pages/app/coupon/detail.vue @@ -0,0 +1,247 @@ + + + + + + diff --git a/pages/app/coupon/list.vue b/pages/app/coupon/list.vue new file mode 100644 index 0000000..6618de1 --- /dev/null +++ b/pages/app/coupon/list.vue @@ -0,0 +1,176 @@ + + + + + + diff --git a/pages/app/merchant/detail.vue b/pages/app/merchant/detail.vue new file mode 100644 index 0000000..efe07e6 --- /dev/null +++ b/pages/app/merchant/detail.vue @@ -0,0 +1,227 @@ + + + + + + diff --git a/pages/app/merchant/index.vue b/pages/app/merchant/index.vue new file mode 100644 index 0000000..18d2eea --- /dev/null +++ b/pages/app/merchant/index.vue @@ -0,0 +1,674 @@ + + + + + + \ No newline at end of file diff --git a/pages/app/merchant/info.vue b/pages/app/merchant/info.vue new file mode 100644 index 0000000..bafb536 --- /dev/null +++ b/pages/app/merchant/info.vue @@ -0,0 +1,115 @@ + + + + + + diff --git a/pages/app/merchant/list.vue b/pages/app/merchant/list.vue new file mode 100644 index 0000000..c7cef81 --- /dev/null +++ b/pages/app/merchant/list.vue @@ -0,0 +1,116 @@ + + + + + + diff --git a/pages/app/score/list.vue b/pages/app/score/list.vue new file mode 100644 index 0000000..7742af8 --- /dev/null +++ b/pages/app/score/list.vue @@ -0,0 +1,105 @@ + + + + + + diff --git a/pages/app/store/detail.vue b/pages/app/store/detail.vue new file mode 100644 index 0000000..f4e813c --- /dev/null +++ b/pages/app/store/detail.vue @@ -0,0 +1,46 @@ + + + + + \ No newline at end of file diff --git a/pages/app/store/index.vue b/pages/app/store/index.vue new file mode 100644 index 0000000..fc670af --- /dev/null +++ b/pages/app/store/index.vue @@ -0,0 +1,242 @@ + + + + + \ No newline at end of file diff --git a/pages/goods/comment/add-comment.vue b/pages/goods/comment/add-comment.vue new file mode 100644 index 0000000..b40d15e --- /dev/null +++ b/pages/goods/comment/add-comment.vue @@ -0,0 +1,208 @@ + + + + + + diff --git a/pages/order/components/sh-select-coupon.vue b/pages/order/components/sh-select-coupon.vue new file mode 100644 index 0000000..f40dea8 --- /dev/null +++ b/pages/order/components/sh-select-coupon.vue @@ -0,0 +1,123 @@ + + + + + \ No newline at end of file diff --git a/pages/order/confirm.vue b/pages/order/confirm.vue new file mode 100644 index 0000000..5dec160 --- /dev/null +++ b/pages/order/confirm.vue @@ -0,0 +1,1749 @@ + + + + + + \ No newline at end of file diff --git a/pages/order/detail.vue b/pages/order/detail.vue new file mode 100644 index 0000000..14f442a --- /dev/null +++ b/pages/order/detail.vue @@ -0,0 +1,843 @@ + + + + + + \ No newline at end of file diff --git a/pages/order/express/distribution-detail.vue b/pages/order/express/distribution-detail.vue new file mode 100644 index 0000000..cf324a9 --- /dev/null +++ b/pages/order/express/distribution-detail.vue @@ -0,0 +1,411 @@ + + + + + + diff --git a/pages/order/express/express-detail.vue b/pages/order/express/express-detail.vue new file mode 100644 index 0000000..df964a2 --- /dev/null +++ b/pages/order/express/express-detail.vue @@ -0,0 +1,218 @@ + + + + + + diff --git a/pages/order/express/express-list.vue b/pages/order/express/express-list.vue new file mode 100644 index 0000000..98876e2 --- /dev/null +++ b/pages/order/express/express-list.vue @@ -0,0 +1,114 @@ + + + + + + diff --git a/pages/order/express/store-address.vue b/pages/order/express/store-address.vue new file mode 100644 index 0000000..c6ebc77 --- /dev/null +++ b/pages/order/express/store-address.vue @@ -0,0 +1,351 @@ + + + + + + diff --git a/pages/order/list.vue b/pages/order/list.vue new file mode 100644 index 0000000..dcc8673 --- /dev/null +++ b/pages/order/list.vue @@ -0,0 +1,452 @@ + + + + + diff --git a/pages/order/payment/method.vue b/pages/order/payment/method.vue new file mode 100644 index 0000000..a4ded61 --- /dev/null +++ b/pages/order/payment/method.vue @@ -0,0 +1,436 @@ + + + + + + \ No newline at end of file diff --git a/pages/order/report.vue b/pages/order/report.vue new file mode 100644 index 0000000..a500015 --- /dev/null +++ b/pages/order/report.vue @@ -0,0 +1,363 @@ + + + + + + \ No newline at end of file diff --git a/pages/order/report_list.vue b/pages/order/report_list.vue new file mode 100644 index 0000000..9bae944 --- /dev/null +++ b/pages/order/report_list.vue @@ -0,0 +1,379 @@ + + + + + \ No newline at end of file diff --git a/pages/public/404.vue b/pages/public/404.vue new file mode 100644 index 0000000..67a5cee --- /dev/null +++ b/pages/public/404.vue @@ -0,0 +1,8 @@ + + + + + diff --git a/pages/public/chat/index.vue b/pages/public/chat/index.vue new file mode 100644 index 0000000..f51291d --- /dev/null +++ b/pages/public/chat/index.vue @@ -0,0 +1,55 @@ + + + + + + diff --git a/pages/public/chat/shopro/chat.js b/pages/public/chat/shopro/chat.js new file mode 100644 index 0000000..679ea22 --- /dev/null +++ b/pages/public/chat/shopro/chat.js @@ -0,0 +1,161 @@ +/** + * shopro + * 聊天配置,socket服务相关,心跳检测和重连 + */ + +/** + * socket + * @param {Object} config - 初始化配置对象 + * @param {Number} wait = [10000] - 心跳频率 + */ + +import { + BASE_URL +} from '@/env.js' + +const service = BASE_URL.split('://')[1].split(':')[0]; + +export default class Socket { + constructor(initData, callback) { + let { + ping, + is_ssl, + gateway_port, + ssl_type + } = initData; + + let url = `${is_ssl?'wss':'ws'}://${service}:${gateway_port}/` + if (is_ssl && ssl_type === 'reverse_proxy') { + url = `wss://${service}/websocket/` + } + this.config = { + url: url, + session_id: uni.getStorageSync('chatSessionId'), + token: uni.getStorageSync('token'), + identify: 'user' + }; + this.callback = callback; //onmsg回调 + this.timeoutObj = null; //心跳检测定时器对象 + this.lockReconnect = false; //检测次数锁 + this.isClose = false; //链接断开 + this.timer = null; // 检测定时器 + this.limit = 0; //检测次数,默认最大12 + this.timout = ping; + uni.setStorageSync('isSocketOpen', false) + this.init() + } + + // 初始化 + async init() { + await this.connect(); + } + + // 连接 + async connect() { + if (!uni.getStorageSync('isSocketOpen')) { + let [error, res] = await uni.connectSocket({ + url: `${this.config.url}?identify=${this.config.identify}&token=${this.config.token}&session_id=${this.config.session_id}` + }); + if (res.errMsg === 'connectSocket:ok') { + this.initEventHandle(); + } + } + } + + // 发送消息 + async send(msg = "") { + if (uni.getStorageSync('isSocketOpen')) { + let [error, res] = await uni.sendSocketMessage({ + data: msg + }); + return Promise.resolve(res); + } + } + + // 监听消息 + onMsg() { + uni.onSocketMessage(res => { + if (res.code === 1 && res.type === 'init') { + this.config.session_id = res.data.session_id; + } + this.callback(res) + }); + } + + // 关闭连接 + close() { + uni.closeSocket(); + uni.removeStorage({ + key: 'isSocketOpen', + success: (res) => { + console.log('移除isSocketOpensuccess'); + } + }); + clearTimeout(this.timer); + clearTimeout(this.timeoutObj); + } + + //心跳检测 + start() { + clearTimeout(this.timeoutObj); + this.timeoutObj = setTimeout(() => { + let obj = { + type: 'ping' + }; + let objStr = JSON.stringify(obj) + uni.sendSocketMessage({ + data: objStr, + }); + this.start() + }, this.timout) + } + + // 监听事件集 + initEventHandle() { + // 监听打开 + uni.onSocketOpen(res => { + uni.setStorageSync('isSocketOpen', true) + console.log('连接成功!'); + this.lockReconnect = true; + this.isClose = false; + this.start() + }); + + // 监听消息 + this.onMsg() + + // 监听错误 + uni.onSocketError(err => { + console.log('连接错误', err); + uni.closeSocket(); + }); + + // 监听关闭 + uni.onSocketClose(res => { + console.log('关闭链接'); + this.isClose = true; + if (uni.getStorageSync('isSocketOpen')) { + this.lockReconnect = false + this.reconnect() + } + + + }); + } + + // 重连 + reconnect() { + if (this.lockReconnect) return; + clearTimeout(this.timer) + if (this.limit < 12) { + this.timer = setTimeout(() => { + console.log('重连中', this.limit); + this.init(); + this.reconnect() + }, 5000); + this.limit += 1 + } + } + + +} diff --git a/pages/public/chat/shopro/chat.scss b/pages/public/chat/shopro/chat.scss new file mode 100644 index 0000000..47aaec8 --- /dev/null +++ b/pages/public/chat/shopro/chat.scss @@ -0,0 +1,185 @@ +.bg-gradual-purple { + background-image: linear-gradient(45deg, #9000ff, #5e00ff); + color: #ffffff; +} + +.bg-white { + background-color: #ffffff; + color: #666666; +} + +.round { + border-radius: 5000upx; +} + +/* ================== + 聊天 + ==================== */ +.cu-avatar { + font-variant: small-caps; + margin: 0; + padding: 0; + display: inline-flex; + text-align: center; + justify-content: center; + align-items: center; + background-color: #ccc; + color: #ffffff; + white-space: nowrap; + position: relative; + width: 64upx; + height: 64upx; + background-size: cover; + background-position: center; + vertical-align: middle; + font-size: 1.5em; +} + +.cu-bar { + display: flex; + position: relative; + align-items: center; + min-height: 100upx; + justify-content: space-between; + background-color: #fff; +} + +.cu-bar .action { + display: flex; + align-items: center; + height: 100%; + justify-content: center; + max-width: 100%; +} + +.cu-bar.foot { + position: fixed; + width: 100%; + bottom: 0; + z-index: 1024; + box-shadow: 0 -1upx 6upx rgba(0, 0, 0, 0.1); +} + +.cu-chat { + display: flex; + flex-direction: column; +} + +.cu-chat .cu-item { + display: flex; + padding: 30upx 30upx 70upx; + position: relative; +} + +.cu-chat .cu-item > .cu-avatar { + width: 80upx; + height: 80upx; +} + +.cu-chat .cu-item > .main { + max-width: calc(100% - 260upx); + margin: 0 40upx; + display: flex; + align-items: center; +} + +.cu-chat .cu-item > image { + height: 320upx; +} + +.cu-chat .cu-item > .main .content { + padding: 20upx; + border-radius: 6upx; + display: inline-flex; + max-width: 100%; + align-items: center; + font-size: 30upx; + position: relative; + min-height: 80upx; + line-height: 40upx; + text-align: left; +} + +.cu-chat .cu-item > .main .content:not([class*='bg-']) { + background-color: #ffffff; + color: #333333; +} + +.cu-chat .cu-item .date { + position: absolute; + font-size: 24upx; + color: #8799a3; + width: calc(100% - 320upx); + bottom: 20upx; + left: 160upx; +} + +.cu-chat .cu-item .action { + padding: 0 30upx; + display: flex; + align-items: center; +} + +.cu-chat .cu-item > .main .content::after { + content: ''; + top: 27upx; + transform: rotate(45deg); + position: absolute; + z-index: 100; + display: inline-block; + overflow: hidden; + width: 24upx; + height: 24upx; + left: -12upx; + right: initial; + background-color: inherit; +} + +.cu-chat .cu-item.self > .main .content::after { + left: auto; + right: -12upx; +} + +.cu-chat .cu-item > .main .content::before { + content: ''; + top: 30upx; + transform: rotate(45deg); + position: absolute; + z-index: -1; + display: inline-block; + overflow: hidden; + width: 24upx; + height: 24upx; + left: -12upx; + right: initial; + background-color: inherit; + filter: blur(5upx); + opacity: 0.3; +} + +.cu-chat .cu-item > .main .content:not([class*='bg-'])::before { + background-color: #333333; + opacity: 0.1; +} + +.cu-chat .cu-item.self > .main .content::before { + left: auto; + right: -12upx; +} + +.cu-chat .cu-item.self { + justify-content: flex-end; + text-align: right; +} + +.cu-chat .cu-info { + display: inline-block; + margin: 20upx auto; + font-size: 24upx; + padding: 8upx 12upx; + background-color: rgba(0, 0, 0, 0.2); + border-radius: 6upx; + color: #ffffff; + max-width: 400upx; + line-height: 1.4; +} diff --git a/pages/public/chat/shopro/index.vue b/pages/public/chat/shopro/index.vue new file mode 100644 index 0000000..b35f4ea --- /dev/null +++ b/pages/public/chat/shopro/index.vue @@ -0,0 +1,1113 @@ + + + + + + diff --git a/pages/public/chat/wm/config.js b/pages/public/chat/wm/config.js new file mode 100644 index 0000000..2689e76 --- /dev/null +++ b/pages/public/chat/wm/config.js @@ -0,0 +1,131 @@ +import { + BASE_URL +} from '@/env.js' +const expression = [{ + 'title': '[zy]', + 'src': '/emoji/1.png' + }, { + 'title': '[zm]', + 'src': '/emoji/2.png' + }, { + 'title': '[jy]', + 'src': '/emoji/3.png' + }, + { + 'title': '[jyb]', + 'src': '/emoji/4.png' + }, { + 'title': '[bx]', + 'src': '/emoji/5.png' + }, { + 'title': '[kzn]', + 'src': '/emoji/6.png' + }, + { + 'title': '[gg]', + 'src': '/emoji/7.png' + }, { + 'title': '[ll]', + 'src': '/emoji/8.png' + }, { + 'title': '[jyll]', + 'src': '/emoji/9.png' + }, + { + 'title': '[o]', + 'src': '/emoji/10.png' + }, { + 'title': '[yz]', + 'src': '/emoji/11.png' + }, { + 'title': '[wx]', + 'src': '/emoji/12.png' + }, + { + 'title': '[zyb]', + 'src': '/emoji/13.png' + }, { + 'title': '[tp]', + 'src': '/emoji/14.png' + }, { + 'title': '[wxb]', + 'src': '/emoji/15.png' + }, + { + 'title': '[zyc]', + 'src': '/emoji/16.png' + }, { + 'title': '[llb]', + 'src': '/emoji/17.png' + }, { + 'title': '[xm]', + 'src': '/emoji/18.png' + }, + { + 'title': '[qz]', + 'src': '/emoji/19.png' + }, { + 'title': '[zmb]', + 'src': '/emoji/20.png' + }, { + 'title': '[kx]', + 'src': '/emoji/21.png' + }, + { + 'title': '[mm]', + 'src': '/emoji/22.png' + }, { + 'title': '[bz]', + 'src': '/emoji/23.png' + }, { + 'title': '[bkx]', + 'src': '/emoji/24.png' + }, + { + 'title': '[mg]', + 'src': '/emoji/25.png' + }, { + 'title': '[pz]', + 'src': '/emoji/26.png' + }, { + 'title': '[pzb]', + 'src': '/emoji/27.png' + }, + { + 'title': '[wxc]', + 'src': '/emoji/28.png' + }, { + 'title': '[jyc]', + 'src': '/emoji/29.png' + }, { + 'title': '[jyd]', + 'src': '/emoji/30.png' + }, + { + 'title': '[dm]', + 'src': '/emoji/31.png' + }, { + 'title': '[tpb]', + 'src': '/emoji/32.png' + }, { + 'title': '[tpc]', + 'src': '/emoji/33.png' + }, + { + 'title': '[tpd]', + 'src': '/emoji/34.png' + }, { + 'title': '[ly]', + 'src': '/emoji/35.png' + }, { + 'title': '[zyd]', + 'src': '/emoji/36.png' + }, +]; + +let service = BASE_URL.split('://')[1].split(':')[0]; +export default { + baseURL: service, // dev.7wpp.com 启动workerman服务的域名,无需填写协议和端口 + https_switch: false, // 是否启用https协议(默认关,正式版必开,且需要参考文档创建wss服务) + expression +} diff --git a/pages/public/chat/wm/index.vue b/pages/public/chat/wm/index.vue new file mode 100644 index 0000000..7d1eb2c --- /dev/null +++ b/pages/public/chat/wm/index.vue @@ -0,0 +1,1622 @@ + + + + + + + diff --git a/pages/public/faq.vue b/pages/public/faq.vue new file mode 100644 index 0000000..4c6adcb --- /dev/null +++ b/pages/public/faq.vue @@ -0,0 +1,67 @@ + + + + + + diff --git a/pages/public/feedback.vue b/pages/public/feedback.vue new file mode 100644 index 0000000..cc05908 --- /dev/null +++ b/pages/public/feedback.vue @@ -0,0 +1,217 @@ + +