├── 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 | 2 | 3 | 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 | 2 | 3 | 4 | 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 | 2 | 3 | 4 | 5 | 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 | 2 | 3 | 4 | 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 | 2 | 3 | 4 | 5 | 6 | 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 | 2 | 3 | 4 | 5 | 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 | 2 | 3 | 4 | 5 | 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 | 2 | 3 | 4 | 5 | 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 | 2 | 3 | 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 | 17 | 18 | 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 | 2 | 3 | 4 | {{ title }} 5 | 6 | 7 | 8 | {{ subtitle }} 9 | 10 | 11 | 12 | 13 | {{ item }} 14 | 15 | 16 | 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 | 12 | 19 | {{ item }} 20 | 21 | 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 | 9 | 10 | 15 | {{ title }} 16 | 17 | 18 | 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 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 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 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 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 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 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 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 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 | 5 | 12 | 16 | 17 | {{ computed.displayTitle(item) }} 18 | 19 | 20 | 21 | 22 | 23 | 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 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 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 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 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 | 18 | 19 | 25 | 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 |