├── miniprogram_npm
├── @vant
│ └── weapp
│ │ ├── common
│ │ ├── style
│ │ │ ├── theme.wxss
│ │ │ ├── var.wxss
│ │ │ ├── mixins
│ │ │ │ ├── clearfix.wxss
│ │ │ │ ├── ellipsis.wxss
│ │ │ │ └── hairline.wxss
│ │ │ ├── clearfix.wxss
│ │ │ ├── ellipsis.wxss
│ │ │ └── hairline.wxss
│ │ ├── color.js
│ │ └── index.wxss
│ │ ├── checkbox-group
│ │ ├── index.wxml
│ │ ├── index.wxss
│ │ ├── index.json
│ │ └── index.js
│ │ ├── area
│ │ ├── index.wxss
│ │ ├── index.json
│ │ ├── index.wxs
│ │ └── index.wxml
│ │ ├── col
│ │ ├── index.json
│ │ ├── index.wxml
│ │ ├── index.js
│ │ └── index.wxs
│ │ ├── collapse
│ │ ├── index.wxss
│ │ ├── index.json
│ │ ├── index.wxml
│ │ └── index.js
│ │ ├── row
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── index.wxml
│ │ ├── index.wxs
│ │ └── index.js
│ │ ├── tab
│ │ ├── index.json
│ │ ├── index.wxml
│ │ └── index.wxss
│ │ ├── circle
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── index.wxml
│ │ └── canvas.js
│ │ ├── grid
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── index.wxml
│ │ ├── index.wxs
│ │ └── index.js
│ │ ├── info
│ │ ├── index.json
│ │ ├── index.wxml
│ │ ├── index.js
│ │ └── index.wxss
│ │ ├── loading
│ │ ├── index.json
│ │ ├── index.js
│ │ ├── index.wxs
│ │ └── index.wxml
│ │ ├── progress
│ │ ├── index.json
│ │ ├── index.wxml
│ │ ├── index.wxss
│ │ ├── index.wxs
│ │ └── index.js
│ │ ├── sidebar
│ │ ├── index.json
│ │ ├── index.wxml
│ │ ├── index.wxss
│ │ └── index.js
│ │ ├── slider
│ │ ├── index.json
│ │ ├── index.wxs
│ │ ├── index.wxml
│ │ └── index.wxss
│ │ ├── stepper
│ │ ├── index.json
│ │ └── index.wxs
│ │ ├── sticky
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── index.wxml
│ │ └── index.wxs
│ │ ├── tabbar
│ │ ├── index.json
│ │ ├── index.wxss
│ │ └── index.wxml
│ │ ├── cell-group
│ │ ├── index.json
│ │ ├── index.wxml
│ │ ├── index.js
│ │ └── index.wxss
│ │ ├── count-down
│ │ ├── index.json
│ │ ├── index.wxml
│ │ └── index.wxss
│ │ ├── datetime-picker
│ │ ├── index.wxss
│ │ ├── index.json
│ │ └── index.wxml
│ │ ├── dropdown-menu
│ │ ├── index.json
│ │ ├── index.wxs
│ │ └── index.wxml
│ │ ├── goods-action
│ │ ├── index.json
│ │ ├── index.wxml
│ │ ├── index.wxss
│ │ └── index.js
│ │ ├── index-anchor
│ │ ├── index.json
│ │ ├── index.wxml
│ │ ├── index.wxss
│ │ └── index.js
│ │ ├── index-bar
│ │ ├── index.json
│ │ ├── index.wxss
│ │ └── index.wxml
│ │ ├── picker-column
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── index.wxml
│ │ └── index.wxs
│ │ ├── radio-group
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── index.wxml
│ │ └── index.js
│ │ ├── share-sheet
│ │ ├── options.json
│ │ ├── index.json
│ │ ├── index.wxs
│ │ ├── options.wxs
│ │ ├── options.wxml
│ │ ├── index.wxss
│ │ ├── options.js
│ │ ├── options.wxss
│ │ ├── index.js
│ │ └── index.wxml
│ │ ├── swipe-cell
│ │ ├── index.json
│ │ ├── index.wxss
│ │ └── index.wxml
│ │ ├── transition
│ │ ├── index.json
│ │ ├── index.wxml
│ │ ├── index.wxs
│ │ └── index.js
│ │ ├── calendar
│ │ ├── components
│ │ │ ├── header
│ │ │ │ ├── index.json
│ │ │ │ ├── index.wxml
│ │ │ │ ├── index.wxss
│ │ │ │ └── index.js
│ │ │ └── month
│ │ │ │ └── index.json
│ │ ├── index.json
│ │ ├── utils.wxs
│ │ ├── index.wxml
│ │ ├── index.wxs
│ │ └── index.wxss
│ │ ├── empty
│ │ ├── index.json
│ │ ├── index.js
│ │ ├── index.wxs
│ │ ├── index.wxml
│ │ └── index.wxss
│ │ ├── divider
│ │ ├── index.json
│ │ ├── index.wxml
│ │ ├── index.js
│ │ ├── index.wxs
│ │ └── index.wxss
│ │ ├── skeleton
│ │ ├── index.json
│ │ ├── index.wxml
│ │ ├── index.wxss
│ │ └── index.js
│ │ ├── definitions
│ │ └── index.js
│ │ ├── dropdown-item
│ │ ├── shared.js
│ │ ├── index.json
│ │ └── index.wxss
│ │ ├── card
│ │ ├── index.json
│ │ └── index.js
│ │ ├── cell
│ │ ├── index.json
│ │ ├── index.wxs
│ │ └── index.js
│ │ ├── icon
│ │ ├── index.json
│ │ ├── index.js
│ │ ├── index.wxml
│ │ └── index.wxs
│ │ ├── panel
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── index.js
│ │ └── index.wxml
│ │ ├── radio
│ │ ├── index.json
│ │ ├── index.wxs
│ │ └── index.wxml
│ │ ├── rate
│ │ ├── index.json
│ │ ├── index.wxss
│ │ └── index.wxml
│ │ ├── steps
│ │ ├── index.json
│ │ └── index.js
│ │ ├── tag
│ │ ├── index.json
│ │ ├── index.wxs
│ │ ├── index.wxml
│ │ └── index.js
│ │ ├── checkbox
│ │ ├── index.json
│ │ ├── index.wxs
│ │ └── index.wxml
│ │ ├── grid-item
│ │ ├── index.json
│ │ ├── index.wxs
│ │ └── index.wxml
│ │ ├── nav-bar
│ │ ├── index.json
│ │ └── index.wxs
│ │ ├── notice-bar
│ │ ├── index.json
│ │ ├── index.wxs
│ │ ├── index.wxml
│ │ └── index.wxss
│ │ ├── search
│ │ ├── index.json
│ │ └── index.wxss
│ │ ├── collapse-item
│ │ ├── index.json
│ │ ├── index.wxml
│ │ └── index.wxss
│ │ ├── sidebar-item
│ │ ├── index.json
│ │ ├── index.wxml
│ │ ├── index.js
│ │ └── index.wxss
│ │ ├── switch
│ │ ├── index.json
│ │ ├── index.wxml
│ │ ├── index.wxs
│ │ └── index.js
│ │ ├── notify
│ │ ├── index.json
│ │ ├── index.wxs
│ │ ├── index.wxml
│ │ └── index.wxss
│ │ ├── overlay
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── index.wxml
│ │ └── index.js
│ │ ├── goods-action-button
│ │ ├── index.json
│ │ ├── index.wxml
│ │ └── index.js
│ │ ├── wxs
│ │ ├── array.wxs
│ │ ├── utils.wxs
│ │ ├── add-unit.wxs
│ │ ├── object.wxs
│ │ ├── style.wxs
│ │ ├── bem.wxs
│ │ └── memoize.wxs
│ │ ├── field
│ │ ├── index.json
│ │ ├── index.wxs
│ │ ├── input.wxml
│ │ └── textarea.wxml
│ │ ├── tabs
│ │ └── index.json
│ │ ├── button
│ │ ├── index.json
│ │ └── index.wxs
│ │ ├── image
│ │ ├── index.json
│ │ ├── index.wxs
│ │ ├── index.wxss
│ │ └── index.wxml
│ │ ├── popup
│ │ ├── index.json
│ │ ├── index.wxs
│ │ └── index.wxml
│ │ ├── submit-bar
│ │ └── index.json
│ │ ├── tabbar-item
│ │ ├── index.json
│ │ ├── index.wxss
│ │ └── index.wxml
│ │ ├── uploader
│ │ ├── index.json
│ │ ├── index.wxs
│ │ └── shared.js
│ │ ├── goods-action-icon
│ │ ├── index.json
│ │ ├── index.js
│ │ ├── index.wxss
│ │ └── index.wxml
│ │ ├── picker
│ │ ├── index.json
│ │ ├── shared.js
│ │ ├── toolbar.wxml
│ │ ├── index.wxs
│ │ └── index.wxml
│ │ ├── action-sheet
│ │ └── index.json
│ │ ├── tree-select
│ │ ├── index.json
│ │ ├── index.wxs
│ │ └── index.wxss
│ │ ├── toast
│ │ ├── index.json
│ │ ├── index.js
│ │ ├── index.wxml
│ │ └── index.wxss
│ │ ├── dialog
│ │ └── index.json
│ │ └── mixins
│ │ ├── basic.js
│ │ ├── link.js
│ │ ├── touch.js
│ │ ├── button.js
│ │ └── page-scroll.js
└── wxa-plugin-canvas
│ ├── poster
│ ├── index.wxss
│ ├── index.json
│ ├── index.wxml
│ └── poster.js
│ └── index
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
├── pages
├── card
│ ├── receive.json
│ ├── send.json
│ ├── exchange.json
│ ├── index.json
│ ├── logs.json
│ └── logs.js
├── ad
│ └── index.json
├── goods
│ └── list.json
├── my
│ ├── index.json
│ ├── feedback.json
│ ├── user-code.json
│ └── user-code.js
├── pay
│ └── index.json
├── score
│ ├── logs.json
│ └── logs.js
├── sign
│ ├── index.json
│ ├── index.wxss
│ └── index.wxml
├── about
│ ├── index.json
│ ├── index.wxml
│ ├── index.wxss
│ └── index.js
├── asset
│ ├── cash-log.json
│ ├── index.json
│ ├── recharge-log.json
│ ├── cash-log.js
│ └── recharge-log.js
├── booking
│ └── index.json
├── index
│ └── index.json
├── notice
│ ├── detail.json
│ ├── detail.wxml
│ ├── detail.wxss
│ └── detail.js
├── queue
│ └── index.json
├── shop
│ ├── detail.json
│ ├── join-apply.json
│ └── select.json
├── all-orders
│ └── index.json
├── member-center
│ ├── index.json
│ └── index.js
├── order-details
│ ├── doing.json
│ ├── index.json
│ └── scan-result.json
├── youhui-pay
│ └── index.json
├── cart
│ ├── index.json
│ └── order.json
├── coupons
│ └── index.json
├── home
│ └── index.json
└── goods-details
│ └── index.json
├── .gitignore
├── images
├── ad.png
├── bh.png
├── cart.png
├── lp.png
├── pay.png
├── ps.png
├── sc.png
├── tel.png
├── tg.png
├── who.png
├── ziqu.png
├── zq.png
├── zw.png
├── coupon.png
├── empty.png
├── friend.png
├── quhuo.png
├── waimai.png
├── daohang.png
├── default.png
├── lang
│ ├── en.png
│ └── zh_CN.png
├── nav
│ ├── my-on.png
│ ├── qc-on.png
│ ├── qh-on.png
│ ├── home-on.png
│ ├── my-off.png
│ ├── qc-off.png
│ ├── qh-off.png
│ ├── home-off.png
│ ├── index-off.png
│ ├── index-on.png
│ ├── home-off.svg
│ ├── home-on.svg
│ ├── my-on.svg
│ ├── qc-off.svg
│ ├── qc-on.svg
│ ├── index-off.svg
│ ├── index-on.svg
│ ├── qh-off.svg
│ └── qh-on.svg
├── tuikuan.png
├── pay-pingtuan.png
└── icon
│ ├── search.svg
│ ├── list1.svg
│ ├── close.svg
│ ├── list2.svg
│ └── car.svg
├── components
├── parser.20200731.min
│ ├── trees
│ │ ├── trees.json
│ │ └── trees.wxss
│ ├── parser.json
│ ├── parser.wxss
│ └── parser.wxml
└── payment
│ ├── index.json
│ ├── sn.txt
│ └── index.wxss
├── sitemap.json
├── config.js
├── utils
├── util.js
├── image.js
└── tools.js
├── app.wxss
├── project.private.config.json
└── package.json
/miniprogram_npm/@vant/weapp/common/style/theme.wxss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/common/style/var.wxss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/miniprogram_npm/wxa-plugin-canvas/poster/index.wxss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/pages/card/receive.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {}
3 | }
--------------------------------------------------------------------------------
/pages/card/send.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {}
3 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/common/style/mixins/clearfix.wxss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/common/style/mixins/ellipsis.wxss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/common/style/mixins/hairline.wxss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/pages/ad/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/pages/card/exchange.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {}
3 | }
--------------------------------------------------------------------------------
/pages/card/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/pages/goods/list.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/pages/my/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/pages/pay/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/pages/score/logs.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/pages/sign/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/checkbox-group/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/pages/about/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/pages/asset/cash-log.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/pages/asset/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/pages/booking/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/pages/index/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/pages/my/feedback.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/pages/notice/detail.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/pages/queue/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/pages/shop/detail.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/pages/shop/join-apply.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/pages/shop/select.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | dist/
2 | package-lock.json
3 | node_modules/
4 | .DS_Store
--------------------------------------------------------------------------------
/pages/all-orders/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/pages/asset/recharge-log.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/pages/member-center/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/pages/order-details/doing.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/pages/youhui-pay/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/area/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/col/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/collapse/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/row/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tab/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/pages/order-details/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/pages/order-details/scan-result.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/images/ad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/ad.png
--------------------------------------------------------------------------------
/images/bh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/bh.png
--------------------------------------------------------------------------------
/images/cart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/cart.png
--------------------------------------------------------------------------------
/images/lp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/lp.png
--------------------------------------------------------------------------------
/images/pay.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/pay.png
--------------------------------------------------------------------------------
/images/ps.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/ps.png
--------------------------------------------------------------------------------
/images/sc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/sc.png
--------------------------------------------------------------------------------
/images/tel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/tel.png
--------------------------------------------------------------------------------
/images/tg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/tg.png
--------------------------------------------------------------------------------
/images/who.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/who.png
--------------------------------------------------------------------------------
/images/ziqu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/ziqu.png
--------------------------------------------------------------------------------
/images/zq.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/zq.png
--------------------------------------------------------------------------------
/images/zw.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/zw.png
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/circle/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/collapse/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/grid/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/info/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/loading/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/progress/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sidebar/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/slider/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/stepper/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sticky/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tabbar/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/wxa-plugin-canvas/index/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
--------------------------------------------------------------------------------
/images/coupon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/coupon.png
--------------------------------------------------------------------------------
/images/empty.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/empty.png
--------------------------------------------------------------------------------
/images/friend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/friend.png
--------------------------------------------------------------------------------
/images/quhuo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/quhuo.png
--------------------------------------------------------------------------------
/images/waimai.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/waimai.png
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/cell-group/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/checkbox-group/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/count-down/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/datetime-picker/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/dropdown-menu/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/goods-action/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/index-anchor/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/index-bar/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/picker-column/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/radio-group/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/share-sheet/options.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/swipe-cell/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/transition/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/images/daohang.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/daohang.png
--------------------------------------------------------------------------------
/images/default.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/default.png
--------------------------------------------------------------------------------
/images/lang/en.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/lang/en.png
--------------------------------------------------------------------------------
/images/nav/my-on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/nav/my-on.png
--------------------------------------------------------------------------------
/images/nav/qc-on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/nav/qc-on.png
--------------------------------------------------------------------------------
/images/nav/qh-on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/nav/qh-on.png
--------------------------------------------------------------------------------
/images/tuikuan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/tuikuan.png
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/checkbox-group/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/images/lang/zh_CN.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/lang/zh_CN.png
--------------------------------------------------------------------------------
/images/nav/home-on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/nav/home-on.png
--------------------------------------------------------------------------------
/images/nav/my-off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/nav/my-off.png
--------------------------------------------------------------------------------
/images/nav/qc-off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/nav/qc-off.png
--------------------------------------------------------------------------------
/images/nav/qh-off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/nav/qh-off.png
--------------------------------------------------------------------------------
/components/parser.20200731.min/trees/trees.json:
--------------------------------------------------------------------------------
1 | {"component":true,"usingComponents":{"trees":"./trees"}}
--------------------------------------------------------------------------------
/images/nav/home-off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/nav/home-off.png
--------------------------------------------------------------------------------
/images/nav/index-off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/nav/index-off.png
--------------------------------------------------------------------------------
/images/nav/index-on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/nav/index-on.png
--------------------------------------------------------------------------------
/images/pay-pingtuan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/woniudiancang/bee/HEAD/images/pay-pingtuan.png
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/calendar/components/header/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/calendar/components/month/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/pages/card/logs.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "",
3 | "enablePullDownRefresh": true
4 | }
--------------------------------------------------------------------------------
/pages/cart/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "",
3 | "enablePullDownRefresh": true
4 | }
--------------------------------------------------------------------------------
/pages/cart/order.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "",
3 | "enablePullDownRefresh": true
4 | }
--------------------------------------------------------------------------------
/pages/coupons/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "",
3 | "enablePullDownRefresh": true
4 | }
--------------------------------------------------------------------------------
/pages/home/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationStyle": "custom",
3 | "navigationBarTextStyle": "white"
4 | }
--------------------------------------------------------------------------------
/pages/my/user-code.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "",
3 | "enablePullDownRefresh": true
4 | }
--------------------------------------------------------------------------------
/components/parser.20200731.min/parser.json:
--------------------------------------------------------------------------------
1 | {"component":true,"usingComponents":{"trees":"./trees/trees"}}
--------------------------------------------------------------------------------
/components/payment/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 |
5 | }
6 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/empty/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {}
4 | }
--------------------------------------------------------------------------------
/pages/about/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/pages/notice/detail.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/common/style/clearfix.wxss:
--------------------------------------------------------------------------------
1 | .van-clearfix:after{display:table;clear:both;content:""}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/divider/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {}
4 | }
5 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/skeleton/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {}
4 | }
5 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sidebar/index.wxml:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/row/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-row:after{display:table;clear:both;content:""}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/definitions/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sidebar/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-sidebar{width:80px;width:var(--sidebar-width,80px)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/dropdown-item/shared.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 |
--------------------------------------------------------------------------------
/pages/about/index.wxss:
--------------------------------------------------------------------------------
1 | .content {
2 | padding: 32rpx;
3 | line-height: 64rpx;
4 | }
5 | .content image {
6 | max-width: 100%;
7 | }
--------------------------------------------------------------------------------
/pages/notice/detail.wxss:
--------------------------------------------------------------------------------
1 | .content {
2 | padding: 32rpx;
3 | line-height: 64rpx;
4 | }
5 | .content image {
6 | max-width: 100%;
7 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/grid/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-grid{position:relative;box-sizing:border-box;overflow:hidden}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/card/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-tag": "../tag/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/cell/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/icon/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-info": "../info/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/panel/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-cell": "../cell/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/radio/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/rate/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/steps/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tag/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/pages/goods-details/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "",
3 | "usingComponents": {
4 | "poster": "wxa-plugin-canvas/poster"
5 | }
6 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/area/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-picker": "../picker/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/checkbox/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/grid-item/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/nav-bar/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/notice-bar/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/search/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-field": "../field/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/collapse-item/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-cell": "../cell/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sidebar-item/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-info": "../info/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sticky/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-sticky{position:relative}.van-sticky-wrap--fixed{position:fixed;right:0;left:0}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/switch/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-loading": "../loading/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/collapse/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/datetime-picker/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-picker": "../picker/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/notify/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-transition": "../transition/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/overlay/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-transition": "../transition/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/wxa-plugin-canvas/poster/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "we-canvas": "../index/index"
5 | }
6 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/goods-action-button/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-button": "../button/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/wxs/array.wxs:
--------------------------------------------------------------------------------
1 | function isArray(array) {
2 | return array && array.constructor === 'Array';
3 | }
4 |
5 | module.exports.isArray = isArray;
6 |
--------------------------------------------------------------------------------
/components/parser.20200731.min/parser.wxss:
--------------------------------------------------------------------------------
1 | :host{display:block;overflow:scroll;webkit-overflow-scrolling:touch}.top{display:inherit}@keyframes show{0%{opacity:0}100%{opacity:1}}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/count-down/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{ formattedTime }}
4 |
5 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/radio-group/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-radio-group--horizontal{display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/field/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-cell": "../cell/index",
5 | "van-icon": "../icon/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/share-sheet/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-popup": "../popup/index",
5 | "options": "./options"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tabs/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-info": "../info/index",
5 | "van-sticky": "../sticky/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/wxa-plugin-canvas/poster/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/button/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-loading": "../loading/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/image/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-loading": "../loading/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/popup/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-overlay": "../overlay/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/submit-bar/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-button": "../button/index",
5 | "van-icon": "../icon/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tabbar-item/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-info": "../info/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/uploader/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-loading": "../loading/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/sitemap.json:
--------------------------------------------------------------------------------
1 | {
2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
3 | "rules": [{
4 | "action": "allow",
5 | "page": "*"
6 | }]
7 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/radio-group/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/goods-action-icon/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-button": "../button/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/picker/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "picker-column": "../picker-column/index",
5 | "loading": "../loading/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/row/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/goods-action/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/dropdown-item/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-popup": "../popup/index",
5 | "van-cell": "../cell/index",
6 | "van-icon": "../icon/index"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/overlay/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.7);background-color:var(--overlay-background-color,rgba(0,0,0,.7))}
--------------------------------------------------------------------------------
/components/parser.20200731.min/parser.wxml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/action-sheet/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-popup": "../popup/index",
6 | "van-loading": "../loading/index"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/area/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | function displayColumns(columns, columnsNum) {
3 | return columns.slice(0, +columnsNum);
4 | }
5 |
6 | module.exports = {
7 | displayColumns: displayColumns,
8 | };
9 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tree-select/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-sidebar": "../sidebar/index",
6 | "van-sidebar-item": "../sidebar-item/index"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/miniprogram_npm/wxa-plugin-canvas/index/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/count-down/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-count-down{color:#323233;color:var(--count-down-text-color,#323233);font-size:14px;font-size:var(--count-down-font-size,14px);line-height:20px;line-height:var(--count-down-line-height,20px)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/grid/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/cell-group/index.wxml:
--------------------------------------------------------------------------------
1 |
5 | {{ title }}
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/toast/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-loading": "../loading/index",
6 | "van-overlay": "../overlay/index",
7 | "van-transition": "../transition/index"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/info/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{ dot ? '' : info }}
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tab/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/wxs/utils.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var bem = require('./bem.wxs');
3 | var memoize = require('./memoize.wxs');
4 | var addUnit = require('./add-unit.wxs');
5 |
6 | module.exports = {
7 | bem: memoize(bem),
8 | memoize: memoize,
9 | addUnit: addUnit
10 | };
11 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/circle/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-circle{position:relative;display:inline-block;text-align:center}.van-circle__text{position:absolute;top:50%;left:0;width:100%;-webkit-transform:translateY(-50%);transform:translateY(-50%);color:#323233;color:var(--circle-text-color,#323233)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tab/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';:host{-webkit-flex-shrink:0;flex-shrink:0;width:100%}.van-tab__pane,:host{box-sizing:border-box}.van-tab__pane{overflow-y:auto;-webkit-overflow-scrolling:touch}.van-tab__pane--active{height:auto}.van-tab__pane--inactive{height:0;overflow:visible}
--------------------------------------------------------------------------------
/config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | version: "25.11.11",
3 | note: '下单增加了选择提货点的功能,如果门店存在多提货点的话',
4 | subDomain: "beeorder", // 根据教程 https://www.it120.cc/help/qr6l4m.html 查看并设置你自己的 subDomain
5 | merchantId: 27, // 商户ID,可在后台工厂设置-->商户信息查看
6 | customerServiceType: 'QW' // 客服类型,QW为企业微信,需要在后台系统参数配置企业ID和客服URL,否则为小程序的默认客服
7 | }
--------------------------------------------------------------------------------
/images/icon/search.svg:
--------------------------------------------------------------------------------
1 |
5 |
6 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/dialog/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-popup": "../popup/index",
5 | "van-button": "../button/index",
6 | "van-goods-action": "../goods-action/index",
7 | "van-goods-action-button": "../goods-action-button/index"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/info/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var component_1 = require('../common/component');
4 | component_1.VantComponent({
5 | props: {
6 | dot: Boolean,
7 | info: null,
8 | customStyle: String,
9 | },
10 | });
11 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/overlay/index.wxml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/wxs/add-unit.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var REGEXP = getRegExp('^-?\d+(\.\d+)?$');
3 |
4 | function addUnit(value) {
5 | if (value == null) {
6 | return undefined;
7 | }
8 |
9 | return REGEXP.test('' + value) ? value + 'px' : value;
10 | }
11 |
12 | module.exports = addUnit;
13 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/calendar/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "header": "./components/header/index",
5 | "month": "./components/month/index",
6 | "van-button": "../button/index",
7 | "van-popup": "../popup/index",
8 | "van-toast": "../toast/index"
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/images/icon/list1.svg:
--------------------------------------------------------------------------------
1 |
6 |
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/common/style/ellipsis.wxss:
--------------------------------------------------------------------------------
1 | .van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{-webkit-line-clamp:2}.van-multi-ellipsis--l2,.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{-webkit-line-clamp:3}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/panel/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-panel{background:#fff;background:var(--panel-background-color,#fff)}.van-panel__header-value{color:#ee0a24;color:var(--panel-header-value-color,#ee0a24)}.van-panel__footer{padding:8px 16px;padding:var(--panel-footer-padding,8px 16px)}.van-panel__footer:empty{display:none}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/share-sheet/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | function isMulti(options) {
3 | if (options == null || options[0] == null) {
4 | return false;
5 | }
6 |
7 | return "Array" === options.constructor && "Array" === options[0].constructor;
8 | }
9 |
10 | module.exports = {
11 | isMulti: isMulti
12 | };
13 |
--------------------------------------------------------------------------------
/images/icon/close.svg:
--------------------------------------------------------------------------------
1 |
5 |
6 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/col/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/grid/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function rootStyle(data) {
6 | return style({
7 | 'padding-left': addUnit(data.gutter),
8 | });
9 | }
10 |
11 | module.exports = {
12 | rootStyle: rootStyle,
13 | };
14 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/wxs/object.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var REGEXP = getRegExp('{|}|"', 'g');
3 |
4 | function keys(obj) {
5 | return JSON.stringify(obj)
6 | .replace(REGEXP, '')
7 | .split(',')
8 | .map(function(item) {
9 | return item.split(':')[0];
10 | });
11 | }
12 |
13 | module.exports.keys = keys;
14 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/cell-group/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var component_1 = require('../common/component');
4 | component_1.VantComponent({
5 | props: {
6 | title: String,
7 | border: {
8 | type: Boolean,
9 | value: true,
10 | },
11 | },
12 | });
13 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/empty/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var component_1 = require('../common/component');
4 | component_1.VantComponent({
5 | props: {
6 | description: String,
7 | image: {
8 | type: String,
9 | value: 'default',
10 | },
11 | },
12 | });
13 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/transition/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/cell-group/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-cell-group__title{padding:16px 16px 8px;padding:var(--cell-group-title-padding,16px 16px 8px);font-size:14px;font-size:var(--cell-group-title-font-size,14px);line-height:16px;line-height:var(--cell-group-title-line-height,16px);color:#969799;color:var(--cell-group-title-color,#969799)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tree-select/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var array = require('../wxs/array.wxs');
3 |
4 | function isActive (activeList, itemId) {
5 | if (array.isArray(activeList)) {
6 | return activeList.indexOf(itemId) > -1;
7 | }
8 |
9 | return activeList === itemId;
10 | }
11 |
12 | module.exports.isActive = isActive;
13 |
--------------------------------------------------------------------------------
/pages/sign/index.wxss:
--------------------------------------------------------------------------------
1 | .todo-dot-bottom {
2 | color: red !important;
3 | }
4 | .zwqd-box {
5 | text-align: center;
6 | margin: auto;
7 | margin-top: 32rpx;
8 | }
9 | .zwqd-box image {
10 | width: 140rpx;
11 | height: 140rpx;
12 | margin: auto;
13 | }
14 | .zwqd-box view {
15 | margin-top: 16rpx;
16 | color: #999;
17 | font-size: 26rpx;
18 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/nav-bar/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 |
4 | function barStyle(data) {
5 | return style({
6 | 'z-index': data.zIndex,
7 | 'padding-top': data.safeAreaInsetTop ? data.statusBarHeight + 'px' : 0,
8 | });
9 | }
10 |
11 | module.exports = {
12 | barStyle: barStyle,
13 | };
14 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/panel/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var component_1 = require('../common/component');
4 | component_1.VantComponent({
5 | classes: ['header-class', 'footer-class'],
6 | props: {
7 | desc: String,
8 | title: String,
9 | status: String,
10 | },
11 | });
12 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tabbar/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-tabbar{display:-webkit-flex;display:flex;box-sizing:initial;width:100%;height:50px;height:var(--tabbar-height,50px);background-color:#fff;background-color:var(--tabbar-background-color,#fff)}.van-tabbar--fixed{position:fixed;bottom:0;left:0}.van-tabbar--safe{padding-bottom:env(safe-area-inset-bottom)}
--------------------------------------------------------------------------------
/pages/sign/index.wxml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 | {{ $t.sign.signBtn }}
12 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/divider/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/miniprogram_npm/wxa-plugin-canvas/index/index.wxss:
--------------------------------------------------------------------------------
1 | .canvas {
2 | width: 750rpx;
3 | height: 750rpx;
4 | }
5 | .canvas.pro {
6 | position: absolute;
7 | bottom: 0;
8 | left: 0;
9 | transform: translate3d(-9999rpx, 0, 0);
10 | }
11 | .canvas.debug {
12 | position: absolute;
13 | bottom: 0;
14 | left: 0;
15 | border: 1rpx solid #ccc;
16 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/col/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var relation_1 = require('../common/relation');
4 | var component_1 = require('../common/component');
5 | component_1.VantComponent({
6 | relation: relation_1.useParent('row'),
7 | props: {
8 | span: Number,
9 | offset: Number,
10 | },
11 | });
12 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/empty/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var PRESETS = ['error', 'search', 'default', 'network'];
3 |
4 | function imageUrl(image) {
5 | if (PRESETS.indexOf(image) !== -1) {
6 | return 'https://img.yzcdn.cn/vant/empty-image-' + image + '.png';
7 | }
8 |
9 | return image;
10 | }
11 |
12 | module.exports = {
13 | imageUrl: imageUrl,
14 | };
15 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/slider/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function barStyle(barHeight, activeColor) {
6 | return style({
7 | height: addUnit(barHeight),
8 | background: activeColor,
9 | });
10 | }
11 |
12 | module.exports = {
13 | barStyle: barStyle,
14 | };
15 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tag/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 |
4 | function rootStyle(data) {
5 | return style({
6 | 'background-color': data.plain ? '' : data.color,
7 | color: data.textColor || data.plain ? data.textColor || data.color : '',
8 | });
9 | }
10 |
11 | module.exports = {
12 | rootStyle: rootStyle,
13 | };
14 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/uploader/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function sizeStyle(data) {
6 | return style({
7 | width: addUnit(data.previewSize),
8 | height: addUnit(data.previewSize),
9 | });
10 | }
11 |
12 | module.exports = {
13 | sizeStyle: sizeStyle,
14 | };
15 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/swipe-cell/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-swipe-cell{position:relative;overflow:hidden}.van-swipe-cell__left,.van-swipe-cell__right{position:absolute;top:0;height:100%}.van-swipe-cell__left{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.van-swipe-cell__right{right:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}
--------------------------------------------------------------------------------
/images/icon/list2.svg:
--------------------------------------------------------------------------------
1 |
7 |
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/share-sheet/options.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var PRESET_ICONS = ['qq', 'weibo', 'wechat', 'link', 'qrcode', 'poster'];
3 |
4 | function getIconURL(icon) {
5 | if (PRESET_ICONS.indexOf(icon) !== -1) {
6 | return 'https://img.yzcdn.cn/vant/share-icon-' + icon + '.png';
7 | }
8 |
9 | return icon;
10 | }
11 |
12 | module.exports = {
13 | getIconURL: getIconURL,
14 | };
15 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/goods-action/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-goods-action{position:fixed;right:0;bottom:0;left:0;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;box-sizing:initial;height:50px;height:var(--goods-action-height,50px);background-color:#fff;background-color:var(--goods-action-background-color,#fff)}.van-goods-action--safe{padding-bottom:env(safe-area-inset-bottom)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/notice-bar/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function rootStyle(data) {
6 | return style({
7 | color: data.color,
8 | 'background-color': data.backgroundColor,
9 | background: data.background,
10 | });
11 | }
12 |
13 | module.exports = {
14 | rootStyle: rootStyle,
15 | };
16 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sticky/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tabbar/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/index-anchor/index.wxml:
--------------------------------------------------------------------------------
1 |
5 |
9 |
10 |
11 | {{ index }}
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/divider/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var component_1 = require('../common/component');
4 | component_1.VantComponent({
5 | props: {
6 | dashed: Boolean,
7 | hairline: Boolean,
8 | contentPosition: String,
9 | fontSize: String,
10 | borderColor: String,
11 | textColor: String,
12 | customStyle: String,
13 | },
14 | });
15 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/cell/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function titleStyle(data) {
6 | return style([
7 | {
8 | 'max-width': addUnit(data.titleWidth),
9 | 'min-width': addUnit(data.titleWidth),
10 | },
11 | data.titleStyle,
12 | ]);
13 | }
14 |
15 | module.exports = {
16 | titleStyle: titleStyle,
17 | };
18 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/dropdown-menu/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | function displayTitle(item) {
3 | if (item.title) {
4 | return item.title;
5 | }
6 |
7 | var match = item.options.filter(function(option) {
8 | return option.value === item.value;
9 | });
10 | var displayTitle = match.length ? match[0].text : '';
11 | return displayTitle;
12 | }
13 |
14 | module.exports = {
15 | displayTitle: displayTitle
16 | };
17 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/col/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function rootStyle(data) {
6 | if (!data.gutter) {
7 | return '';
8 | }
9 |
10 | return style({
11 | 'padding-right': addUnit(data.gutter / 2),
12 | 'padding-left': addUnit(data.gutter / 2),
13 | });
14 | }
15 |
16 | module.exports = {
17 | rootStyle: rootStyle,
18 | };
19 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/row/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function rootStyle(data) {
6 | if (!data.gutter) {
7 | return '';
8 | }
9 |
10 | return style({
11 | 'margin-right': addUnit(-data.gutter / 2),
12 | 'margin-left': addUnit(-data.gutter / 2),
13 | });
14 | }
15 |
16 | module.exports = {
17 | rootStyle: rootStyle,
18 | };
19 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/common/color.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | exports.GRAY_DARK = exports.GRAY = exports.ORANGE = exports.GREEN = exports.WHITE = exports.BLUE = exports.RED = void 0;
4 | exports.RED = '#ee0a24';
5 | exports.BLUE = '#1989fa';
6 | exports.WHITE = '#fff';
7 | exports.GREEN = '#07c160';
8 | exports.ORANGE = '#ff976a';
9 | exports.GRAY = '#323233';
10 | exports.GRAY_DARK = '#969799';
11 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/rate/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-rate{display:-webkit-inline-flex;display:inline-flex;-webkit-user-select:none;user-select:none}.van-rate__item{position:relative;padding:0 2px;padding:0 var(--rate-horizontal-padding,2px)}.van-rate__icon{display:block;height:1em;font-size:20px;font-size:var(--rate-icon-size,20px)}.van-rate__icon--half{position:absolute;top:0;width:.5em;overflow:hidden;left:2px;left:var(--rate-horizontal-padding,2px)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/divider/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function rootStyle(data) {
6 | return style([
7 | {
8 | 'border-color': data.borderColor,
9 | color: data.textColor,
10 | 'font-size': addUnit(data.fontSize),
11 | },
12 | data.customStyle,
13 | ]);
14 | }
15 |
16 | module.exports = {
17 | rootStyle: rootStyle,
18 | };
19 |
--------------------------------------------------------------------------------
/images/nav/home-off.svg:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/transition/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 |
4 | function rootStyle(data) {
5 | return style([
6 | {
7 | '-webkit-transition-duration': data.currentDuration + 'ms',
8 | 'transition-duration': data.currentDuration + 'ms',
9 | },
10 | data.display ? null : 'display: none',
11 | data.customStyle,
12 | ]);
13 | }
14 |
15 | module.exports = {
16 | rootStyle: rootStyle,
17 | };
18 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/circle/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | {{ text }}
9 |
10 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/dropdown-item/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-dropdown-item{position:fixed;right:0;left:0;overflow:hidden}.van-dropdown-item__option{text-align:left}.van-dropdown-item__option--active .van-dropdown-item__icon,.van-dropdown-item__option--active .van-dropdown-item__title{color:#ee0a24;color:var(--dropdown-menu-option-active-color,#ee0a24)}.van-dropdown-item--up{top:0}.van-dropdown-item--down{bottom:0}.van-dropdown-item__icon{display:block;line-height:inherit}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tag/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
9 |
15 |
16 |
--------------------------------------------------------------------------------
/images/nav/home-on.svg:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/loading/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var component_1 = require('../common/component');
4 | component_1.VantComponent({
5 | props: {
6 | color: String,
7 | vertical: Boolean,
8 | type: {
9 | type: String,
10 | value: 'circular',
11 | },
12 | size: String,
13 | textSize: String,
14 | },
15 | data: {
16 | array12: Array.from({ length: 12 }),
17 | },
18 | });
19 |
--------------------------------------------------------------------------------
/images/nav/my-on.svg:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/field/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function inputStyle(autosize) {
6 | if (autosize && autosize.constructor === 'Object') {
7 | return style({
8 | 'min-height': addUnit(autosize.minHeight),
9 | 'max-height': addUnit(autosize.maxHeight),
10 | });
11 | }
12 |
13 | return '';
14 | }
15 |
16 | module.exports = {
17 | inputStyle: inputStyle,
18 | };
19 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/mixins/basic.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | exports.basic = void 0;
4 | exports.basic = Behavior({
5 | methods: {
6 | $emit: function (name, detail, options) {
7 | this.triggerEvent(name, detail, options);
8 | },
9 | set: function (data) {
10 | this.setData(data);
11 | return new Promise(function (resolve) {
12 | return wx.nextTick(resolve);
13 | });
14 | },
15 | },
16 | });
17 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/popup/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 |
4 | function popupStyle(data) {
5 | return style([
6 | {
7 | 'z-index': data.zIndex,
8 | '-webkit-transition-duration': data.currentDuration + 'ms',
9 | 'transition-duration': data.currentDuration + 'ms',
10 | },
11 | data.display ? null : 'display: none',
12 | data.customStyle,
13 | ]);
14 | }
15 |
16 | module.exports = {
17 | popupStyle: popupStyle,
18 | };
19 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/transition/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var component_1 = require('../common/component');
4 | var transition_1 = require('../mixins/transition');
5 | component_1.VantComponent({
6 | classes: [
7 | 'enter-class',
8 | 'enter-active-class',
9 | 'enter-to-class',
10 | 'leave-class',
11 | 'leave-active-class',
12 | 'leave-to-class',
13 | ],
14 | mixins: [transition_1.transition(true)],
15 | });
16 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/picker-column/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-picker-column{overflow:hidden;text-align:center;color:#000;color:var(--picker-option-text-color,#000);font-size:16px;font-size:var(--picker-option-font-size,16px)}.van-picker-column__item{padding:0 5px}.van-picker-column__item--selected{font-weight:500;font-weight:var(--font-weight-bold,500);color:#323233;color:var(--picker-option-selected-text-color,#323233)}.van-picker-column__item--disabled{opacity:.3;opacity:var(--picker-option-disabled-opacity,.3)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/notify/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function rootStyle(data) {
6 | return style({
7 | 'z-index': data.zIndex,
8 | top: addUnit(data.top),
9 | });
10 | }
11 |
12 | function notifyStyle(data) {
13 | return style({
14 | background: data.background,
15 | color: data.color,
16 | });
17 | }
18 |
19 | module.exports = {
20 | rootStyle: rootStyle,
21 | notifyStyle: notifyStyle,
22 | };
23 |
--------------------------------------------------------------------------------
/components/payment/sn.txt:
--------------------------------------------------------------------------------
1 | app.json usingComponents 加上
2 | "payment": "/components/payment/index",
3 |
4 |
5 | 在需要的页面上加这句代码即可
6 |
15 |
16 | paymentOk(e) {
17 | console.log(e.detail); // 这里是组件里data的数据
18 | this.setData({
19 | paymentShow: false
20 | })
21 | },
22 | paymentCancel() {
23 | this.setData({
24 | paymentShow: false
25 | })
26 | },
--------------------------------------------------------------------------------
/pages/about/index.js:
--------------------------------------------------------------------------------
1 | const WXAPI = require('apifm-wxapi')
2 | const APP = getApp()
3 | APP.configLoadOK = () => {
4 |
5 | }
6 | Page({
7 | data: {
8 |
9 | },
10 | onLoad (e) {
11 | this.data.key = e.key || 'about'
12 | this.cmsPage()
13 | },
14 | async cmsPage() {
15 | const res = await WXAPI.cmsPage(this.data.key)
16 | if (res.code == 0) {
17 | this.setData({
18 | cmsPage: res.data
19 | })
20 | wx.setNavigationBarTitle({
21 | title: res.data.info.title,
22 | })
23 | }
24 | },
25 | })
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/loading/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function spinnerStyle(data) {
6 | return style({
7 | color: data.color,
8 | width: addUnit(data.size),
9 | height: addUnit(data.size),
10 | });
11 | }
12 |
13 | function textStyle(data) {
14 | return style({
15 | 'font-size': addUnit(data.textSize),
16 | });
17 | }
18 |
19 | module.exports = {
20 | spinnerStyle: spinnerStyle,
21 | textStyle: textStyle,
22 | };
23 |
--------------------------------------------------------------------------------
/utils/util.js:
--------------------------------------------------------------------------------
1 | const formatTime = date => {
2 | const year = date.getFullYear()
3 | const month = date.getMonth() + 1
4 | const day = date.getDate()
5 | const hour = date.getHours()
6 | const minute = date.getMinutes()
7 | const second = date.getSeconds()
8 |
9 | return [year, month, day].map(formatNumber).join('/') + ' ' + [hour, minute, second].map(formatNumber).join(':')
10 | }
11 |
12 | const formatNumber = n => {
13 | n = n.toString()
14 | return n[1] ? n : '0' + n
15 | }
16 |
17 | module.exports = {
18 | formatTime: formatTime
19 | }
20 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/goods-action/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var component_1 = require('../common/component');
4 | var relation_1 = require('../common/relation');
5 | component_1.VantComponent({
6 | relation: relation_1.useChildren('goods-action-button', function () {
7 | this.children.forEach(function (item) {
8 | item.updateStyle();
9 | });
10 | }),
11 | props: {
12 | safeAreaInsetBottom: {
13 | type: Boolean,
14 | value: true,
15 | },
16 | },
17 | });
18 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/icon/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var component_1 = require('../common/component');
4 | component_1.VantComponent({
5 | props: {
6 | dot: Boolean,
7 | info: null,
8 | size: null,
9 | color: String,
10 | customStyle: String,
11 | classPrefix: {
12 | type: String,
13 | value: 'van-icon',
14 | },
15 | name: String,
16 | },
17 | methods: {
18 | onClick: function () {
19 | this.$emit('click');
20 | },
21 | },
22 | });
23 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/picker/shared.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | exports.pickerProps = void 0;
4 | exports.pickerProps = {
5 | title: String,
6 | loading: Boolean,
7 | showToolbar: Boolean,
8 | cancelButtonText: {
9 | type: String,
10 | value: '取消',
11 | },
12 | confirmButtonText: {
13 | type: String,
14 | value: '确认',
15 | },
16 | visibleItemCount: {
17 | type: Number,
18 | value: 6,
19 | },
20 | itemHeight: {
21 | type: Number,
22 | value: 44,
23 | },
24 | };
25 |
--------------------------------------------------------------------------------
/images/icon/car.svg:
--------------------------------------------------------------------------------
1 |
4 |
5 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/stepper/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function buttonStyle(data) {
6 | return style({
7 | width: addUnit(data.buttonSize),
8 | height: addUnit(data.buttonSize),
9 | });
10 | }
11 |
12 | function inputStyle(data) {
13 | return style({
14 | width: addUnit(data.inputWidth),
15 | height: addUnit(data.buttonSize),
16 | });
17 | }
18 |
19 | module.exports = {
20 | buttonStyle: buttonStyle,
21 | inputStyle: inputStyle,
22 | };
23 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/datetime-picker/index.wxml:
--------------------------------------------------------------------------------
1 |
17 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/icon/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
14 |
20 |
21 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/panel/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
19 |
20 |
--------------------------------------------------------------------------------
/components/payment/index.wxss:
--------------------------------------------------------------------------------
1 | .pop-main {
2 | display: flex;
3 | flex-direction: column;
4 | }
5 | .title {
6 | padding: 32rpx;
7 | text-align: center;
8 | }
9 | .btn-box {
10 | padding: 32rpx;
11 | }
12 | .alipayQrcode {
13 | margin-left: 50rpx;
14 | }
15 | .alipayQrcodeText {
16 | text-align: center;
17 | color: rgb(201, 25, 48);
18 | font-size: 24rpx;
19 | }
20 | .amount {
21 | padding: 16rpx;
22 | text-align: center;
23 | color: #e64340;
24 | font-weight: bold;
25 | font-size: 52rpx;
26 | }
27 | .amount text {
28 | font-weight: normal;
29 | font-size: 28rpx;
30 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tag/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var component_1 = require('../common/component');
4 | component_1.VantComponent({
5 | props: {
6 | size: String,
7 | mark: Boolean,
8 | color: String,
9 | plain: Boolean,
10 | round: Boolean,
11 | textColor: String,
12 | type: {
13 | type: String,
14 | value: 'default',
15 | },
16 | closeable: Boolean,
17 | },
18 | methods: {
19 | onClose: function () {
20 | this.$emit('close');
21 | },
22 | },
23 | });
24 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/checkbox/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function iconStyle(checkedColor, value, disabled, parentDisabled, iconSize) {
6 | var styles = {
7 | 'font-size': addUnit(iconSize),
8 | };
9 |
10 | if (checkedColor && value && !disabled && !parentDisabled) {
11 | styles['border-color'] = checkedColor;
12 | styles['background-color'] = checkedColor;
13 | }
14 |
15 | return style(styles);
16 | }
17 |
18 | module.exports = {
19 | iconStyle: iconStyle,
20 | };
21 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/index-bar/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-index-bar{position:relative}.van-index-bar__sidebar{position:fixed;top:50%;right:0;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;text-align:center;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-user-select:none;user-select:none}.van-index-bar__index{font-weight:500;padding:0 4px 0 16px;padding:0 var(--padding-base,4px) 0 var(--padding-md,16px);font-size:10px;font-size:var(--index-bar-index-font-size,10px);line-height:14px;line-height:var(--index-bar-index-line-height,14px)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/overlay/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var component_1 = require('../common/component');
4 | component_1.VantComponent({
5 | props: {
6 | show: Boolean,
7 | customStyle: String,
8 | duration: {
9 | type: null,
10 | value: 300,
11 | },
12 | zIndex: {
13 | type: Number,
14 | value: 1,
15 | },
16 | },
17 | methods: {
18 | onClick: function () {
19 | this.$emit('click');
20 | },
21 | // for prevent touchmove
22 | noop: function () {},
23 | },
24 | });
25 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/calendar/components/header/index.wxml:
--------------------------------------------------------------------------------
1 |
17 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/switch/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/index-anchor/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-index-anchor{padding:0 16px;padding:var(--index-anchor-padding,0 16px);color:#323233;color:var(--index-anchor-text-color,#323233);font-weight:500;font-weight:var(--index-anchor-font-weight,500);font-size:14px;font-size:var(--index-anchor-font-size,14px);line-height:32px;line-height:var(--index-anchor-line-height,32px);background-color:initial;background-color:var(--index-anchor-background-color,transparent)}.van-index-anchor--active{right:0;left:0;color:#07c160;color:var(--index-anchor-active-text-color,#07c160);background-color:#fff;background-color:var(--index-anchor-active-background-color,#fff)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/index-bar/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
22 |
23 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/loading/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
9 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/notify/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
15 |
19 | {{ message }}
20 |
21 |
22 |
--------------------------------------------------------------------------------
/app.wxss:
--------------------------------------------------------------------------------
1 | page {
2 | font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica,
3 | Segoe UI, Arial, Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft Yahei',
4 | sans-serif;
5 | }
6 | page,view,image,input {
7 | display: block;
8 | box-sizing: border-box;
9 | }
10 | .badge {
11 | position: absolute;
12 | top: 0;
13 | right: 0;
14 | box-sizing: border-box;
15 | width: 38rpx;
16 | height: 38rpx;
17 | line-height: 38rpx;
18 | color: #fff;
19 | font-size: 20rpx;
20 | text-align: center;
21 | background-color: #e64340;
22 | border: 1rpx solid #fff;
23 | border-radius: 50%;
24 | }
25 | .block-btn {
26 | padding: 0 32rpx;
27 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/area/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
--------------------------------------------------------------------------------
/project.private.config.json:
--------------------------------------------------------------------------------
1 | {
2 | "setting": {
3 | "compileHotReLoad": true,
4 | "urlCheck": false
5 | },
6 | "condition": {
7 | "miniprogram": {
8 | "list": [
9 | {
10 | "name": "pages/pay/index",
11 | "pathName": "pages/pay/index",
12 | "query": "",
13 | "scene": null,
14 | "launchMode": "default"
15 | }
16 | ]
17 | }
18 | },
19 | "projectname": "%E5%B0%8F%E8%9C%9C%E8%9C%82%E7%82%B9%E9%A4%90",
20 | "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
21 | "libVersion": "3.7.12"
22 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/picker/toolbar.wxml:
--------------------------------------------------------------------------------
1 |
2 |
9 | {{ cancelButtonText }}
10 |
11 | {{
12 | title
13 | }}
14 |
21 | {{ confirmButtonText }}
22 |
23 |
24 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sidebar-item/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
19 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sticky/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function wrapStyle(data) {
6 | return style({
7 | transform: data.transform
8 | ? 'translate3d(0, ' + data.transform + 'px, 0)'
9 | : '',
10 | top: data.fixed ? addUnit(data.offsetTop) : '',
11 | 'z-index': data.zIndex,
12 | });
13 | }
14 |
15 | function containerStyle(data) {
16 | return style({
17 | height: data.fixed ? addUnit(data.height) : '',
18 | 'z-index': data.zIndex,
19 | });
20 | }
21 |
22 | module.exports = {
23 | wrapStyle: wrapStyle,
24 | containerStyle: containerStyle,
25 | };
26 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/calendar/utils.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | function getMonthEndDay(year, month) {
3 | return 32 - getDate(year, month - 1, 32).getDate();
4 | }
5 |
6 | function compareMonth(date1, date2) {
7 | date1 = getDate(date1);
8 | date2 = getDate(date2);
9 |
10 | var year1 = date1.getFullYear();
11 | var year2 = date2.getFullYear();
12 | var month1 = date1.getMonth();
13 | var month2 = date2.getMonth();
14 |
15 | if (year1 === year2) {
16 | return month1 === month2 ? 0 : month1 > month2 ? 1 : -1;
17 | }
18 |
19 | return year1 > year2 ? 1 : -1;
20 | }
21 |
22 | module.exports = {
23 | getMonthEndDay: getMonthEndDay,
24 | compareMonth: compareMonth
25 | };
26 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/empty/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | {{ description }}
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/empty/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-empty{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;padding:32px 0}.van-empty__image{width:160px;height:160px}.van-empty__image:empty{display:none}.van-empty__image__img{width:100%;height:100%}.van-empty__image:not(:empty)+.van-empty__image{display:none}.van-empty__description{margin-top:16px;padding:0 60px;color:#969799;font-size:14px;line-height:20px}.van-empty__description:empty,.van-empty__description:not(:empty)+.van-empty__description{display:none}.van-empty__bottom{margin-top:24px}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/switch/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function rootStyle(data) {
6 | var currentColor = data.checked ? data.activeColor : data.inactiveColor;
7 |
8 | return style({
9 | 'font-size': addUnit(data.size),
10 | 'background-color': currentColor,
11 | });
12 | }
13 |
14 | var BLUE = '#1989fa';
15 | var GRAY_DARK = '#969799';
16 |
17 | function loadingColor(data) {
18 | return data.checked
19 | ? data.activeColor || BLUE
20 | : data.inactiveColor || GRAY_DARK;
21 | }
22 |
23 | module.exports = {
24 | rootStyle: rootStyle,
25 | loadingColor: loadingColor,
26 | };
27 |
--------------------------------------------------------------------------------
/images/nav/qc-off.svg:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/goods-action-icon/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var component_1 = require('../common/component');
4 | var button_1 = require('../mixins/button');
5 | var link_1 = require('../mixins/link');
6 | component_1.VantComponent({
7 | classes: ['icon-class', 'text-class'],
8 | mixins: [link_1.link, button_1.button],
9 | props: {
10 | text: String,
11 | dot: Boolean,
12 | info: String,
13 | icon: String,
14 | disabled: Boolean,
15 | loading: Boolean,
16 | },
17 | methods: {
18 | onClick: function (event) {
19 | this.$emit('click', event.detail);
20 | this.jumpLink();
21 | },
22 | },
23 | });
24 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/swipe-cell/index.wxml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/images/nav/qc-on.svg:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/progress/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
12 |
17 | {{ computed.pivotText(pivotText, percentage) }}
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/toast/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var component_1 = require('../common/component');
4 | component_1.VantComponent({
5 | props: {
6 | show: Boolean,
7 | mask: Boolean,
8 | message: String,
9 | forbidClick: Boolean,
10 | zIndex: {
11 | type: Number,
12 | value: 1000,
13 | },
14 | type: {
15 | type: String,
16 | value: 'text',
17 | },
18 | loadingType: {
19 | type: String,
20 | value: 'circular',
21 | },
22 | position: {
23 | type: String,
24 | value: 'middle',
25 | },
26 | },
27 | methods: {
28 | // for prevent touchmove
29 | noop: function () {},
30 | },
31 | });
32 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/radio-group/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var component_1 = require('../common/component');
4 | var relation_1 = require('../common/relation');
5 | component_1.VantComponent({
6 | field: true,
7 | relation: relation_1.useChildren('radio'),
8 | props: {
9 | value: {
10 | type: null,
11 | observer: 'updateChildren',
12 | },
13 | direction: String,
14 | disabled: {
15 | type: Boolean,
16 | observer: 'updateChildren',
17 | },
18 | },
19 | methods: {
20 | updateChildren: function () {
21 | this.children.forEach(function (child) {
22 | return child.updateFromParent();
23 | });
24 | },
25 | },
26 | });
27 |
--------------------------------------------------------------------------------
/utils/image.js:
--------------------------------------------------------------------------------
1 | function imageUtil (originalWidth, originalHeight) {
2 | let imageSize = {}
3 | wx.getSystemInfo({
4 | success: function (res) {
5 | const windowWidth = res.windowWidth
6 | imageSize.x = 0
7 | imageSize.y = 0
8 | imageSize.windowWidth = windowWidth
9 | imageSize.imageWidth = originalWidth
10 | imageSize.imageHeight = originalHeight
11 | if (originalWidth > windowWidth) {
12 | imageSize.imageWidth = windowWidth
13 | imageSize.imageHeight = windowWidth * originalHeight / originalWidth
14 | } else {
15 | imageSize.x = (windowWidth - originalWidth) / 2
16 | }
17 | }
18 | })
19 | return imageSize
20 | }
21 |
22 | module.exports = {
23 | imageUtil: imageUtil
24 | }
25 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/row/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var component_1 = require('../common/component');
4 | var relation_1 = require('../common/relation');
5 | component_1.VantComponent({
6 | relation: relation_1.useChildren('col', function (target) {
7 | var gutter = this.data.gutter;
8 | if (gutter) {
9 | target.setData({ gutter: gutter });
10 | }
11 | }),
12 | props: {
13 | gutter: {
14 | type: Number,
15 | observer: 'setGutter',
16 | },
17 | },
18 | methods: {
19 | setGutter: function () {
20 | var _this = this;
21 | this.children.forEach(function (col) {
22 | col.setData(_this.data);
23 | });
24 | },
25 | },
26 | });
27 |
--------------------------------------------------------------------------------
/pages/notice/detail.js:
--------------------------------------------------------------------------------
1 | const WXAPI = require('apifm-wxapi')
2 | const APP = getApp()
3 | APP.configLoadOK = () => {
4 |
5 | }
6 | Page({
7 | data: {
8 |
9 | },
10 | onLoad: function (options) {
11 | getApp().initLanguage(this)
12 | wx.setNavigationBarTitle({
13 | title: this.data.$t.notice.title,
14 | })
15 | this.noticeDetail(options.id)
16 | },
17 |
18 | /**
19 | * 生命周期函数--监听页面初次渲染完成
20 | */
21 | onReady: function () {
22 |
23 | },
24 |
25 | /**
26 | * 生命周期函数--监听页面显示
27 | */
28 | onShow: function () {
29 |
30 | },
31 | async noticeDetail(id) {
32 | const res = await WXAPI.noticeDetail(id)
33 | if (res.code == 0) {
34 | this.setData({
35 | noticeDetail: res.data
36 | })
37 | }
38 | },
39 | })
--------------------------------------------------------------------------------
/miniprogram_npm/wxa-plugin-canvas/poster/poster.js:
--------------------------------------------------------------------------------
1 | const defaultOptions = {
2 | selector: '#poster'
3 | };
4 |
5 | function Poster(options = {}, that) {
6 | options = {
7 | ...defaultOptions,
8 | ...options,
9 | };
10 |
11 | const pages = getCurrentPages();
12 | let ctx = pages[pages.length - 1];
13 | if (that) ctx = that
14 | const poster = ctx.selectComponent(options.selector);
15 | delete options.selector;
16 |
17 | return poster;
18 | };
19 |
20 | Poster.create = (reset = false, that) => {
21 | const poster = Poster({}, that);
22 | if (!poster) {
23 | console.error('请设置组件的id="poster"!!!');
24 | } else {
25 | return Poster({}, that).onCreate(reset);
26 | }
27 | }
28 |
29 | export default Poster;
30 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/image/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function rootStyle(data) {
6 | return style([
7 | {
8 | width: addUnit(data.width),
9 | height: addUnit(data.height),
10 | 'border-radius': addUnit(data.radius),
11 | },
12 | data.radius ? 'overflow: hidden' : null,
13 | ]);
14 | }
15 |
16 | var FIT_MODE_MAP = {
17 | none: 'center',
18 | fill: 'scaleToFill',
19 | cover: 'aspectFill',
20 | contain: 'aspectFit',
21 | widthFix: 'widthFix',
22 | heightFix: 'heightFix',
23 | };
24 |
25 | function mode(fit) {
26 | return FIT_MODE_MAP[fit];
27 | }
28 |
29 | module.exports = {
30 | rootStyle: rootStyle,
31 | mode: mode,
32 | };
33 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/notify/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-notify{text-align:center;word-wrap:break-word;padding:6px 15px;padding:var(--notify-padding,6px 15px);font-size:14px;font-size:var(--notify-font-size,14px);line-height:20px;line-height:var(--notify-line-height,20px)}.van-notify__container{position:fixed;top:0;left:0;box-sizing:border-box;width:100%}.van-notify--primary{background-color:#1989fa;background-color:var(--notify-primary-background-color,#1989fa)}.van-notify--success{background-color:#07c160;background-color:var(--notify-success-background-color,#07c160)}.van-notify--danger{background-color:#ee0a24;background-color:var(--notify-danger-background-color,#ee0a24)}.van-notify--warning{background-color:#ff976a;background-color:var(--notify-warning-background-color,#ff976a)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/calendar/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "beeorder",
3 | "version": "1.0.0",
4 | "description": "微信小程序——餐饮点餐商城,是针对餐饮行业推出的一套完整的餐饮解决方案,实现了用户在线点餐下单、外卖、叫号排队、支付、配送等功能,完美的使餐饮行业更高效便捷!",
5 | "main": "app.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "repository": {
10 | "type": "git",
11 | "url": "git+https://github.com/woniudiancang/bee.git"
12 | },
13 | "author": "",
14 | "license": "ISC",
15 | "bugs": {
16 | "url": "https://github.com/woniudiancang/bee/issues"
17 | },
18 | "homepage": "https://github.com/woniudiancang/bee#readme",
19 | "dependencies": {
20 | "@vant/weapp": "^1.6.9",
21 | "apifm-wxapi": "^3.38.0",
22 | "wxbarcode": "^1.0.2"
23 | },
24 | "devDependencies": {
25 | "sharp": "^0.34.4"
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/utils/tools.js:
--------------------------------------------------------------------------------
1 | const WXAPI = require('apifm-wxapi')
2 |
3 | // 显示购物车tabBar的Badge
4 | async function showTabBarBadge(noTabBarPage){
5 | const token = wx.getStorageSync('token')
6 | if (!token) {
7 | return 0
8 | }
9 | let number = 0
10 | // 自营商品
11 | let res = await WXAPI.shippingCarInfo(token)
12 | if (res.code == 0) {
13 | number += res.data.number
14 | }
15 | if (!noTabBarPage) {
16 | if (number == 0) {
17 | // 删除红点点
18 | wx.removeTabBarBadge({
19 | index: 3
20 | })
21 | } else {
22 | // 显示红点点
23 | wx.setTabBarBadge({
24 | index: 3,
25 | text: number + ''
26 | })
27 | }
28 | }
29 | return number
30 | }
31 |
32 | module.exports = {
33 | showTabBarBadge: showTabBarBadge
34 | }
--------------------------------------------------------------------------------
/images/nav/index-off.svg:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/goods-action-icon/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-goods-action-icon{display:-webkit-flex!important;display:flex!important;-webkit-flex-direction:column;flex-direction:column;-webkit-justify-content:center!important;justify-content:center!important;line-height:1!important;border:none!important;font-size:10px!important;font-size:var(--goods-action-icon-font-size,10px)!important;color:#646566!important;color:var(--goods-action-icon-text-color,#646566)!important;min-width:48px;min-width:var(--goods-action-icon-width,48px);height:50px!important;height:var(--goods-action-icon-height,50px)!important}.van-goods-action-icon__icon{display:-webkit-flex;display:flex;margin:0 auto 5px;color:#323233;color:var(--goods-action-icon-color,#323233);font-size:18px;font-size:var(--goods-action-icon-size,18px)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/mixins/link.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | exports.link = void 0;
4 | exports.link = Behavior({
5 | properties: {
6 | url: String,
7 | linkType: {
8 | type: String,
9 | value: 'navigateTo',
10 | },
11 | },
12 | methods: {
13 | jumpLink: function (urlKey) {
14 | if (urlKey === void 0) {
15 | urlKey = 'url';
16 | }
17 | var url = this.data[urlKey];
18 | if (url) {
19 | if (
20 | this.data.linkType === 'navigateTo' &&
21 | getCurrentPages().length > 9
22 | ) {
23 | wx.redirectTo({ url: url });
24 | } else {
25 | wx[this.data.linkType]({ url: url });
26 | }
27 | }
28 | },
29 | },
30 | });
31 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/uploader/shared.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | exports.chooseVideoProps = exports.chooseImageProps = void 0;
4 | // props for choose image
5 | exports.chooseImageProps = {
6 | sizeType: {
7 | type: Array,
8 | value: ['original', 'compressed'],
9 | },
10 | capture: {
11 | type: Array,
12 | value: ['album', 'camera'],
13 | },
14 | };
15 | // props for choose video
16 | exports.chooseVideoProps = {
17 | capture: {
18 | type: Array,
19 | value: ['album', 'camera'],
20 | },
21 | compressed: {
22 | type: Boolean,
23 | value: true,
24 | },
25 | maxDuration: {
26 | type: Number,
27 | value: 60,
28 | },
29 | camera: {
30 | type: String,
31 | value: 'back',
32 | },
33 | };
34 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tabbar-item/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';:host{-webkit-flex:1;flex:1}.van-tabbar-item{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;height:100%;color:#646566;color:var(--tabbar-item-text-color,#646566);font-size:12px;font-size:var(--tabbar-item-font-size,12px);line-height:1;line-height:var(--tabbar-item-line-height,1)}.van-tabbar-item__icon{position:relative;margin-bottom:4px;margin-bottom:var(--tabbar-item-margin-bottom,4px);font-size:22px;font-size:var(--tabbar-item-icon-size,22px)}.van-tabbar-item__icon__inner{display:block;min-width:1em}.van-tabbar-item--active{color:#1989fa;color:var(--tabbar-item-active-color,#1989fa)}.van-tabbar-item__info{margin-top:2px}
--------------------------------------------------------------------------------
/images/nav/index-on.svg:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/wxs/style.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var object = require('./object.wxs');
3 | var array = require('./array.wxs');
4 |
5 | function style(styles) {
6 | if (array.isArray(styles)) {
7 | return styles
8 | .filter(function (item) {
9 | return item != null && item !== '';
10 | })
11 | .map(function (item) {
12 | return style(item);
13 | })
14 | .join(';');
15 | }
16 |
17 | if ('Object' === styles.constructor) {
18 | return object
19 | .keys(styles)
20 | .filter(function (key) {
21 | return styles[key] != null && styles[key] !== '';
22 | })
23 | .map(function (key) {
24 | return [key, [styles[key]]].join(':');
25 | })
26 | .join(';');
27 | }
28 |
29 | return styles;
30 | }
31 |
32 | module.exports = style;
33 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/share-sheet/options.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
12 |
15 | {{ item.name }}
16 |
17 | {{ item.description }}
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/dropdown-menu/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
24 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/radio/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function iconStyle(data) {
6 | var styles = {
7 | 'font-size': addUnit(data.iconSize),
8 | };
9 |
10 | if (
11 | data.checkedColor &&
12 | !(data.disabled || data.parentDisabled) &&
13 | data.value === data.name
14 | ) {
15 | styles['border-color'] = data.checkedColor;
16 | styles['background-color'] = data.checkedColor;
17 | }
18 |
19 | return style(styles);
20 | }
21 |
22 | function iconCustomStyle(data) {
23 | return style({
24 | 'line-height': addUnit(data.iconSize),
25 | 'font-size': '.8em',
26 | display: 'block',
27 | });
28 | }
29 |
30 | module.exports = {
31 | iconStyle: iconStyle,
32 | iconCustomStyle: iconCustomStyle,
33 | };
34 |
--------------------------------------------------------------------------------
/images/nav/qh-off.svg:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tabbar-item/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/pages/score/logs.js:
--------------------------------------------------------------------------------
1 | const APP = getApp()
2 | const WXAPI = require('apifm-wxapi')
3 |
4 | // fixed首次打开不显示标题的bug
5 | APP.configLoadOK = () => {
6 |
7 | }
8 | Page({
9 |
10 | /**
11 | * 页面的初始数据
12 | */
13 | data: {
14 |
15 | },
16 | onLoad: function (options) {
17 | getApp().initLanguage(this)
18 | wx.setNavigationBarTitle({
19 | title: this.data.$t.scoreLogs.title,
20 | })
21 | this.scoreLogs()
22 | },
23 | onShow: function () {
24 |
25 | },
26 | async scoreLogs() {
27 | wx.showLoading({
28 | title: '',
29 | })
30 | const res = await WXAPI.scoreLogs({
31 | token: wx.getStorageSync('token'),
32 | page:1,
33 | pageSize:500
34 | })
35 | wx.hideLoading()
36 | if (res.code == 0) {
37 | this.setData({
38 | scoreLogs: res.data.result
39 | })
40 | }
41 | },
42 | })
--------------------------------------------------------------------------------
/images/nav/qh-on.svg:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/grid-item/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function wrapperStyle(data) {
6 | var width = 100 / data.columnNum + '%';
7 |
8 | return style({
9 | width: width,
10 | 'padding-top': data.square ? width : null,
11 | 'padding-right': addUnit(data.gutter),
12 | 'margin-top':
13 | data.index >= data.columnNum && !data.square
14 | ? addUnit(data.gutter)
15 | : null,
16 | });
17 | }
18 |
19 | function contentStyle(data) {
20 | return data.square
21 | ? style({
22 | right: addUnit(data.gutter),
23 | bottom: addUnit(data.gutter),
24 | height: 'auto',
25 | })
26 | : '';
27 | }
28 |
29 | module.exports = {
30 | wrapperStyle: wrapperStyle,
31 | contentStyle: contentStyle,
32 | };
33 |
--------------------------------------------------------------------------------
/pages/asset/cash-log.js:
--------------------------------------------------------------------------------
1 | const APP = getApp()
2 | const WXAPI = require('apifm-wxapi')
3 |
4 | // fixed首次打开不显示标题的bug
5 | APP.configLoadOK = () => {
6 |
7 | }
8 | Page({
9 |
10 | /**
11 | * 页面的初始数据
12 | */
13 | data: {
14 |
15 | },
16 | onLoad: function (options) {
17 | getApp().initLanguage(this)
18 | wx.setNavigationBarTitle({
19 | title: this.data.$t.cashLog.title,
20 | })
21 | this.cashLogsV2()
22 | },
23 | onShow: function () {
24 |
25 | },
26 | async cashLogsV2() {
27 | wx.showLoading({
28 | title: '',
29 | })
30 | const res = await WXAPI.cashLogsV2({
31 | token: wx.getStorageSync('token'),
32 | page:1,
33 | pageSize:500
34 | })
35 | wx.hideLoading()
36 | if (res.code == 0) {
37 | this.setData({
38 | cashLogsV2: res.data.result
39 | })
40 | }
41 | },
42 | })
--------------------------------------------------------------------------------
/pages/asset/recharge-log.js:
--------------------------------------------------------------------------------
1 | const APP = getApp()
2 | const WXAPI = require('apifm-wxapi')
3 |
4 | // fixed首次打开不显示标题的bug
5 | APP.configLoadOK = () => {
6 |
7 | }
8 | Page({
9 |
10 | /**
11 | * 页面的初始数据
12 | */
13 | data: {
14 |
15 | },
16 | onLoad: function (options) {
17 | getApp().initLanguage(this)
18 | wx.setNavigationBarTitle({
19 | title: this.data.$t.asset.rechargeLogs,
20 | })
21 | this.payLogs()
22 | },
23 | onShow: function () {
24 |
25 | },
26 | async payLogs() {
27 | wx.showLoading({
28 | title: '',
29 | })
30 | const res = await WXAPI.payLogs({
31 | token: wx.getStorageSync('token'),
32 | page:1,
33 | pageSize:500,
34 | status: 1
35 | })
36 | wx.hideLoading()
37 | if (res.code == 0) {
38 | this.setData({
39 | payLogs: res.data
40 | })
41 | }
42 | },
43 | })
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/calendar/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var utils = require('./utils.wxs');
3 |
4 | function getMonths(minDate, maxDate) {
5 | var months = [];
6 | var cursor = getDate(minDate);
7 |
8 | cursor.setDate(1);
9 |
10 | do {
11 | months.push(cursor.getTime());
12 | cursor.setMonth(cursor.getMonth() + 1);
13 | } while (utils.compareMonth(cursor, getDate(maxDate)) !== 1);
14 |
15 | return months;
16 | }
17 |
18 | function getButtonDisabled(type, currentDate) {
19 | if (currentDate == null) {
20 | return true;
21 | }
22 |
23 | if (type === 'range') {
24 | return !currentDate[0] || !currentDate[1];
25 | }
26 |
27 | if (type === 'multiple') {
28 | return !currentDate.length;
29 | }
30 |
31 | return !currentDate;
32 | }
33 |
34 | module.exports = {
35 | getMonths: getMonths,
36 | getButtonDisabled: getButtonDisabled
37 | };
38 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/common/style/hairline.wxss:
--------------------------------------------------------------------------------
1 | .van-hairline,.van-hairline--bottom,.van-hairline--left,.van-hairline--right,.van-hairline--surround,.van-hairline--top,.van-hairline--top-bottom{position:relative}.van-hairline--bottom:after,.van-hairline--left:after,.van-hairline--right:after,.van-hairline--surround:after,.van-hairline--top-bottom:after,.van-hairline--top:after,.van-hairline:after{position:absolute;box-sizing:border-box;-webkit-transform-origin:center;transform-origin:center;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid #ebedf0;-webkit-transform:scale(.5);transform:scale(.5)}.van-hairline--top:after{border-top-width:1px}.van-hairline--left:after{border-left-width:1px}.van-hairline--right:after{border-right-width:1px}.van-hairline--bottom:after{border-bottom-width:1px}.van-hairline--top-bottom:after{border-width:1px 0}.van-hairline--surround:after{border-width:1px}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/index-anchor/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var utils_1 = require('../common/utils');
4 | var component_1 = require('../common/component');
5 | var relation_1 = require('../common/relation');
6 | component_1.VantComponent({
7 | relation: relation_1.useParent('index-bar'),
8 | props: {
9 | useSlot: Boolean,
10 | index: null,
11 | },
12 | data: {
13 | active: false,
14 | wrapperStyle: '',
15 | anchorStyle: '',
16 | },
17 | methods: {
18 | scrollIntoView: function (scrollTop) {
19 | var _this = this;
20 | utils_1.getRect(this, '.van-index-anchor-wrapper').then(function (rect) {
21 | wx.pageScrollTo({
22 | duration: 0,
23 | scrollTop: scrollTop + rect.top - _this.parent.data.stickyOffsetTop,
24 | });
25 | });
26 | },
27 | },
28 | });
29 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/share-sheet/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-share-sheet__header{padding:12px 16px 4px;text-align:center}.van-share-sheet__title{margin-top:8px;color:#323233;font-weight:400;font-size:14px;line-height:20px}.van-share-sheet__title:empty,.van-share-sheet__title:not(:empty)+.van-share-sheet__title{display:none}.van-share-sheet__description{display:block;margin-top:8px;color:#969799;font-size:12px;line-height:16px}.van-share-sheet__description:empty,.van-share-sheet__description:not(:empty)+.van-share-sheet__description{display:none}.van-share-sheet__cancel{display:block;box-sizing:initial;width:100%;height:auto;padding:0;font-size:16px;line-height:48px;text-align:center;background:#fff;border:none}.van-share-sheet__cancel:before{display:block;height:8px;background-color:#f7f8fa;content:" "}.van-share-sheet__cancel:after{display:none}.van-share-sheet__cancel:active{background-color:#f2f3f5}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/slider/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
13 |
20 |
24 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/popup/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
12 |
26 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/progress/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-progress{position:relative;height:4px;height:var(--progress-height,4px);border-radius:4px;border-radius:var(--progress-height,4px);background:#ebedf0;background:var(--progress-background-color,#ebedf0)}.van-progress__portion{position:absolute;left:0;height:100%;border-radius:inherit;background:#1989fa;background:var(--progress-color,#1989fa)}.van-progress__pivot{position:absolute;top:50%;box-sizing:border-box;min-width:3.6em;text-align:center;word-break:keep-all;border-radius:1em;-webkit-transform:translateY(-50%);transform:translateY(-50%);color:#fff;color:var(--progress-pivot-text-color,#fff);padding:0 5px;padding:var(--progress-pivot-padding,0 5px);font-size:10px;font-size:var(--progress-pivot-font-size,10px);line-height:1.6;line-height:var(--progress-pivot-line-height,1.6);background-color:#1989fa;background-color:var(--progress-pivot-background-color,#1989fa)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/slider/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-slider{position:relative;border-radius:999px;border-radius:var(--border-radius-max,999px);background-color:#ebedf0;background-color:var(--slider-inactive-background-color,#ebedf0)}.van-slider:before{position:absolute;right:0;left:0;content:"";top:-8px;top:-var(--padding-xs,8px);bottom:-8px;bottom:-var(--padding-xs,8px)}.van-slider__bar{position:relative;border-radius:inherit;transition:width .2s;transition:width var(--animation-duration-fast,.2s);background-color:#1989fa;background-color:var(--slider-active-background-color,#1989fa)}.van-slider__button{width:24px;height:24px;border-radius:50%;box-shadow:0 1px 2px rgba(0,0,0,.5);background-color:#fff;background-color:var(--slider-button-background-color,#fff)}.van-slider__button-wrapper{position:absolute;top:50%;right:0;-webkit-transform:translate3d(50%,-50%,0);transform:translate3d(50%,-50%,0)}.van-slider--disabled{opacity:.5}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/calendar/components/header/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../../../common/index.wxss';.van-calendar__header{-webkit-flex-shrink:0;flex-shrink:0;box-shadow:0 2px 10px rgba(125,126,128,.16);box-shadow:var(--calendar-header-box-shadow,0 2px 10px rgba(125,126,128,.16))}.van-calendar__header-subtitle,.van-calendar__header-title{text-align:center;height:44px;height:var(--calendar-header-title-height,44px);font-weight:500;font-weight:var(--font-weight-bold,500);line-height:44px;line-height:var(--calendar-header-title-height,44px)}.van-calendar__header-title+.van-calendar__header-title,.van-calendar__header-title:empty{display:none}.van-calendar__header-title:empty+.van-calendar__header-title{display:block!important}.van-calendar__weekdays{display:-webkit-flex;display:flex}.van-calendar__weekday{-webkit-flex:1;flex:1;text-align:center;font-size:12px;font-size:var(--calendar-weekdays-font-size,12px);line-height:30px;line-height:var(--calendar-weekdays-height,30px)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/icon/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function isImage(name) {
6 | return name.indexOf('/') !== -1;
7 | }
8 |
9 | function rootClass(data) {
10 | var classes = ['custom-class'];
11 |
12 | if (data.classPrefix != null) {
13 | classes.push(data.classPrefix);
14 | }
15 |
16 | if (isImage(data.name)) {
17 | classes.push('van-icon--image');
18 | } else if (data.classPrefix != null) {
19 | classes.push(data.classPrefix + '-' + data.name);
20 | }
21 |
22 | return classes.join(' ');
23 | }
24 |
25 | function rootStyle(data) {
26 | return style([
27 | {
28 | color: data.color,
29 | 'font-size': addUnit(data.size),
30 | },
31 | data.customStyle,
32 | ]);
33 | }
34 |
35 | module.exports = {
36 | isImage: isImage,
37 | rootClass: rootClass,
38 | rootStyle: rootStyle,
39 | };
40 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/steps/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var component_1 = require('../common/component');
4 | var color_1 = require('../common/color');
5 | component_1.VantComponent({
6 | classes: ['desc-class'],
7 | props: {
8 | icon: String,
9 | steps: Array,
10 | active: Number,
11 | direction: {
12 | type: String,
13 | value: 'horizontal',
14 | },
15 | activeColor: {
16 | type: String,
17 | value: color_1.GREEN,
18 | },
19 | inactiveColor: {
20 | type: String,
21 | value: color_1.GRAY_DARK,
22 | },
23 | activeIcon: {
24 | type: String,
25 | value: 'checked',
26 | },
27 | inactiveIcon: String,
28 | },
29 | methods: {
30 | onClick: function (event) {
31 | var index = event.currentTarget.dataset.index;
32 | this.$emit('click-step', index);
33 | },
34 | },
35 | });
36 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/button/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 |
4 | function rootStyle(data) {
5 | if (!data.color) {
6 | return data.customStyle;
7 | }
8 |
9 | var properties = {
10 | color: data.plain ? data.color : '#fff',
11 | background: data.plain ? null : data.color,
12 | };
13 |
14 | // hide border when color is linear-gradient
15 | if (data.color.indexOf('gradient') !== -1) {
16 | properties.border = 0;
17 | } else {
18 | properties['border-color'] = data.color;
19 | }
20 |
21 | return style([properties, data.customStyle]);
22 | }
23 |
24 | function loadingColor(data) {
25 | if (data.plain) {
26 | return data.color ? data.color : '#c9c9c9';
27 | }
28 |
29 | if (data.type === 'default') {
30 | return '#c9c9c9';
31 | }
32 |
33 | return '#fff';
34 | }
35 |
36 | module.exports = {
37 | rootStyle: rootStyle,
38 | loadingColor: loadingColor,
39 | };
40 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/skeleton/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
12 |
13 |
18 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/wxs/bem.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var array = require('./array.wxs');
3 | var object = require('./object.wxs');
4 | var PREFIX = 'van-';
5 |
6 | function join(name, mods) {
7 | name = PREFIX + name;
8 | mods = mods.map(function(mod) {
9 | return name + '--' + mod;
10 | });
11 | mods.unshift(name);
12 | return mods.join(' ');
13 | }
14 |
15 | function traversing(mods, conf) {
16 | if (!conf) {
17 | return;
18 | }
19 |
20 | if (typeof conf === 'string' || typeof conf === 'number') {
21 | mods.push(conf);
22 | } else if (array.isArray(conf)) {
23 | conf.forEach(function(item) {
24 | traversing(mods, item);
25 | });
26 | } else if (typeof conf === 'object') {
27 | object.keys(conf).forEach(function(key) {
28 | conf[key] && mods.push(key);
29 | });
30 | }
31 | }
32 |
33 | function bem(name, conf) {
34 | var mods = [];
35 | traversing(mods, conf);
36 | return join(name, mods);
37 | }
38 |
39 | module.exports = bem;
40 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/picker-column/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
12 |
13 | {{ computed.optionText(option, valueKey) }}
22 |
23 |
24 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/share-sheet/options.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | var __assign =
3 | (this && this.__assign) ||
4 | function () {
5 | __assign =
6 | Object.assign ||
7 | function (t) {
8 | for (var s, i = 1, n = arguments.length; i < n; i++) {
9 | s = arguments[i];
10 | for (var p in s)
11 | if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
12 | }
13 | return t;
14 | };
15 | return __assign.apply(this, arguments);
16 | };
17 | Object.defineProperty(exports, '__esModule', { value: true });
18 | var component_1 = require('../common/component');
19 | component_1.VantComponent({
20 | props: {
21 | options: Array,
22 | showBorder: Boolean,
23 | },
24 | methods: {
25 | onSelect: function (event) {
26 | var index = event.currentTarget.dataset.index;
27 | var option = this.data.options[index];
28 | this.$emit('select', __assign(__assign({}, option), { index: index }));
29 | },
30 | },
31 | });
32 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sidebar-item/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var component_1 = require('../common/component');
4 | var relation_1 = require('../common/relation');
5 | component_1.VantComponent({
6 | classes: ['active-class', 'disabled-class'],
7 | relation: relation_1.useParent('sidebar'),
8 | props: {
9 | dot: Boolean,
10 | badge: null,
11 | info: null,
12 | title: String,
13 | disabled: Boolean,
14 | },
15 | methods: {
16 | onClick: function () {
17 | var _this = this;
18 | var parent = this.parent;
19 | if (!parent || this.data.disabled) {
20 | return;
21 | }
22 | var index = parent.children.indexOf(this);
23 | parent.setActive(index).then(function () {
24 | _this.$emit('click', index);
25 | parent.$emit('change', index);
26 | });
27 | },
28 | setActive: function (selected) {
29 | return this.setData({ selected: selected });
30 | },
31 | },
32 | });
33 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/picker/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 | var array = require('../wxs/array.wxs');
5 |
6 | function columnsStyle(data) {
7 | return style({
8 | height: addUnit(data.itemHeight * data.visibleItemCount),
9 | });
10 | }
11 |
12 | function maskStyle(data) {
13 | return style({
14 | 'background-size':
15 | '100% ' + addUnit((data.itemHeight * (data.visibleItemCount - 1)) / 2),
16 | });
17 | }
18 |
19 | function frameStyle(data) {
20 | return style({
21 | height: addUnit(data.itemHeight),
22 | });
23 | }
24 |
25 | function columns(columns) {
26 | if (!array.isArray(columns)) {
27 | return [];
28 | }
29 |
30 | if (columns.length && !columns[0].values) {
31 | return [{ values: columns }];
32 | }
33 |
34 | return columns;
35 | }
36 |
37 | module.exports = {
38 | columnsStyle: columnsStyle,
39 | frameStyle: frameStyle,
40 | maskStyle: maskStyle,
41 | columns: columns,
42 | };
43 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/progress/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var utils = require('../wxs/utils.wxs');
3 | var style = require('../wxs/style.wxs');
4 |
5 | function pivotText(pivotText, percentage) {
6 | return pivotText || percentage + '%';
7 | }
8 |
9 | function rootStyle(data) {
10 | return style({
11 | 'height': data.strokeWidth ? utils.addUnit(data.strokeWidth) : '',
12 | 'background': data.trackColor,
13 | });
14 | }
15 |
16 | function portionStyle(data) {
17 | return style({
18 | background: data.inactive ? '#cacaca' : data.color,
19 | width: data.percentage ? data.percentage + '%' : '',
20 | });
21 | }
22 |
23 | function pivotStyle(data) {
24 | return style({
25 | color: data.textColor,
26 | right: data.right + 'px',
27 | background: data.pivotColor ? data.pivotColor : data.inactive ? '#cacaca' : data.color,
28 | });
29 | }
30 |
31 | module.exports = {
32 | pivotText: pivotText,
33 | rootStyle: rootStyle,
34 | portionStyle: portionStyle,
35 | pivotStyle: pivotStyle,
36 | };
37 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/cell/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var link_1 = require('../mixins/link');
4 | var component_1 = require('../common/component');
5 | component_1.VantComponent({
6 | classes: [
7 | 'title-class',
8 | 'label-class',
9 | 'value-class',
10 | 'right-icon-class',
11 | 'hover-class',
12 | ],
13 | mixins: [link_1.link],
14 | props: {
15 | title: null,
16 | value: null,
17 | icon: String,
18 | size: String,
19 | label: String,
20 | center: Boolean,
21 | isLink: Boolean,
22 | required: Boolean,
23 | clickable: Boolean,
24 | titleWidth: String,
25 | customStyle: String,
26 | arrowDirection: String,
27 | useLabelSlot: Boolean,
28 | border: {
29 | type: Boolean,
30 | value: true,
31 | },
32 | titleStyle: String,
33 | },
34 | methods: {
35 | onClick: function (event) {
36 | this.$emit('click', event.detail);
37 | this.jumpLink();
38 | },
39 | },
40 | });
41 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/picker-column/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function isObj(x) {
6 | var type = typeof x;
7 | return x !== null && (type === 'object' || type === 'function');
8 | }
9 |
10 | function optionText(option, valueKey) {
11 | return isObj(option) && option[valueKey] != null ? option[valueKey] : option;
12 | }
13 |
14 | function rootStyle(data) {
15 | return style({
16 | height: addUnit(data.itemHeight * data.visibleItemCount),
17 | });
18 | }
19 |
20 | function wrapperStyle(data) {
21 | var offset = addUnit(
22 | data.offset + (data.itemHeight * (data.visibleItemCount - 1)) / 2
23 | );
24 |
25 | return style({
26 | transition: 'transform ' + data.duration + 'ms',
27 | 'line-height': addUnit(data.itemHeight),
28 | transform: 'translate3d(0, ' + offset + ', 0)',
29 | });
30 | }
31 |
32 | module.exports = {
33 | optionText: optionText,
34 | rootStyle: rootStyle,
35 | wrapperStyle: wrapperStyle,
36 | };
37 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/field/input.wxml:
--------------------------------------------------------------------------------
1 |
28 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/image/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-image{position:relative;display:inline-block}.van-image--round{overflow:hidden;border-radius:50%}.van-image--round .van-image__img{border-radius:inherit}.van-image__error,.van-image__img,.van-image__loading{display:block;width:100%;height:100%}.van-image__error,.van-image__loading{position:absolute;top:0;left:0;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;color:#969799;color:var(--image-placeholder-text-color,#969799);font-size:14px;font-size:var(--image-placeholder-font-size,14px);background-color:#f7f8fa;background-color:var(--image-placeholder-background-color,#f7f8fa)}.van-image__loading-icon{color:#dcdee0;color:var(--image-loading-icon-color,#dcdee0);font-size:32px!important;font-size:var(--image-loading-icon-size,32px)!important}.van-image__error-icon{color:#dcdee0;color:var(--image-error-icon-color,#dcdee0);font-size:32px!important;font-size:var(--image-error-icon-size,32px)!important}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/toast/index.wxml:
--------------------------------------------------------------------------------
1 |
7 |
12 |
16 |
17 | {{ message }}
18 |
19 |
20 |
21 |
27 |
28 | {{ message }}
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/goods-action-button/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
28 | {{ text }}
29 |
30 |
31 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tree-select/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-tree-select{position:relative;display:-webkit-flex;display:flex;-webkit-user-select:none;user-select:none;font-size:14px;font-size:var(--tree-select-font-size,14px)}.van-tree-select__nav{-webkit-flex:1;flex:1;background-color:#f7f8fa;background-color:var(--tree-select-nav-background-color,#f7f8fa);--sidebar-padding:12px 8px 12px 12px}.van-tree-select__nav__inner{width:100%!important;height:100%}.van-tree-select__content{-webkit-flex:2;flex:2;background-color:#fff;background-color:var(--tree-select-content-background-color,#fff)}.van-tree-select__item{position:relative;font-weight:700;padding:0 32px 0 16px;padding:0 32px 0 var(--padding-md,16px);line-height:44px;line-height:var(--tree-select-item-height,44px)}.van-tree-select__item--active{color:#ee0a24;color:var(--tree-select-item-active-color,#ee0a24)}.van-tree-select__item--disabled{color:#c8c9cc;color:var(--tree-select-item-disabled-color,#c8c9cc)}.van-tree-select__selected{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:16px;right:var(--padding-md,16px)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/checkbox-group/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var relation_1 = require('../common/relation');
4 | var component_1 = require('../common/component');
5 | component_1.VantComponent({
6 | field: true,
7 | relation: relation_1.useChildren('checkbox', function (target) {
8 | this.updateChild(target);
9 | }),
10 | props: {
11 | max: Number,
12 | value: {
13 | type: Array,
14 | observer: 'updateChildren',
15 | },
16 | disabled: {
17 | type: Boolean,
18 | observer: 'updateChildren',
19 | },
20 | },
21 | methods: {
22 | updateChildren: function () {
23 | var _this = this;
24 | this.children.forEach(function (child) {
25 | return _this.updateChild(child);
26 | });
27 | },
28 | updateChild: function (child) {
29 | var _a = this.data,
30 | value = _a.value,
31 | disabled = _a.disabled;
32 | child.setData({
33 | value: value.indexOf(child.data.name) !== -1,
34 | parentDisabled: disabled,
35 | });
36 | },
37 | },
38 | });
39 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/goods-action-icon/index.wxml:
--------------------------------------------------------------------------------
1 |
25 |
33 |
34 | {{ text }}
35 |
36 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/share-sheet/options.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-share-sheet__options{position:relative;display:-webkit-flex;display:flex;padding:16px 0 16px 8px;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch}.van-share-sheet__options--border:before{position:absolute;box-sizing:border-box;-webkit-transform-origin:center;transform-origin:center;content:" ";pointer-events:none;top:0;right:0;left:16px;border-top:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.van-share-sheet__options::-webkit-scrollbar{height:0}.van-share-sheet__option{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:center;align-items:center;-webkit-user-select:none;user-select:none}.van-share-sheet__option:active{opacity:.7}.van-share-sheet__button{height:auto;padding:0;line-height:inherit;background-color:initial;border:0}.van-share-sheet__button:after{border:0}.van-share-sheet__icon{width:48px;height:48px;margin:0 16px}.van-share-sheet__name{margin-top:8px;padding:0 4px;color:#646566;font-size:12px}.van-share-sheet__option-description{padding:0 4px;color:#c8c9cc;font-size:12px}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/image/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
19 |
20 |
24 |
25 |
26 |
27 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/skeleton/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-skeleton{display:-webkit-flex;display:flex;box-sizing:border-box;width:100%;padding:0 16px;padding:var(--skeleton-padding,0 16px)}.van-skeleton__avatar{-webkit-flex-shrink:0;flex-shrink:0;margin-right:16px;margin-right:var(--padding-md,16px);background-color:#f2f3f5;background-color:var(--skeleton-avatar-background-color,#f2f3f5)}.van-skeleton__avatar--round{border-radius:100%}.van-skeleton__content{-webkit-flex:1;flex:1}.van-skeleton__avatar+.van-skeleton__content{padding-top:8px;padding-top:var(--padding-xs,8px)}.van-skeleton__row,.van-skeleton__title{height:16px;height:var(--skeleton-row-height,16px);background-color:#f2f3f5;background-color:var(--skeleton-row-background-color,#f2f3f5)}.van-skeleton__title{margin:0}.van-skeleton__row:not(:first-child){margin-top:12px;margin-top:var(--skeleton-row-margin-top,12px)}.van-skeleton__title+.van-skeleton__row{margin-top:20px}.van-skeleton--animate{-webkit-animation:van-skeleton-blink 1.2s ease-in-out infinite;animation:van-skeleton-blink 1.2s ease-in-out infinite}@-webkit-keyframes van-skeleton-blink{50%{opacity:.6}}@keyframes van-skeleton-blink{50%{opacity:.6}}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/grid-item/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | {{ text }}
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/field/textarea.wxml:
--------------------------------------------------------------------------------
1 |
30 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/switch/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var component_1 = require('../common/component');
4 | component_1.VantComponent({
5 | field: true,
6 | classes: ['node-class'],
7 | props: {
8 | checked: null,
9 | loading: Boolean,
10 | disabled: Boolean,
11 | activeColor: String,
12 | inactiveColor: String,
13 | size: {
14 | type: String,
15 | value: '30',
16 | },
17 | activeValue: {
18 | type: null,
19 | value: true,
20 | },
21 | inactiveValue: {
22 | type: null,
23 | value: false,
24 | },
25 | },
26 | methods: {
27 | onClick: function () {
28 | var _a = this.data,
29 | activeValue = _a.activeValue,
30 | inactiveValue = _a.inactiveValue,
31 | disabled = _a.disabled,
32 | loading = _a.loading;
33 | if (disabled || loading) {
34 | return;
35 | }
36 | var checked = this.data.checked === activeValue;
37 | var value = checked ? inactiveValue : activeValue;
38 | this.$emit('input', value);
39 | this.$emit('change', value);
40 | },
41 | },
42 | });
43 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/calendar/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-calendar{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;height:100%;height:var(--calendar-height,100%);background-color:#fff;background-color:var(--calendar-background-color,#fff)}.van-calendar__close-icon{top:11px}.van-calendar__popup--bottom,.van-calendar__popup--top{height:80%;height:var(--calendar-popup-height,80%)}.van-calendar__popup--left,.van-calendar__popup--right{height:100%}.van-calendar__body{-webkit-flex:1;flex:1;overflow:auto;-webkit-overflow-scrolling:touch}.van-calendar__footer{-webkit-flex-shrink:0;flex-shrink:0;padding:0 16px;padding:0 var(--padding-md,16px)}.van-calendar__footer--safe-area-inset-bottom{padding-bottom:env(safe-area-inset-bottom)}.van-calendar__footer+.van-calendar__footer,.van-calendar__footer:empty{display:none}.van-calendar__footer:empty+.van-calendar__footer{display:block!important}.van-calendar__confirm{height:36px!important;height:var(--calendar-confirm-button-height,36px)!important;margin:7px 0!important;margin:var(--calendar-confirm-button-margin,7px 0)!important;line-height:34px!important;line-height:var(--calendar-confirm-button-line-height,34px)!important}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/goods-action-button/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var component_1 = require('../common/component');
4 | var relation_1 = require('../common/relation');
5 | var button_1 = require('../mixins/button');
6 | var link_1 = require('../mixins/link');
7 | component_1.VantComponent({
8 | mixins: [link_1.link, button_1.button],
9 | relation: relation_1.useParent('goods-action'),
10 | props: {
11 | text: String,
12 | color: String,
13 | loading: Boolean,
14 | disabled: Boolean,
15 | plain: Boolean,
16 | type: {
17 | type: String,
18 | value: 'danger',
19 | },
20 | },
21 | methods: {
22 | onClick: function (event) {
23 | this.$emit('click', event.detail);
24 | this.jumpLink();
25 | },
26 | updateStyle: function () {
27 | if (this.parent == null) {
28 | return;
29 | }
30 | var index = this.index;
31 | var _a = this.parent.children,
32 | children = _a === void 0 ? [] : _a;
33 | this.setData({
34 | isFirst: index === 0,
35 | isLast: index === children.length - 1,
36 | });
37 | },
38 | },
39 | });
40 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/skeleton/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var component_1 = require('../common/component');
4 | component_1.VantComponent({
5 | classes: ['avatar-class', 'title-class', 'row-class'],
6 | props: {
7 | row: {
8 | type: Number,
9 | value: 0,
10 | observer: function (value) {
11 | this.setData({ rowArray: Array.from({ length: value }) });
12 | },
13 | },
14 | title: Boolean,
15 | avatar: Boolean,
16 | loading: {
17 | type: Boolean,
18 | value: true,
19 | },
20 | animate: {
21 | type: Boolean,
22 | value: true,
23 | },
24 | avatarSize: {
25 | type: String,
26 | value: '32px',
27 | },
28 | avatarShape: {
29 | type: String,
30 | value: 'round',
31 | },
32 | titleWidth: {
33 | type: String,
34 | value: '40%',
35 | },
36 | rowWidth: {
37 | type: null,
38 | value: '100%',
39 | observer: function (val) {
40 | this.setData({ isArray: val instanceof Array });
41 | },
42 | },
43 | },
44 | data: {
45 | isArray: false,
46 | rowArray: [],
47 | },
48 | });
49 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/checkbox/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
10 |
11 |
12 |
13 |
14 |
23 |
24 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/info/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-info{position:absolute;top:0;right:0;display:-webkit-inline-flex;display:inline-flex;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;white-space:nowrap;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%);-webkit-transform-origin:100%;transform-origin:100%;height:16px;height:var(--info-size,16px);min-width:16px;min-width:var(--info-size,16px);padding:0 3px;padding:var(--info-padding,0 3px);color:#fff;color:var(--info-color,#fff);font-weight:500;font-weight:var(--info-font-weight,500);font-size:12px;font-size:var(--info-font-size,12px);font-family:-apple-system-font,Helvetica Neue,Arial,sans-serif;font-family:var(--info-font-family,-apple-system-font,Helvetica Neue,Arial,sans-serif);background-color:#ee0a24;background-color:var(--info-background-color,#ee0a24);border:1px solid #fff;border:var(--info-border-width,1px) solid var(--white,#fff);border-radius:16px;border-radius:var(--info-size,16px)}.van-info--dot{min-width:0;border-radius:100%;width:8px;width:var(--info-dot-size,8px);height:8px;height:var(--info-dot-size,8px);background-color:#ee0a24;background-color:var(--info-dot-color,#ee0a24)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/rate/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
13 |
22 |
23 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sidebar/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var component_1 = require('../common/component');
4 | var relation_1 = require('../common/relation');
5 | component_1.VantComponent({
6 | relation: relation_1.useChildren('sidebar-item', function () {
7 | this.setActive(this.data.activeKey);
8 | }),
9 | props: {
10 | activeKey: {
11 | type: Number,
12 | value: 0,
13 | observer: 'setActive',
14 | },
15 | },
16 | beforeCreate: function () {
17 | this.currentActive = -1;
18 | },
19 | methods: {
20 | setActive: function (activeKey) {
21 | var _a = this,
22 | children = _a.children,
23 | currentActive = _a.currentActive;
24 | if (!children.length) {
25 | return Promise.resolve();
26 | }
27 | this.currentActive = activeKey;
28 | var stack = [];
29 | if (currentActive !== activeKey && children[currentActive]) {
30 | stack.push(children[currentActive].setActive(false));
31 | }
32 | if (children[activeKey]) {
33 | stack.push(children[activeKey].setActive(true));
34 | }
35 | return Promise.all(stack);
36 | },
37 | },
38 | });
39 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/common/index.wxss:
--------------------------------------------------------------------------------
1 | .van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{-webkit-line-clamp:2}.van-multi-ellipsis--l2,.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{-webkit-line-clamp:3}.van-clearfix:after{display:table;clear:both;content:""}.van-hairline,.van-hairline--bottom,.van-hairline--left,.van-hairline--right,.van-hairline--surround,.van-hairline--top,.van-hairline--top-bottom{position:relative}.van-hairline--bottom:after,.van-hairline--left:after,.van-hairline--right:after,.van-hairline--surround:after,.van-hairline--top-bottom:after,.van-hairline--top:after,.van-hairline:after{position:absolute;box-sizing:border-box;-webkit-transform-origin:center;transform-origin:center;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid #ebedf0;-webkit-transform:scale(.5);transform:scale(.5)}.van-hairline--top:after{border-top-width:1px}.van-hairline--left:after{border-left-width:1px}.van-hairline--right:after{border-right-width:1px}.van-hairline--bottom:after{border-bottom-width:1px}.van-hairline--top-bottom:after{border-width:1px 0}.van-hairline--surround:after{border-width:1px}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/divider/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-divider{display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;margin:16px 0;margin:var(--divider-margin,16px 0);color:#969799;color:var(--divider-text-color,#969799);font-size:14px;font-size:var(--divider-font-size,14px);line-height:24px;line-height:var(--divider-line-height,24px);border:0 solid #ebedf0;border-color:var(--divider-border-color,#ebedf0)}.van-divider:after,.van-divider:before{display:block;-webkit-flex:1;flex:1;box-sizing:border-box;height:1px;border-color:inherit;border-style:inherit;border-width:1px 0 0}.van-divider:before{content:""}.van-divider--hairline:after,.van-divider--hairline:before{-webkit-transform:scaleY(.5);transform:scaleY(.5)}.van-divider--dashed{border-style:dashed}.van-divider--center:before,.van-divider--left:before,.van-divider--right:before{margin-right:16px;margin-right:var(--divider-content-padding,16px)}.van-divider--center:after,.van-divider--left:after,.van-divider--right:after{content:"";margin-left:16px;margin-left:var(--divider-content-padding,16px)}.van-divider--left:before{max-width:10%;max-width:var(--divider-content-left-width,10%)}.van-divider--right:after{max-width:10%;max-width:var(--divider-content-right-width,10%)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/mixins/touch.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | exports.touch = void 0;
4 | // @ts-nocheck
5 | var MIN_DISTANCE = 10;
6 | function getDirection(x, y) {
7 | if (x > y && x > MIN_DISTANCE) {
8 | return 'horizontal';
9 | }
10 | if (y > x && y > MIN_DISTANCE) {
11 | return 'vertical';
12 | }
13 | return '';
14 | }
15 | exports.touch = Behavior({
16 | methods: {
17 | resetTouchStatus: function () {
18 | this.direction = '';
19 | this.deltaX = 0;
20 | this.deltaY = 0;
21 | this.offsetX = 0;
22 | this.offsetY = 0;
23 | },
24 | touchStart: function (event) {
25 | this.resetTouchStatus();
26 | var touch = event.touches[0];
27 | this.startX = touch.clientX;
28 | this.startY = touch.clientY;
29 | },
30 | touchMove: function (event) {
31 | var touch = event.touches[0];
32 | this.deltaX = touch.clientX - this.startX;
33 | this.deltaY = touch.clientY - this.startY;
34 | this.offsetX = Math.abs(this.deltaX);
35 | this.offsetY = Math.abs(this.deltaY);
36 | this.direction =
37 | this.direction || getDirection(this.offsetX, this.offsetY);
38 | },
39 | },
40 | });
41 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/collapse-item/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
19 |
23 |
27 |
28 |
32 |
33 |
38 |
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/wxs/memoize.wxs:
--------------------------------------------------------------------------------
1 | /**
2 | * Simple memoize
3 | * wxs doesn't support fn.apply, so this memoize only support up to 2 args
4 | */
5 | /* eslint-disable */
6 |
7 | function isPrimitive(value) {
8 | var type = typeof value;
9 | return (
10 | type === 'boolean' ||
11 | type === 'number' ||
12 | type === 'string' ||
13 | type === 'undefined' ||
14 | value === null
15 | );
16 | }
17 |
18 | // mock simple fn.call in wxs
19 | function call(fn, args) {
20 | if (args.length === 2) {
21 | return fn(args[0], args[1]);
22 | }
23 |
24 | if (args.length === 1) {
25 | return fn(args[0]);
26 | }
27 |
28 | return fn();
29 | }
30 |
31 | function serializer(args) {
32 | if (args.length === 1 && isPrimitive(args[0])) {
33 | return args[0];
34 | }
35 | var obj = {};
36 | for (var i = 0; i < args.length; i++) {
37 | obj['key' + i] = args[i];
38 | }
39 | return JSON.stringify(obj);
40 | }
41 |
42 | function memoize(fn) {
43 | var cache = {};
44 |
45 | return function() {
46 | var key = serializer(arguments);
47 | if (cache[key] === undefined) {
48 | cache[key] = call(fn, arguments);
49 | }
50 |
51 | return cache[key];
52 | };
53 | }
54 |
55 | module.exports = memoize;
56 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/calendar/components/header/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | var __spreadArray =
3 | (this && this.__spreadArray) ||
4 | function (to, from) {
5 | for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
6 | to[j] = from[i];
7 | return to;
8 | };
9 | Object.defineProperty(exports, '__esModule', { value: true });
10 | var component_1 = require('../../../common/component');
11 | component_1.VantComponent({
12 | props: {
13 | title: {
14 | type: String,
15 | value: '日期选择',
16 | },
17 | subtitle: String,
18 | showTitle: Boolean,
19 | showSubtitle: Boolean,
20 | firstDayOfWeek: {
21 | type: Number,
22 | observer: 'initWeekDay',
23 | },
24 | },
25 | data: {
26 | weekdays: [],
27 | },
28 | created: function () {
29 | this.initWeekDay();
30 | },
31 | methods: {
32 | initWeekDay: function () {
33 | var defaultWeeks = ['日', '一', '二', '三', '四', '五', '六'];
34 | var firstDayOfWeek = this.data.firstDayOfWeek || 0;
35 | this.setData({
36 | weekdays: __spreadArray(
37 | __spreadArray([], defaultWeeks.slice(firstDayOfWeek, 7)),
38 | defaultWeeks.slice(0, firstDayOfWeek)
39 | ),
40 | });
41 | },
42 | },
43 | });
44 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/notice-bar/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
16 |
17 |
18 |
19 |
20 | {{ text }}
21 |
22 |
23 |
24 |
25 |
31 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/radio/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
10 |
11 |
12 |
13 |
14 |
22 |
23 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/pages/my/user-code.js:
--------------------------------------------------------------------------------
1 | const WXAPI = require('apifm-wxapi')
2 | import wxbarcode from 'wxbarcode'
3 |
4 | Page({
5 | data: {
6 | balance: 0,
7 | freeze: 0,
8 | score: 0,
9 | growth: 0,
10 | userCode: undefined
11 | },
12 | onLoad(e) {
13 | getApp().initLanguage(this)
14 | wx.setNavigationBarTitle({
15 | title: this.data.$t.my.userCode,
16 | })
17 | this.getUserAmount()
18 | this.dynamicUserCode()
19 | },
20 | onShow: function () {
21 | },
22 | onPullDownRefresh() {
23 | this.getUserAmount()
24 | this.dynamicUserCode()
25 | wx.stopPullDownRefresh()
26 | },
27 | async getUserAmount() {
28 | const res = await WXAPI.userAmount(wx.getStorageSync('token'))
29 | if (res.code == 0) {
30 | this.setData({
31 | balance: res.data.balance,
32 | freeze: res.data.freeze,
33 | score: res.data.score,
34 | growth: res.data.growth
35 | })
36 | }
37 | },
38 | async dynamicUserCode() {
39 | const res = await WXAPI.dynamicUserCode(wx.getStorageSync('token'))
40 | if (res.code == 0) {
41 | this.setData({
42 | userCode: res.data
43 | })
44 | wxbarcode.barcode('barcode', res.data, 560, 200);
45 | wxbarcode.qrcode('qrcode', res.data, 450, 450);
46 | }
47 | },
48 | })
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sidebar-item/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-sidebar-item{display:block;box-sizing:border-box;overflow:hidden;border-left:3px solid transparent;-webkit-user-select:none;user-select:none;padding:20px 12px 20px 8px;padding:var(--sidebar-padding,20px 12px 20px 8px);font-size:14px;font-size:var(--sidebar-font-size,14px);line-height:20px;line-height:var(--sidebar-line-height,20px);color:#323233;color:var(--sidebar-text-color,#323233);background-color:#f7f8fa;background-color:var(--sidebar-background-color,#f7f8fa)}.van-sidebar-item__text{position:relative;display:inline-block;word-break:break-all}.van-sidebar-item--hover:not(.van-sidebar-item--disabled){background-color:#f2f3f5;background-color:var(--sidebar-active-color,#f2f3f5)}.van-sidebar-item:after{border-bottom-width:1px}.van-sidebar-item--selected{color:#323233;color:var(--sidebar-selected-text-color,#323233);font-weight:500;font-weight:var(--sidebar-selected-font-weight,500);border-color:#ee0a24;border-color:var(--sidebar-selected-border-color,#ee0a24)}.van-sidebar-item--selected:after{border-right-width:1px}.van-sidebar-item--selected,.van-sidebar-item--selected.van-sidebar-item--hover{background-color:#fff;background-color:var(--sidebar-selected-background-color,#fff)}.van-sidebar-item--disabled{color:#c8c9cc;color:var(--sidebar-disabled-text-color,#c8c9cc)}
--------------------------------------------------------------------------------
/pages/card/logs.js:
--------------------------------------------------------------------------------
1 | const WXAPI = require('apifm-wxapi')
2 | Page({
3 | data: {
4 | page: 1 // 读取第几页
5 | },
6 | onLoad: function (options) {
7 | getApp().initLanguage(this)
8 | wx.setNavigationBarTitle({
9 | title: this.data.$t.card.logs,
10 | })
11 | this.data.cardId = options.cardId
12 | this.cardMyLogs()
13 | },
14 | async cardMyLogs(){
15 | wx.showLoading({
16 | title: '',
17 | })
18 | // https://www.yuque.com/apifm/nu0f75/gp7sey
19 | const res = await WXAPI.cardMyLogs({
20 | token: wx.getStorageSync('token'),
21 | cardId: this.data.cardId,
22 | page: this.data.page
23 | })
24 | wx.hideLoading()
25 | if (res.code == 0) {
26 | if (this.data.page == 1) {
27 | this.setData({
28 | list: res.data.result,
29 | })
30 | } else {
31 | this.setData({
32 | list: this.data.list.concat(res.data.result),
33 | })
34 | }
35 | } else {
36 | if (this.data.page == 1) {
37 | this.setData({
38 | list: null,
39 | })
40 | }
41 | }
42 | },
43 | onPullDownRefresh: function () {
44 | this.data.page = 1
45 | this.cardMyLogs()
46 | wx.stopPullDownRefresh()
47 | },
48 | onReachBottom() {
49 | this.data.page++
50 | this.cardMyLogs()
51 | },
52 | })
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/card/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var link_1 = require('../mixins/link');
4 | var component_1 = require('../common/component');
5 | component_1.VantComponent({
6 | classes: [
7 | 'num-class',
8 | 'desc-class',
9 | 'thumb-class',
10 | 'title-class',
11 | 'price-class',
12 | 'origin-price-class',
13 | ],
14 | mixins: [link_1.link],
15 | props: {
16 | tag: String,
17 | num: String,
18 | desc: String,
19 | thumb: String,
20 | title: String,
21 | price: {
22 | type: String,
23 | observer: 'updatePrice',
24 | },
25 | centered: Boolean,
26 | lazyLoad: Boolean,
27 | thumbLink: String,
28 | originPrice: String,
29 | thumbMode: {
30 | type: String,
31 | value: 'aspectFit',
32 | },
33 | currency: {
34 | type: String,
35 | value: '¥',
36 | },
37 | },
38 | methods: {
39 | updatePrice: function () {
40 | var price = this.data.price;
41 | var priceArr = price.toString().split('.');
42 | this.setData({
43 | integerStr: priceArr[0],
44 | decimalStr: priceArr[1] ? '.' + priceArr[1] : '',
45 | });
46 | },
47 | onClickThumb: function () {
48 | this.jumpLink('thumbLink');
49 | },
50 | },
51 | });
52 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/search/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-search{-webkit-align-items:center;align-items:center;box-sizing:border-box;padding:10px 12px;padding:var(--search-padding,10px 12px)}.van-search,.van-search__content{display:-webkit-flex;display:flex}.van-search__content{-webkit-flex:1;flex:1;padding-left:12px;padding-left:var(--padding-sm,12px);border-radius:2px;border-radius:var(--border-radius-sm,2px);background-color:#f7f8fa;background-color:var(--search-background-color,#f7f8fa)}.van-search__content--round{border-radius:17px;border-radius:calc(var(--search-input-height, 34px)/2)}.van-search__label{padding:0 5px;padding:var(--search-label-padding,0 5px);font-size:14px;font-size:var(--search-label-font-size,14px);line-height:34px;line-height:var(--search-input-height,34px);color:#323233;color:var(--search-label-color,#323233)}.van-search__field{-webkit-flex:1;flex:1}.van-search__field__left-icon{color:#969799;color:var(--search-left-icon-color,#969799)}.van-search--withaction{padding-right:0}.van-search__action{padding:0 8px;padding:var(--search-action-padding,0 8px);font-size:14px;font-size:var(--search-action-font-size,14px);line-height:34px;line-height:var(--search-input-height,34px);color:#323233;color:var(--search-action-text-color,#323233)}.van-search__action--hover{background-color:#f2f3f5;background-color:var(--active-color,#f2f3f5)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/grid/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var component_1 = require('../common/component');
4 | var relation_1 = require('../common/relation');
5 | component_1.VantComponent({
6 | relation: relation_1.useChildren('grid-item'),
7 | props: {
8 | square: {
9 | type: Boolean,
10 | observer: 'updateChildren',
11 | },
12 | gutter: {
13 | type: null,
14 | value: 0,
15 | observer: 'updateChildren',
16 | },
17 | clickable: {
18 | type: Boolean,
19 | observer: 'updateChildren',
20 | },
21 | columnNum: {
22 | type: Number,
23 | value: 4,
24 | observer: 'updateChildren',
25 | },
26 | center: {
27 | type: Boolean,
28 | value: true,
29 | observer: 'updateChildren',
30 | },
31 | border: {
32 | type: Boolean,
33 | value: true,
34 | observer: 'updateChildren',
35 | },
36 | direction: {
37 | type: String,
38 | observer: 'updateChildren',
39 | },
40 | iconSize: {
41 | type: String,
42 | observer: 'updateChildren',
43 | },
44 | },
45 | methods: {
46 | updateChildren: function () {
47 | this.children.forEach(function (child) {
48 | child.updateStyle();
49 | });
50 | },
51 | },
52 | });
53 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/collapse-item/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-collapse-item__title .van-cell__right-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg);transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;transition:-webkit-transform var(--collapse-item-transition-duration,.3s);transition:transform var(--collapse-item-transition-duration,.3s);transition:transform var(--collapse-item-transition-duration,.3s),-webkit-transform var(--collapse-item-transition-duration,.3s)}.van-collapse-item__title--expanded .van-cell__right-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.van-collapse-item__title--disabled .van-cell,.van-collapse-item__title--disabled .van-cell__right-icon{color:#c8c9cc!important;color:var(--collapse-item-title-disabled-color,#c8c9cc)!important}.van-collapse-item__title--disabled .van-cell--hover{background-color:#fff!important;background-color:var(--white,#fff)!important}.van-collapse-item__wrapper{overflow:hidden}.van-collapse-item__content{padding:15px;padding:var(--collapse-item-content-padding,15px);color:#969799;color:var(--collapse-item-content-text-color,#969799);font-size:13px;font-size:var(--collapse-item-content-font-size,13px);line-height:1.5;line-height:var(--collapse-item-content-line-height,1.5);background-color:#fff;background-color:var(--collapse-item-content-background-color,#fff)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/share-sheet/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var component_1 = require('../common/component');
4 | component_1.VantComponent({
5 | props: {
6 | // whether to show popup
7 | show: Boolean,
8 | // overlay custom style
9 | overlayStyle: Object,
10 | // z-index
11 | zIndex: {
12 | type: Number,
13 | value: 100,
14 | },
15 | title: String,
16 | cancelText: {
17 | type: String,
18 | value: '取消',
19 | },
20 | description: String,
21 | options: {
22 | type: Array,
23 | value: [],
24 | },
25 | overlay: {
26 | type: Boolean,
27 | value: true,
28 | },
29 | safeAreaInsetBottom: {
30 | type: Boolean,
31 | value: true,
32 | },
33 | closeOnClickOverlay: {
34 | type: Boolean,
35 | value: true,
36 | },
37 | duration: {
38 | type: null,
39 | value: 300,
40 | },
41 | },
42 | methods: {
43 | onClickOverlay: function () {
44 | this.$emit('click-overlay');
45 | },
46 | onCancel: function () {
47 | this.onClose();
48 | this.$emit('cancel');
49 | },
50 | onSelect: function (event) {
51 | this.$emit('select', event.detail);
52 | },
53 | onClose: function () {
54 | this.$emit('close');
55 | },
56 | },
57 | });
58 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/picker/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
15 |
29 |
30 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/circle/canvas.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | exports.adaptor = void 0;
4 | function adaptor(ctx) {
5 | // @ts-ignore
6 | return Object.assign(ctx, {
7 | setStrokeStyle: function (val) {
8 | ctx.strokeStyle = val;
9 | },
10 | setLineWidth: function (val) {
11 | ctx.lineWidth = val;
12 | },
13 | setLineCap: function (val) {
14 | ctx.lineCap = val;
15 | },
16 | setFillStyle: function (val) {
17 | ctx.fillStyle = val;
18 | },
19 | setFontSize: function (val) {
20 | ctx.font = String(val);
21 | },
22 | setGlobalAlpha: function (val) {
23 | ctx.globalAlpha = val;
24 | },
25 | setLineJoin: function (val) {
26 | ctx.lineJoin = val;
27 | },
28 | setTextAlign: function (val) {
29 | ctx.textAlign = val;
30 | },
31 | setMiterLimit: function (val) {
32 | ctx.miterLimit = val;
33 | },
34 | setShadow: function (offsetX, offsetY, blur, color) {
35 | ctx.shadowOffsetX = offsetX;
36 | ctx.shadowOffsetY = offsetY;
37 | ctx.shadowBlur = blur;
38 | ctx.shadowColor = color;
39 | },
40 | setTextBaseline: function (val) {
41 | ctx.textBaseline = val;
42 | },
43 | createCircularGradient: function () {},
44 | draw: function () {},
45 | });
46 | }
47 | exports.adaptor = adaptor;
48 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/mixins/button.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | exports.button = void 0;
4 | var version_1 = require('../common/version');
5 | exports.button = Behavior({
6 | externalClasses: ['hover-class'],
7 | properties: {
8 | id: String,
9 | lang: String,
10 | businessId: Number,
11 | sessionFrom: String,
12 | sendMessageTitle: String,
13 | sendMessagePath: String,
14 | sendMessageImg: String,
15 | showMessageCard: Boolean,
16 | appParameter: String,
17 | ariaLabel: String,
18 | openType: String,
19 | getUserProfileDesc: String,
20 | },
21 | data: {
22 | canIUseGetUserProfile: version_1.canIUseGetUserProfile(),
23 | },
24 | methods: {
25 | onGetUserInfo: function (event) {
26 | this.triggerEvent('getuserinfo', event.detail);
27 | },
28 | onContact: function (event) {
29 | this.triggerEvent('contact', event.detail);
30 | },
31 | onGetPhoneNumber: function (event) {
32 | this.triggerEvent('getphonenumber', event.detail);
33 | },
34 | onError: function (event) {
35 | this.triggerEvent('error', event.detail);
36 | },
37 | onLaunchApp: function (event) {
38 | this.triggerEvent('launchapp', event.detail);
39 | },
40 | onOpenSetting: function (event) {
41 | this.triggerEvent('opensetting', event.detail);
42 | },
43 | },
44 | });
45 |
--------------------------------------------------------------------------------
/pages/member-center/index.js:
--------------------------------------------------------------------------------
1 | const WXAPI = require('apifm-wxapi')
2 | const APP = getApp()
3 | APP.configLoadOK = () => {
4 |
5 | }
6 |
7 | Page({
8 | data: {
9 | totleConsumed: 0
10 | },
11 | onLoad: function (options) {
12 | getApp().initLanguage(this)
13 | wx.setNavigationBarTitle({
14 | title: this.data.$t.vip.title,
15 | })
16 | this.userLevelList()
17 | getApp().getUserApiInfo().then(apiUserInfoMap => {
18 | this.processGotUserDetail(apiUserInfoMap)
19 | })
20 | getApp().getUserDetailOK = (apiUserInfoMap) => {
21 | this.processGotUserDetail(apiUserInfoMap)
22 | }
23 | },
24 | onShow: function () {
25 | },
26 | async processGotUserDetail(apiUserInfoMap) {
27 | if (!apiUserInfoMap) {
28 | return
29 | }
30 | this.setData({
31 | apiUserInfoMap
32 | })
33 | this.userAmount()
34 | },
35 | async userAmount() {
36 | // https://www.yuque.com/apifm/nu0f75/wrqkcb
37 | const res = await WXAPI.userAmount(wx.getStorageSync('token'))
38 | if (res.code == 0) {
39 | this.setData({
40 | totleConsumed: res.data.totleConsumed
41 | });
42 | }
43 | },
44 | async userLevelList() {
45 | // https://www.yuque.com/apifm/nu0f75/fsh4gu
46 | const res = await WXAPI.userLevelList()
47 | if (res.code == 0) {
48 | this.setData({
49 | levelList: res.data.result
50 | });
51 | }
52 | },
53 | })
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/notice-bar/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-notice-bar{display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;height:40px;height:var(--notice-bar-height,40px);padding:0 16px;padding:var(--notice-bar-padding,0 16px);font-size:14px;font-size:var(--notice-bar-font-size,14px);color:#ed6a0c;color:var(--notice-bar-text-color,#ed6a0c);line-height:24px;line-height:var(--notice-bar-line-height,24px);background-color:#fffbe8;background-color:var(--notice-bar-background-color,#fffbe8)}.van-notice-bar--withicon{position:relative;padding-right:40px}.van-notice-bar--wrapable{height:auto;padding:8px 16px;padding:var(--notice-bar-wrapable-padding,8px 16px)}.van-notice-bar--wrapable .van-notice-bar__wrap{height:auto}.van-notice-bar--wrapable .van-notice-bar__content{position:relative;white-space:normal}.van-notice-bar__left-icon{display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;margin-right:4px;vertical-align:middle}.van-notice-bar__left-icon,.van-notice-bar__right-icon{font-size:16px;font-size:var(--notice-bar-icon-size,16px);min-width:22px;min-width:var(--notice-bar-icon-min-width,22px)}.van-notice-bar__right-icon{position:absolute;top:10px;right:15px}.van-notice-bar__wrap{position:relative;-webkit-flex:1;flex:1;overflow:hidden;height:24px;height:var(--notice-bar-line-height,24px)}.van-notice-bar__content{position:absolute;white-space:nowrap}.van-notice-bar__content.van-ellipsis{max-width:100%}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/toast/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-toast{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center;box-sizing:initial;color:#fff;color:var(--toast-text-color,#fff);font-size:14px;font-size:var(--toast-font-size,14px);line-height:20px;line-height:var(--toast-line-height,20px);white-space:pre-wrap;word-wrap:break-word;background-color:rgba(0,0,0,.7);background-color:var(--toast-background-color,rgba(0,0,0,.7));border-radius:8px;border-radius:var(--toast-border-radius,8px)}.van-toast__container{position:fixed;top:50%;left:50%;width:-webkit-fit-content;width:fit-content;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);max-width:70%;max-width:var(--toast-max-width,70%)}.van-toast--text{min-width:96px;min-width:var(--toast-text-min-width,96px);padding:8px 12px;padding:var(--toast-text-padding,8px 12px)}.van-toast--icon{width:88px;width:var(--toast-default-width,88px);min-height:88px;min-height:var(--toast-default-min-height,88px);padding:16px;padding:var(--toast-default-padding,16px)}.van-toast--icon .van-toast__icon{font-size:36px;font-size:var(--toast-icon-size,36px)}.van-toast--icon .van-toast__text{padding-top:8px}.van-toast__loading{margin:10px 0}.van-toast--top{-webkit-transform:translateY(-30vh);transform:translateY(-30vh)}.van-toast--bottom{-webkit-transform:translateY(30vh);transform:translateY(30vh)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/progress/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var component_1 = require('../common/component');
4 | var color_1 = require('../common/color');
5 | var utils_1 = require('../common/utils');
6 | component_1.VantComponent({
7 | props: {
8 | inactive: Boolean,
9 | percentage: {
10 | type: Number,
11 | observer: 'setLeft',
12 | },
13 | pivotText: String,
14 | pivotColor: String,
15 | trackColor: String,
16 | showPivot: {
17 | type: Boolean,
18 | value: true,
19 | },
20 | color: {
21 | type: String,
22 | value: color_1.BLUE,
23 | },
24 | textColor: {
25 | type: String,
26 | value: '#fff',
27 | },
28 | strokeWidth: {
29 | type: null,
30 | value: 4,
31 | },
32 | },
33 | data: {
34 | right: 0,
35 | },
36 | mounted: function () {
37 | this.setLeft();
38 | },
39 | methods: {
40 | setLeft: function () {
41 | var _this = this;
42 | Promise.all([
43 | utils_1.getRect(this, '.van-progress'),
44 | utils_1.getRect(this, '.van-progress__pivot'),
45 | ]).then(function (_a) {
46 | var portion = _a[0],
47 | pivot = _a[1];
48 | if (portion && pivot) {
49 | _this.setData({
50 | right: (pivot.width * (_this.data.percentage - 100)) / 100,
51 | });
52 | }
53 | });
54 | },
55 | },
56 | });
57 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/share-sheet/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
17 |
30 |
31 |
32 |
39 |
40 |
41 |
42 |
43 |
46 |
47 |
--------------------------------------------------------------------------------
/components/parser.20200731.min/trees/trees.wxss:
--------------------------------------------------------------------------------
1 | ._a{display:inline;padding:1.5px 0 1.5px 0;color:#366092;word-break:break-all}._hover{text-decoration:underline;opacity:.7}._visited{color:#551a8b}._img{display:inline-block;max-width:100%;overflow:hidden}:host{display:inline}._blockquote,._div,._p,._ul,._ol,._li{display:block}._b,._strong{font-weight:bold}._code{font-family:monospace}._del{text-decoration:line-through}._em,._i{font-style:italic}._h1{font-size:2em}._h2{font-size:1.5em}._h3{font-size:1.17em}._h5{font-size:.83em}._h6{font-size:.67em}._h1,._h2,._h3,._h4,._h5,._h6{display:block;font-weight:bold}._image{display:block;width:100%;height:360px;margin-top:-360px;opacity:0}._ins{text-decoration:underline}._li{flex:1;width:0}._ol-bef{width:36px;margin-right:5px;text-align:right}._ul-bef{margin:0 12px 0 23px;line-height:normal}._ol-bef,._ul-bef{flex:none;user-select:none}._ul-p1{display:inline-block;width:.3em;height:.3em;overflow:hidden;line-height:.3em}._ul-p2{display:inline-block;width:.23em;height:.23em;border:.05em solid black;border-radius:50%}._q::before{content:'"'}._q::after{content:'"'}._sub{font-size:smaller;vertical-align:sub}._sup{font-size:smaller;vertical-align:super}.__bdi,.__bdo,.__ruby,.__rt{display:inline-block}._video{position:relative;display:inline-block;width:300px;height:225px;background-color:black}._video::after{position:absolute;top:50%;left:50%;margin:-15px 0 0 -15px;content:'';border-color:transparent transparent transparent white;border-style:solid;border-width:15px 0 15px 30px}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/mixins/page-scroll.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | exports.pageScrollMixin = void 0;
4 | var utils_1 = require('../common/utils');
5 | function onPageScroll(event) {
6 | var _a = utils_1.getCurrentPage().vanPageScroller,
7 | vanPageScroller = _a === void 0 ? [] : _a;
8 | vanPageScroller.forEach(function (scroller) {
9 | if (typeof scroller === 'function') {
10 | // @ts-ignore
11 | scroller(event);
12 | }
13 | });
14 | }
15 | var pageScrollMixin = function (scroller) {
16 | return Behavior({
17 | attached: function () {
18 | var page = utils_1.getCurrentPage();
19 | if (Array.isArray(page.vanPageScroller)) {
20 | page.vanPageScroller.push(scroller.bind(this));
21 | } else {
22 | page.vanPageScroller =
23 | typeof page.onPageScroll === 'function'
24 | ? [page.onPageScroll.bind(page), scroller.bind(this)]
25 | : [scroller.bind(this)];
26 | }
27 | page.onPageScroll = onPageScroll;
28 | },
29 | detached: function () {
30 | var _a;
31 | var page = utils_1.getCurrentPage();
32 | page.vanPageScroller =
33 | ((_a = page.vanPageScroller) === null || _a === void 0
34 | ? void 0
35 | : _a.filter(function (item) {
36 | return item !== scroller;
37 | })) || [];
38 | },
39 | });
40 | };
41 | exports.pageScrollMixin = pageScrollMixin;
42 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/collapse/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 | Object.defineProperty(exports, '__esModule', { value: true });
3 | var component_1 = require('../common/component');
4 | var relation_1 = require('../common/relation');
5 | component_1.VantComponent({
6 | relation: relation_1.useChildren('collapse-item'),
7 | props: {
8 | value: {
9 | type: null,
10 | observer: 'updateExpanded',
11 | },
12 | accordion: {
13 | type: Boolean,
14 | observer: 'updateExpanded',
15 | },
16 | border: {
17 | type: Boolean,
18 | value: true,
19 | },
20 | },
21 | methods: {
22 | updateExpanded: function () {
23 | this.children.forEach(function (child) {
24 | child.updateExpanded();
25 | });
26 | },
27 | switch: function (name, expanded) {
28 | var _a = this.data,
29 | accordion = _a.accordion,
30 | value = _a.value;
31 | var changeItem = name;
32 | if (!accordion) {
33 | name = expanded
34 | ? (value || []).concat(name)
35 | : (value || []).filter(function (activeName) {
36 | return activeName !== name;
37 | });
38 | } else {
39 | name = expanded ? name : '';
40 | }
41 | if (expanded) {
42 | this.$emit('open', changeItem);
43 | } else {
44 | this.$emit('close', changeItem);
45 | }
46 | this.$emit('change', name);
47 | this.$emit('input', name);
48 | },
49 | },
50 | });
51 |
--------------------------------------------------------------------------------