├── .eslintrc.js ├── README.md ├── app.js ├── app.json ├── app.wxss ├── cloudfunctions ├── addAddr │ ├── config.json │ ├── index.js │ └── package.json ├── changeDefaultAddr │ ├── config.json │ ├── index.js │ └── package.json ├── changeOrderStatus │ ├── config.json │ ├── index.js │ └── package.json ├── deleteAddr │ ├── config.json │ ├── index.js │ └── package.json ├── getKinds │ ├── config.json │ ├── index.js │ └── package.json ├── getListData │ ├── config.json │ ├── index.js │ ├── package-lock.json │ └── package.json ├── getOrder │ ├── config.json │ ├── index.js │ └── package.json ├── getVip │ ├── config.json │ ├── index.js │ └── package.json └── submitOrder │ ├── config.json │ ├── index.js │ └── package.json ├── image ├── background.jpg ├── cart-fill.png ├── cart.png ├── delivery.png ├── index-fill.png ├── index.png ├── my1-fill.png ├── my1.png ├── order-fill.png ├── order.png └── self.png ├── miniprogram_npm └── @vant │ └── weapp │ ├── action-sheet │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── area │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── button │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── calendar │ ├── calendar.wxml │ ├── components │ │ ├── header │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ └── month │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ ├── index.wxs │ │ │ └── index.wxss │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ ├── index.wxss │ ├── utils.js │ └── utils.wxs │ ├── card │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── cell-group │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── cell │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── checkbox-group │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── checkbox │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── circle │ ├── canvas.js │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── col │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── collapse-item │ ├── animate.js │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── collapse │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── common │ ├── color.js │ ├── component.js │ ├── index.wxss │ ├── relation.js │ ├── style │ │ ├── clearfix.wxss │ │ ├── ellipsis.wxss │ │ ├── hairline.wxss │ │ ├── mixins │ │ │ ├── clearfix.wxss │ │ │ ├── ellipsis.wxss │ │ │ └── hairline.wxss │ │ └── var.wxss │ ├── utils.js │ ├── validator.js │ └── version.js │ ├── config-provider │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxs │ ├── count-down │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxss │ └── utils.js │ ├── datetime-picker │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── definitions │ └── index.js │ ├── dialog │ ├── dialog.js │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── divider │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── dropdown-item │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxss │ └── shared.js │ ├── dropdown-menu │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── empty │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── field │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ ├── index.wxss │ ├── input.wxml │ ├── props.js │ └── textarea.wxml │ ├── goods-action-button │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── goods-action-icon │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── goods-action │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── grid-item │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── grid │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── icon │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── image │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── index-anchor │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── index-bar │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── info │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── loading │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── mixins │ ├── basic.js │ ├── button.js │ ├── link.js │ ├── page-scroll.js │ ├── touch.js │ └── transition.js │ ├── nav-bar │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── notice-bar │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── notify │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ ├── index.wxss │ └── notify.js │ ├── overlay │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── panel │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── picker-column │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── picker │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ ├── index.wxss │ ├── shared.js │ └── toolbar.wxml │ ├── popup │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── progress │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── radio-group │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── radio │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── rate │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── row │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── search │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── share-sheet │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ ├── index.wxss │ ├── options.js │ ├── options.json │ ├── options.wxml │ ├── options.wxs │ └── options.wxss │ ├── sidebar-item │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── sidebar │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── skeleton │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── slider │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── stepper │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── steps │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── sticky │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── submit-bar │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── swipe-cell │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── switch │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── tab │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── tabbar-item │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── tabbar │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── tabs │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── tag │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── toast │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxss │ └── toast.js │ ├── transition │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── tree-select │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ └── index.wxss │ ├── uploader │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxs │ ├── index.wxss │ ├── shared.js │ └── utils.js │ └── wxs │ ├── add-unit.wxs │ ├── array.wxs │ ├── bem.wxs │ ├── memoize.wxs │ ├── object.wxs │ ├── style.wxs │ └── utils.wxs ├── node_modules ├── .package-lock.json └── @vant │ └── weapp │ ├── LICENSE │ ├── README.md │ ├── changelog.generated.md │ ├── dist │ ├── action-sheet │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── area │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── button │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── calendar │ │ ├── calendar.wxml │ │ ├── components │ │ │ ├── header │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ ├── index.json │ │ │ │ ├── index.wxml │ │ │ │ └── index.wxss │ │ │ └── month │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ ├── index.json │ │ │ │ ├── index.wxml │ │ │ │ ├── index.wxs │ │ │ │ └── index.wxss │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ ├── index.wxss │ │ ├── utils.d.ts │ │ ├── utils.js │ │ └── utils.wxs │ ├── card │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── cell-group │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── cell │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── checkbox-group │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── checkbox │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── circle │ │ ├── canvas.d.ts │ │ ├── canvas.js │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── col │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── collapse-item │ │ ├── animate.d.ts │ │ ├── animate.js │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── collapse │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── common │ │ ├── color.d.ts │ │ ├── color.js │ │ ├── component.d.ts │ │ ├── component.js │ │ ├── index.wxss │ │ ├── relation.d.ts │ │ ├── relation.js │ │ ├── style │ │ │ ├── clearfix.wxss │ │ │ ├── ellipsis.wxss │ │ │ ├── hairline.wxss │ │ │ ├── mixins │ │ │ │ ├── clearfix.wxss │ │ │ │ ├── ellipsis.wxss │ │ │ │ └── hairline.wxss │ │ │ └── var.wxss │ │ ├── utils.d.ts │ │ ├── utils.js │ │ ├── validator.d.ts │ │ ├── validator.js │ │ ├── version.d.ts │ │ └── version.js │ ├── config-provider │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxs │ ├── count-down │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ ├── utils.d.ts │ │ └── utils.js │ ├── datetime-picker │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── definitions │ │ ├── index.d.ts │ │ └── index.js │ ├── dialog │ │ ├── dialog.d.ts │ │ ├── dialog.js │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── divider │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── dropdown-item │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ ├── shared.d.ts │ │ └── shared.js │ ├── dropdown-menu │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── empty │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── field │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ ├── index.wxss │ │ ├── input.wxml │ │ ├── props.d.ts │ │ ├── props.js │ │ └── textarea.wxml │ ├── goods-action-button │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── goods-action-icon │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── goods-action │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── grid-item │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── grid │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── icon │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── image │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── index-anchor │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── index-bar │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── info │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── loading │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── mixins │ │ ├── basic.d.ts │ │ ├── basic.js │ │ ├── button.d.ts │ │ ├── button.js │ │ ├── link.d.ts │ │ ├── link.js │ │ ├── page-scroll.d.ts │ │ ├── page-scroll.js │ │ ├── touch.d.ts │ │ ├── touch.js │ │ ├── transition.d.ts │ │ └── transition.js │ ├── nav-bar │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── notice-bar │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── notify │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ ├── index.wxss │ │ ├── notify.d.ts │ │ └── notify.js │ ├── overlay │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── panel │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── picker-column │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── picker │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ ├── index.wxss │ │ ├── shared.d.ts │ │ ├── shared.js │ │ └── toolbar.wxml │ ├── popup │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── progress │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── radio-group │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── radio │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── rate │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── row │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── search │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── share-sheet │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ ├── index.wxss │ │ ├── options.d.ts │ │ ├── options.js │ │ ├── options.json │ │ ├── options.wxml │ │ ├── options.wxs │ │ └── options.wxss │ ├── sidebar-item │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── sidebar │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── skeleton │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── slider │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── stepper │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── steps │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── sticky │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── submit-bar │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── swipe-cell │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── switch │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── tab │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── tabbar-item │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── tabbar │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── tabs │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── tag │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── toast │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ ├── toast.d.ts │ │ └── toast.js │ ├── transition │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── tree-select │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── uploader │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ ├── index.wxss │ │ ├── shared.d.ts │ │ ├── shared.js │ │ ├── utils.d.ts │ │ └── utils.js │ └── wxs │ │ ├── add-unit.wxs │ │ ├── array.wxs │ │ ├── bem.wxs │ │ ├── memoize.wxs │ │ ├── object.wxs │ │ ├── style.wxs │ │ └── utils.wxs │ ├── lib │ ├── action-sheet │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── area │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── button │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── calendar │ │ ├── calendar.wxml │ │ ├── components │ │ │ ├── header │ │ │ │ ├── index.js │ │ │ │ ├── index.json │ │ │ │ ├── index.wxml │ │ │ │ └── index.wxss │ │ │ └── month │ │ │ │ ├── index.js │ │ │ │ ├── index.json │ │ │ │ ├── index.wxml │ │ │ │ ├── index.wxs │ │ │ │ └── index.wxss │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ ├── index.wxss │ │ ├── utils.js │ │ └── utils.wxs │ ├── card │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── cell-group │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── cell │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── checkbox-group │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── checkbox │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── circle │ │ ├── canvas.js │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── col │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── collapse-item │ │ ├── animate.js │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── collapse │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── common │ │ ├── color.js │ │ ├── component.js │ │ ├── index.wxss │ │ ├── relation.js │ │ ├── style │ │ │ ├── clearfix.wxss │ │ │ ├── ellipsis.wxss │ │ │ ├── hairline.wxss │ │ │ ├── mixins │ │ │ │ ├── clearfix.wxss │ │ │ │ ├── ellipsis.wxss │ │ │ │ └── hairline.wxss │ │ │ └── var.wxss │ │ ├── utils.js │ │ ├── validator.js │ │ └── version.js │ ├── config-provider │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxs │ ├── count-down │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── utils.js │ ├── datetime-picker │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── definitions │ │ └── index.js │ ├── dialog │ │ ├── dialog.js │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── divider │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── dropdown-item │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── shared.js │ ├── dropdown-menu │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── empty │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── field │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ ├── index.wxss │ │ ├── input.wxml │ │ ├── props.js │ │ └── textarea.wxml │ ├── goods-action-button │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── goods-action-icon │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── goods-action │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── grid-item │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── grid │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── icon │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── image │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── index-anchor │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── index-bar │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── info │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── loading │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── mixins │ │ ├── basic.js │ │ ├── button.js │ │ ├── link.js │ │ ├── page-scroll.js │ │ ├── touch.js │ │ └── transition.js │ ├── nav-bar │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── notice-bar │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── notify │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ ├── index.wxss │ │ └── notify.js │ ├── overlay │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── panel │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── picker-column │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── picker │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ ├── index.wxss │ │ ├── shared.js │ │ └── toolbar.wxml │ ├── popup │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── progress │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── radio-group │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── radio │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── rate │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── row │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── search │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── share-sheet │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ ├── index.wxss │ │ ├── options.js │ │ ├── options.json │ │ ├── options.wxml │ │ ├── options.wxs │ │ └── options.wxss │ ├── sidebar-item │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── sidebar │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── skeleton │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── slider │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── stepper │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── steps │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── sticky │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── submit-bar │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── swipe-cell │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── switch │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── tab │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── tabbar-item │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── tabbar │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── tabs │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── tag │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── toast │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ └── toast.js │ ├── transition │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── tree-select │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ └── index.wxss │ ├── uploader │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxs │ │ ├── index.wxss │ │ ├── shared.js │ │ └── utils.js │ └── wxs │ │ ├── add-unit.wxs │ │ ├── array.wxs │ │ ├── bem.wxs │ │ ├── memoize.wxs │ │ ├── object.wxs │ │ ├── style.wxs │ │ └── utils.wxs │ └── package.json ├── package-lock.json ├── package.json ├── pages ├── addAddr │ ├── addAddr.js │ ├── addAddr.json │ ├── addAddr.wxml │ └── addAddr.wxss ├── addrManager │ ├── addrManager.js │ ├── addrManager.json │ ├── addrManager.wxml │ └── addrManager.wxss ├── index │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss ├── list │ ├── list.js │ ├── list.json │ ├── list.wxml │ └── list.wxss ├── location │ ├── location.js │ ├── location.json │ ├── location.wxml │ └── location.wxss ├── logs │ ├── logs.js │ ├── logs.json │ ├── logs.wxml │ └── logs.wxss ├── mine │ ├── mine.js │ ├── mine.json │ ├── mine.wxml │ └── mine.wxss ├── order │ ├── order.js │ ├── order.json │ ├── order.wxml │ └── order.wxss ├── xiangqing │ ├── xiangqing.js │ ├── xiangqing.json │ ├── xiangqing.wxml │ └── xiangqing.wxss └── zhifu │ ├── zhifu.js │ ├── zhifu.json │ ├── zhifu.wxml │ └── zhifu.wxss ├── project.config.json ├── project.private.config.json ├── sitemap.json ├── utils ├── qqmap-wx-jssdk1.2 │ ├── qqmap-wx-jssdk.js │ └── qqmap-wx-jssdk.min.js └── util.js └── 数据库数据 ├── 会员信息.json ├── 分类.json ├── 模型数据先导入.json ├── 菜单.json ├── 订单.json └── 静态数据.json /app.js: -------------------------------------------------------------------------------- 1 | // app.js 2 | App({ 3 | onLaunch() { 4 | // 展示本地存储能力 5 | const logs = wx.getStorageSync('logs') || [] 6 | logs.unshift(Date.now()) 7 | wx.setStorageSync('logs', logs) 8 | 9 | // 登录 10 | wx.login({ 11 | success: res => { 12 | // 发送 res.code 到后台换取 openId, sessionKey, unionId 13 | } 14 | }) 15 | } 16 | }) 17 | -------------------------------------------------------------------------------- /app.wxss: -------------------------------------------------------------------------------- 1 | /**app.wxss**/ 2 | .container { 3 | height: 70%; 4 | display: flex; 5 | flex-direction: column; 6 | box-sizing: border-box; 7 | } 8 | page { 9 | background-color: #F8F8F8; 10 | height: 100%; 11 | font-size: 32rpx; 12 | line-height: 1.6; 13 | } 14 | 15 | .page-body { 16 | padding: 20rpx 0; 17 | } 18 | -------------------------------------------------------------------------------- /cloudfunctions/addAddr/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "permissions": { 3 | "openapi": [ 4 | ] 5 | } 6 | } -------------------------------------------------------------------------------- /cloudfunctions/addAddr/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "addAddr", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "wx-server-sdk": "~2.5.3" 13 | } 14 | } -------------------------------------------------------------------------------- /cloudfunctions/changeDefaultAddr/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "permissions": { 3 | "openapi": [ 4 | ] 5 | } 6 | } -------------------------------------------------------------------------------- /cloudfunctions/changeDefaultAddr/index.js: -------------------------------------------------------------------------------- 1 | // 云函数入口文件 2 | const cloud = require('wx-server-sdk') 3 | 4 | cloud.init({ 5 | env: cloud.DYNAMIC_CURRENT_ENV 6 | }) 7 | const db = cloud.database() 8 | const _ = db.command 9 | 10 | // 云函数入口函数 11 | exports.main = async (event, context) => { 12 | const openId = cloud.getWXContext().OPENID 13 | let newAddrs = event.addrs 14 | return db.collection('vip').doc(openId).update({ 15 | data:{ 16 | addrs: newAddrs 17 | } 18 | }) 19 | } -------------------------------------------------------------------------------- /cloudfunctions/changeDefaultAddr/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "changeDefaultAddr", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "wx-server-sdk": "~2.5.3" 13 | } 14 | } -------------------------------------------------------------------------------- /cloudfunctions/changeOrderStatus/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "permissions": { 3 | "openapi": [ 4 | ] 5 | } 6 | } -------------------------------------------------------------------------------- /cloudfunctions/changeOrderStatus/index.js: -------------------------------------------------------------------------------- 1 | // 云函数入口文件 2 | const cloud = require('wx-server-sdk') 3 | 4 | cloud.init({ 5 | env: cloud.DYNAMIC_CURRENT_ENV 6 | }) 7 | const db = cloud.database() 8 | 9 | // 云函数入口函数 10 | exports.main = async (event, context) => { 11 | const _id = event._id 12 | const targetStatus = event.targetStatus 13 | return db.collection("orders").doc(_id).update({ 14 | data: { 15 | orderStatus: targetStatus 16 | } 17 | }) 18 | } -------------------------------------------------------------------------------- /cloudfunctions/changeOrderStatus/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "changeOrderStatus", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "wx-server-sdk": "~2.5.3" 13 | } 14 | } -------------------------------------------------------------------------------- /cloudfunctions/deleteAddr/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "permissions": { 3 | "openapi": [ 4 | ] 5 | } 6 | } -------------------------------------------------------------------------------- /cloudfunctions/deleteAddr/index.js: -------------------------------------------------------------------------------- 1 | // 云函数入口文件 2 | const cloud = require('wx-server-sdk') 3 | cloud.init({ 4 | env: cloud.DYNAMIC_CURRENT_ENV 5 | }) 6 | const db = cloud.database() 7 | const _ = db.command 8 | 9 | // 云函数入口函数 10 | exports.main = async (event, context) => { 11 | const openId = cloud.getWXContext().OPENID 12 | let addAddrsData = event.addrs 13 | let index = event.index 14 | addAddrsData.splice(index, 1) 15 | return db.collection('vip').doc(openId).update({ 16 | data: { 17 | addrs: addAddrsData 18 | } 19 | }) 20 | } -------------------------------------------------------------------------------- /cloudfunctions/deleteAddr/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "deleteAddr", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "wx-server-sdk": "~2.5.3" 13 | } 14 | } -------------------------------------------------------------------------------- /cloudfunctions/getKinds/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "permissions": { 3 | "openapi": [ 4 | ] 5 | } 6 | } -------------------------------------------------------------------------------- /cloudfunctions/getKinds/index.js: -------------------------------------------------------------------------------- 1 | // 云函数入口文件 2 | const cloud = require('wx-server-sdk') 3 | // 给定 DYNAMIC_CURRENT_ENV 常量:接下来的 API 调用都将请求到与该云函数当前所在环境相同的环境 4 | // 请安装 wx-server-sdk v1.1.0 或以上以使用该常量 5 | cloud.init({ 6 | env: cloud.DYNAMIC_CURRENT_ENV 7 | }) 8 | const db = cloud.database() 9 | 10 | // 云函数入口函数 11 | exports.main = async (event, context) => { 12 | // collection 上的 get 方法会返回一个 Promise 13 | return db.collection('kinds').orderBy('sort', 'asc').get() 14 | } -------------------------------------------------------------------------------- /cloudfunctions/getKinds/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "getKinds", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "wx-server-sdk": "~2.5.3" 13 | } 14 | } -------------------------------------------------------------------------------- /cloudfunctions/getListData/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "permissions": { 3 | "openapi": [ 4 | ] 5 | } 6 | } -------------------------------------------------------------------------------- /cloudfunctions/getListData/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "getListData", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "wx-server-sdk": "latest" 13 | } 14 | } -------------------------------------------------------------------------------- /cloudfunctions/getOrder/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "permissions": { 3 | "openapi": [ 4 | ] 5 | } 6 | } -------------------------------------------------------------------------------- /cloudfunctions/getOrder/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "getOrder", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "wx-server-sdk": "~2.5.3" 13 | } 14 | } -------------------------------------------------------------------------------- /cloudfunctions/getVip/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "permissions": { 3 | "openapi": [ 4 | ] 5 | } 6 | } -------------------------------------------------------------------------------- /cloudfunctions/getVip/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "getVip", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "wx-server-sdk": "~2.5.3" 13 | } 14 | } -------------------------------------------------------------------------------- /cloudfunctions/submitOrder/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "permissions": { 3 | "openapi": [ 4 | ] 5 | } 6 | } -------------------------------------------------------------------------------- /cloudfunctions/submitOrder/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "submitOrder", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "wx-server-sdk": "~2.5.3" 13 | } 14 | } -------------------------------------------------------------------------------- /image/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buhuia/xixili/b4ef473f678fa146a0a5d053d08de9c4c8adb6cd/image/background.jpg -------------------------------------------------------------------------------- /image/cart-fill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buhuia/xixili/b4ef473f678fa146a0a5d053d08de9c4c8adb6cd/image/cart-fill.png -------------------------------------------------------------------------------- /image/cart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buhuia/xixili/b4ef473f678fa146a0a5d053d08de9c4c8adb6cd/image/cart.png -------------------------------------------------------------------------------- /image/delivery.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buhuia/xixili/b4ef473f678fa146a0a5d053d08de9c4c8adb6cd/image/delivery.png -------------------------------------------------------------------------------- /image/index-fill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buhuia/xixili/b4ef473f678fa146a0a5d053d08de9c4c8adb6cd/image/index-fill.png -------------------------------------------------------------------------------- /image/index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buhuia/xixili/b4ef473f678fa146a0a5d053d08de9c4c8adb6cd/image/index.png -------------------------------------------------------------------------------- /image/my1-fill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buhuia/xixili/b4ef473f678fa146a0a5d053d08de9c4c8adb6cd/image/my1-fill.png -------------------------------------------------------------------------------- /image/my1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buhuia/xixili/b4ef473f678fa146a0a5d053d08de9c4c8adb6cd/image/my1.png -------------------------------------------------------------------------------- /image/order-fill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buhuia/xixili/b4ef473f678fa146a0a5d053d08de9c4c8adb6cd/image/order-fill.png -------------------------------------------------------------------------------- /image/order.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buhuia/xixili/b4ef473f678fa146a0a5d053d08de9c4c8adb6cd/image/order.png -------------------------------------------------------------------------------- /image/self.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buhuia/xixili/b4ef473f678fa146a0a5d053d08de9c4c8adb6cd/image/self.png -------------------------------------------------------------------------------- /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.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-picker": "../picker/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /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/area/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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-group/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | (0, component_1.VantComponent)({ 5 | props: { 6 | title: String, 7 | border: { 8 | type: Boolean, 9 | value: true, 10 | }, 11 | inset: Boolean, 12 | }, 13 | }); 14 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/cell-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/cell-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | {{ title }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/cell-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-cell-group--inset{border-radius:var(--cell-group-inset-border-radius,8px);margin:var(--cell-group-inset-padding,0 16px);overflow:hidden}.van-cell-group__title{color:var(--cell-group-title-color,#969799);font-size:var(--cell-group-title-font-size,14px);line-height:var(--cell-group-title-line-height,16px);padding:var(--cell-group-title-padding,16px 16px 8px)}.van-cell-group__title--inset{padding:var(--cell-group-inset-title-padding,16px 16px 8px 32px)} -------------------------------------------------------------------------------- /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/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/checkbox-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/checkbox-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/checkbox-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-checkbox-group--horizontal{display:flex;flex-wrap:wrap} -------------------------------------------------------------------------------- /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/circle/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/circle/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {{ text }} 9 | 10 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/circle/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-circle{display:inline-block;position:relative;text-align:center}.van-circle__text{color:var(--circle-text-color,#323233);left:0;position:absolute;top:50%;transform:translateY(-50%);width:100%} -------------------------------------------------------------------------------- /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 | (0, component_1.VantComponent)({ 6 | relation: (0, relation_1.useParent)('row'), 7 | props: { 8 | span: Number, 9 | offset: Number, 10 | }, 11 | }); 12 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/col/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/col/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /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/collapse-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-cell": "../cell/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/collapse/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/collapse/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/collapse/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /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/common/style/clearfix.wxss: -------------------------------------------------------------------------------- 1 | .van-clearfix:after{clear:both;content:"";display:table} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/common/style/ellipsis.wxss: -------------------------------------------------------------------------------- 1 | .van-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-multi-ellipsis--l2{-webkit-line-clamp:2}.van-multi-ellipsis--l2,.van-multi-ellipsis--l3{-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.van-multi-ellipsis--l3{-webkit-line-clamp:3} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/common/style/mixins/clearfix.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buhuia/xixili/b4ef473f678fa146a0a5d053d08de9c4c8adb6cd/miniprogram_npm/@vant/weapp/common/style/mixins/clearfix.wxss -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/common/style/mixins/ellipsis.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buhuia/xixili/b4ef473f678fa146a0a5d053d08de9c4c8adb6cd/miniprogram_npm/@vant/weapp/common/style/mixins/ellipsis.wxss -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/common/style/mixins/hairline.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buhuia/xixili/b4ef473f678fa146a0a5d053d08de9c4c8adb6cd/miniprogram_npm/@vant/weapp/common/style/mixins/hairline.wxss -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/common/style/var.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buhuia/xixili/b4ef473f678fa146a0a5d053d08de9c4c8adb6cd/miniprogram_npm/@vant/weapp/common/style/var.wxss -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/config-provider/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | (0, component_1.VantComponent)({ 5 | props: { 6 | themeVars: { 7 | type: Object, 8 | value: {}, 9 | }, 10 | }, 11 | }); 12 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/config-provider/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/config-provider/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/count-down/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/count-down/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ formattedTime }} 4 | 5 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/count-down/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-count-down{color:var(--count-down-text-color,#323233);font-size:var(--count-down-font-size,14px);line-height:var(--count-down-line-height,20px)} -------------------------------------------------------------------------------- /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/datetime-picker/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/definitions/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | -------------------------------------------------------------------------------- /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/divider/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | (0, 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/divider/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/divider/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/dropdown-item/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-dropdown-item{left:0;overflow:hidden;position:fixed;right:0}.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: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/dropdown-item/shared.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/dropdown-menu/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /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/empty/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | (0, component_1.VantComponent)({ 5 | props: { 6 | description: String, 7 | image: { 8 | type: String, 9 | value: 'default', 10 | }, 11 | }, 12 | }); 13 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/empty/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /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/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/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/goods-action-button/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-button": "../button/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /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/goods-action/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/goods-action/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/goods-action/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-goods-action{align-items:center;background-color:var(--goods-action-background-color,#fff);bottom:0;box-sizing:initial;display:flex;height:var(--goods-action-height,50px);left:0;position:fixed;right:0}.van-goods-action--safe{padding-bottom:env(safe-area-inset-bottom)} -------------------------------------------------------------------------------- /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/grid/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/grid/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /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/grid/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-grid{box-sizing:border-box;overflow:hidden;position:relative} -------------------------------------------------------------------------------- /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/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/index-anchor/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/index-anchor/index.wxml: -------------------------------------------------------------------------------- 1 | 5 | 9 | 10 | 11 | {{ index }} 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/index-anchor/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-index-anchor{background-color:var(--index-anchor-background-color,transparent);color:var(--index-anchor-text-color,#323233);font-size:var(--index-anchor-font-size,14px);font-weight:var(--index-anchor-font-weight,500);line-height:var(--index-anchor-line-height,32px);padding:var(--index-anchor-padding,0 16px)}.van-index-anchor--active{background-color:var(--index-anchor-active-background-color,#fff);color:var(--index-anchor-active-text-color,#07c160);left:0;right:0} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/index-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/index-bar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-index-bar{position:relative}.van-index-bar__sidebar{display:flex;flex-direction:column;position:fixed;right:0;text-align:center;top:50%;transform:translateY(-50%);-webkit-user-select:none;user-select:none}.van-index-bar__index{font-size:var(--index-bar-index-font-size,10px);font-weight:500;line-height:var(--index-bar-index-line-height,14px);padding:0 var(--padding-base,4px) 0 var(--padding-md,16px)} -------------------------------------------------------------------------------- /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 | (0, component_1.VantComponent)({ 5 | props: { 6 | dot: Boolean, 7 | info: null, 8 | customStyle: String, 9 | }, 10 | }); 11 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/info/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/info/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ dot ? '' : info }} 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 | (0, 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 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/loading/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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) { return wx.nextTick(resolve); }); 12 | }, 13 | }, 14 | }); 15 | -------------------------------------------------------------------------------- /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/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/notice-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /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/notify/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-transition": "../transition/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/overlay/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-transition": "../transition/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/overlay/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-overlay{background-color:var(--overlay-background-color,rgba(0,0,0,.7));height:100%;left:0;position:fixed;top:0;width:100%} -------------------------------------------------------------------------------- /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 | (0, 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/panel/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-cell": "../cell/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/panel/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-panel{background:var(--panel-background-color,#fff)}.van-panel__header-value{color:var(--panel-header-value-color,#ee0a24)}.van-panel__footer{padding:var(--panel-footer-padding,8px 16px)}.van-panel__footer:empty{display:none} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/picker-column/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/picker-column/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-picker-column{color:var(--picker-option-text-color,#000);font-size:var(--picker-option-font-size,16px);overflow:hidden;text-align:center}.van-picker-column__item{padding:0 5px}.van-picker-column__item--selected{color:var(--picker-option-selected-text-color,#323233);font-weight:var(--font-weight-bold,500)}.van-picker-column__item--disabled{opacity:var(--picker-option-disabled-opacity,.3)} -------------------------------------------------------------------------------- /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/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/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/progress/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/radio-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/radio-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-radio-group--horizontal{display:flex;flex-wrap:wrap} -------------------------------------------------------------------------------- /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/row/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/row/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /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/row/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-row:after{clear:both;content:"";display:table} -------------------------------------------------------------------------------- /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/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/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 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/share-sheet/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/share-sheet/options.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var PRESET_ICONS = ['qq', 'link', 'weibo', 'wechat', 'poster', 'qrcode', 'weapp-qrcode', 'wechat-moments']; 3 | 4 | function getIconURL(icon) { 5 | if (PRESET_ICONS.indexOf(icon) !== -1) { 6 | return 'https://img.yzcdn.cn/vant/share-sheet-' + icon + '.png'; 7 | } 8 | 9 | return icon; 10 | } 11 | 12 | module.exports = { 13 | getIconURL: getIconURL, 14 | }; 15 | -------------------------------------------------------------------------------- /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/sidebar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/sidebar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/sidebar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-sidebar{width:var(--sidebar-width,80px)} -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/skeleton/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/slider/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /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/stepper/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /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/steps/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/sticky/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/sticky/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/sticky/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-sticky{position:relative}.van-sticky-wrap--fixed{left:0;position:fixed;right:0} -------------------------------------------------------------------------------- /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/swipe-cell/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/swipe-cell/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-swipe-cell{overflow:hidden;position:relative}.van-swipe-cell__left,.van-swipe-cell__right{height:100%;position:absolute;top:0}.van-swipe-cell__left{left:0;transform:translate3d(-100%,0,0)}.van-swipe-cell__right{right:0;transform:translate3d(100%,0,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/tab/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tab/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tab/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';:host{box-sizing:border-box;flex-shrink:0;width:100%}.van-tab__pane{-webkit-overflow-scrolling:touch;box-sizing:border-box;overflow-y:auto}.van-tab__pane--active{height:auto}.van-tab__pane--inactive{height:0;overflow:visible} -------------------------------------------------------------------------------- /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/tabbar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tabbar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tabbar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-tabbar{background-color:var(--tabbar-background-color,#fff);box-sizing:initial;display:flex;height:var(--tabbar-height,50px);width:100%}.van-tabbar--fixed{bottom:0;left:0;position:fixed}.van-tabbar--safe{padding-bottom:env(safe-area-inset-bottom)} -------------------------------------------------------------------------------- /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/@vant/weapp/tag/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/tag/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 15 | 16 | -------------------------------------------------------------------------------- /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/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/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 | (0, 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: [(0, transition_1.transition)(true)], 15 | }); 16 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/transition/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /miniprogram_npm/@vant/weapp/transition/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /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/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/@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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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/wxs/array.wxs: -------------------------------------------------------------------------------- 1 | function isArray(array) { 2 | return array && array.constructor === 'Array'; 3 | } 4 | 5 | module.exports.isArray = isArray; 6 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /node_modules/.package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "xxl", 3 | "version": "1.0.0", 4 | "lockfileVersion": 2, 5 | "requires": true, 6 | "packages": { 7 | "node_modules/@vant/weapp": { 8 | "version": "1.9.2", 9 | "resolved": "https://registry.npmmirror.com/@vant/weapp/download/@vant/weapp-1.9.2.tgz", 10 | "integrity": "sha1-QGF0wR0/Qh277/mVpVbOHTBimQg=", 11 | "license": "MIT" 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/action-sheet/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/area/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/area/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-picker": "../picker/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/area/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/button/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/button/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-loading": "../loading/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/calendar/components/header/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/calendar/components/header/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/calendar/components/month/index.d.ts: -------------------------------------------------------------------------------- 1 | export interface Day { 2 | date: Date; 3 | type: string; 4 | text: number; 5 | bottomInfo?: string; 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/calendar/components/month/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/calendar/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/card/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/card/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-tag": "../tag/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/cell-group/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/cell-group/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | title: String, 5 | border: { 6 | type: Boolean, 7 | value: true, 8 | }, 9 | inset: Boolean, 10 | }, 11 | }); 12 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/cell-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/cell-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | {{ title }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/cell-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-cell-group--inset{border-radius:var(--cell-group-inset-border-radius,8px);margin:var(--cell-group-inset-padding,0 16px);overflow:hidden}.van-cell-group__title{color:var(--cell-group-title-color,#969799);font-size:var(--cell-group-title-font-size,14px);line-height:var(--cell-group-title-line-height,16px);padding:var(--cell-group-title-padding,16px 16px 8px)}.van-cell-group__title--inset{padding:var(--cell-group-inset-title-padding,16px 16px 8px 32px)} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/cell/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/cell/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/checkbox-group/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/checkbox-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/checkbox-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/checkbox-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-checkbox-group--horizontal{display:flex;flex-wrap:wrap} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/checkbox/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/checkbox/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/circle/canvas.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare type CanvasContext = WechatMiniprogram.CanvasContext; 3 | export declare function adaptor(ctx: CanvasContext & Record): CanvasContext; 4 | export {}; 5 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/circle/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/circle/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/circle/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {{ text }} 9 | 10 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/circle/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-circle{display:inline-block;position:relative;text-align:center}.van-circle__text{color:var(--circle-text-color,#323233);left:0;position:absolute;top:50%;transform:translateY(-50%);width:100%} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/col/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/col/index.js: -------------------------------------------------------------------------------- 1 | import { useParent } from '../common/relation'; 2 | import { VantComponent } from '../common/component'; 3 | VantComponent({ 4 | relation: useParent('row'), 5 | props: { 6 | span: Number, 7 | offset: Number, 8 | }, 9 | }); 10 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/col/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/col/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/collapse-item/animate.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare function setContentAnimate(context: WechatMiniprogram.Component.TrivialInstance, expanded: boolean, mounted: boolean): void; 3 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/collapse-item/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/collapse-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-cell": "../cell/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/collapse/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/collapse/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/collapse/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/collapse/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/common/color.d.ts: -------------------------------------------------------------------------------- 1 | export declare const RED = "#ee0a24"; 2 | export declare const BLUE = "#1989fa"; 3 | export declare const WHITE = "#fff"; 4 | export declare const GREEN = "#07c160"; 5 | export declare const ORANGE = "#ff976a"; 6 | export declare const GRAY = "#323233"; 7 | export declare const GRAY_DARK = "#969799"; 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/common/color.js: -------------------------------------------------------------------------------- 1 | export const RED = '#ee0a24'; 2 | export const BLUE = '#1989fa'; 3 | export const WHITE = '#fff'; 4 | export const GREEN = '#07c160'; 5 | export const ORANGE = '#ff976a'; 6 | export const GRAY = '#323233'; 7 | export const GRAY_DARK = '#969799'; 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/common/component.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { VantComponentOptions } from '../definitions/index'; 3 | declare function VantComponent(vantOptions: VantComponentOptions): void; 4 | export { VantComponent }; 5 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/common/style/clearfix.wxss: -------------------------------------------------------------------------------- 1 | .van-clearfix:after{clear:both;content:"";display:table} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/common/style/ellipsis.wxss: -------------------------------------------------------------------------------- 1 | .van-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-multi-ellipsis--l2{-webkit-line-clamp:2}.van-multi-ellipsis--l2,.van-multi-ellipsis--l3{-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.van-multi-ellipsis--l3{-webkit-line-clamp:3} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/common/style/mixins/clearfix.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buhuia/xixili/b4ef473f678fa146a0a5d053d08de9c4c8adb6cd/node_modules/@vant/weapp/dist/common/style/mixins/clearfix.wxss -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/common/style/mixins/ellipsis.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buhuia/xixili/b4ef473f678fa146a0a5d053d08de9c4c8adb6cd/node_modules/@vant/weapp/dist/common/style/mixins/ellipsis.wxss -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/common/style/mixins/hairline.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buhuia/xixili/b4ef473f678fa146a0a5d053d08de9c4c8adb6cd/node_modules/@vant/weapp/dist/common/style/mixins/hairline.wxss -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/common/style/var.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buhuia/xixili/b4ef473f678fa146a0a5d053d08de9c4c8adb6cd/node_modules/@vant/weapp/dist/common/style/var.wxss -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/common/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare function canIUseModel(): boolean; 2 | export declare function canIUseFormFieldButton(): boolean; 3 | export declare function canIUseAnimate(): boolean; 4 | export declare function canIUseGroupSetData(): boolean; 5 | export declare function canIUseNextTick(): boolean; 6 | export declare function canIUseCanvas2d(): boolean; 7 | export declare function canIUseGetUserProfile(): boolean; 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/config-provider/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/config-provider/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | themeVars: { 5 | type: Object, 6 | value: {}, 7 | }, 8 | }, 9 | }); 10 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/config-provider/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/config-provider/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/count-down/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/count-down/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/count-down/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ formattedTime }} 4 | 5 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/count-down/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-count-down{color:var(--count-down-text-color,#323233);font-size:var(--count-down-font-size,14px);line-height:var(--count-down-line-height,20px)} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/count-down/utils.d.ts: -------------------------------------------------------------------------------- 1 | export declare type TimeData = { 2 | days: number; 3 | hours: number; 4 | minutes: number; 5 | seconds: number; 6 | milliseconds: number; 7 | }; 8 | export declare function parseTimeData(time: number): TimeData; 9 | export declare function parseFormat(format: string, timeData: TimeData): string; 10 | export declare function isSameSecond(time1: number, time2: number): boolean; 11 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/datetime-picker/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/datetime-picker/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-picker": "../picker/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/datetime-picker/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/definitions/index.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/dialog/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/divider/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/divider/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | dashed: Boolean, 5 | hairline: Boolean, 6 | contentPosition: String, 7 | fontSize: String, 8 | borderColor: String, 9 | textColor: String, 10 | customStyle: String, 11 | }, 12 | }); 13 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/divider/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/divider/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/dropdown-item/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/dropdown-item/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-dropdown-item{left:0;overflow:hidden;position:fixed;right:0}.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: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} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/dropdown-item/shared.d.ts: -------------------------------------------------------------------------------- 1 | export interface Option { 2 | text: string; 3 | value: string | number; 4 | icon: string; 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/dropdown-item/shared.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/dropdown-menu/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/dropdown-menu/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/empty/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/empty/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | description: String, 5 | image: { 6 | type: String, 7 | value: 'default', 8 | }, 9 | }, 10 | }); 11 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/empty/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/field/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/field/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-cell": "../cell/index", 5 | "van-icon": "../icon/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/field/props.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export declare const commonProps: WechatMiniprogram.Component.PropertyOption; 3 | export declare const inputProps: WechatMiniprogram.Component.PropertyOption; 4 | export declare const textareaProps: WechatMiniprogram.Component.PropertyOption; 5 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/goods-action-button/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/goods-action-button/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-button": "../button/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/goods-action-icon/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/goods-action-icon/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-button": "../button/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/goods-action/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/goods-action/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | import { useChildren } from '../common/relation'; 3 | VantComponent({ 4 | relation: useChildren('goods-action-button', function () { 5 | this.children.forEach((item) => { 6 | item.updateStyle(); 7 | }); 8 | }), 9 | props: { 10 | safeAreaInsetBottom: { 11 | type: Boolean, 12 | value: true, 13 | }, 14 | }, 15 | }); 16 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/goods-action/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/goods-action/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/goods-action/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-goods-action{align-items:center;background-color:var(--goods-action-background-color,#fff);bottom:0;box-sizing:initial;display:flex;height:var(--goods-action-height,50px);left:0;position:fixed;right:0}.van-goods-action--safe{padding-bottom:env(safe-area-inset-bottom)} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/grid-item/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/grid-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/grid/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/grid/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/grid/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/grid/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-grid{box-sizing:border-box;overflow:hidden;position:relative} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/icon/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/icon/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | dot: Boolean, 5 | info: null, 6 | size: null, 7 | color: String, 8 | customStyle: String, 9 | classPrefix: { 10 | type: String, 11 | value: 'van-icon', 12 | }, 13 | name: String, 14 | }, 15 | methods: { 16 | onClick() { 17 | this.$emit('click'); 18 | }, 19 | }, 20 | }); 21 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/icon/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-info": "../info/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/image/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/image/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-loading": "../loading/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/index-anchor/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/index-anchor/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/index-anchor/index.wxml: -------------------------------------------------------------------------------- 1 | 5 | 9 | 10 | 11 | {{ index }} 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/index-anchor/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-index-anchor{background-color:var(--index-anchor-background-color,transparent);color:var(--index-anchor-text-color,#323233);font-size:var(--index-anchor-font-size,14px);font-weight:var(--index-anchor-font-weight,500);line-height:var(--index-anchor-line-height,32px);padding:var(--index-anchor-padding,0 16px)}.van-index-anchor--active{background-color:var(--index-anchor-active-background-color,#fff);color:var(--index-anchor-active-text-color,#07c160);left:0;right:0} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/index-bar/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/index-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/index-bar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-index-bar{position:relative}.van-index-bar__sidebar{display:flex;flex-direction:column;position:fixed;right:0;text-align:center;top:50%;transform:translateY(-50%);-webkit-user-select:none;user-select:none}.van-index-bar__index{font-size:var(--index-bar-index-font-size,10px);font-weight:500;line-height:var(--index-bar-index-line-height,14px);padding:0 var(--padding-base,4px) 0 var(--padding-md,16px)} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/info/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/info/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | dot: Boolean, 5 | info: null, 6 | customStyle: String, 7 | }, 8 | }); 9 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/info/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/info/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ dot ? '' : info }} 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/loading/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/loading/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | color: String, 5 | vertical: Boolean, 6 | type: { 7 | type: String, 8 | value: 'circular', 9 | }, 10 | size: String, 11 | textSize: String, 12 | }, 13 | data: { 14 | array12: Array.from({ length: 12 }), 15 | }, 16 | }); 17 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/loading/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/mixins/basic.d.ts: -------------------------------------------------------------------------------- 1 | export declare const basic: string; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/mixins/basic.js: -------------------------------------------------------------------------------- 1 | export const basic = Behavior({ 2 | methods: { 3 | $emit(name, detail, options) { 4 | this.triggerEvent(name, detail, options); 5 | }, 6 | set(data) { 7 | this.setData(data); 8 | return new Promise((resolve) => wx.nextTick(resolve)); 9 | }, 10 | }, 11 | }); 12 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/mixins/button.d.ts: -------------------------------------------------------------------------------- 1 | export declare const button: string; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/mixins/link.d.ts: -------------------------------------------------------------------------------- 1 | export declare const link: string; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/mixins/page-scroll.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare type IPageScrollOption = WechatMiniprogram.Page.IPageScrollOption; 3 | declare type Scroller = (this: WechatMiniprogram.Component.TrivialInstance, event?: IPageScrollOption) => void; 4 | export declare const pageScrollMixin: (scroller: Scroller) => string; 5 | export {}; 6 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/mixins/touch.d.ts: -------------------------------------------------------------------------------- 1 | export declare const touch: string; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/mixins/transition.d.ts: -------------------------------------------------------------------------------- 1 | export declare function transition(showDefaultValue: boolean): string; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/nav-bar/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/nav-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/notice-bar/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/notice-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/notify/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/notify/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-transition": "../transition/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/overlay/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/overlay/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-transition": "../transition/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/overlay/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-overlay{background-color:var(--overlay-background-color,rgba(0,0,0,.7));height:100%;left:0;position:fixed;top:0;width:100%} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/panel/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/panel/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | classes: ['header-class', 'footer-class'], 4 | props: { 5 | desc: String, 6 | title: String, 7 | status: String, 8 | }, 9 | }); 10 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/panel/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-cell": "../cell/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/panel/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-panel{background:var(--panel-background-color,#fff)}.van-panel__header-value{color:var(--panel-header-value-color,#ee0a24)}.van-panel__footer{padding:var(--panel-footer-padding,8px 16px)}.van-panel__footer:empty{display:none} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/picker-column/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/picker-column/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/picker-column/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-picker-column{color:var(--picker-option-text-color,#000);font-size:var(--picker-option-font-size,16px);overflow:hidden;text-align:center}.van-picker-column__item{padding:0 5px}.van-picker-column__item--selected{color:var(--picker-option-selected-text-color,#323233);font-weight:var(--font-weight-bold,500)}.van-picker-column__item--disabled{opacity:var(--picker-option-disabled-opacity,.3)} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/picker/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/picker/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "picker-column": "../picker-column/index", 5 | "loading": "../loading/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/picker/shared.js: -------------------------------------------------------------------------------- 1 | export const pickerProps = { 2 | title: String, 3 | loading: Boolean, 4 | showToolbar: Boolean, 5 | cancelButtonText: { 6 | type: String, 7 | value: '取消', 8 | }, 9 | confirmButtonText: { 10 | type: String, 11 | value: '确认', 12 | }, 13 | visibleItemCount: { 14 | type: Number, 15 | value: 6, 16 | }, 17 | itemHeight: { 18 | type: Number, 19 | value: 44, 20 | }, 21 | }; 22 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/popup/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/popup/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-overlay": "../overlay/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/progress/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/progress/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/radio-group/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/radio-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/radio-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/radio-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-radio-group--horizontal{display:flex;flex-wrap:wrap} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/radio/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/radio/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/rate/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/rate/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/row/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/row/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/row/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/row/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-row:after{clear:both;content:"";display:table} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/search/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/search/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-field": "../field/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/share-sheet/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/share-sheet/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-popup": "../popup/index", 5 | "options": "./options" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/share-sheet/options.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/share-sheet/options.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | options: Array, 5 | showBorder: Boolean, 6 | }, 7 | methods: { 8 | onSelect(event) { 9 | const { index } = event.currentTarget.dataset; 10 | const option = this.data.options[index]; 11 | this.$emit('select', Object.assign(Object.assign({}, option), { index })); 12 | }, 13 | }, 14 | }); 15 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/share-sheet/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/share-sheet/options.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var PRESET_ICONS = ['qq', 'link', 'weibo', 'wechat', 'poster', 'qrcode', 'weapp-qrcode', 'wechat-moments']; 3 | 4 | function getIconURL(icon) { 5 | if (PRESET_ICONS.indexOf(icon) !== -1) { 6 | return 'https://img.yzcdn.cn/vant/share-sheet-' + icon + '.png'; 7 | } 8 | 9 | return icon; 10 | } 11 | 12 | module.exports = { 13 | getIconURL: getIconURL, 14 | }; 15 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/sidebar-item/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/sidebar-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-info": "../info/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/sidebar/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/sidebar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/sidebar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/sidebar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-sidebar{width:var(--sidebar-width,80px)} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/skeleton/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/skeleton/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/slider/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/slider/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/stepper/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/stepper/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/steps/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/steps/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/sticky/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/sticky/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/sticky/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/sticky/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-sticky{position:relative}.van-sticky-wrap--fixed{left:0;position:fixed;right:0} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/submit-bar/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/submit-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-button": "../button/index", 5 | "van-icon": "../icon/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/swipe-cell/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/swipe-cell/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/swipe-cell/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-swipe-cell{overflow:hidden;position:relative}.van-swipe-cell__left,.van-swipe-cell__right{height:100%;position:absolute;top:0}.van-swipe-cell__left{left:0;transform:translate3d(-100%,0,0)}.van-swipe-cell__right{right:0;transform:translate3d(100%,0,0)} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/switch/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/switch/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-loading": "../loading/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/tab/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/tab/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/tab/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/tab/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';:host{box-sizing:border-box;flex-shrink:0;width:100%}.van-tab__pane{-webkit-overflow-scrolling:touch;box-sizing:border-box;overflow-y:auto}.van-tab__pane--active{height:auto}.van-tab__pane--inactive{height:0;overflow:visible} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/tabbar-item/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/tabbar-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-info": "../info/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/tabbar/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/tabbar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/tabbar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/tabbar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-tabbar{background-color:var(--tabbar-background-color,#fff);box-sizing:initial;display:flex;height:var(--tabbar-height,50px);width:100%}.van-tabbar--fixed{bottom:0;left:0;position:fixed}.van-tabbar--safe{padding-bottom:env(safe-area-inset-bottom)} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/tabs/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/tabs/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-info": "../info/index", 5 | "van-sticky": "../sticky/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/tag/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/tag/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | VantComponent({ 3 | props: { 4 | size: String, 5 | mark: Boolean, 6 | color: String, 7 | plain: Boolean, 8 | round: Boolean, 9 | textColor: String, 10 | type: { 11 | type: String, 12 | value: 'default', 13 | }, 14 | closeable: Boolean, 15 | }, 16 | methods: { 17 | onClose() { 18 | this.$emit('close'); 19 | }, 20 | }, 21 | }); 22 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/tag/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/tag/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 15 | 16 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/toast/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/transition/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/transition/index.js: -------------------------------------------------------------------------------- 1 | import { VantComponent } from '../common/component'; 2 | import { transition } from '../mixins/transition'; 3 | VantComponent({ 4 | classes: [ 5 | 'enter-class', 6 | 'enter-active-class', 7 | 'enter-to-class', 8 | 'leave-class', 9 | 'leave-active-class', 10 | 'leave-to-class', 11 | ], 12 | mixins: [transition(true)], 13 | }); 14 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/transition/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/transition/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/tree-select/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/uploader/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/uploader/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-loading": "../loading/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/wxs/array.wxs: -------------------------------------------------------------------------------- 1 | function isArray(array) { 2 | return array && array.constructor === 'Array'; 3 | } 4 | 5 | module.exports.isArray = isArray; 6 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/dist/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/area/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-picker": "../picker/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/area/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/button/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-loading": "../loading/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/calendar/components/header/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/calendar/components/month/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/card/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-tag": "../tag/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/cell-group/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | (0, component_1.VantComponent)({ 5 | props: { 6 | title: String, 7 | border: { 8 | type: Boolean, 9 | value: true, 10 | }, 11 | inset: Boolean, 12 | }, 13 | }); 14 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/cell-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/cell-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | {{ title }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/cell-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-cell-group--inset{border-radius:var(--cell-group-inset-border-radius,8px);margin:var(--cell-group-inset-padding,0 16px);overflow:hidden}.van-cell-group__title{color:var(--cell-group-title-color,#969799);font-size:var(--cell-group-title-font-size,14px);line-height:var(--cell-group-title-line-height,16px);padding:var(--cell-group-title-padding,16px 16px 8px)}.van-cell-group__title--inset{padding:var(--cell-group-inset-title-padding,16px 16px 8px 32px)} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/cell/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/checkbox-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/checkbox-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/checkbox-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-checkbox-group--horizontal{display:flex;flex-wrap:wrap} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/checkbox/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/circle/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/circle/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | {{ text }} 9 | 10 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/circle/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-circle{display:inline-block;position:relative;text-align:center}.van-circle__text{color:var(--circle-text-color,#323233);left:0;position:absolute;top:50%;transform:translateY(-50%);width:100%} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | (0, component_1.VantComponent)({ 6 | relation: (0, relation_1.useParent)('row'), 7 | props: { 8 | span: Number, 9 | offset: Number, 10 | }, 11 | }); 12 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/col/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/col/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/collapse-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-cell": "../cell/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/collapse/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/collapse/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/collapse/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/common/style/clearfix.wxss: -------------------------------------------------------------------------------- 1 | .van-clearfix:after{clear:both;content:"";display:table} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/common/style/ellipsis.wxss: -------------------------------------------------------------------------------- 1 | .van-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-multi-ellipsis--l2{-webkit-line-clamp:2}.van-multi-ellipsis--l2,.van-multi-ellipsis--l3{-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.van-multi-ellipsis--l3{-webkit-line-clamp:3} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/common/style/mixins/clearfix.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buhuia/xixili/b4ef473f678fa146a0a5d053d08de9c4c8adb6cd/node_modules/@vant/weapp/lib/common/style/mixins/clearfix.wxss -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/common/style/mixins/ellipsis.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buhuia/xixili/b4ef473f678fa146a0a5d053d08de9c4c8adb6cd/node_modules/@vant/weapp/lib/common/style/mixins/ellipsis.wxss -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/common/style/mixins/hairline.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buhuia/xixili/b4ef473f678fa146a0a5d053d08de9c4c8adb6cd/node_modules/@vant/weapp/lib/common/style/mixins/hairline.wxss -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/common/style/var.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/buhuia/xixili/b4ef473f678fa146a0a5d053d08de9c4c8adb6cd/node_modules/@vant/weapp/lib/common/style/var.wxss -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/config-provider/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | (0, component_1.VantComponent)({ 5 | props: { 6 | themeVars: { 7 | type: Object, 8 | value: {}, 9 | }, 10 | }, 11 | }); 12 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/config-provider/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/config-provider/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/count-down/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/count-down/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ formattedTime }} 4 | 5 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/count-down/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-count-down{color:var(--count-down-text-color,#323233);font-size:var(--count-down-font-size,14px);line-height:var(--count-down-line-height,20px)} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/datetime-picker/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-picker": "../picker/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/datetime-picker/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss'; -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/definitions/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/divider/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | (0, 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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/divider/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/divider/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/dropdown-item/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-dropdown-item{left:0;overflow:hidden;position:fixed;right:0}.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: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} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/dropdown-item/shared.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/dropdown-menu/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/empty/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | (0, component_1.VantComponent)({ 5 | props: { 6 | description: String, 7 | image: { 8 | type: String, 9 | value: 'default', 10 | }, 11 | }, 12 | }); 13 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/empty/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/field/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-cell": "../cell/index", 5 | "van-icon": "../icon/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/goods-action-button/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-button": "../button/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/goods-action-icon/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-button": "../button/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/goods-action/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/goods-action/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/goods-action/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-goods-action{align-items:center;background-color:var(--goods-action-background-color,#fff);bottom:0;box-sizing:initial;display:flex;height:var(--goods-action-height,50px);left:0;position:fixed;right:0}.van-goods-action--safe{padding-bottom:env(safe-area-inset-bottom)} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/grid-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/grid/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/grid/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/grid/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-grid{box-sizing:border-box;overflow:hidden;position:relative} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/icon/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-info": "../info/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/image/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-loading": "../loading/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/index-anchor/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/index-anchor/index.wxml: -------------------------------------------------------------------------------- 1 | 5 | 9 | 10 | 11 | {{ index }} 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/index-anchor/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-index-anchor{background-color:var(--index-anchor-background-color,transparent);color:var(--index-anchor-text-color,#323233);font-size:var(--index-anchor-font-size,14px);font-weight:var(--index-anchor-font-weight,500);line-height:var(--index-anchor-line-height,32px);padding:var(--index-anchor-padding,0 16px)}.van-index-anchor--active{background-color:var(--index-anchor-active-background-color,#fff);color:var(--index-anchor-active-text-color,#07c160);left:0;right:0} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/index-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/index-bar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-index-bar{position:relative}.van-index-bar__sidebar{display:flex;flex-direction:column;position:fixed;right:0;text-align:center;top:50%;transform:translateY(-50%);-webkit-user-select:none;user-select:none}.van-index-bar__index{font-size:var(--index-bar-index-font-size,10px);font-weight:500;line-height:var(--index-bar-index-line-height,14px);padding:0 var(--padding-base,4px) 0 var(--padding-md,16px)} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/info/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | (0, component_1.VantComponent)({ 5 | props: { 6 | dot: Boolean, 7 | info: null, 8 | customStyle: String, 9 | }, 10 | }); 11 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/info/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/info/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ dot ? '' : info }} 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/loading/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | (0, 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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/loading/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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) { return wx.nextTick(resolve); }); 12 | }, 13 | }, 14 | }); 15 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/nav-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/notice-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/notify/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-transition": "../transition/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/overlay/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-transition": "../transition/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/overlay/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-overlay{background-color:var(--overlay-background-color,rgba(0,0,0,.7));height:100%;left:0;position:fixed;top:0;width:100%} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/panel/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | var component_1 = require("../common/component"); 4 | (0, component_1.VantComponent)({ 5 | classes: ['header-class', 'footer-class'], 6 | props: { 7 | desc: String, 8 | title: String, 9 | status: String, 10 | }, 11 | }); 12 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/panel/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-cell": "../cell/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/panel/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-panel{background:var(--panel-background-color,#fff)}.van-panel__header-value{color:var(--panel-header-value-color,#ee0a24)}.van-panel__footer{padding:var(--panel-footer-padding,8px 16px)}.van-panel__footer:empty{display:none} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/picker-column/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/picker-column/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-picker-column{color:var(--picker-option-text-color,#000);font-size:var(--picker-option-font-size,16px);overflow:hidden;text-align:center}.van-picker-column__item{padding:0 5px}.van-picker-column__item--selected{color:var(--picker-option-selected-text-color,#323233);font-weight:var(--font-weight-bold,500)}.van-picker-column__item--disabled{opacity:var(--picker-option-disabled-opacity,.3)} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/picker/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "picker-column": "../picker-column/index", 5 | "loading": "../loading/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/popup/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-overlay": "../overlay/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/progress/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/radio-group/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/radio-group/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/radio-group/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-radio-group--horizontal{display:flex;flex-wrap:wrap} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/radio/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/rate/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/row/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/row/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/row/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-row:after{clear:both;content:"";display:table} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/search/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-field": "../field/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/share-sheet/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-popup": "../popup/index", 5 | "options": "./options" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/share-sheet/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/share-sheet/options.wxs: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | var PRESET_ICONS = ['qq', 'link', 'weibo', 'wechat', 'poster', 'qrcode', 'weapp-qrcode', 'wechat-moments']; 3 | 4 | function getIconURL(icon) { 5 | if (PRESET_ICONS.indexOf(icon) !== -1) { 6 | return 'https://img.yzcdn.cn/vant/share-sheet-' + icon + '.png'; 7 | } 8 | 9 | return icon; 10 | } 11 | 12 | module.exports = { 13 | getIconURL: getIconURL, 14 | }; 15 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/sidebar-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-info": "../info/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/sidebar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/sidebar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/sidebar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-sidebar{width:var(--sidebar-width,80px)} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/skeleton/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/slider/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/stepper/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/steps/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/sticky/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/sticky/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/sticky/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-sticky{position:relative}.van-sticky-wrap--fixed{left:0;position:fixed;right:0} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/submit-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-button": "../button/index", 5 | "van-icon": "../icon/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/swipe-cell/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/swipe-cell/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-swipe-cell{overflow:hidden;position:relative}.van-swipe-cell__left,.van-swipe-cell__right{height:100%;position:absolute;top:0}.van-swipe-cell__left{left:0;transform:translate3d(-100%,0,0)}.van-swipe-cell__right{right:0;transform:translate3d(100%,0,0)} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/switch/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-loading": "../loading/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/tab/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/tab/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/tab/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';:host{box-sizing:border-box;flex-shrink:0;width:100%}.van-tab__pane{-webkit-overflow-scrolling:touch;box-sizing:border-box;overflow-y:auto}.van-tab__pane--active{height:auto}.van-tab__pane--inactive{height:0;overflow:visible} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/tabbar-item/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-info": "../info/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/tabbar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/tabbar/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/tabbar/index.wxss: -------------------------------------------------------------------------------- 1 | @import '../common/index.wxss';.van-tabbar{background-color:var(--tabbar-background-color,#fff);box-sizing:initial;display:flex;height:var(--tabbar-height,50px);width:100%}.van-tabbar--fixed{bottom:0;left:0;position:fixed}.van-tabbar--safe{padding-bottom:env(safe-area-inset-bottom)} -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/tabs/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-info": "../info/index", 5 | "van-sticky": "../sticky/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/tag/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/tag/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 15 | 16 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | (0, 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: [(0, transition_1.transition)(true)], 15 | }); 16 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/transition/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } 4 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/transition/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/uploader/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "van-icon": "../icon/index", 5 | "van-loading": "../loading/index" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/wxs/array.wxs: -------------------------------------------------------------------------------- 1 | function isArray(array) { 2 | return array && array.constructor === 'Array'; 3 | } 4 | 5 | module.exports.isArray = isArray; 6 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /node_modules/@vant/weapp/lib/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 | -------------------------------------------------------------------------------- /pages/addAddr/addAddr.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "mp-cell": "weui-miniprogram/cell/cell" 4 | } 5 | } -------------------------------------------------------------------------------- /pages/addAddr/addAddr.wxss: -------------------------------------------------------------------------------- 1 | /* pages/tianjiadizhi/tianjiadizhi.wxss */ 2 | 3 | .page-section{ 4 | margin-bottom: 20rpx; 5 | } 6 | 7 | .switchCell{ 8 | text-align: right; 9 | } 10 | .input3{ 11 | margin-left: 55rpx; 12 | } 13 | .input4{ 14 | margin-left: 20rpx; 15 | } -------------------------------------------------------------------------------- /pages/addrManager/addrManager.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "van-icon": "@vant/weapp/icon/index", 4 | "van-popup": "@vant/weapp/popup/index", 5 | "van-button": "@vant/weapp/button/index" 6 | } 7 | } -------------------------------------------------------------------------------- /pages/index/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "van-image": "@vant/weapp/image/index", 4 | "van-notice-bar": "@vant/weapp/notice-bar/index", 5 | "van-divider": "@vant/weapp/divider/index" 6 | }, 7 | "window":{ 8 | "navigationStyle": "custom" 9 | } 10 | } -------------------------------------------------------------------------------- /pages/list/list.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "van-icon": "@vant/weapp/icon/index", 4 | "van-image": "@vant/weapp/image/index", 5 | "van-button": "@vant/weapp/button/index", 6 | "van-divider": "@vant/weapp/divider/index" 7 | } 8 | } -------------------------------------------------------------------------------- /pages/location/location.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "mp-searchbar": "weui-miniprogram/searchbar/searchbar", 4 | "mp-icon": "weui-miniprogram/icon/icon" 5 | } 6 | } -------------------------------------------------------------------------------- /pages/location/location.wxss: -------------------------------------------------------------------------------- 1 | /* pages/location/location.wxss */ -------------------------------------------------------------------------------- /pages/logs/logs.js: -------------------------------------------------------------------------------- 1 | // logs.js 2 | const util = require('../../utils/util.js') 3 | 4 | Page({ 5 | data: { 6 | logs: [] 7 | }, 8 | onLoad() { 9 | this.setData({ 10 | logs: (wx.getStorageSync('logs') || []).map(log => { 11 | return { 12 | date: util.formatTime(new Date(log)), 13 | timeStamp: log 14 | } 15 | }) 16 | }) 17 | } 18 | }) 19 | -------------------------------------------------------------------------------- /pages/logs/logs.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "查看启动日志", 3 | "usingComponents": {} 4 | } -------------------------------------------------------------------------------- /pages/logs/logs.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{index + 1}}. {{log.date}} 5 | 6 | 7 | -------------------------------------------------------------------------------- /pages/logs/logs.wxss: -------------------------------------------------------------------------------- 1 | .log-list { 2 | display: flex; 3 | flex-direction: column; 4 | padding: 40rpx; 5 | } 6 | .log-item { 7 | margin: 10rpx; 8 | } 9 | -------------------------------------------------------------------------------- /pages/mine/mine.js: -------------------------------------------------------------------------------- 1 | Page({ 2 | data: { 3 | vipPoints: 0 , 4 | }, 5 | 6 | onShow() { 7 | this.setData({ 8 | vipPoints: wx.getStorageSync('vip').points 9 | }) 10 | }, 11 | goToAddrManage:function(){ 12 | wx.navigateTo({ 13 | url: '/pages/addrManager/addrManager' 14 | }) 15 | }, 16 | call:function(){ 17 | wx.makePhoneCall({ 18 | phoneNumber: '12345678910', 19 | }) 20 | } 21 | }) -------------------------------------------------------------------------------- /pages/mine/mine.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "van-image": "@vant/weapp/image/index" 4 | } 5 | } -------------------------------------------------------------------------------- /pages/order/order.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "van-tab": "@vant/weapp/tab/index", 4 | "van-tabs": "@vant/weapp/tabs/index", 5 | "van-image": "@vant/weapp/image/index", 6 | "van-icon": "@vant/weapp/icon/index", 7 | "van-popup": "@vant/weapp/popup/index" 8 | } 9 | } -------------------------------------------------------------------------------- /pages/xiangqing/xiangqing.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "van-image": "@vant/weapp/image/index", 4 | "van-icon": "@vant/weapp/icon/index", 5 | "van-button": "@vant/weapp/button/index" 6 | } 7 | } -------------------------------------------------------------------------------- /pages/xiangqing/xiangqing.wxss: -------------------------------------------------------------------------------- 1 | page{ 2 | height: 100%; 3 | } 4 | 5 | .container{ 6 | display: flex; 7 | flex-direction: column; 8 | height: 100%; 9 | } 10 | 11 | .swiper{ 12 | height: 35%; 13 | } 14 | 15 | .scroll-view{ 16 | height: 65%; 17 | } 18 | 19 | .foodName{ 20 | font-size: large; 21 | } 22 | 23 | .detail-card{ 24 | margin: 10rpx; 25 | background-color: #f5f5f7; 26 | border-radius: 4rpx; 27 | } 28 | 29 | .select{ 30 | background-color: #f8eee3; 31 | color: #ce9c65; 32 | } -------------------------------------------------------------------------------- /pages/zhifu/zhifu.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "van-image": "@vant/weapp/image/index", 4 | "van-checkbox": "@vant/weapp/checkbox/index", 5 | "van-checkbox-group": "@vant/weapp/checkbox-group/index" 6 | } 7 | } -------------------------------------------------------------------------------- /sitemap.json: -------------------------------------------------------------------------------- 1 | { 2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", 3 | "rules": [{ 4 | "action": "allow", 5 | "page": "*" 6 | }] 7 | } -------------------------------------------------------------------------------- /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 19 | } 20 | -------------------------------------------------------------------------------- /数据库数据/分类.json: -------------------------------------------------------------------------------- 1 | [{"_id":"fa24ce1a617303f101b1fafe1812b407","_createTime":1634927601252,"_updateTime":1634990574179,"sort":1,"kind":"当季限定"},{"_id":"18ed09686173e2ce0179dad305a3bd63","_createTime":1634984654585,"_updateTime":1634990579981,"sort":2,"kind":"蛋糕"},{"_id":"fa24ce1a6173e2d701d6f1902523626d","_createTime":1634984663488,"_updateTime":1634990603647,"sort":3,"kind":"面包"},{"_id":"859059a561780dad023acaef3a5751bd","kind":"甜品台","sort":4,"_createTime":1635257773811,"_updateTime":1638036354812}] --------------------------------------------------------------------------------