├── .editorconfig
├── .eslintignore
├── .eslintrc.js
├── .gitignore
├── .prettierignore
├── .prettierrc
├── CHANGELOG.md
├── CONTRIBUTING.md
├── LICENSE.md
├── README.md
├── babel.config.js
├── dist
└── build
│ └── h5
│ ├── index.html
│ └── static
│ ├── alipay.png
│ ├── apple.png
│ ├── arc.png
│ ├── bargain-tag.png
│ ├── css
│ ├── colorui
│ │ ├── animation.css
│ │ ├── icon.css
│ │ └── main.css
│ ├── iconfont
│ │ ├── iconfont.css
│ │ └── iconfont.ttf
│ ├── reset.scss
│ ├── theme.scss
│ └── uni.scss
│ ├── discount-tag.png
│ ├── distribution.png
│ ├── errorImage.jpg
│ ├── group-tag.png
│ ├── iconfont.ttf
│ ├── index.css
│ ├── js
│ ├── chunk-vendors.a88ee3a4.js
│ ├── index.5a314f51.js
│ ├── pages-cart-cart.15dfb0e1.js
│ ├── pages-category-category.6e9e201a.js
│ ├── pages-index-index.931ce030.js
│ ├── pages-index-notice-detail.1eab1833.js
│ ├── pages-index-notice-detail~pages-index-notice-notice~pages-marketing-live-list~pages-notify-notify~pa~531dc928.641dbdae.js
│ ├── pages-index-notice-notice.22bb8bd7.js
│ ├── pages-index-search-search.83880b10.js
│ ├── pages-marketing-live-list.17fa3778.js
│ ├── pages-notify-notify.70d0ee82.js
│ ├── pages-order-create-order.f854bcd4.js
│ ├── pages-order-detail.ea457b87.js
│ ├── pages-order-evaluation-evaluation.bd73b54a.js
│ ├── pages-order-evaluation-list.675c6451.js
│ ├── pages-order-order.2d787dae.js
│ ├── pages-order-order~pages-order-search.d3ce25b2.js
│ ├── pages-order-refund-refund.6c48eb87.js
│ ├── pages-order-refund.08fec8bd.js
│ ├── pages-order-search.4a70b0e7.js
│ ├── pages-order-shipping-return.13b75cb5.js
│ ├── pages-order-shipping-shipping.456d3dde.js
│ ├── pages-product-list.a6c55085.js
│ ├── pages-product-product.d0dbb9ae.js
│ ├── pages-profile-profile.3f34a6de.js
│ ├── pages-public-login.98172456.js
│ ├── pages-public-logintype.151acd90.js
│ ├── pages-public-password.12dc8c9f.js
│ ├── pages-public-register.afcbdd66.js
│ ├── pages-set-about-about.3464d1c9.js
│ ├── pages-set-about-detail.33086298.js
│ ├── pages-set-authorization-list.0b2bf6a0.js
│ ├── pages-set-feedback-detail.ec37c035.js
│ ├── pages-set-feedback-feedback.b9960446.js
│ ├── pages-set-feedback-list.f515b977.js
│ ├── pages-set-helper-detail.201fa05f.js
│ ├── pages-set-helper-index.bd3f15eb.js
│ ├── pages-set-invoice-invoice.4a6ff4c2.js
│ ├── pages-set-invoice-list.833ee00d.js
│ ├── pages-set-invoice-manage.5e61c8b8.js
│ ├── pages-set-set.83bb3dfc.js
│ ├── pages-user-account-account.e14aa20b.js
│ ├── pages-user-account-bill.16fef217.js
│ ├── pages-user-account-integral.54b46711.js
│ ├── pages-user-account-level.111ff520.js
│ ├── pages-user-account-recharge.89edbfdd.js
│ ├── pages-user-address-address.9f2d604a.js
│ ├── pages-user-address-manage.edb8bd2f.js
│ ├── pages-user-collection-collection.69306937.js
│ ├── pages-user-coupon-coupon.0c306b97.js
│ ├── pages-user-coupon-detail.961b6771.js
│ ├── pages-user-coupon-list.f5dc9788.js
│ ├── pages-user-footprint-footprint.6a01054d.js
│ ├── pages-user-money-pay.969d4860.js
│ ├── pages-user-money-success.a180c9e5.js
│ └── pages-user-userinfo-userinfo.23f30f8b.js
│ ├── kj.png
│ ├── login-bg.png
│ ├── login-pic.png
│ ├── logo.png
│ ├── missing-face.png
│ ├── money-bg.png
│ ├── money.png
│ ├── news.png
│ ├── noNetWork.png
│ ├── notFound.png
│ ├── open-site-bg.png
│ ├── pinkage.png
│ ├── presale.png
│ ├── qq.png
│ ├── share-bg.png
│ ├── share
│ ├── ic_xiaochengxu.png
│ ├── icon_QQkongjian.png
│ ├── icon_copy.png
│ ├── icon_more.png
│ ├── icon_pengyouquan.png
│ ├── icon_qq.png
│ ├── icon_weibo.png
│ └── icon_weixin.png
│ ├── tab-cart-black.png
│ ├── tab-cart-blue.png
│ ├── tab-cart-brown.png
│ ├── tab-cart-current.png
│ ├── tab-cart-cyan.png
│ ├── tab-cart-gray.png
│ ├── tab-cart-green.png
│ ├── tab-cart-grey.png
│ ├── tab-cart-mauve.png
│ ├── tab-cart-olive.png
│ ├── tab-cart-orange.png
│ ├── tab-cart-pink.png
│ ├── tab-cart-purple.png
│ ├── tab-cart-red.png
│ ├── tab-cart-rf.png
│ ├── tab-cart-yellow.png
│ ├── tab-cart.png
│ ├── tab-cate-black.png
│ ├── tab-cate-blue.png
│ ├── tab-cate-brown.png
│ ├── tab-cate-current.png
│ ├── tab-cate-cyan.png
│ ├── tab-cate-gray.png
│ ├── tab-cate-green.png
│ ├── tab-cate-grey.png
│ ├── tab-cate-mauve.png
│ ├── tab-cate-olive.png
│ ├── tab-cate-orange.png
│ ├── tab-cate-pink.png
│ ├── tab-cate-purple.png
│ ├── tab-cate-red.png
│ ├── tab-cate-rf.png
│ ├── tab-cate-yellow.png
│ ├── tab-cate.png
│ ├── tab-home-black.png
│ ├── tab-home-blue.png
│ ├── tab-home-brown.png
│ ├── tab-home-current.png
│ ├── tab-home-cyan.png
│ ├── tab-home-gray.png
│ ├── tab-home-green.png
│ ├── tab-home-grey.png
│ ├── tab-home-mauve.png
│ ├── tab-home-olive.png
│ ├── tab-home-orange.png
│ ├── tab-home-pink.png
│ ├── tab-home-purple.png
│ ├── tab-home-red.png
│ ├── tab-home-rf.png
│ ├── tab-home-yellow.png
│ ├── tab-home.png
│ ├── tab-my-black.png
│ ├── tab-my-blue.png
│ ├── tab-my-brown.png
│ ├── tab-my-current.png
│ ├── tab-my-cyan.png
│ ├── tab-my-gray.png
│ ├── tab-my-green.png
│ ├── tab-my-grey.png
│ ├── tab-my-mauve.png
│ ├── tab-my-olive.png
│ ├── tab-my-orange.png
│ ├── tab-my-pink.png
│ ├── tab-my-purple.png
│ ├── tab-my-red.png
│ ├── tab-my-rf.png
│ ├── tab-my-yellow.png
│ ├── tab-my.png
│ ├── tab-notify-black.png
│ ├── tab-notify-blue.png
│ ├── tab-notify-brown.png
│ ├── tab-notify-current.png
│ ├── tab-notify-cyan.png
│ ├── tab-notify-gray.png
│ ├── tab-notify-green.png
│ ├── tab-notify-grey.png
│ ├── tab-notify-mauve.png
│ ├── tab-notify-olive.png
│ ├── tab-notify-orange.png
│ ├── tab-notify-pink.png
│ ├── tab-notify-purple.png
│ ├── tab-notify-red.png
│ ├── tab-notify-rf.png
│ ├── tab-notify-yellow.png
│ ├── tab-notify.png
│ ├── taobao.png
│ ├── tg.png
│ ├── top.png
│ ├── upgrade-top.png
│ ├── user-bg.jpg
│ ├── user-bg.png
│ ├── user_bg.png
│ ├── vip-card-bg.png
│ ├── vip-card.png
│ ├── vip-price.png
│ ├── virtual.png
│ ├── wechat.png
│ ├── weibo.png
│ ├── wholesale-tag.png
│ ├── yticon.ttf
│ └── zk.png
├── docs
├── CONFIG.md
├── LICENSE-SUPPLEMENTAL.md
├── UPDATE.md
└── images
│ ├── android-1080-1882.png
│ ├── android-480-762.png
│ ├── android-720-1242.png
│ ├── h5-qrcode.png
│ ├── ios-splash.png
│ ├── ipad.png
│ ├── iso-full-splash.png
│ ├── logo.png
│ ├── mp-qr-code.jpg
│ └── tinyshop.png
├── package.json
├── postcss.config.js
├── public
├── favicon.ico
└── index.html
├── src
├── App.vue
├── Json.js
├── api
│ ├── basic.js
│ ├── login.js
│ ├── merchant.js
│ ├── product.js
│ ├── userInfo.js
│ └── websocket.js
├── common
│ ├── graceChecker.js
│ ├── jweixin.js
│ ├── moment.js
│ ├── router.js
│ ├── utils.js
│ └── vue-i18n.js
├── components
│ ├── cu-custom
│ │ └── index.vue
│ ├── rf-attr-content
│ │ └── index.vue
│ ├── rf-avatar
│ │ └── rf-avatar.vue
│ ├── rf-back-home
│ │ └── index.vue
│ ├── rf-back-top
│ │ └── index.vue
│ ├── rf-badge
│ │ └── rf-badge.vue
│ ├── rf-calendar
│ │ ├── calendar.js
│ │ ├── rf-calendar-item.vue
│ │ ├── rf-calendar.vue
│ │ └── util.js
│ ├── rf-count-down
│ │ └── index.vue
│ ├── rf-emoji
│ │ └── rf-emoji.vue
│ ├── rf-empty
│ │ └── index.vue
│ ├── rf-floor-index
│ │ └── index.vue
│ ├── rf-image
│ │ └── rf-image.vue
│ ├── rf-item-popup
│ │ └── index.vue
│ ├── rf-kefu
│ │ └── index.vue
│ ├── rf-list-cell
│ │ └── index.vue
│ ├── rf-live
│ │ └── index.vue
│ ├── rf-load-more
│ │ └── rf-load-more.vue
│ ├── rf-load-progress
│ │ └── rf-load-progress.vue
│ ├── rf-loading
│ │ ├── index.vue
│ │ ├── loaders
│ │ │ ├── bounce.vue
│ │ │ ├── double-bounce.vue
│ │ │ ├── double-cube.vue
│ │ │ ├── double-dot.vue
│ │ │ ├── loop.vue
│ │ │ ├── rotate-plane.vue
│ │ │ ├── scale-out.vue
│ │ │ └── shrink-rect.vue
│ │ └── rf-loading.vue
│ ├── rf-nav-detail
│ │ └── index.vue
│ ├── rf-nav
│ │ └── index.vue
│ ├── rf-no-data
│ │ └── index.vue
│ ├── rf-number-box
│ │ └── index.vue
│ ├── rf-parser
│ │ ├── index.vue
│ │ └── libs
│ │ │ ├── CssHandler.js
│ │ │ ├── MpHtmlParser.js
│ │ │ ├── config.js
│ │ │ ├── handler.wxs
│ │ │ └── trees.vue
│ ├── rf-pick-regions
│ │ └── index.vue
│ ├── rf-picker
│ │ └── index.vue
│ ├── rf-product-detail
│ │ └── index.vue
│ ├── rf-product-list
│ │ └── index.vue
│ ├── rf-protocol-popup
│ │ └── index.vue
│ ├── rf-qrcode
│ │ └── index.vue
│ ├── rf-rate
│ │ └── rf-rate.vue
│ ├── rf-recommend
│ │ └── rf-recommend.vue
│ ├── rf-search-bar
│ │ └── index.vue
│ ├── rf-search
│ │ └── rf-search.vue
│ ├── rf-share
│ │ └── index.vue
│ ├── rf-swipe-action-item
│ │ ├── bindingx.js
│ │ ├── index.wxs
│ │ ├── mpalipay.js
│ │ ├── mpother.js
│ │ ├── mpwxs.js
│ │ └── rf-swipe-action-item.vue
│ ├── rf-swipe-action
│ │ └── rf-swipe-action.vue
│ ├── rf-swipe-dot
│ │ └── index.vue
│ ├── rf-swiper-slide
│ │ └── index.vue
│ ├── rf-table
│ │ └── index.vue
│ ├── rf-tag
│ │ └── index.vue
│ ├── rf-top-drawer
│ │ └── index.vue
│ ├── rf-top-dropdown
│ │ └── index.vue
│ ├── uni-collapse-item
│ │ └── uni-collapse-item.vue
│ ├── uni-collapse
│ │ └── uni-collapse.vue
│ ├── uni-drawer
│ │ ├── drawer.vue
│ │ └── uni-drawer.vue
│ └── uni-tag
│ │ └── uni-tag.vue
├── config
│ ├── assets.config.js
│ ├── constData.config.js
│ ├── formRule.config.js
│ ├── index.config.js
│ ├── routes.config.js
│ └── setting.config.js
├── main.js
├── manifest.json
├── pages.json
├── pages
│ ├── cart
│ │ └── cart.vue
│ ├── category
│ │ └── category.vue
│ ├── index
│ │ ├── index.vue
│ │ ├── notice
│ │ │ ├── detail.vue
│ │ │ └── notice.vue
│ │ └── search
│ │ │ └── search.vue
│ ├── marketing
│ │ └── live
│ │ │ └── list.vue
│ ├── notify
│ │ └── notify.vue
│ ├── order
│ │ ├── create
│ │ │ └── order.vue
│ │ ├── detail.vue
│ │ ├── evaluation
│ │ │ ├── evaluation.vue
│ │ │ └── list.vue
│ │ ├── order.vue
│ │ ├── refund.vue
│ │ ├── refund
│ │ │ └── refund.vue
│ │ ├── search.vue
│ │ └── shipping
│ │ │ ├── return.vue
│ │ │ └── shipping.vue
│ ├── product
│ │ ├── list.vue
│ │ └── product.vue
│ ├── profile
│ │ └── profile.vue
│ ├── public
│ │ ├── login.vue
│ │ ├── logintype.vue
│ │ ├── password.vue
│ │ └── register.vue
│ ├── set
│ │ ├── about
│ │ │ ├── about.vue
│ │ │ └── detail.vue
│ │ ├── authorization
│ │ │ └── list.vue
│ │ ├── feedback
│ │ │ ├── detail.vue
│ │ │ ├── feedback.vue
│ │ │ └── list.vue
│ │ ├── helper
│ │ │ ├── detail.vue
│ │ │ └── index.vue
│ │ ├── invoice
│ │ │ ├── invoice.vue
│ │ │ ├── list.vue
│ │ │ └── manage.vue
│ │ └── set.vue
│ └── user
│ │ ├── account
│ │ ├── account.vue
│ │ ├── bill.vue
│ │ ├── integral.vue
│ │ ├── level.vue
│ │ └── recharge.vue
│ │ ├── address
│ │ ├── address.vue
│ │ └── manage.vue
│ │ ├── collection
│ │ └── collection.vue
│ │ ├── coupon
│ │ ├── coupon.vue
│ │ ├── detail.vue
│ │ └── list.vue
│ │ ├── footprint
│ │ └── footprint.vue
│ │ ├── money
│ │ ├── pay.vue
│ │ └── success.vue
│ │ ├── user.vue
│ │ └── userinfo
│ │ └── userinfo.vue
├── static
│ ├── alipay.png
│ ├── apple.png
│ ├── arc.png
│ ├── bargain-tag.png
│ ├── css
│ │ ├── colorui
│ │ │ ├── animation.css
│ │ │ ├── icon.css
│ │ │ └── main.css
│ │ ├── iconfont
│ │ │ ├── iconfont.css
│ │ │ └── iconfont.ttf
│ │ ├── reset.scss
│ │ ├── theme.scss
│ │ └── uni.scss
│ ├── discount-tag.png
│ ├── distribution.png
│ ├── errorImage.jpg
│ ├── group-tag.png
│ ├── iconfont.ttf
│ ├── kj.png
│ ├── login-bg.png
│ ├── login-pic.png
│ ├── logo.png
│ ├── missing-face.png
│ ├── money-bg.png
│ ├── money.png
│ ├── news.png
│ ├── noNetWork.png
│ ├── notFound.png
│ ├── open-site-bg.png
│ ├── pinkage.png
│ ├── presale.png
│ ├── qq.png
│ ├── share-bg.png
│ ├── share
│ │ ├── ic_xiaochengxu.png
│ │ ├── icon_QQkongjian.png
│ │ ├── icon_copy.png
│ │ ├── icon_more.png
│ │ ├── icon_pengyouquan.png
│ │ ├── icon_qq.png
│ │ ├── icon_weibo.png
│ │ └── icon_weixin.png
│ ├── tab-cart-black.png
│ ├── tab-cart-blue.png
│ ├── tab-cart-brown.png
│ ├── tab-cart-current.png
│ ├── tab-cart-cyan.png
│ ├── tab-cart-gray.png
│ ├── tab-cart-green.png
│ ├── tab-cart-grey.png
│ ├── tab-cart-mauve.png
│ ├── tab-cart-olive.png
│ ├── tab-cart-orange.png
│ ├── tab-cart-pink.png
│ ├── tab-cart-purple.png
│ ├── tab-cart-red.png
│ ├── tab-cart-rf.png
│ ├── tab-cart-yellow.png
│ ├── tab-cart.png
│ ├── tab-cate-black.png
│ ├── tab-cate-blue.png
│ ├── tab-cate-brown.png
│ ├── tab-cate-current.png
│ ├── tab-cate-cyan.png
│ ├── tab-cate-gray.png
│ ├── tab-cate-green.png
│ ├── tab-cate-grey.png
│ ├── tab-cate-mauve.png
│ ├── tab-cate-olive.png
│ ├── tab-cate-orange.png
│ ├── tab-cate-pink.png
│ ├── tab-cate-purple.png
│ ├── tab-cate-red.png
│ ├── tab-cate-rf.png
│ ├── tab-cate-yellow.png
│ ├── tab-cate.png
│ ├── tab-home-black.png
│ ├── tab-home-blue.png
│ ├── tab-home-brown.png
│ ├── tab-home-current.png
│ ├── tab-home-cyan.png
│ ├── tab-home-gray.png
│ ├── tab-home-green.png
│ ├── tab-home-grey.png
│ ├── tab-home-mauve.png
│ ├── tab-home-olive.png
│ ├── tab-home-orange.png
│ ├── tab-home-pink.png
│ ├── tab-home-purple.png
│ ├── tab-home-red.png
│ ├── tab-home-rf.png
│ ├── tab-home-yellow.png
│ ├── tab-home.png
│ ├── tab-my-black.png
│ ├── tab-my-blue.png
│ ├── tab-my-brown.png
│ ├── tab-my-current.png
│ ├── tab-my-cyan.png
│ ├── tab-my-gray.png
│ ├── tab-my-green.png
│ ├── tab-my-grey.png
│ ├── tab-my-mauve.png
│ ├── tab-my-olive.png
│ ├── tab-my-orange.png
│ ├── tab-my-pink.png
│ ├── tab-my-purple.png
│ ├── tab-my-red.png
│ ├── tab-my-rf.png
│ ├── tab-my-yellow.png
│ ├── tab-my.png
│ ├── tab-notify-black.png
│ ├── tab-notify-blue.png
│ ├── tab-notify-brown.png
│ ├── tab-notify-current.png
│ ├── tab-notify-cyan.png
│ ├── tab-notify-gray.png
│ ├── tab-notify-green.png
│ ├── tab-notify-grey.png
│ ├── tab-notify-mauve.png
│ ├── tab-notify-olive.png
│ ├── tab-notify-orange.png
│ ├── tab-notify-pink.png
│ ├── tab-notify-purple.png
│ ├── tab-notify-red.png
│ ├── tab-notify-rf.png
│ ├── tab-notify-yellow.png
│ ├── tab-notify.png
│ ├── taobao.png
│ ├── tg.png
│ ├── top.png
│ ├── upgrade-top.png
│ ├── user-bg.jpg
│ ├── user-bg.png
│ ├── user_bg.png
│ ├── vip-card-bg.png
│ ├── vip-card.png
│ ├── vip-price.png
│ ├── virtual.png
│ ├── wechat.png
│ ├── weibo.png
│ ├── wholesale-tag.png
│ ├── yticon.ttf
│ └── zk.png
├── store
│ └── index.js
├── uni.scss
└── utils
│ ├── graceChecker.js
│ ├── helper.js
│ ├── languages
│ ├── en
│ │ ├── basic
│ │ │ └── en.json
│ │ ├── en.js
│ │ └── profile
│ │ │ └── en.json
│ └── zh
│ │ ├── basic
│ │ └── zh.json
│ │ ├── profile
│ │ └── zh.json
│ │ └── zh.js
│ ├── payment.js
│ ├── request
│ ├── index.js
│ └── request.js
│ ├── router.js
│ ├── share.js
│ ├── uqrcode.js
│ └── vue-i18n.js
├── tsconfig.json
├── vue.config.js
└── yarn.lock
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | charset = utf-8
5 | indent_style = tab
6 | indent_size = 2
7 | end_of_line = lf
8 | insert_final_newline = true
9 | trim_trailing_whitespace = true
10 |
11 | [*.{js,jsx,ts,tsx,vue}]
12 | indent_style = tab
13 | indent_size = 2
14 | trim_trailing_whitespace = true
15 | insert_final_newline = true
16 |
--------------------------------------------------------------------------------
/.eslintignore:
--------------------------------------------------------------------------------
1 | src/
2 | src/common/
3 | src/components/rf-calendar/
4 | src/components/rf-parser/
5 | src/utils/share.js
6 |
--------------------------------------------------------------------------------
/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | env: {
3 | browser: true,
4 | es6: true,
5 | node: true
6 | },
7 |
8 | extends: ['eslint:recommended', 'plugin:vue/essential'],
9 |
10 | globals: {
11 | Atomics: 'readonly',
12 | SharedArrayBuffer: 'readonly',
13 | uni: true
14 | },
15 |
16 | parserOptions: {
17 | ecmaVersion: 2018,
18 | sourceType: 'module',
19 | parser: 'babel-eslint'
20 | },
21 |
22 | plugins: ['vue'],
23 |
24 | rules: {
25 | 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
26 | 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
27 | 'no-var': 'error',
28 | 'no-dupe-args': 2,
29 | 'no-dupe-keys': 2,
30 | 'no-duplicate-case': 2,
31 | 'no-empty': 2,
32 | 'no-func-assign': 2,
33 | 'valid-jsdoc': 1,
34 | 'comma-dangle': [2, 'never'],
35 | eqeqeq: ['error', 'always'],
36 | quotes: ['error', 'single']
37 | },
38 |
39 | root: true,
40 |
41 | extends: ['eslint:recommended', 'plugin:vue/essential', '@vue/standard']
42 | };
43 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules/
3 | unpackage/
4 | #src/api/params.js
5 | dist/dev/
6 | dist/build/mp-weixin/
7 | dist/build/mp-qq/
8 | dist/resources/
9 |
10 | # local env files
11 | .env.local
12 | .env.*.local
13 | yarn.lock
14 |
15 | # Log files
16 | npm-debug.log*
17 | yarn-debug.log*
18 | yarn-error.log*
19 |
20 | # Editor directories and files
21 | .project
22 | .idea
23 | .vscode
24 | *.suo
25 | *.ntvs*
26 | *.njsproj
27 | *.sln
28 | *.sw*
29 |
--------------------------------------------------------------------------------
/.prettierignore:
--------------------------------------------------------------------------------
1 | package.json
2 | .umi
3 | .umi-production
4 | /dist
5 | .dockerignore
6 | .DS_Store
7 | .eslintignore
8 | *.png
9 | *.toml
10 | docker
11 | .editorconfig
12 | Dockerfile*
13 | .gitignore
14 | .prettierignore
15 | LICENSE.md
16 |
--------------------------------------------------------------------------------
/.prettierrc:
--------------------------------------------------------------------------------
1 | {
2 | "singleQuote": true
3 | }
4 |
--------------------------------------------------------------------------------
/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # 1.0.0 (2020-04-21)
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # Contributing Guide
2 |
3 | > 贡献指南
4 |
5 | ## Project Structure
6 |
7 | 项目大概结构
8 |
9 | ├── src
10 | │ ├── api
11 | │ │ ├── basic.js
12 | │ │ ├── distribution.js
13 | │ │ ├── login.js
14 | │ │ ├── merchant.js
15 | │ │ ├── product.js
16 | │ │ ├── userInfo.js
17 | │ │ └── websocket.js
18 | │ ├── App.vue
19 | │ ├── common
20 | │ │ ├── graceChecker.js
21 | │ │ ├── jweixin.js
22 | │ │ ├── moment.js
23 | │ │ ├── router.js
24 | │ │ └── utils.js
25 | │ ├── components
26 | │ │ ├── rf-avatar
27 | │ │ │ └── rf-avatar.vue
28 | │ ├── config
29 | │ │ ├── assets.config.js
30 | │ │ ├── constData.config.js
31 | │ │ ├── formRule.config.js
32 | │ │ ├── index.config.js
33 | │ │ ├── routes.config.js
34 | │ │ └── websocket.config.js
35 | │ ├── Json.js
36 | │ ├── main.js
37 | │ ├── manifest.json
38 | │ ├── pages
39 | │ │ ├── cart
40 | │ │ │ └── cart.vue
41 | │ │ ├── category
42 | │ │ │ └── category.vue
43 | │ │ ├── index
44 | │ │ │ ├── index.vue
45 | │ │ │ ├── notice
46 | │ │ │ │ ├── detail.vue
47 | │ │ │ │ └── notice.vue
48 | │ │ │ └── search
49 | │ │ │ └── search.vue
50 | │ │ ├── order
51 | │ │ │ ├── create
52 | │ │ │ │ └── order.vue
53 | │ │ │ ├── detail.vue
54 | │ │ │ ├── evaluation
55 | │ │ │ │ ├── evaluation.vue
56 | │ │ │ │ └── list.vue
57 | │ │ │ ├── order.vue
58 | │ │ │ ├── refund
59 | │ │ │ │ └── refund.vue
60 | │ │ │ ├── refund.vue
61 | │ │ │ ├── search.vue
62 | │ │ │ └── shipping
63 | │ │ │ ├── return.vue
64 | │ │ │ └── shipping.vue
65 | │ │ ├── product
66 | │ │ │ ├── list.vue
67 | │ │ │ └── product.vue
68 | │ │ ├── public
69 | │ │ │ ├── logintype.vue
70 | │ │ │ ├── login.vue
71 | │ │ │ ├── password.vue
72 | │ │ │ └── register.vue
73 | │ │ ├── set
74 | │ │ │ ├── about
75 | │ │ │ │ ├── about.vue
76 | │ │ │ │ └── detail.vue
77 | │ │ │ ├── authorization
78 | │ │ │ │ └── list.vue
79 | │ │ │ ├── feedback
80 | │ │ │ │ ├── detail.vue
81 | │ │ │ │ ├── feedback.vue
82 | │ │ │ │ └── list.vue
83 | │ │ │ ├── invoice
84 | │ │ │ │ ├── invoice.vue
85 | │ │ │ │ ├── list.vue
86 | │ │ │ │ └── manage.vue
87 | │ │ │ └── set.vue
88 | │ │ └── user
89 | │ │ ├── account
90 | │ │ │ ├── account.vue
91 | │ │ │ ├── bill.vue
92 | │ │ │ ├── integral.vue
93 | │ │ │ └── recharge.vue
94 | │ │ ├── address
95 | │ │ │ ├── address.vue
96 | │ │ │ └── manage.vue
97 | │ │ ├── collection
98 | │ │ │ └── collection.vue
99 | │ │ ├── coupon
100 | │ │ │ ├── coupon.vue
101 | │ │ │ ├── detail.vue
102 | │ │ │ └── list.vue
103 | │ │ ├── footprint
104 | │ │ │ └── footprint.vue
105 | │ │ ├── money
106 | │ │ │ ├── pay.vue
107 | │ │ │ └── success.vue
108 | │ │ ├── userinfo
109 | │ │ │ └── userinfo.vue
110 | │ │ └── user.vue
111 | │ ├── pages.json
112 | │ ├── static
113 | │ ├── store
114 | │ │ └── index.js
115 | │ ├── uni.scss
116 | │ └── utils
117 | │ ├── graceChecker.js
118 | │ ├── helper.js
119 | │ ├── payment.js
120 | │ ├── request
121 | │ │ ├── index.js
122 | │ │ └── request.js
123 | │ └── router.js
124 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ## RF 微商城
2 |
3 | ### 前言
4 |
5 | 基于 [RageFrame2](https://github.com/jianyan74/rageframe2) 的一款免费开源的基础商城销售功能的开源微商城,前端基于 uni-app,一端发布多端通用,目前已经适配 H5、微信小程序、QQ小程序、Ios App、Android App。目前开源的版本功能为 V1 版,更多增强功能(V2、V3)敬请期待。
6 |
7 |
8 | ### 项目地址
9 |
10 | [前端开源地址](https://github.com/stavyan/TinyShop-UniApp): https://github.com/stavyan/TinyShop-UniApp
11 |
12 | [Uni-App插件地址](https://ext.dcloud.net.cn/plugin?id=1427): https://ext.dcloud.net.cn/plugin?id=1427
13 |
14 | [后端开源地址](https://github.com/jianyan74/TinyShop): https://github.com/jianyan74/TinyShop
15 |
16 | ### Demo
17 |
18 | [H5 预览](http://h5.tinyshop.rageframe.com): http://h5.tinyshop.rageframe.com
19 |
20 | Android App体验版 [下载](http://b2c.rageframe.com/attachment/files/2020/07/06/__UNI__8006C11_0706181408.apk)
21 |
22 | [后台预览](http://demo.rageframe.com/backend): http://demo.rageframe.com/backend
23 |
24 | 账号: demo
25 | 密码: 123456
26 |
27 | 
28 |
29 | ### 商业版Demo
30 |
31 | [H5 预览](http://uniapp.rageframe.com ): http://uniapp.rageframe.com
32 |
33 | [后台预览](http://b2c.rageframe.com/backend): http://b2c.rageframe.com/backend
34 | 账号: demo
35 | 密码: 123456
36 |
37 | 小程序二维码
38 | 
39 |
40 | ### 更新记录
41 |
42 | #### v1.2.3
43 |
44 | updated 2020.09.07
45 |
46 | - 优化: 主页空数据一直加载问题
47 | - 升级: 添加app/小程序右上角扫码进入应用
48 |
49 | > [更多更新记录](docs/UPDATE.md)
50 |
51 | ### 思维导图
52 |
53 | 
54 |
55 | ### 安装说明
56 |
57 | 1、安装相关依赖, 默认已拥有node环境
58 |
59 | ```
60 | // 安装yarn命令
61 | npm i -g yarn
62 | // 安装依赖
63 | yarn
64 | ```
65 |
66 | 2. 运行到指定平台
67 |
68 | ```
69 | // 运行到H5
70 | yarn serve
71 | // 运行至对应的小程序平台
72 | yarn dev:PLATFORM
73 | ```
74 |
75 | 值 | 平台
76 | ---|---
77 | h5 | H5
78 | mp-weixin | 微信小程序
79 | mp-alipay | 支付宝小程序
80 | mp-baidu | 百度小程序
81 | mp-toutiao | 头条小程序
82 | mp-qq | qq 小程序
83 |
84 |
85 | 3. 打包至线上部署
86 | ```
87 | // H5打包
88 | yarn build
89 | yarn build:PLATFORM // 平台信息同上
90 | ```
91 | 使用对应的小程序客户端进行发布。
92 |
93 | 4、发布uni-app(打包为原生App云端)
94 |
95 | 配合HBuilderX使用
96 |
97 | > 注: H5除主页外刷新页面会出现404 需配置nginx伪静态
98 |
99 | ```
100 | location / {
101 | try_files $uri $uri/ /index.html;
102 | }
103 | ```
104 |
105 | ### 配置文件
106 |
107 | > [详见配置说明](docs/CONFIG.md)
108 |
109 | ### 官网
110 |
111 | http://www.rageframe.com
112 |
113 | ### 问题反馈
114 |
115 | 在使用中有任何问题,欢迎反馈给我,可以用以下联系方式跟我们交流
116 |
117 | QQ群2:[1148015133](https://jq.qq.com/?_wv=1027&k=Wk663e9N)
118 |
119 | ### 特别鸣谢
120 |
121 | 感谢以下的项目,排名不分先后
122 |
123 | Vuejs: https://github.com/vuejs/vue
124 |
125 | uni-app: https://uniapp.dcloud.io/
126 |
127 | mix-mall: https://ext.dcloud.net.cn/plugin?id=200
128 |
129 | ColorUI: https://github.com/weilanwl/ColorUI
130 |
131 | ...
132 |
133 | ### 版权信息
134 |
135 | RF商城 遵循 [Apache2](LICENSE.md) 开源协议和 [附加使用协议](docs/LICENSE-SUPPLEMENTAL.md) 发布,并提供免费使用。
136 |
137 | 本项目包含的第三方源码和二进制文件之版权信息另行标注。
138 |
139 | 版权所有Copyright © 2016-2022 by RageFrame [www.rageframe.com](http://www.rageframe.com)
140 |
141 | All rights reserved。
142 | LICENSE-SUPPLEMENTAL.md
143 |
--------------------------------------------------------------------------------
/babel.config.js:
--------------------------------------------------------------------------------
1 | const plugins = []
2 |
3 | if (process.env.UNI_OPT_TREESHAKINGNG) {
4 | plugins.push(require('@dcloudio/vue-cli-plugin-uni-optimize/packages/babel-plugin-uni-api/index.js'))
5 | }
6 |
7 | if (process.env.UNI_PLATFORM === 'app-plus' && process.env.UNI_USING_V8) {
8 | const path = require('path')
9 |
10 | const isWin = /^win/.test(process.platform)
11 |
12 | const normalizePath = path => (isWin ? path.replace(/\\/g, '/') : path)
13 |
14 | const input = normalizePath(process.env.UNI_INPUT_DIR)
15 | try {
16 | plugins.push([
17 | require('@dcloudio/vue-cli-plugin-hbuilderx/packages/babel-plugin-console'),
18 | {
19 | file (file) {
20 | file = normalizePath(file)
21 | if (file.indexOf(input) === 0) {
22 | return path.relative(input, file)
23 | }
24 | return false
25 | }
26 | }
27 | ])
28 | } catch (e) {
29 | console.log(e)
30 | }
31 | }
32 |
33 | process.UNI_LIBRARIES = process.UNI_LIBRARIES || ['@dcloudio/uni-ui']
34 | process.UNI_LIBRARIES.forEach(libraryName => {
35 | plugins.push([
36 | 'import',
37 | {
38 | libraryName: libraryName,
39 | customName: (name) => {
40 | return `${libraryName}/lib/${name}/${name}`
41 | }
42 | }
43 | ])
44 | })
45 | module.exports = {
46 | presets: [
47 | [
48 | '@vue/app',
49 | {
50 | modules: 'commonjs',
51 | useBuiltIns: process.env.UNI_PLATFORM === 'h5' ? 'usage' : 'entry'
52 | }
53 | ]
54 | ],
55 | plugins
56 | }
57 |
--------------------------------------------------------------------------------
/dist/build/h5/index.html:
--------------------------------------------------------------------------------
1 |
RF商城
--------------------------------------------------------------------------------
/dist/build/h5/static/alipay.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/alipay.png
--------------------------------------------------------------------------------
/dist/build/h5/static/apple.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/apple.png
--------------------------------------------------------------------------------
/dist/build/h5/static/arc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/arc.png
--------------------------------------------------------------------------------
/dist/build/h5/static/bargain-tag.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/bargain-tag.png
--------------------------------------------------------------------------------
/dist/build/h5/static/css/colorui/animation.css:
--------------------------------------------------------------------------------
1 | /*
2 | Animation 微动画
3 | 基于ColorUI组建库的动画模块 by 文晓港 2019年3月26日19:52:28
4 | */
5 |
6 | /* css 滤镜 控制黑白底色gif的 */
7 | .gif-black{
8 | mix-blend-mode: screen;
9 | }
10 | .gif-white{
11 | mix-blend-mode: multiply;
12 | }
13 |
14 |
15 | /* Animation css */
16 | [class*=animation-] {
17 | animation-duration: .5s;
18 | animation-timing-function: ease-out;
19 | animation-fill-mode: both
20 | }
21 |
22 | .animation-fade {
23 | animation-name: fade;
24 | animation-duration: .8s;
25 | animation-timing-function: linear
26 | }
27 |
28 | .animation-scale-up {
29 | animation-name: scale-up
30 | }
31 |
32 | .animation-scale-down {
33 | animation-name: scale-down
34 | }
35 |
36 | .animation-slide-top {
37 | animation-name: slide-top
38 | }
39 |
40 | .animation-slide-bottom {
41 | animation-name: slide-bottom
42 | }
43 |
44 | .animation-slide-left {
45 | animation-name: slide-left
46 | }
47 |
48 | .animation-slide-right {
49 | animation-name: slide-right
50 | }
51 |
52 | .animation-shake {
53 | animation-name: shake
54 | }
55 |
56 | .animation-reverse {
57 | animation-direction: reverse
58 | }
59 |
60 | @keyframes fade {
61 | 0% {
62 | opacity: 0
63 | }
64 |
65 | 100% {
66 | opacity: 1
67 | }
68 | }
69 |
70 | @keyframes scale-up {
71 | 0% {
72 | opacity: 0;
73 | transform: scale(.2)
74 | }
75 |
76 | 100% {
77 | opacity: 1;
78 | transform: scale(1)
79 | }
80 | }
81 |
82 | @keyframes scale-down {
83 | 0% {
84 | opacity: 0;
85 | transform: scale(1.8)
86 | }
87 |
88 | 100% {
89 | opacity: 1;
90 | transform: scale(1)
91 | }
92 | }
93 |
94 | @keyframes slide-top {
95 | 0% {
96 | opacity: 0;
97 | transform: translateY(-100%)
98 | }
99 |
100 | 100% {
101 | opacity: 1;
102 | transform: translateY(0)
103 | }
104 | }
105 |
106 | @keyframes slide-bottom {
107 | 0% {
108 | opacity: 0;
109 | transform: translateY(100%)
110 | }
111 |
112 | 100% {
113 | opacity: 1;
114 | transform: translateY(0)
115 | }
116 | }
117 |
118 | @keyframes shake {
119 |
120 | 0%,
121 | 100% {
122 | transform: translateX(0)
123 | }
124 |
125 | 10% {
126 | transform: translateX(-9px)
127 | }
128 |
129 | 20% {
130 | transform: translateX(8px)
131 | }
132 |
133 | 30% {
134 | transform: translateX(-7px)
135 | }
136 |
137 | 40% {
138 | transform: translateX(6px)
139 | }
140 |
141 | 50% {
142 | transform: translateX(-5px)
143 | }
144 |
145 | 60% {
146 | transform: translateX(4px)
147 | }
148 |
149 | 70% {
150 | transform: translateX(-3px)
151 | }
152 |
153 | 80% {
154 | transform: translateX(2px)
155 | }
156 |
157 | 90% {
158 | transform: translateX(-1px)
159 | }
160 | }
161 |
162 | @keyframes slide-left {
163 | 0% {
164 | opacity: 0;
165 | transform: translateX(-100%)
166 | }
167 |
168 | 100% {
169 | opacity: 1;
170 | transform: translateX(0)
171 | }
172 | }
173 |
174 | @keyframes slide-right {
175 | 0% {
176 | opacity: 0;
177 | transform: translateX(100%)
178 | }
179 |
180 | 100% {
181 | opacity: 1;
182 | transform: translateX(0)
183 | }
184 | }
--------------------------------------------------------------------------------
/dist/build/h5/static/css/iconfont/iconfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/css/iconfont/iconfont.ttf
--------------------------------------------------------------------------------
/dist/build/h5/static/css/reset.scss:
--------------------------------------------------------------------------------
1 | view,
2 | scroll-view,
3 | swiper,
4 | swiper-item,
5 | cover-view,
6 | cover-image,
7 | icon,
8 | text,
9 | rich-text,
10 | progress,
11 | button,
12 | checkbox,
13 | form,
14 | input,
15 | label,
16 | radio,
17 | slider,
18 | switch,
19 | textarea,
20 | navigator,
21 | audio,
22 | camera,
23 | image,
24 | video {
25 | box-sizing: border-box;
26 | }
27 |
28 | /* 骨架屏替代方案 */
29 | .rf-skeleton {
30 | background: $color-white;
31 | padding: 20upx 0;
32 | border-radius: 8upx;
33 | box-shadow: 0upx 5upx 25upx rgba(0, 0, 0, 0.05);
34 | }
35 |
36 | /* 图片载入替代方案 */
37 | .image-wrapper {
38 | font-size: 0;
39 | background: #f3f3f3;
40 | border-radius: 4px;
41 |
42 | image {
43 | width: 100%;
44 | height: 100%;
45 | transition: .6s;
46 | opacity: 0;
47 |
48 | &.loaded {
49 | opacity: 1;
50 | }
51 | }
52 | }
53 |
54 | .common-hover {
55 | background: #f5f5f5;
56 | }
57 |
58 | /*边框*/
59 | .b-b:after,
60 | .b-t:after {
61 | position: absolute;
62 | z-index: 3;
63 | left: 0;
64 | right: 0;
65 | height: 0;
66 | content: '';
67 | transform: scaleY(.5);
68 | border-bottom: 1px solid $border-color-base;
69 | }
70 |
71 | .b-b:after {
72 | bottom: 0;
73 | }
74 |
75 | .b-t:after {
76 | top: 0;
77 | }
78 |
79 | /* button样式改写 */
80 | uni-button,
81 | button {
82 | height: 80upx;
83 | line-height: 80upx;
84 | font-size: $font-lg + 2upx;
85 | font-weight: normal;
86 |
87 | &.no-border:before,
88 | &.no-border:after {
89 | border: 0;
90 | }
91 | }
92 |
93 | uni-button[type=default],
94 | button[type=default] {
95 | color: $font-color-dark;
96 | }
97 |
98 | /* input 样式 */
99 | .input-placeholder {
100 | color: #999999;
101 | }
102 |
103 | .placeholder {
104 | color: #999999;
105 | }
106 |
107 | /*通用 */
108 | view{
109 | font-size: $font-base;
110 | line-height:1.5;
111 | }
112 | progress, checkbox-group{
113 | width: 100%;
114 | }
115 | form {
116 | width: 100%;
117 | }
118 |
119 | .rf-button {
120 | color: #fff;
121 | border-radius: 30upx;
122 | font-size: $font-lg;
123 | }
124 |
125 | uni-button {
126 | background: none;
127 | }
128 |
--------------------------------------------------------------------------------
/dist/build/h5/static/css/theme.scss:
--------------------------------------------------------------------------------
1 | /* 页面左右间距 */
2 | $spacing-lg: 30upx;
3 | $spacing-base: 20upx;
4 | $spacing-sm: 10upx;
5 |
6 | $color-white: #fff;
7 | $color-black: #000;
8 |
9 | $page-row-spacing: 30upx;
10 | $page-color-base: #f8f8f8;
11 | $page-color-light: #f8f6fc;
12 | $base-color: #f60;
13 |
14 | /* 文字尺寸 */
15 | $font-sm: 24upx;
16 | $font-base: 28upx;
17 | $font-lg: 32upx;
18 |
19 | /*文字颜色*/
20 | $font-color-dark: #303133;
21 | $font-color-base: #606266;
22 | $font-color-light: #909399;
23 | $font-color-disabled: #C0C4CC;
24 | $font-color-spec: #4399fc;
25 |
26 | /* 边框颜色 */
27 | $border-color-dark: #DCDFE6;
28 | $border-color-base: #E4E7ED;
29 | $border-color-light: #EBEEF5;
30 |
31 | /* 图片加载中颜色 */
32 | $image-bg-color: #eee;
33 |
34 | /* 行为相关颜色 */
35 | $uni-color-primary:#fa436a;
36 | $uni-color-success: #4cd964;
37 | $uni-color-warning: #f0ad4e;
38 | $uni-color-error: #dd524d;
39 |
40 | :export {
41 | baseColor: $base-color;
42 | }
43 |
--------------------------------------------------------------------------------
/dist/build/h5/static/discount-tag.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/discount-tag.png
--------------------------------------------------------------------------------
/dist/build/h5/static/distribution.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/distribution.png
--------------------------------------------------------------------------------
/dist/build/h5/static/errorImage.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/errorImage.jpg
--------------------------------------------------------------------------------
/dist/build/h5/static/group-tag.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/group-tag.png
--------------------------------------------------------------------------------
/dist/build/h5/static/iconfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/iconfont.ttf
--------------------------------------------------------------------------------
/dist/build/h5/static/js/pages-set-helper-detail.201fa05f.js:
--------------------------------------------------------------------------------
1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-set-helper-detail"],{"0c35":function(t,e,a){"use strict";a.r(e);var i=a("7f05"),n=a.n(i);for(var r in i)"default"!==r&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"0e6c":function(t,e,a){"use strict";var i=a("8563"),n=a.n(i);n.a},2540:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,"uni-page-body[data-v-31428e32]{background-color:#f8f8f8}.helper-detail .detail[data-v-31428e32]{text-align:center;padding:%?20?% %?20?%}.helper-detail .detail .title[data-v-31428e32]{font-size:%?32?%;color:#303133;padding:%?20?% 0}body.?%PAGE?%[data-v-31428e32]{background-color:#f8f8f8}",""]),t.exports=e},"672f":function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.loading?t._e():a("v-uni-view",{staticClass:"helper-detail"},[t.helperDetail.title?a("v-uni-view",{staticClass:"detail"},[a("v-uni-view",{staticClass:"title"},[t._v(t._s(t.helperDetail.title))]),a("rf-parser",{attrs:{"lazy-load":!0,html:t.helperDetail.content||""}})],1):t._e(),t.helperDetail.title||t.loading?t._e():a("rf-empty",{attrs:{info:"暂无帮助内容"}}),a("rfLoading",{attrs:{isFullScreen:!0,active:t.loading}})],1)},r=[]},"7f05":function(t,e,a){"use strict";var i=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("96cf");var n=i(a("3b8d")),r=a("2b74"),l={data:function(){return{loading:!0,helperDetail:{},helperId:""}},onLoad:function(t){this.helperId=t.id,this.initData()},methods:{initData:function(){this.getHelperDetail()},getHelperDetail:function(){var t=(0,n.default)(regeneratorRuntime.mark((function t(){var e=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$http.get(r.helperView,{id:this.helperId}).then((function(t){e.loading=!1,e.helperDetail=t.data,uni.setNavigationBarTitle({title:t.data.title})})).catch((function(){e.loading=!1}));case 2:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()}};e.default=l},8563:function(t,e,a){var i=a("2540");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("0b57701a",i,!0,{sourceMap:!1,shadowMode:!1})},e6c6:function(t,e,a){"use strict";a.r(e);var i=a("672f"),n=a("0c35");for(var r in n)"default"!==r&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("0e6c");var l,o=a("f0c5"),u=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"31428e32",null,!1,i["a"],l);e["default"]=u.exports}}]);
--------------------------------------------------------------------------------
/dist/build/h5/static/kj.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/kj.png
--------------------------------------------------------------------------------
/dist/build/h5/static/login-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/login-bg.png
--------------------------------------------------------------------------------
/dist/build/h5/static/login-pic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/login-pic.png
--------------------------------------------------------------------------------
/dist/build/h5/static/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/logo.png
--------------------------------------------------------------------------------
/dist/build/h5/static/missing-face.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/missing-face.png
--------------------------------------------------------------------------------
/dist/build/h5/static/money-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/money-bg.png
--------------------------------------------------------------------------------
/dist/build/h5/static/money.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/money.png
--------------------------------------------------------------------------------
/dist/build/h5/static/news.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/news.png
--------------------------------------------------------------------------------
/dist/build/h5/static/noNetWork.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/noNetWork.png
--------------------------------------------------------------------------------
/dist/build/h5/static/notFound.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/notFound.png
--------------------------------------------------------------------------------
/dist/build/h5/static/open-site-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/open-site-bg.png
--------------------------------------------------------------------------------
/dist/build/h5/static/pinkage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/pinkage.png
--------------------------------------------------------------------------------
/dist/build/h5/static/presale.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/presale.png
--------------------------------------------------------------------------------
/dist/build/h5/static/qq.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/qq.png
--------------------------------------------------------------------------------
/dist/build/h5/static/share-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/share-bg.png
--------------------------------------------------------------------------------
/dist/build/h5/static/share/ic_xiaochengxu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/share/ic_xiaochengxu.png
--------------------------------------------------------------------------------
/dist/build/h5/static/share/icon_QQkongjian.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/share/icon_QQkongjian.png
--------------------------------------------------------------------------------
/dist/build/h5/static/share/icon_copy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/share/icon_copy.png
--------------------------------------------------------------------------------
/dist/build/h5/static/share/icon_more.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/share/icon_more.png
--------------------------------------------------------------------------------
/dist/build/h5/static/share/icon_pengyouquan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/share/icon_pengyouquan.png
--------------------------------------------------------------------------------
/dist/build/h5/static/share/icon_qq.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/share/icon_qq.png
--------------------------------------------------------------------------------
/dist/build/h5/static/share/icon_weibo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/share/icon_weibo.png
--------------------------------------------------------------------------------
/dist/build/h5/static/share/icon_weixin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/share/icon_weixin.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cart-black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cart-black.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cart-blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cart-blue.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cart-brown.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cart-brown.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cart-current.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cart-current.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cart-cyan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cart-cyan.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cart-gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cart-gray.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cart-green.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cart-green.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cart-grey.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cart-grey.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cart-mauve.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cart-mauve.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cart-olive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cart-olive.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cart-orange.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cart-orange.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cart-pink.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cart-pink.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cart-purple.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cart-purple.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cart-red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cart-red.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cart-rf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cart-rf.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cart-yellow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cart-yellow.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cart.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cate-black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cate-black.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cate-blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cate-blue.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cate-brown.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cate-brown.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cate-current.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cate-current.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cate-cyan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cate-cyan.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cate-gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cate-gray.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cate-green.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cate-green.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cate-grey.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cate-grey.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cate-mauve.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cate-mauve.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cate-olive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cate-olive.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cate-orange.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cate-orange.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cate-pink.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cate-pink.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cate-purple.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cate-purple.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cate-red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cate-red.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cate-rf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cate-rf.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cate-yellow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cate-yellow.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-cate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-cate.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-home-black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-home-black.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-home-blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-home-blue.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-home-brown.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-home-brown.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-home-current.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-home-current.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-home-cyan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-home-cyan.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-home-gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-home-gray.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-home-green.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-home-green.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-home-grey.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-home-grey.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-home-mauve.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-home-mauve.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-home-olive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-home-olive.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-home-orange.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-home-orange.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-home-pink.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-home-pink.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-home-purple.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-home-purple.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-home-red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-home-red.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-home-rf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-home-rf.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-home-yellow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-home-yellow.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-home.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-home.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-my-black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-my-black.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-my-blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-my-blue.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-my-brown.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-my-brown.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-my-current.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-my-current.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-my-cyan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-my-cyan.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-my-gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-my-gray.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-my-green.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-my-green.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-my-grey.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-my-grey.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-my-mauve.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-my-mauve.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-my-olive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-my-olive.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-my-orange.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-my-orange.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-my-pink.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-my-pink.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-my-purple.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-my-purple.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-my-red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-my-red.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-my-rf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-my-rf.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-my-yellow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-my-yellow.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-my.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-my.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-notify-black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-notify-black.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-notify-blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-notify-blue.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-notify-brown.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-notify-brown.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-notify-current.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-notify-current.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-notify-cyan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-notify-cyan.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-notify-gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-notify-gray.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-notify-green.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-notify-green.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-notify-grey.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-notify-grey.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-notify-mauve.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-notify-mauve.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-notify-olive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-notify-olive.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-notify-orange.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-notify-orange.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-notify-pink.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-notify-pink.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-notify-purple.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-notify-purple.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-notify-red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-notify-red.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-notify-rf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-notify-rf.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-notify-yellow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-notify-yellow.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tab-notify.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tab-notify.png
--------------------------------------------------------------------------------
/dist/build/h5/static/taobao.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/taobao.png
--------------------------------------------------------------------------------
/dist/build/h5/static/tg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/tg.png
--------------------------------------------------------------------------------
/dist/build/h5/static/top.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/top.png
--------------------------------------------------------------------------------
/dist/build/h5/static/upgrade-top.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/upgrade-top.png
--------------------------------------------------------------------------------
/dist/build/h5/static/user-bg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/user-bg.jpg
--------------------------------------------------------------------------------
/dist/build/h5/static/user-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/user-bg.png
--------------------------------------------------------------------------------
/dist/build/h5/static/user_bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/user_bg.png
--------------------------------------------------------------------------------
/dist/build/h5/static/vip-card-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/vip-card-bg.png
--------------------------------------------------------------------------------
/dist/build/h5/static/vip-card.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/vip-card.png
--------------------------------------------------------------------------------
/dist/build/h5/static/vip-price.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/vip-price.png
--------------------------------------------------------------------------------
/dist/build/h5/static/virtual.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/virtual.png
--------------------------------------------------------------------------------
/dist/build/h5/static/wechat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/wechat.png
--------------------------------------------------------------------------------
/dist/build/h5/static/weibo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/weibo.png
--------------------------------------------------------------------------------
/dist/build/h5/static/wholesale-tag.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/wholesale-tag.png
--------------------------------------------------------------------------------
/dist/build/h5/static/yticon.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/yticon.ttf
--------------------------------------------------------------------------------
/dist/build/h5/static/zk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/dist/build/h5/static/zk.png
--------------------------------------------------------------------------------
/docs/CONFIG.md:
--------------------------------------------------------------------------------
1 | ## 配置文件
2 |
3 | 1、公共样式 `/src/uni.scss`
4 |
5 | ```
6 | /* 页面左右间距 */
7 | $page-row-spacing: 30upx;
8 | $page-color-base: #f8f8f8;
9 | $page-color-light: #f8f6fc;
10 | $base-color: #fa436a;
11 |
12 | /* 文字尺寸 */
13 | $font-sm: 24upx;
14 | $font-base: 28upx;
15 | $font-lg: 32upx;
16 | /*文字颜色*/
17 | $font-color-dark: #303133;
18 | $font-color-base: #606266;
19 | $font-color-light: #909399;
20 | $font-color-disabled: #C0C4CC;
21 | $font-color-spec: #4399fc;
22 | /* 边框颜色 */
23 | $border-color-dark: #DCDFE6;
24 | $border-color-base: #E4E7ED;
25 | $border-color-light: #EBEEF5;
26 | /* 图片加载中颜色 */
27 | $image-bg-color: #eee;
28 | /* 行为相关颜色 */
29 | $uni-color-primary:#fa436a;
30 | $uni-color-success: #4cd964;
31 | $uni-color-warning: #f0ad4e;
32 | $uni-color-error: #dd524d;
33 |
34 | ```
35 |
36 | 2、字体图标
37 |
38 | 字体图标库来源于 http://iconfont.cn 需要的可自行注册该网站账号
39 |
40 | - 下载字体图标库
41 | - 拷贝至项目存放静态资源处
42 | - main.js 或者 App.vue 引入
43 |
--------------------------------------------------------------------------------
/docs/LICENSE-SUPPLEMENTAL.md:
--------------------------------------------------------------------------------
1 | RF商城 的 V1 版本遵循 Apache2 协议,在国内鱼龙混杂的互联网环境下 为了更好的保护 RF商城 的发展,进行了如下的附加协议:
2 |
3 | 1. 如果你用于自己的公司业务(自己做商城卖货),是免费授权的。
4 |
5 | 2. 如果你是建站公司,帮别人做商城,有义务告知甲方,该商城是基于 RF商城 进行二次开发的商城。
6 |
7 | 3. 如果你是建站公司,将 RF商城 进行二次开发,然后包装成新产品(注意,这里的产品指的是软件产品),然后对完宣传你的新产品 xxShop,然后说一堆混淆是非的自主研发等, 进行产品出售,这是不允许的,需要命名为 RF商城 xxShop,并在你的软件产品官网明显处写明基于 RF商城 二次开发的软件产品系统并提供跳转 RF商城 的 GitHub 链接。
8 |
--------------------------------------------------------------------------------
/docs/UPDATE.md:
--------------------------------------------------------------------------------
1 | ## 更新记录
2 |
3 | updated 2020.09.07
4 |
5 | - 优化:主页空数据一直加载问题
6 | - 升级: 添加app/小程序右上角扫码进入应用
7 |
8 | #### v1.2.2
9 |
10 | updated 2020.08.26
11 |
12 | - 升级:uniapp的vue-cli版本
13 | - 优化: 主页顶部显示
14 |
15 | #### v1.2.1
16 |
17 | updated 2020.08.06
18 |
19 | - 修复:前端更改默认主题
20 | - 新增: 主页快速导航组件
21 |
22 | #### v1.2.0
23 |
24 | updated 2020.07.08
25 |
26 | - 新增:全新ui
27 | - 新增:android/ios 微信授权登录
28 | - 新增:ios 苹果授权登录
29 | - 新增:商品列表直接下单
30 | - 重构:登录注册页面ui重构
31 | - 新增:首页分类模块
32 | - 新增:小程序直播
33 | - 新增:首页分类分页
34 | - 新增:广告点击统计
35 | - 新增:回到顶部组件
36 | - 新增:客服按钮 点击显示客服二维码
37 | - 新增:9大loading展示
38 | - 新增:消息tab
39 | - 新增:15个主题切换 主题换肤
40 | - 新增: 站点帮助
41 | - 优化:扫一扫功能
42 | - 重构:商品详情页ui重构
43 | - 新增:商品轮播图支持视频播放
44 | - 新增:商品详情页支持视频播放
45 | - 新增:H5 微信H5 小程序 APP分享功能
46 |
47 | #### v1.1.4
48 |
49 | updated 2020.06.18
50 |
51 | - 修复:普通商品显示价格区间
52 | - 修复:我的订单进入订单列表
53 | - 优化:积分抵扣0元不显示
54 | - 新增:全局保留小数点后两位方法
55 | - 新增:扫一扫开关
56 |
57 | updated 2020.06.17
58 |
59 | - 新增:开放站点开关
60 | - 新增:开启物流总开关
61 | - 优化:物流下单及运费计算
62 | - 优化:小程序订单列表
63 |
64 | updated 2020.06.15
65 |
66 | - 优化:分类页面滑动
67 | - 新增:主题功能
68 | - 新增:多loading选择
69 | - 新增:首页分类模式
70 | - 新增充值入口隐藏
71 |
72 | updated 2020.06.14
73 |
74 | - 优化:首页分享 动态数据获取
75 | - 优化:区别没有头像用户的拼团
76 | - 修复: 限时折扣商品购买没有限制
77 | - 优化:点授权登录在成功或失败之前禁用按钮
78 |
79 | updated 2020.06.05
80 |
81 | - 修复:微信h5保存海报问题
82 | - 优化:商品详情页长图显示问题
83 | - 优化:购物车数字角标显示问题
84 | - 修复:支付取消显示问题
85 | - 优化:移除微信小程序(充值页)支付宝支付
86 | - 修复:虚拟码详情显示
87 | - 优化:主页数据为空显示
88 |
89 | updated 2020.06.04
90 |
91 | - 修复:微信公众号分享标题不显示
92 | - 优化:分类模块 分类 + 商品 不显示banner
93 | - 优化:商品详情页只显示一个客服入口
94 |
95 | updated 2020.06.03
96 |
97 | - 修复:验证码发送显示null
98 | - 优化:切换sku跟着切换
99 | - 优化:普通商品显示sku价格区间
100 |
101 | updated 2020.05.31
102 |
103 | - 新增:海报功能
104 | - 优化:营销商品
105 | - 新增:小程序带货直播
106 | - 新增:我的服务-我的拼团
107 | - 新增:我的服务-我的砍价
108 | - 新增:我的服务-我的砍价
109 |
110 | #### v1.1.4
111 |
112 | updated 2020.04.24
113 |
114 | - 修复:下架商品的商品详情页显示
115 | - 优化:已过期或者已失效商品不计入购物车数字脚本
116 |
117 | #### v1.1.3
118 |
119 | updated 2020.04.23
120 |
121 | - 新增: 微信APP支付
122 | - 修复: 统一switch 组件样式
123 | - 修复: app端创建订单按钮不居中
124 | - 修复: 微信小程序协议不显示
125 | - 修复: 登录、注册、修改密码页面发送验证码倒计时 刷新或者切换页面数值重置
126 | - 提示: 自提点提货下单还是需要选择收货地址 收货地址信息包含用户姓名和用户联系方式
127 |
128 | #### v1.1.2
129 |
130 | updated 2020.04.22
131 |
132 | - 新增: 支付宝APP支付
133 | - 优化: 注册用户姓名改成昵称
134 | - 修复: 匿名评价昵称不显示问题 资料修改 填写昵称
135 | - 修复: 微信小程序商品详情大图不自适应
136 |
137 | #### v1.1.1
138 |
139 | updated 2020.04.21
140 |
141 | - 修复: 商品列表ios 刘海屏/非刘海屏 android部分机型页面正常显示
142 | - 修复: 商品列表 综合排序字体过大 内容溢出问题
143 | - [ ] 商品详细页面图片过大不能自适应
144 | - [ ] 阻止按钮在短时间内多次点击
145 |
146 | #### v1.1.0
147 |
148 | updated 2020.04.20
149 |
150 | - 新增: 会话过期返回原先登录页面(utils/helper.js)
151 | - 新增: 路由导航
152 | - 封装页面跳转方法(utils/router.js)
153 | - 新增: 封装支付方法(utils/payment)
154 | - 公众号支付(微信H5支付)
155 | - 微信小程序支付
156 | - H5支付宝支付
157 | - 新增: 抽取常量参数
158 | - 图片 (config/assets.config.js)
159 | - 常量 (config/constData.config.js)
160 | - 表单验证 (config/formRule.config.js)
161 | - 基本配置 (config/index.config.js)
162 | - websocket方法 (config/websocket.config.js)
163 | - 优化: vuex状态管理
164 | - 新增: 分包优化
165 | - 新增: 404/500 页面
166 | - 优化:request.js 优化token无痛刷新
167 | - 优化:服务协议和隐私协议窗口
168 | - 优化:订单下单-完成的流程
169 | - 新增:购物车 收藏 我的足迹失效状态的显示
170 | - 优化:购物车角标显示
171 | - 新增:订单搜索功能/搜索订单结果页面
172 | - 优化:统一所有list样式
173 | - 新增:图片懒加载(除h5)
174 |
175 | #### v1.1.0
176 |
177 | updated 2020.03.12
178 |
179 | - 初始化1.0 基础
180 |
--------------------------------------------------------------------------------
/docs/images/android-1080-1882.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/docs/images/android-1080-1882.png
--------------------------------------------------------------------------------
/docs/images/android-480-762.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/docs/images/android-480-762.png
--------------------------------------------------------------------------------
/docs/images/android-720-1242.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/docs/images/android-720-1242.png
--------------------------------------------------------------------------------
/docs/images/h5-qrcode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/docs/images/h5-qrcode.png
--------------------------------------------------------------------------------
/docs/images/ios-splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/docs/images/ios-splash.png
--------------------------------------------------------------------------------
/docs/images/ipad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/docs/images/ipad.png
--------------------------------------------------------------------------------
/docs/images/iso-full-splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/docs/images/iso-full-splash.png
--------------------------------------------------------------------------------
/docs/images/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/docs/images/logo.png
--------------------------------------------------------------------------------
/docs/images/mp-qr-code.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/docs/images/mp-qr-code.jpg
--------------------------------------------------------------------------------
/docs/images/tinyshop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/docs/images/tinyshop.png
--------------------------------------------------------------------------------
/postcss.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | parser: require('postcss-comment'),
3 | plugins: [
4 | require('postcss-import'),
5 | require('autoprefixer')({
6 | remove: process.env.UNI_PLATFORM !== 'h5'
7 | }),
8 | require('@dcloudio/vue-cli-plugin-uni/packages/postcss')
9 | ]
10 | }
11 |
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/public/favicon.ico
--------------------------------------------------------------------------------
/public/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 | <%= htmlWebpackPlugin.options.title %>
13 |
14 |
21 |
22 |
23 |
24 |
25 |
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/src/App.vue:
--------------------------------------------------------------------------------
1 |
82 |
97 |
--------------------------------------------------------------------------------
/src/Json.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/Json.js
--------------------------------------------------------------------------------
/src/api/basic.js:
--------------------------------------------------------------------------------
1 | /**
2 | *@des 公用基础
3 | *@author stav stavyan@qq.com
4 | *@blog https://stavtop.club
5 | *@date 2019/11/19 14:56:57
6 | *@param registerByPass
7 | */
8 |
9 | // 获取省市区列表
10 | const provinceList = '/tiny-shop/v1/common/provinces/index';
11 | // 收藏商品
12 | const collectCreate = '/tiny-shop/v1/common/collect/create';
13 | // 删除收藏商品
14 | const collectDel = '/tiny-shop/v1/common/collect/delete';
15 |
16 | // 分享/转发
17 | const transmitCreate = '/tiny-shop/v1/common/transmit/create';
18 |
19 | // 广告
20 | const advList = '/tiny-shop/v1/common/adv/index';
21 | const advView = '/tiny-shop/v1/common/adv/view';
22 |
23 | // 配置
24 | const configList = '/tiny-shop/v1/common/config/index';
25 |
26 | // 充值
27 | const payCreate = '/tiny-shop/v1/common/pay/create';
28 |
29 | // 充值配置
30 | const wechatConfig = '/tiny-shop/v1/third-party/wechat-js-sdk';
31 |
32 | // 公告
33 | // 公告列表
34 | const notifyAnnounceIndex = '/tiny-shop/v1/common/notify-announce/index';
35 | // 公告详情
36 | const notifyAnnounceView = '/tiny-shop/v1/common/notify-announce/view';
37 |
38 | // 版本检测
39 | const versionsIndex = '/app-versions/versions/index';
40 |
41 | // 版本检测
42 | const pickupPointIndex = '/tiny-shop/v1/common/pickup-point/index';
43 |
44 | // 站点帮助-列表
45 | const helperIndex = '/tiny-shop/v1/common/helper/index';
46 | // 站点帮助-详情
47 | const helperView = '/tiny-shop/v1/common/helper/view';
48 |
49 | // 设备绑定(app推送)
50 | const bindingEquipment = '/tiny-shop/v1/member/auth/binding-equipment';
51 | // 查询绑定状态
52 | const authIsBinding = '/tiny-shop/v1/member/auth/is-binding';
53 | // 第三方绑定
54 | const authCreate = '/tiny-shop/v1/member/auth/create';
55 |
56 | export {
57 | provinceList,
58 | collectCreate,
59 | collectDel,
60 | transmitCreate,
61 | advList,
62 | advView,
63 | payCreate,
64 | configList,
65 | wechatConfig,
66 | notifyAnnounceIndex,
67 | notifyAnnounceView,
68 | versionsIndex,
69 | pickupPointIndex,
70 | helperIndex,
71 | helperView,
72 | bindingEquipment,
73 | authIsBinding,
74 | authCreate
75 | };
76 |
--------------------------------------------------------------------------------
/src/api/login.js:
--------------------------------------------------------------------------------
1 | /**
2 | *@des 登录注册相关接口
3 | *@author stav stavyan@qq.com
4 | *@blog https://stavtop.club
5 | *@date 2019/11/15 15:14:47
6 | *@param login.js
7 | */
8 |
9 | // 密码注册
10 | const registerByPass = '/tiny-shop/v1/site/register';
11 |
12 | // 密码登录
13 | const loginByPass = '/tiny-shop/v1/site/login';
14 |
15 | // 微信授权登录
16 | const wechatH5Login = '/tiny-shop/v1/third-party/wechat';
17 |
18 | // 微信小程序授权登录
19 | const mpWechatLogin = '/tiny-shop/v1/third-party/wechat-mp';
20 |
21 | // App微信授权登录
22 | const thirdPartyWechatOpenPlatform = '/tiny-shop/v1/third-party/wechat-open-platform';
23 |
24 | // 密码重置
25 | const updatePassword = '/tiny-shop/v1/site/up-pwd';
26 |
27 | // 第三方绑定
28 | const authLogin = '/tiny-shop/v1/member/auth/create';
29 |
30 | // 查询绑定状态
31 | const isBindingCheck = '/tiny-shop/v1/member/auth/is-binding';
32 |
33 | // 手机号登录
34 | const loginBySmsCode = '/tiny-shop/v1/site/mobile-login';
35 |
36 | // 获取手机验证码
37 | const smsCode = '/tiny-shop/v1/site/sms-code';
38 |
39 | // 退出登录
40 | const logout = '/tiny-shop/v1/site/logout';
41 |
42 | // 刷新token
43 | const refreshToken = '/tiny-shop/v1/site/refresh';
44 |
45 | // 登录令牌有效性检测
46 | const verifyAccessToken = '/tiny-shop/v1/site/verify-access-token';
47 |
48 | export {
49 | registerByPass,
50 | loginByPass,
51 | isBindingCheck,
52 | wechatH5Login,
53 | mpWechatLogin,
54 | thirdPartyWechatOpenPlatform,
55 | authLogin,
56 | updatePassword,
57 | smsCode,
58 | loginBySmsCode,
59 | logout,
60 | refreshToken,
61 | verifyAccessToken
62 | };
63 |
--------------------------------------------------------------------------------
/src/api/merchant.js:
--------------------------------------------------------------------------------
1 | // 商户详情
2 | const merchantView = '/merchants/v1/merchant/view';
3 | // 商户列表
4 | const merchantIndex = '/merchants/v1/merchant/index';
5 |
6 | export { merchantView, merchantIndex };
7 |
--------------------------------------------------------------------------------
/src/api/websocket.js:
--------------------------------------------------------------------------------
1 | // 客服上传图片
2 | const tinyServiceUploadFile = '/tiny-service/v1/common/file/images';
3 | // 客服配置
4 | const questionsIndex = '/tiny-service/v1/questions/index';
5 |
6 | // 问题详情
7 | const questionsView = '/tiny-service/v1/questions/view';
8 |
9 | // 请求路由
10 | // 当前会话历史消息
11 | const memberConversation = 'member.conversation';
12 |
13 | export {
14 | tinyServiceUploadFile,
15 | questionsIndex,
16 | questionsView,
17 | memberConversation
18 | };
19 |
--------------------------------------------------------------------------------
/src/common/router.js:
--------------------------------------------------------------------------------
1 | /*
2 | * 路由对象
3 | * 中心思想:需要路由鉴权,由于uni-app没有vue中的全局钩子函数,所以封装了Router对象。
4 | * 说明:应用中的路由跳转尽量使用该Router的方法,并配合config中的路由表对象进行跳转。
5 | *
6 | * 示例:this.$mRouter.push({route:this.$mRoutesConfig.main,query:{a:1}})
7 | *
8 | */
9 | class Router {
10 | constructor(arg) {
11 | this.callBack = () => {};
12 | }
13 |
14 | beforeEach(callBack) {
15 | if (callBack instanceof Function) this.callBack = callBack;
16 | }
17 |
18 | push(to) {
19 | this.callBack('navigateTo', to);
20 | }
21 |
22 | redirectTo(to) {
23 | this.callBack('redirectTo', to);
24 | }
25 |
26 | reLaunch(to) {
27 | this.callBack('reLaunch', to);
28 | }
29 |
30 | switchTab(to) {
31 | this.callBack('switchTab', to);
32 | }
33 |
34 | back(delta) {
35 | uni.navigateBack({
36 | delta
37 | })
38 | }
39 | }
40 |
41 | export default new Router();
42 |
--------------------------------------------------------------------------------
/src/common/utils.js:
--------------------------------------------------------------------------------
1 | export default {
2 |
3 | }
4 |
--------------------------------------------------------------------------------
/src/components/cu-custom/index.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
62 |
63 |
66 |
--------------------------------------------------------------------------------
/src/components/rf-back-home/index.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
60 |
122 |
--------------------------------------------------------------------------------
/src/components/rf-back-top/index.vue:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
10 |
11 |
53 |
85 |
--------------------------------------------------------------------------------
/src/components/rf-badge/rf-badge.vue:
--------------------------------------------------------------------------------
1 |
2 | {{ text }}
10 |
11 |
12 |
74 |
75 |
102 |
--------------------------------------------------------------------------------
/src/components/rf-emoji/rf-emoji.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
13 |
14 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
91 |
92 |
126 |
--------------------------------------------------------------------------------
/src/components/rf-empty/index.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {{ info }}
6 |
7 |
8 |
9 |
10 |
11 |
47 |
48 |
78 |
--------------------------------------------------------------------------------
/src/components/rf-image/rf-image.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
12 |
20 |
21 |
22 |
23 |
67 |
68 |
74 |
--------------------------------------------------------------------------------
/src/components/rf-kefu/index.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
18 |
19 |
20 |
56 |
99 |
--------------------------------------------------------------------------------
/src/components/rf-list-cell/index.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
10 |
16 | {{ title }}
17 | {{ tips }}
18 |
19 |
20 |
21 |
22 |
23 |
76 |
77 |
118 |
--------------------------------------------------------------------------------
/src/components/rf-live/index.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 直播中
6 | 去围观
7 |
8 |
9 |
10 |
63 |
98 |
--------------------------------------------------------------------------------
/src/components/rf-load-progress/rf-load-progress.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
14 |
15 |
16 |
17 |
18 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/src/components/rf-loading/loaders/bounce.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
25 |
26 |
79 |
--------------------------------------------------------------------------------
/src/components/rf-loading/loaders/double-bounce.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
25 |
26 |
73 |
--------------------------------------------------------------------------------
/src/components/rf-loading/loaders/double-cube.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
10 |
18 |
26 |
27 |
28 |
29 |
30 |
39 |
40 |
102 |
--------------------------------------------------------------------------------
/src/components/rf-loading/loaders/double-dot.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
25 |
26 |
91 |
--------------------------------------------------------------------------------
/src/components/rf-loading/loaders/rotate-plane.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
11 |
12 |
13 |
14 |
23 |
24 |
59 |
--------------------------------------------------------------------------------
/src/components/rf-loading/loaders/scale-out.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
11 |
12 |
13 |
14 |
23 |
24 |
55 |
--------------------------------------------------------------------------------
/src/components/rf-loading/loaders/shrink-rect.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
28 |
29 |
89 |
--------------------------------------------------------------------------------
/src/components/rf-loading/rf-loading.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {{ content }}
6 |
7 |
8 |
9 |
32 |
33 |
36 |
--------------------------------------------------------------------------------
/src/components/rf-nav/index.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
11 |
12 |
13 |
14 |
15 |
37 |
62 |
--------------------------------------------------------------------------------
/src/components/rf-no-data/index.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 |
8 | {{ mainText }}
9 | {{ viceText }}
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 | 返回主页
23 |
24 |
25 |
26 |
27 |
28 |
88 |
89 |
139 |
--------------------------------------------------------------------------------
/src/components/rf-parser/libs/CssHandler.js:
--------------------------------------------------------------------------------
1 | // eslint-disable
2 | const cfg = require('./config.js'),
3 | isLetter = c => (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z');
4 |
5 | function CssHandler(tagStyle) {
6 | var styles = Object.assign(Object.create(null), cfg.userAgentStyles);
7 | for (var item in tagStyle)
8 | styles[item] = (styles[item] ? styles[item] + ';' : '') + tagStyle[item];
9 | this.styles = styles;
10 | }
11 |
12 | CssHandler.prototype.getStyle = function(data) {
13 | this.styles = new parser(data, this.styles).parse();
14 | };
15 | CssHandler.prototype.match = function(name, attrs) {
16 | var tmp, matched = (tmp = this.styles[name]) ? tmp + ';' : '';
17 | if (attrs.class) {
18 | var items = attrs.class.split(' ');
19 | for (var i = 0, item; item = items[i]; i++)
20 | if (tmp = this.styles['.' + item])
21 | matched += tmp + ';';
22 | }
23 | if (tmp = this.styles['#' + attrs.id])
24 | matched += tmp + ';';
25 | return matched;
26 | };
27 | module.exports = CssHandler;
28 |
29 | function parser(data, init) {
30 | this.data = data;
31 | this.floor = 0;
32 | this.i = 0;
33 | this.list = [];
34 | this.res = init;
35 | this.state = this.Space;
36 | }
37 |
38 | parser.prototype.parse = function() {
39 | for (var c; c = this.data[this.i]; this.i++)
40 | this.state(c);
41 | return this.res;
42 | };
43 | parser.prototype.section = function() {
44 | return this.data.substring(this.start, this.i);
45 | };
46 | // 状态机
47 | parser.prototype.Space = function(c) {
48 | if (c == '.' || c == '#' || isLetter(c)) {
49 | this.start = this.i;
50 | this.state = this.Name;
51 | } else if (c == '/' && this.data[this.i + 1] == '*')
52 | this.Comment();
53 | else if (!cfg.blankChar[c] && c != ';')
54 | this.state = this.Ignore;
55 | };
56 | parser.prototype.Comment = function() {
57 | this.i = this.data.indexOf('*/', this.i) + 1;
58 | if (!this.i) this.i = this.data.length;
59 | this.state = this.Space;
60 | };
61 | parser.prototype.Ignore = function(c) {
62 | if (c == '{') this.floor++;
63 | else if (c == '}' && !--this.floor) this.state = this.Space;
64 | };
65 | parser.prototype.Name = function(c) {
66 | if (cfg.blankChar[c]) {
67 | this.list.push(this.section());
68 | this.state = this.NameSpace;
69 | } else if (c == '{') {
70 | this.list.push(this.section());
71 | this.Content();
72 | } else if (c == ',') {
73 | this.list.push(this.section());
74 | this.Comma();
75 | } else if (!isLetter(c) && (c < '0' || c > '9') && c != '-' && c != '_')
76 | this.state = this.Ignore;
77 | };
78 | parser.prototype.NameSpace = function(c) {
79 | if (c == '{') this.Content();
80 | else if (c == ',') this.Comma();
81 | else if (!cfg.blankChar[c]) this.state = this.Ignore;
82 | };
83 | parser.prototype.Comma = function() {
84 | while (cfg.blankChar[this.data[++this.i]]) ;
85 | if (this.data[this.i] == '{') this.Content();
86 | else {
87 | this.start = this.i--;
88 | this.state = this.Name;
89 | }
90 | };
91 | parser.prototype.Content = function() {
92 | this.start = ++this.i;
93 | if ((this.i = this.data.indexOf('}', this.i)) == -1) this.i = this.data.length;
94 | var content = this.section();
95 | for (var i = 0, item; item = this.list[i++];)
96 | if (this.res[item]) this.res[item] += ';' + content;
97 | else this.res[item] = content;
98 | this.list = [];
99 | this.state = this.Space;
100 | };
101 |
--------------------------------------------------------------------------------
/src/components/rf-parser/libs/config.js:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | /* 配置文件 */
3 | // #ifdef MP-WEIXIN
4 | const canIUse = wx.canIUse('editor'); // 高基础库标识,用于兼容
5 | // #endif
6 | module.exports = {
7 | // 出错占位图
8 | errorImg: null,
9 | // 过滤器函数
10 | filter: null,
11 | // 代码高亮函数
12 | highlight: null,
13 | // 文本处理函数
14 | onText: null,
15 | // 实体编码列表
16 | entities: {
17 | quot: '"',
18 | apos: '\'',
19 | semi: ';',
20 | nbsp: '\xA0',
21 | ensp: '\u2002',
22 | emsp: '\u2003',
23 | ndash: '–',
24 | mdash: '—',
25 | middot: '·',
26 | lsquo: '‘',
27 | rsquo: '’',
28 | ldquo: '“',
29 | rdquo: '”',
30 | bull: '•',
31 | hellip: '…'
32 | },
33 | blankChar: makeMap(' ,\xA0,\t,\r,\n,\f'),
34 | boolAttrs: makeMap('allowfullscreen,autoplay,autostart,controls,ignore,loop,muted'),
35 | // 块级标签,将被转为 div
36 | blockTags: makeMap('address,article,aside,body,caption,center,cite,footer,header,html,nav,section' + (
37 | // #ifdef MP-WEIXIN
38 | canIUse ? '' :
39 | // #endif
40 | ',pre')),
41 | // 将被移除的标签
42 | ignoreTags: makeMap(
43 | 'area,base,canvas,frame,input,link,map,meta,param,script,source,style,svg,textarea,title,track,wbr'
44 | // #ifdef MP-WEIXIN
45 | + (canIUse ? ',rp' : '')
46 | // #endif
47 | // #ifndef APP-PLUS
48 | + ',iframe'
49 | // #endif
50 | ),
51 | // 只能被 rich-text 显示的标签
52 | richOnlyTags: makeMap('a,colgroup,fieldset,legend,table'
53 | // #ifdef MP-WEIXIN
54 | + (canIUse ? ',bdi,bdo,caption,rt,ruby' : '')
55 | // #endif
56 | ),
57 | // 自闭合的标签
58 | selfClosingTags: makeMap(
59 | 'area,base,br,col,circle,ellipse,embed,frame,hr,img,input,line,link,meta,param,path,polygon,rect,source,track,use,wbr'
60 | ),
61 | // 信任的标签
62 | trustTags: makeMap(
63 | 'a,abbr,ad,audio,b,blockquote,br,code,col,colgroup,dd,del,dl,dt,div,em,fieldset,h1,h2,h3,h4,h5,h6,hr,i,img,ins,label,legend,li,ol,p,q,source,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,title,ul,video'
64 | // #ifdef MP-WEIXIN
65 | + (canIUse ? ',bdi,bdo,caption,pre,rt,ruby' : '')
66 | // #endif
67 | // #ifdef APP-PLUS
68 | + ',embed,iframe'
69 | // #endif
70 | ),
71 | // 默认的标签样式
72 | userAgentStyles: {
73 | address: 'font-style:italic',
74 | big: 'display:inline;font-size:1.2em',
75 | blockquote: 'background-color:#f6f6f6;border-left:3px solid #dbdbdb;color:#6c6c6c;padding:5px 0 5px 10px',
76 | caption: 'display:table-caption;text-align:center',
77 | center: 'text-align:center',
78 | cite: 'font-style:italic',
79 | dd: 'margin-left:40px',
80 | mark: 'background-color:yellow',
81 | pre: 'font-family:monospace;white-space:pre;overflow:scroll',
82 | s: 'text-decoration:line-through',
83 | small: 'display:inline;font-size:0.8em',
84 | u: 'text-decoration:underline'
85 | }
86 | };
87 |
88 | function makeMap(str) {
89 | var map = Object.create(null),
90 | list = str.split(',');
91 | for (var i = list.length; i--;)
92 | map[list[i]] = true;
93 | return map;
94 | }
95 |
--------------------------------------------------------------------------------
/src/components/rf-parser/libs/handler.wxs:
--------------------------------------------------------------------------------
1 | var inline = {
2 | abbr: 1,
3 | b: 1,
4 | big: 1,
5 | code: 1,
6 | del: 1,
7 | em: 1,
8 | i: 1,
9 | ins: 1,
10 | label: 1,
11 | q: 1,
12 | small: 1,
13 | span: 1,
14 | strong: 1
15 | }
16 | module.exports = {
17 | use: function(item) {
18 | return !item.c && !inline[item.name] && (item.attrs.style || '').indexOf('display:inline') == -1
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/src/components/rf-protocol-popup/index.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
29 |
30 |
31 |
32 |
71 |
72 |
141 |
--------------------------------------------------------------------------------
/src/components/rf-recommend/rf-recommend.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
10 |
11 |
73 |
102 |
--------------------------------------------------------------------------------
/src/components/rf-swipe-action-item/mpwxs.js:
--------------------------------------------------------------------------------
1 | export default {
2 | data() {
3 | return {
4 | position: [],
5 | button: []
6 | }
7 | },
8 | computed: {
9 | pos() {
10 | return JSON.stringify(this.position)
11 | },
12 | btn() {
13 | return JSON.stringify(this.button)
14 | }
15 | },
16 | watch: {
17 | show(newVal) {
18 | if (this.autoClose) return
19 | let valueObj = this.position[0]
20 | if (!valueObj) {
21 | this.init()
22 | return
23 | }
24 | valueObj.show = newVal
25 | this.$set(this.position, 0, valueObj)
26 | }
27 | },
28 | created() {
29 | if (this.swipeaction.children !== undefined) {
30 | this.swipeaction.children.push(this)
31 | }
32 | },
33 | mounted() {
34 | this.init()
35 |
36 | },
37 | beforeDestroy() {
38 | this.swipeaction.children.forEach((item, index) => {
39 | if (item === this) {
40 | this.swipeaction.children.splice(index, 1)
41 | }
42 | })
43 | },
44 | methods: {
45 | init() {
46 |
47 | setTimeout(() => {
48 | this.getSize()
49 | this.getButtonSize()
50 | }, 50)
51 | },
52 | closeSwipe(e) {
53 | if (!this.autoClose) return
54 | this.swipeaction.closeOther(this)
55 | },
56 |
57 | change(e) {
58 | this.$emit('change', e.open)
59 | let valueObj = this.position[0]
60 | if (valueObj.show !== e.open) {
61 | valueObj.show = e.open
62 | this.$set(this.position, 0, valueObj)
63 | }
64 | },
65 | onClick(index, item, data) {
66 | this.$emit('action', {
67 | content: item,
68 | index,
69 | data
70 | })
71 | },
72 | getSize() {
73 | const views = uni.createSelectorQuery().in(this)
74 | views
75 | .selectAll('.selector-query-hock')
76 | .boundingClientRect(data => {
77 | if (this.autoClose) {
78 | data[0].show = false
79 | } else {
80 | data[0].show = this.show
81 | }
82 | this.position = data
83 | })
84 | .exec()
85 | },
86 | getButtonSize() {
87 | const views = uni.createSelectorQuery().in(this)
88 | views
89 | .selectAll('.button-hock')
90 | .boundingClientRect(data => {
91 | this.button = data
92 | })
93 | .exec()
94 | }
95 | }
96 | }
97 |
--------------------------------------------------------------------------------
/src/components/rf-swipe-action/rf-swipe-action.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
52 |
53 |
56 |
--------------------------------------------------------------------------------
/src/components/rf-swiper-slide/index.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
12 |
18 |
19 | {{
20 | item.title || `${item.member_nickname} 拼团成功`
21 | }}
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
55 |
56 |
83 |
--------------------------------------------------------------------------------
/src/components/rf-top-drawer/index.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 |
16 |
21 |
22 |
23 |
24 |
72 |
73 |
107 |
--------------------------------------------------------------------------------
/src/components/rf-top-dropdown/index.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 |
16 |
21 |
22 |
23 |
24 |
72 |
73 |
110 |
--------------------------------------------------------------------------------
/src/components/uni-collapse/uni-collapse.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
40 |
54 |
--------------------------------------------------------------------------------
/src/components/uni-drawer/drawer.vue:
--------------------------------------------------------------------------------
1 |
2 |
6 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
49 |
50 |
116 |
--------------------------------------------------------------------------------
/src/components/uni-drawer/uni-drawer.vue:
--------------------------------------------------------------------------------
1 |
2 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
90 |
91 |
150 |
--------------------------------------------------------------------------------
/src/components/uni-tag/uni-tag.vue:
--------------------------------------------------------------------------------
1 |
2 |
14 |
15 | {{ text }}
16 |
17 |
18 |
19 |
69 |
70 |
159 |
--------------------------------------------------------------------------------
/src/config/assets.config.js:
--------------------------------------------------------------------------------
1 | import indexConfig from './index.config.js';
2 | const PATH = indexConfig.assetsPath;
3 | /*
4 | * 图片静态资源表,所有图片资源路径在这统一管理,不应该写死在页面中,该数据挂载到Vue原型中。
5 | * 页面使用:this.$mAssetsPath.grid_1
6 | * CSS背景:应尽量使用:style="" 行内样式设置背景图
7 | * PATH说明:本地路径或者服务器路径
8 | *
9 | * 举例: 需要在data中映射 grid_1: this.$mAssetsPath.grid_1
10 | *
11 | * 特别注意:经测试小程序中不支持 该用法
12 | */
13 |
14 | export default {
15 | // 默认头像
16 | headImg: PATH + '/missing-face.png',
17 |
18 | // 出错填充图片
19 | errorImage: PATH + '/errorImage.jpg',
20 |
21 | // 品牌logo
22 | logo: PATH + '/logo.png',
23 |
24 | // 商城新闻
25 | newsBg: PATH + '/news.png',
26 |
27 | // 商城新闻
28 | userBg: PATH + '/user-bg.png',
29 |
30 | // vip背景
31 | vipCardBg: PATH + '/vip-card.png',
32 |
33 | // vip价格
34 | vipPrice: PATH + '/vip-price.png',
35 |
36 | // 弧形背景
37 | arc: PATH + '/arc.png',
38 |
39 | // 500
40 | noNetWorkImg: PATH + '/noNetWork.png',
41 |
42 | // 404
43 | notFoundImg: PATH + '/notFound.png',
44 |
45 | // 升级图标
46 | upgradeTop: PATH + '/upgrade-top.png',
47 |
48 | // 返回顶部
49 | backTop: PATH + '/top.png',
50 |
51 | // 分享引导背景
52 | shareBg: PATH + '/share-bg.png',
53 |
54 | // 分销tag
55 | distribution: PATH + '/distribution.png',
56 |
57 | // 包邮tag
58 | pinkage: PATH + '/pinkage.png',
59 |
60 | // 预售tag
61 | presale: PATH + '/presale.png',
62 |
63 | // 开放站点
64 | openSiteBg: PATH + '/open-site-bg.png',
65 |
66 | // 虚拟tag
67 | virtual: PATH + '/virtual.png',
68 |
69 | // 登录背景
70 | loginBg: PATH + '/login-bg.png',
71 |
72 | // 登录插画
73 | loginPic: PATH + '/login-pic.png',
74 |
75 | // 砍价标签
76 | wholesaleTag: PATH + '/wholesale-tag.png',
77 |
78 | // 拼团标签
79 | groupTag: PATH + '/group-tag.png',
80 |
81 | // 砍价标签
82 | bargainTag: PATH + '/bargain-tag.png',
83 |
84 | // 砍价标签
85 | discountTag: PATH + '/discount-tag.png',
86 |
87 | // 微信授权登录
88 | wechat: PATH + '/wechat.png',
89 |
90 | // 微信授权登录
91 | apple: PATH + '/apple.png',
92 |
93 | // 微信授权登录
94 | money: PATH + '/money.png',
95 |
96 | // 微信授权登录
97 | moneyBg: PATH + '/money-bg.png'
98 | };
99 |
--------------------------------------------------------------------------------
/src/config/formRule.config.js:
--------------------------------------------------------------------------------
1 | /*
2 | * 应用表单校验相关配置
3 | * 依赖:graceChecker.js 进行校验
4 | *
5 | * 使用:引入该js到页面,let res = graceChecker.check({phoneNo:"",code:""},formRule.loginRule)
6 | */
7 |
8 | export default {
9 | /* 用户密码登录 */
10 | loginByPassRule: [{
11 | name: 'mobile',
12 | checkType: 'notnull',
13 | checkRule: '',
14 | errorMsg: '手机号不能为空'
15 | }, {
16 | name: 'mobile',
17 | checkType: 'phoneno',
18 | checkRule: '',
19 | errorMsg: '手机号格式不正确'
20 | }, {
21 | name: 'password',
22 | checkType: 'string',
23 | checkRule: '6,18',
24 | errorMsg: '请输入6-18位密码'
25 | }],
26 |
27 | /* 用户验证码登录 */
28 | loginByCodeRule: [{
29 | name: 'mobile',
30 | checkType: 'notnull',
31 | checkRule: '',
32 | errorMsg: '手机号不能为空'
33 | }, {
34 | name: 'mobile',
35 | checkType: 'phoneno',
36 | checkRule: '',
37 | errorMsg: '手机号格式不正确'
38 | }, {
39 | name: 'code',
40 | checkType: 'string',
41 | checkRule: '4',
42 | errorMsg: '请输入4位验证码'
43 | }],
44 |
45 | /* 发送验证码验证手机号 */
46 | sendCodeRule: [{
47 | name: 'mobile',
48 | checkType: 'notnull',
49 | checkRule: '',
50 | errorMsg: '手机号不能为空'
51 | }, {
52 | name: 'mobile',
53 | checkType: 'phoneno',
54 | checkRule: '',
55 | errorMsg: '手机号格式不正确'
56 | }],
57 |
58 | /* 编辑新增个人发票 */
59 | pInvoiceRule: [{
60 | name: 'title',
61 | checkType: 'notnull',
62 | checkRule: '',
63 | errorMsg: '发票抬头不能为空'
64 | }],
65 |
66 | /* 编辑新增公司发票 */
67 | cInvoiceRule: [{
68 | name: 'title',
69 | checkType: 'notnull',
70 | checkRule: '',
71 | errorMsg: '发票抬头不能为空'
72 | }, {
73 | name: 'duty_paragraph',
74 | checkType: 'notnull',
75 | checkRule: '',
76 | errorMsg: '发票税号不能为空'
77 | }],
78 |
79 | /* 用户注册 */
80 | registerRule: [{
81 | name: 'mobile',
82 | checkType: 'notnull',
83 | checkRule: '',
84 | errorMsg: '手机号不能为空'
85 | }, {
86 | name: 'mobile',
87 | checkType: 'phoneno',
88 | checkRule: '',
89 | errorMsg: '手机号格式不正确'
90 | }, {
91 | name: 'code',
92 | checkType: 'string',
93 | checkRule: '4',
94 | errorMsg: '请输入4位验证码'
95 | }, {
96 | name: 'password',
97 | checkType: 'string',
98 | checkRule: '6,18',
99 | errorMsg: '请输入6-18位密码'
100 | }
101 | ],
102 |
103 | /* 密码重置 */
104 | resetPasswordRule: [{
105 | name: 'mobile',
106 | checkType: 'notnull',
107 | checkRule: '',
108 | errorMsg: '手机号不能为空'
109 | }, {
110 | name: 'mobile',
111 | checkType: 'phoneno',
112 | checkRule: '',
113 | errorMsg: '手机号格式不正确'
114 | }, {
115 | name: 'code',
116 | checkType: 'string',
117 | checkRule: '4',
118 | errorMsg: '请输入4位验证码'
119 | }, {
120 | name: 'password',
121 | checkType: 'string',
122 | checkRule: '6,18',
123 | errorMsg: '请输入6-18位密码'
124 | }
125 | ]
126 | };
127 |
--------------------------------------------------------------------------------
/src/config/index.config.js:
--------------------------------------------------------------------------------
1 | const CONFIG = {
2 | // 开发环境配置
3 | development: {
4 | assetsPath: '/static', // 静态资源路径
5 | baseUrl: 'http://demo.rageframe.com/api', // 后台接口请求地址
6 | hostUrl: 'http://h5.tinyshop.rageframe.com', // H5地址(前端运行地址)
7 | websocketUrl: '', // websocket服务端地址
8 | weixinAppId: '' // 微信公众号appid
9 | },
10 | // 生产环境配置
11 | production: {
12 | assetsPath: '/static', // 静态资源路径
13 | baseUrl: 'http://demo.rageframe.com/api', // 后台接口请求地址
14 | hostUrl: 'http://h5.tinyshop.rageframe.com', // H5地址(前端运行地址)
15 | websocketUrl: '', // websocket服务端地址
16 | weixinAppId: '' // 微信公众号appid
17 | }
18 |
19 | };
20 | export default CONFIG[process.env.NODE_ENV];
21 |
--------------------------------------------------------------------------------
/src/config/routes.config.js:
--------------------------------------------------------------------------------
1 | /*
2 | * 路由表对象:
3 | * 该文件挂载在Vue原型中 $mRoutesConfig
4 | * 作用:调用$mRouter对象的方法 传入以下对应的路由对象,详细见common目录下的router.js
5 | * 示例:this.$mRouter.push({route:this.$mRoutesConfig.main,query:{a:1}})
6 | * 注意:所有在pages目录下新建的页面都必须在"路由表"中进行声明,并且在框架的pages.json注册。
7 | *
8 | * 配置参数项说明:
9 | * name:可选配置 (路由名称)
10 | * path:必填配置 (路由地址)
11 | * requiresAuth:可选配置 (是否权限路由)
12 | */
13 |
14 | export default {
15 | // 权限路由 在main.js可实现路由拦截 所以路由都需要注册 待完善
16 | promoCode: {
17 | name: '创建订单',
18 | path: '/pages/order/create/order',
19 | requiresAuth: true
20 | },
21 |
22 | // 非权限路由
23 | main: {
24 | name: '首页',
25 | path: '/pages/index/index'
26 | },
27 | category: {
28 | name: '分类',
29 | path: '/pages/category/category'
30 | },
31 | cart: {
32 | name: '购物车',
33 | path: '/pages/cart/cart'
34 | },
35 | login: {
36 | name: '登录',
37 | path: '/pages/public/login'
38 | },
39 | index: {
40 | name: '注册',
41 | path: '/pages/public/register'
42 | },
43 | loginType: {
44 | name: '登录类型',
45 | path: '/pages/public/logintype'
46 | }
47 | };
48 |
--------------------------------------------------------------------------------
/src/pages/index/notice/detail.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {{ announceDetail.title }}
6 |
7 | {{
8 | announceDetail.title
9 | }}
10 |
11 | {{ announceDetail.author_name }}
12 | 发布于
13 | {{ announceDetail.created_at | time }}
14 |
15 |
16 |
17 |
18 |
22 |
23 |
24 |
25 |
26 |
27 |
74 |
75 |
131 |
--------------------------------------------------------------------------------
/src/pages/product/product.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | {{ errorInfo || '暂无数据' }}
11 |
12 | 重新加载
18 |
19 |
20 |
21 |
25 |
26 |
27 |
28 |
29 |
110 |
115 |
--------------------------------------------------------------------------------
/src/pages/set/helper/detail.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {{ helperDetail.title }}
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
46 |
47 |
63 |
--------------------------------------------------------------------------------
/src/pages/set/helper/index.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | {{ sItem.title }}
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
56 |
57 |
70 |
--------------------------------------------------------------------------------
/src/static/alipay.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/alipay.png
--------------------------------------------------------------------------------
/src/static/apple.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/apple.png
--------------------------------------------------------------------------------
/src/static/arc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/arc.png
--------------------------------------------------------------------------------
/src/static/bargain-tag.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/bargain-tag.png
--------------------------------------------------------------------------------
/src/static/css/colorui/animation.css:
--------------------------------------------------------------------------------
1 | /*
2 | Animation 微动画
3 | 基于ColorUI组建库的动画模块 by 文晓港 2019年3月26日19:52:28
4 | */
5 |
6 | /* css 滤镜 控制黑白底色gif的 */
7 | .gif-black{
8 | mix-blend-mode: screen;
9 | }
10 | .gif-white{
11 | mix-blend-mode: multiply;
12 | }
13 |
14 |
15 | /* Animation css */
16 | [class*=animation-] {
17 | animation-duration: .5s;
18 | animation-timing-function: ease-out;
19 | animation-fill-mode: both
20 | }
21 |
22 | .animation-fade {
23 | animation-name: fade;
24 | animation-duration: .8s;
25 | animation-timing-function: linear
26 | }
27 |
28 | .animation-scale-up {
29 | animation-name: scale-up
30 | }
31 |
32 | .animation-scale-down {
33 | animation-name: scale-down
34 | }
35 |
36 | .animation-slide-top {
37 | animation-name: slide-top
38 | }
39 |
40 | .animation-slide-bottom {
41 | animation-name: slide-bottom
42 | }
43 |
44 | .animation-slide-left {
45 | animation-name: slide-left
46 | }
47 |
48 | .animation-slide-right {
49 | animation-name: slide-right
50 | }
51 |
52 | .animation-shake {
53 | animation-name: shake
54 | }
55 |
56 | .animation-reverse {
57 | animation-direction: reverse
58 | }
59 |
60 | @keyframes fade {
61 | 0% {
62 | opacity: 0
63 | }
64 |
65 | 100% {
66 | opacity: 1
67 | }
68 | }
69 |
70 | @keyframes scale-up {
71 | 0% {
72 | opacity: 0;
73 | transform: scale(.2)
74 | }
75 |
76 | 100% {
77 | opacity: 1;
78 | transform: scale(1)
79 | }
80 | }
81 |
82 | @keyframes scale-down {
83 | 0% {
84 | opacity: 0;
85 | transform: scale(1.8)
86 | }
87 |
88 | 100% {
89 | opacity: 1;
90 | transform: scale(1)
91 | }
92 | }
93 |
94 | @keyframes slide-top {
95 | 0% {
96 | opacity: 0;
97 | transform: translateY(-100%)
98 | }
99 |
100 | 100% {
101 | opacity: 1;
102 | transform: translateY(0)
103 | }
104 | }
105 |
106 | @keyframes slide-bottom {
107 | 0% {
108 | opacity: 0;
109 | transform: translateY(100%)
110 | }
111 |
112 | 100% {
113 | opacity: 1;
114 | transform: translateY(0)
115 | }
116 | }
117 |
118 | @keyframes shake {
119 |
120 | 0%,
121 | 100% {
122 | transform: translateX(0)
123 | }
124 |
125 | 10% {
126 | transform: translateX(-9px)
127 | }
128 |
129 | 20% {
130 | transform: translateX(8px)
131 | }
132 |
133 | 30% {
134 | transform: translateX(-7px)
135 | }
136 |
137 | 40% {
138 | transform: translateX(6px)
139 | }
140 |
141 | 50% {
142 | transform: translateX(-5px)
143 | }
144 |
145 | 60% {
146 | transform: translateX(4px)
147 | }
148 |
149 | 70% {
150 | transform: translateX(-3px)
151 | }
152 |
153 | 80% {
154 | transform: translateX(2px)
155 | }
156 |
157 | 90% {
158 | transform: translateX(-1px)
159 | }
160 | }
161 |
162 | @keyframes slide-left {
163 | 0% {
164 | opacity: 0;
165 | transform: translateX(-100%)
166 | }
167 |
168 | 100% {
169 | opacity: 1;
170 | transform: translateX(0)
171 | }
172 | }
173 |
174 | @keyframes slide-right {
175 | 0% {
176 | opacity: 0;
177 | transform: translateX(100%)
178 | }
179 |
180 | 100% {
181 | opacity: 1;
182 | transform: translateX(0)
183 | }
184 | }
--------------------------------------------------------------------------------
/src/static/css/iconfont/iconfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/css/iconfont/iconfont.ttf
--------------------------------------------------------------------------------
/src/static/css/reset.scss:
--------------------------------------------------------------------------------
1 | view,
2 | scroll-view,
3 | swiper,
4 | swiper-item,
5 | cover-view,
6 | cover-image,
7 | icon,
8 | text,
9 | rich-text,
10 | progress,
11 | button,
12 | checkbox,
13 | form,
14 | input,
15 | label,
16 | radio,
17 | slider,
18 | switch,
19 | textarea,
20 | navigator,
21 | audio,
22 | camera,
23 | image,
24 | video {
25 | box-sizing: border-box;
26 | }
27 |
28 | /* 骨架屏替代方案 */
29 | .rf-skeleton {
30 | background: $color-white;
31 | padding: 20upx 0;
32 | border-radius: 8upx;
33 | box-shadow: 0upx 5upx 25upx rgba(0, 0, 0, 0.05);
34 | }
35 |
36 | /* 图片载入替代方案 */
37 | .image-wrapper {
38 | font-size: 0;
39 | background: #f3f3f3;
40 | border-radius: 4px;
41 |
42 | image {
43 | width: 100%;
44 | height: 100%;
45 | transition: .6s;
46 | opacity: 0;
47 |
48 | &.loaded {
49 | opacity: 1;
50 | }
51 | }
52 | }
53 |
54 | .common-hover {
55 | background: #f5f5f5;
56 | }
57 |
58 | /*边框*/
59 | .b-b:after,
60 | .b-t:after {
61 | position: absolute;
62 | z-index: 3;
63 | left: 0;
64 | right: 0;
65 | height: 0;
66 | content: '';
67 | transform: scaleY(.5);
68 | border-bottom: 1px solid $border-color-base;
69 | }
70 |
71 | .b-b:after {
72 | bottom: 0;
73 | }
74 |
75 | .b-t:after {
76 | top: 0;
77 | }
78 |
79 | /* button样式改写 */
80 | uni-button,
81 | button {
82 | height: 80upx;
83 | line-height: 80upx;
84 | font-size: $font-lg + 2upx;
85 | font-weight: normal;
86 |
87 | &.no-border:before,
88 | &.no-border:after {
89 | border: 0;
90 | }
91 | }
92 |
93 | uni-button[type=default],
94 | button[type=default] {
95 | color: $font-color-dark;
96 | }
97 |
98 | /* input 样式 */
99 | .input-placeholder {
100 | color: #999999;
101 | }
102 |
103 | .placeholder {
104 | color: #999999;
105 | }
106 |
107 | /*通用 */
108 | view{
109 | font-size: $font-base;
110 | line-height:1.5;
111 | }
112 | progress, checkbox-group{
113 | width: 100%;
114 | }
115 | form {
116 | width: 100%;
117 | }
118 |
119 | .rf-button {
120 | color: #fff;
121 | border-radius: 30upx;
122 | font-size: $font-lg;
123 | }
124 |
125 | uni-button {
126 | background: none;
127 | }
128 |
--------------------------------------------------------------------------------
/src/static/css/theme.scss:
--------------------------------------------------------------------------------
1 | /* 页面左右间距 */
2 | $spacing-lg: 30upx;
3 | $spacing-base: 20upx;
4 | $spacing-sm: 10upx;
5 |
6 | $color-white: #fff;
7 | $color-black: #000;
8 |
9 | $page-row-spacing: 30upx;
10 | $page-color-base: #f8f8f8;
11 | $page-color-light: #f8f6fc;
12 | $base-color: #f60;
13 |
14 | /* 文字尺寸 */
15 | $font-sm: 24upx;
16 | $font-base: 28upx;
17 | $font-lg: 32upx;
18 |
19 | /*文字颜色*/
20 | $font-color-dark: #303133;
21 | $font-color-base: #606266;
22 | $font-color-light: #909399;
23 | $font-color-disabled: #C0C4CC;
24 | $font-color-spec: #4399fc;
25 |
26 | /* 边框颜色 */
27 | $border-color-dark: #DCDFE6;
28 | $border-color-base: #E4E7ED;
29 | $border-color-light: #EBEEF5;
30 |
31 | /* 图片加载中颜色 */
32 | $image-bg-color: #eee;
33 |
34 | /* 行为相关颜色 */
35 | $uni-color-primary:#fa436a;
36 | $uni-color-success: #4cd964;
37 | $uni-color-warning: #f0ad4e;
38 | $uni-color-error: #dd524d;
39 |
40 | :export {
41 | baseColor: $base-color;
42 | }
43 |
--------------------------------------------------------------------------------
/src/static/discount-tag.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/discount-tag.png
--------------------------------------------------------------------------------
/src/static/distribution.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/distribution.png
--------------------------------------------------------------------------------
/src/static/errorImage.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/errorImage.jpg
--------------------------------------------------------------------------------
/src/static/group-tag.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/group-tag.png
--------------------------------------------------------------------------------
/src/static/iconfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/iconfont.ttf
--------------------------------------------------------------------------------
/src/static/kj.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/kj.png
--------------------------------------------------------------------------------
/src/static/login-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/login-bg.png
--------------------------------------------------------------------------------
/src/static/login-pic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/login-pic.png
--------------------------------------------------------------------------------
/src/static/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/logo.png
--------------------------------------------------------------------------------
/src/static/missing-face.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/missing-face.png
--------------------------------------------------------------------------------
/src/static/money-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/money-bg.png
--------------------------------------------------------------------------------
/src/static/money.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/money.png
--------------------------------------------------------------------------------
/src/static/news.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/news.png
--------------------------------------------------------------------------------
/src/static/noNetWork.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/noNetWork.png
--------------------------------------------------------------------------------
/src/static/notFound.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/notFound.png
--------------------------------------------------------------------------------
/src/static/open-site-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/open-site-bg.png
--------------------------------------------------------------------------------
/src/static/pinkage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/pinkage.png
--------------------------------------------------------------------------------
/src/static/presale.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/presale.png
--------------------------------------------------------------------------------
/src/static/qq.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/qq.png
--------------------------------------------------------------------------------
/src/static/share-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/share-bg.png
--------------------------------------------------------------------------------
/src/static/share/ic_xiaochengxu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/share/ic_xiaochengxu.png
--------------------------------------------------------------------------------
/src/static/share/icon_QQkongjian.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/share/icon_QQkongjian.png
--------------------------------------------------------------------------------
/src/static/share/icon_copy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/share/icon_copy.png
--------------------------------------------------------------------------------
/src/static/share/icon_more.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/share/icon_more.png
--------------------------------------------------------------------------------
/src/static/share/icon_pengyouquan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/share/icon_pengyouquan.png
--------------------------------------------------------------------------------
/src/static/share/icon_qq.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/share/icon_qq.png
--------------------------------------------------------------------------------
/src/static/share/icon_weibo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/share/icon_weibo.png
--------------------------------------------------------------------------------
/src/static/share/icon_weixin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/share/icon_weixin.png
--------------------------------------------------------------------------------
/src/static/tab-cart-black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cart-black.png
--------------------------------------------------------------------------------
/src/static/tab-cart-blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cart-blue.png
--------------------------------------------------------------------------------
/src/static/tab-cart-brown.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cart-brown.png
--------------------------------------------------------------------------------
/src/static/tab-cart-current.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cart-current.png
--------------------------------------------------------------------------------
/src/static/tab-cart-cyan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cart-cyan.png
--------------------------------------------------------------------------------
/src/static/tab-cart-gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cart-gray.png
--------------------------------------------------------------------------------
/src/static/tab-cart-green.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cart-green.png
--------------------------------------------------------------------------------
/src/static/tab-cart-grey.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cart-grey.png
--------------------------------------------------------------------------------
/src/static/tab-cart-mauve.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cart-mauve.png
--------------------------------------------------------------------------------
/src/static/tab-cart-olive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cart-olive.png
--------------------------------------------------------------------------------
/src/static/tab-cart-orange.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cart-orange.png
--------------------------------------------------------------------------------
/src/static/tab-cart-pink.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cart-pink.png
--------------------------------------------------------------------------------
/src/static/tab-cart-purple.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cart-purple.png
--------------------------------------------------------------------------------
/src/static/tab-cart-red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cart-red.png
--------------------------------------------------------------------------------
/src/static/tab-cart-rf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cart-rf.png
--------------------------------------------------------------------------------
/src/static/tab-cart-yellow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cart-yellow.png
--------------------------------------------------------------------------------
/src/static/tab-cart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cart.png
--------------------------------------------------------------------------------
/src/static/tab-cate-black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cate-black.png
--------------------------------------------------------------------------------
/src/static/tab-cate-blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cate-blue.png
--------------------------------------------------------------------------------
/src/static/tab-cate-brown.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cate-brown.png
--------------------------------------------------------------------------------
/src/static/tab-cate-current.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cate-current.png
--------------------------------------------------------------------------------
/src/static/tab-cate-cyan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cate-cyan.png
--------------------------------------------------------------------------------
/src/static/tab-cate-gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cate-gray.png
--------------------------------------------------------------------------------
/src/static/tab-cate-green.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cate-green.png
--------------------------------------------------------------------------------
/src/static/tab-cate-grey.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cate-grey.png
--------------------------------------------------------------------------------
/src/static/tab-cate-mauve.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cate-mauve.png
--------------------------------------------------------------------------------
/src/static/tab-cate-olive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cate-olive.png
--------------------------------------------------------------------------------
/src/static/tab-cate-orange.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cate-orange.png
--------------------------------------------------------------------------------
/src/static/tab-cate-pink.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cate-pink.png
--------------------------------------------------------------------------------
/src/static/tab-cate-purple.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cate-purple.png
--------------------------------------------------------------------------------
/src/static/tab-cate-red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cate-red.png
--------------------------------------------------------------------------------
/src/static/tab-cate-rf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cate-rf.png
--------------------------------------------------------------------------------
/src/static/tab-cate-yellow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cate-yellow.png
--------------------------------------------------------------------------------
/src/static/tab-cate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-cate.png
--------------------------------------------------------------------------------
/src/static/tab-home-black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-home-black.png
--------------------------------------------------------------------------------
/src/static/tab-home-blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-home-blue.png
--------------------------------------------------------------------------------
/src/static/tab-home-brown.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-home-brown.png
--------------------------------------------------------------------------------
/src/static/tab-home-current.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-home-current.png
--------------------------------------------------------------------------------
/src/static/tab-home-cyan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-home-cyan.png
--------------------------------------------------------------------------------
/src/static/tab-home-gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-home-gray.png
--------------------------------------------------------------------------------
/src/static/tab-home-green.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-home-green.png
--------------------------------------------------------------------------------
/src/static/tab-home-grey.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-home-grey.png
--------------------------------------------------------------------------------
/src/static/tab-home-mauve.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-home-mauve.png
--------------------------------------------------------------------------------
/src/static/tab-home-olive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-home-olive.png
--------------------------------------------------------------------------------
/src/static/tab-home-orange.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-home-orange.png
--------------------------------------------------------------------------------
/src/static/tab-home-pink.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-home-pink.png
--------------------------------------------------------------------------------
/src/static/tab-home-purple.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-home-purple.png
--------------------------------------------------------------------------------
/src/static/tab-home-red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-home-red.png
--------------------------------------------------------------------------------
/src/static/tab-home-rf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-home-rf.png
--------------------------------------------------------------------------------
/src/static/tab-home-yellow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-home-yellow.png
--------------------------------------------------------------------------------
/src/static/tab-home.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-home.png
--------------------------------------------------------------------------------
/src/static/tab-my-black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-my-black.png
--------------------------------------------------------------------------------
/src/static/tab-my-blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-my-blue.png
--------------------------------------------------------------------------------
/src/static/tab-my-brown.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-my-brown.png
--------------------------------------------------------------------------------
/src/static/tab-my-current.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-my-current.png
--------------------------------------------------------------------------------
/src/static/tab-my-cyan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-my-cyan.png
--------------------------------------------------------------------------------
/src/static/tab-my-gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-my-gray.png
--------------------------------------------------------------------------------
/src/static/tab-my-green.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-my-green.png
--------------------------------------------------------------------------------
/src/static/tab-my-grey.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-my-grey.png
--------------------------------------------------------------------------------
/src/static/tab-my-mauve.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-my-mauve.png
--------------------------------------------------------------------------------
/src/static/tab-my-olive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-my-olive.png
--------------------------------------------------------------------------------
/src/static/tab-my-orange.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-my-orange.png
--------------------------------------------------------------------------------
/src/static/tab-my-pink.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-my-pink.png
--------------------------------------------------------------------------------
/src/static/tab-my-purple.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-my-purple.png
--------------------------------------------------------------------------------
/src/static/tab-my-red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-my-red.png
--------------------------------------------------------------------------------
/src/static/tab-my-rf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-my-rf.png
--------------------------------------------------------------------------------
/src/static/tab-my-yellow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-my-yellow.png
--------------------------------------------------------------------------------
/src/static/tab-my.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-my.png
--------------------------------------------------------------------------------
/src/static/tab-notify-black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-notify-black.png
--------------------------------------------------------------------------------
/src/static/tab-notify-blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-notify-blue.png
--------------------------------------------------------------------------------
/src/static/tab-notify-brown.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-notify-brown.png
--------------------------------------------------------------------------------
/src/static/tab-notify-current.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-notify-current.png
--------------------------------------------------------------------------------
/src/static/tab-notify-cyan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-notify-cyan.png
--------------------------------------------------------------------------------
/src/static/tab-notify-gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-notify-gray.png
--------------------------------------------------------------------------------
/src/static/tab-notify-green.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-notify-green.png
--------------------------------------------------------------------------------
/src/static/tab-notify-grey.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-notify-grey.png
--------------------------------------------------------------------------------
/src/static/tab-notify-mauve.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-notify-mauve.png
--------------------------------------------------------------------------------
/src/static/tab-notify-olive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-notify-olive.png
--------------------------------------------------------------------------------
/src/static/tab-notify-orange.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-notify-orange.png
--------------------------------------------------------------------------------
/src/static/tab-notify-pink.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-notify-pink.png
--------------------------------------------------------------------------------
/src/static/tab-notify-purple.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-notify-purple.png
--------------------------------------------------------------------------------
/src/static/tab-notify-red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-notify-red.png
--------------------------------------------------------------------------------
/src/static/tab-notify-rf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-notify-rf.png
--------------------------------------------------------------------------------
/src/static/tab-notify-yellow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-notify-yellow.png
--------------------------------------------------------------------------------
/src/static/tab-notify.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tab-notify.png
--------------------------------------------------------------------------------
/src/static/taobao.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/taobao.png
--------------------------------------------------------------------------------
/src/static/tg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/tg.png
--------------------------------------------------------------------------------
/src/static/top.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/top.png
--------------------------------------------------------------------------------
/src/static/upgrade-top.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/upgrade-top.png
--------------------------------------------------------------------------------
/src/static/user-bg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/user-bg.jpg
--------------------------------------------------------------------------------
/src/static/user-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/user-bg.png
--------------------------------------------------------------------------------
/src/static/user_bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/user_bg.png
--------------------------------------------------------------------------------
/src/static/vip-card-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/vip-card-bg.png
--------------------------------------------------------------------------------
/src/static/vip-card.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/vip-card.png
--------------------------------------------------------------------------------
/src/static/vip-price.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/vip-price.png
--------------------------------------------------------------------------------
/src/static/virtual.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/virtual.png
--------------------------------------------------------------------------------
/src/static/wechat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/wechat.png
--------------------------------------------------------------------------------
/src/static/weibo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/weibo.png
--------------------------------------------------------------------------------
/src/static/wholesale-tag.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/wholesale-tag.png
--------------------------------------------------------------------------------
/src/static/yticon.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/yticon.ttf
--------------------------------------------------------------------------------
/src/static/zk.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stavyan/TinyShop-UniApp/29b3288a1ba3d5e14d2a75d6b3f5d62f7e200653/src/static/zk.png
--------------------------------------------------------------------------------
/src/uni.scss:
--------------------------------------------------------------------------------
1 | /* 页面左右间距 */
2 | $spacing-lg: 30upx;
3 | $spacing-base: 20upx;
4 | $spacing-sm: 10upx;
5 |
6 | $color-white: #fff;
7 | $color-black: #000;
8 |
9 | $page-row-spacing: 30upx;
10 | $page-color-base: #f8f8f8;
11 | $page-color-light: #f8f6fc;
12 | $base-color: #fa436a;
13 |
14 | /* 文字尺寸 */
15 | $font-sm: 24upx;
16 | $font-base: 28upx;
17 | $font-lg: 32upx;
18 |
19 | /*文字颜色*/
20 | $font-color-dark: #303133;
21 | $font-color-base: #606266;
22 | $font-color-light: #909399;
23 | $font-color-disabled: #C0C4CC;
24 | $font-color-spec: #4399fc;
25 |
26 | /* 边框颜色 */
27 | $border-color-dark: #DCDFE6;
28 | $border-color-base: #E4E7ED;
29 | $border-color-light: #EBEEF5;
30 |
31 | /* 图片加载中颜色 */
32 | $image-bg-color: #eee;
33 |
34 | /* 行为相关颜色 */
35 | $uni-color-primary:#fa436a;
36 | $uni-color-success: #4cd964;
37 | $uni-color-warning: #f0ad4e;
38 | $uni-color-error: #dd524d;
39 |
40 |
--------------------------------------------------------------------------------
/src/utils/languages/en/basic/en.json:
--------------------------------------------------------------------------------
1 | {
2 | "menu": {
3 | "index": "Home page",
4 | "category": "Category",
5 | "notify": "Notify",
6 | "cart": "Cart",
7 | "my": "Mine"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/src/utils/languages/en/en.js:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | const files = require.context('@/utils/languages/en', true, /\.json$/)
3 | let en = {};
4 | files.keys().forEach(key => {
5 | const data = require('' + key);
6 | en = { ...en, ...data }
7 | })
8 | export default en;
9 |
--------------------------------------------------------------------------------
/src/utils/languages/en/profile/en.json:
--------------------------------------------------------------------------------
1 | {
2 | "profile": {
3 | "language": "Language",
4 | "setting": "Setting",
5 | "live": "Live",
6 | "share": "Share",
7 | "notice": "Notice",
8 | "couponCenter": "Coupon Center",
9 | "addressManage": "Address Manage",
10 | "myCollection": "My Collection",
11 | "myAccount": "my account",
12 | "myService": "My Service"
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/utils/languages/zh/basic/zh.json:
--------------------------------------------------------------------------------
1 | {
2 | "menu": {
3 | "index": "主页",
4 | "category": "分类",
5 | "notify": "消息",
6 | "cart": "购物车",
7 | "my": "我的"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/src/utils/languages/zh/profile/zh.json:
--------------------------------------------------------------------------------
1 | {
2 | "profile": {
3 | "language": "切换语言",
4 | "setting": "设置",
5 | "live": "直播",
6 | "share": "分享",
7 | "notice": "商城公告",
8 | "couponCenter": "领券中心",
9 | "addressManage": "地址管理",
10 | "virtual": "虚拟码",
11 | "myWholesale": "我的拼团",
12 | "myBargain": "我的砍价",
13 | "myCollection": "我的收藏",
14 | "distribution": "推广中心",
15 | "myService": "我的服务",
16 | "myAccount": "我的账户",
17 | "balance": "余额",
18 | "coupon": "优惠券",
19 | "integral": "积分",
20 | "allOrder": "全部订单",
21 | "pendingPay": "待付款",
22 | "delivered": "待发货",
23 | "received": "待收货",
24 | "comment": "待评价",
25 | "afterSale": "售后",
26 | "promotionCenter": "推广中心",
27 | "cumulativeCommission": "累计佣金",
28 | "currentCommission": "当前佣金",
29 | "withdrawnCommission": "已提现佣金",
30 | "myFootprint": "我的足迹",
31 | "seeAfterLogin": "登陆后查看",
32 | "login&Register": "登录/注册",
33 | "stroll": "先去逛逛吧"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/src/utils/languages/zh/zh.js:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | //递归获取 views 文件夹下的所有.vue文件
3 | const files = require.context('@/utils/languages/zh', true, /\.json$/)
4 | let zh = {};
5 | files.keys().forEach(key => {
6 | const data = require('' + key);
7 | zh = { ...zh, ...data }
8 | })
9 | export default zh;
10 |
--------------------------------------------------------------------------------
/src/utils/router.js:
--------------------------------------------------------------------------------
1 | /*
2 | * 路由对象
3 | * 中心思想:需要路由鉴权,由于uni-app没有vue中的全局钩子函数,所以封装了Router对象。
4 | * 说明:应用中的路由跳转尽量使用该Router的方法,并配合config中的路由表对象进行跳转。
5 | *
6 | * 示例:this.$mRouter.push({route:this.$mRoutesConfig.main,query:{a:1}})
7 | *
8 | */
9 | class Router {
10 | constructor() {
11 | this.callBack = () => {};
12 | }
13 |
14 | beforeEach(callBack) {
15 | if (callBack instanceof Function) this.callBack = callBack;
16 | }
17 |
18 | push(to) {
19 | this.callBack('navigateTo', to);
20 | }
21 |
22 | redirectTo(to) {
23 | this.callBack('redirectTo', to);
24 | }
25 |
26 | reLaunch(to) {
27 | this.callBack('reLaunch', to);
28 | }
29 |
30 | switchTab(to) {
31 | this.callBack('switchTab', to);
32 | }
33 |
34 | back(delta) {
35 | // #ifdef H5
36 | history.back();
37 | // #endif
38 | // #ifndef H5
39 | uni.navigateBack({
40 | delta
41 | });
42 | // #endif
43 | }
44 | }
45 |
46 | export default new Router();
47 |
--------------------------------------------------------------------------------
/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "types": [
4 | "uni-app",
5 | "html5plus",
6 | "miniprogram-api-typings/types/lib.wx.api.d.ts",
7 | "mini-types/types/api"
8 | ]
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/vue.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | devServer: {
3 | hot: true,
4 | clientLogLevel: 'warning',
5 | overlay: {
6 | warnings: true,
7 | errors: true
8 | }
9 | }
10 | }
11 |
--------------------------------------------------------------------------------