├── pages
├── idcardCheck
│ ├── index.wxss
│ ├── index.json
│ └── index.wxml
├── exchange-coupon
│ ├── index.wxss
│ ├── index.json
│ └── index.wxml
├── modifyUserInfo
│ ├── index.wxss
│ └── index.json
├── config
│ ├── index.wxss
│ ├── index.json
│ ├── index.wxml
│ └── index.js
├── notice
│ ├── index.wxss
│ ├── index.json
│ ├── index.wxml
│ └── index.js
├── region
│ ├── index.wxss
│ └── index.json
├── comment
│ ├── index.wxss
│ ├── index.json
│ ├── index.wxml
│ └── index.js
├── dfs
│ ├── index.wxss
│ └── index.json
├── index
│ ├── cms.json
│ ├── finance.json
│ ├── index.json
│ ├── cms.wxss
│ ├── finance.wxss
│ ├── index.wxss
│ ├── finance.js
│ ├── cms.js
│ ├── index.js
│ └── finance.wxml
├── page
│ ├── index.json
│ ├── index.wxss
│ ├── index.wxml
│ └── index.js
├── tags
│ ├── index.json
│ ├── index.wxml
│ ├── index.wxss
│ └── index.js
├── tools
│ ├── index.json
│ ├── index.wxss
│ ├── index.wxml
│ └── index.js
├── cmsArticle
│ ├── index.json
│ ├── index.wxss
│ └── index.wxml
├── cmsCategory
│ ├── index.json
│ ├── index.wxss
│ ├── index.wxml
│ └── index.js
├── invoice
│ ├── index.json
│ ├── index.wxss
│ └── index.wxml
├── luckyInfo
│ ├── index.json
│ ├── index.wxss
│ └── index.wxml
├── withDraw
│ ├── index.json
│ ├── index.wxss
│ └── index.wxml
├── friendly-partner
│ ├── index.json
│ ├── index.wxss
│ ├── index.wxml
│ └── index.js
├── login
│ ├── username-login.wxss
│ ├── username-login.json
│ ├── username-register.wxss
│ ├── username-register.json
│ ├── username-login.wxml
│ └── username-register.wxml
├── shipping-address
│ ├── add.wxss
│ ├── add.json
│ ├── list.json
│ └── list.wxss
├── asset
│ ├── index.wxss
│ ├── index.json
│ └── index.wxml
├── auth
│ ├── index.wxss
│ ├── index.json
│ └── index.wxml
├── deposit
│ ├── index.wxss
│ ├── index.json
│ └── index.wxml
├── json
│ ├── index.wxss
│ ├── index.json
│ └── index.wxml
├── queuing
│ ├── index.wxss
│ ├── index.json
│ └── index.wxml
├── map
│ ├── index.json
│ ├── index.wxss
│ └── index.wxml
├── sign
│ ├── index.json
│ └── index.wxss
├── barcode
│ ├── index.json
│ └── index.wxss
├── coupons
│ ├── index.json
│ └── index.wxss
├── short-url
│ ├── index.json
│ ├── index.wxss
│ └── index.wxml
├── banner
│ ├── index.json
│ ├── index.wxml
│ ├── index.wxss
│ └── index.js
├── mobile-location
│ ├── index.json
│ ├── index.wxss
│ ├── index.wxml
│ └── index.js
├── sms-validate-code
│ ├── index.json
│ └── index.wxss
└── graph-validate-code
│ ├── index.json
│ ├── index.wxss
│ └── index.wxml
├── README.md
├── miniprogram_npm
└── @vant
│ └── weapp
│ ├── common
│ ├── style
│ │ ├── var.wxss
│ │ ├── mixins
│ │ │ ├── clearfix.wxss
│ │ │ ├── ellipsis.wxss
│ │ │ └── hairline.wxss
│ │ ├── clearfix.wxss
│ │ ├── ellipsis.wxss
│ │ └── hairline.wxss
│ ├── color.d.ts
│ ├── component.d.ts
│ ├── color.js
│ ├── relation.d.ts
│ ├── validator.d.ts
│ └── version.d.ts
│ ├── area
│ ├── index.d.ts
│ ├── index.wxss
│ ├── index.json
│ ├── index.wxs
│ └── index.wxml
│ ├── card
│ ├── index.d.ts
│ └── index.json
│ ├── cell
│ ├── index.d.ts
│ ├── index.json
│ └── index.wxs
│ ├── col
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxml
│ ├── index.js
│ └── index.wxs
│ ├── grid
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxss
│ ├── index.wxml
│ └── index.wxs
│ ├── icon
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxml
│ ├── index.js
│ └── index.wxs
│ ├── info
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxml
│ ├── index.js
│ └── index.wxss
│ ├── rate
│ ├── index.d.ts
│ ├── index.json
│ └── index.wxss
│ ├── row
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxss
│ ├── index.wxml
│ ├── index.wxs
│ └── index.js
│ ├── tab
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxss
│ └── index.wxml
│ ├── tabs
│ ├── index.d.ts
│ └── index.json
│ ├── tag
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxs
│ ├── index.wxml
│ └── index.js
│ ├── button
│ ├── index.d.ts
│ ├── index.json
│ └── index.wxs
│ ├── calendar
│ ├── index.d.ts
│ ├── components
│ │ ├── header
│ │ │ ├── index.d.ts
│ │ │ ├── index.json
│ │ │ ├── index.wxml
│ │ │ └── index.wxss
│ │ └── month
│ │ │ ├── index.json
│ │ │ └── index.d.ts
│ ├── index.json
│ ├── utils.wxs
│ ├── utils.d.ts
│ ├── index.wxml
│ ├── index.wxs
│ └── index.wxss
│ ├── cascader
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxs
│ └── index.wxss
│ ├── checkbox
│ ├── index.d.ts
│ ├── index.json
│ └── index.wxs
│ ├── circle
│ ├── index.d.ts
│ ├── index.json
│ ├── canvas.d.ts
│ ├── index.wxss
│ └── index.wxml
│ ├── collapse
│ ├── index.d.ts
│ ├── index.wxss
│ ├── index.json
│ └── index.wxml
│ ├── dialog
│ ├── index.d.ts
│ └── index.json
│ ├── divider
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxml
│ ├── index.wxs
│ ├── index.js
│ └── index.wxss
│ ├── empty
│ ├── index.d.ts
│ ├── index.json
│ ├── index.js
│ ├── index.wxs
│ ├── index.wxss
│ └── index.wxml
│ ├── field
│ ├── index.d.ts
│ ├── types.js
│ ├── index.json
│ ├── types.d.ts
│ ├── props.d.ts
│ └── index.wxs
│ ├── grid-item
│ ├── index.d.ts
│ ├── index.json
│ └── index.wxs
│ ├── image
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxs
│ └── index.wxss
│ ├── index-bar
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxss
│ └── index.wxml
│ ├── loading
│ ├── index.d.ts
│ ├── index.json
│ ├── index.js
│ ├── index.wxs
│ └── index.wxml
│ ├── nav-bar
│ ├── index.d.ts
│ ├── index.json
│ └── index.wxs
│ ├── notify
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxs
│ ├── index.wxss
│ ├── index.wxml
│ └── notify.d.ts
│ ├── overlay
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxss
│ ├── index.wxml
│ ├── overlay.wxml
│ └── index.js
│ ├── panel
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxss
│ ├── index.js
│ └── index.wxml
│ ├── picker
│ ├── index.d.ts
│ ├── index.json
│ ├── shared.d.ts
│ ├── shared.js
│ ├── toolbar.wxml
│ └── index.wxs
│ ├── popup
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxs
│ ├── index.wxml
│ └── popup.wxml
│ ├── progress
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxml
│ ├── index.wxss
│ └── index.wxs
│ ├── radio
│ ├── index.d.ts
│ ├── index.json
│ └── index.wxs
│ ├── search
│ ├── index.d.ts
│ ├── index.json
│ └── index.wxss
│ ├── sidebar
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
│ ├── skeleton
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxss
│ └── index.wxml
│ ├── slider
│ ├── index.d.ts
│ ├── index.json
│ └── index.wxs
│ ├── stepper
│ ├── index.d.ts
│ ├── index.json
│ └── index.wxs
│ ├── steps
│ ├── index.d.ts
│ ├── index.json
│ └── index.js
│ ├── sticky
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxss
│ ├── index.wxml
│ └── index.wxs
│ ├── switch
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxml
│ └── index.wxs
│ ├── tabbar
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxss
│ └── index.wxml
│ ├── toast
│ ├── index.d.ts
│ ├── index.json
│ ├── index.js
│ └── index.wxss
│ ├── uploader
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxs
│ └── utils.d.ts
│ ├── action-sheet
│ ├── index.d.ts
│ └── index.json
│ ├── cell-group
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxml
│ ├── index.js
│ └── index.wxss
│ ├── checkbox-group
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxss
│ └── index.wxml
│ ├── collapse-item
│ ├── index.d.ts
│ ├── index.json
│ ├── animate.d.ts
│ └── index.wxss
│ ├── count-down
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxml
│ ├── index.wxss
│ └── utils.d.ts
│ ├── dropdown-item
│ ├── index.d.ts
│ ├── shared.js
│ ├── shared.d.ts
│ ├── index.json
│ └── index.wxss
│ ├── dropdown-menu
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxs
│ └── index.wxml
│ ├── goods-action
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxml
│ ├── index.wxss
│ └── index.js
│ ├── index-anchor
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxml
│ ├── index.wxss
│ └── index.js
│ ├── notice-bar
│ ├── index.d.ts
│ ├── index.json
│ └── index.wxs
│ ├── picker-column
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxss
│ ├── index.wxml
│ └── index.wxs
│ ├── radio-group
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxss
│ ├── index.wxml
│ └── index.js
│ ├── share-sheet
│ ├── index.d.ts
│ ├── options.d.ts
│ ├── options.json
│ ├── index.json
│ ├── index.wxs
│ ├── options.wxs
│ ├── options.wxml
│ ├── index.wxss
│ ├── options.wxss
│ └── options.js
│ ├── sidebar-item
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
│ ├── submit-bar
│ ├── index.d.ts
│ └── index.json
│ ├── swipe-cell
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxss
│ └── index.wxml
│ ├── tabbar-item
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxss
│ └── index.wxml
│ ├── transition
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxml
│ ├── index.wxs
│ └── index.js
│ ├── tree-select
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxs
│ └── index.wxss
│ ├── config-provider
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxml
│ ├── index.js
│ └── index.wxs
│ ├── datetime-picker
│ ├── index.d.ts
│ ├── index.wxss
│ ├── index.json
│ └── index.wxml
│ ├── goods-action-button
│ ├── index.d.ts
│ └── index.json
│ ├── goods-action-icon
│ ├── index.d.ts
│ ├── index.json
│ ├── index.wxss
│ └── index.js
│ ├── mixins
│ ├── link.d.ts
│ ├── basic.d.ts
│ ├── button.d.ts
│ ├── touch.d.ts
│ ├── transition.d.ts
│ ├── page-scroll.d.ts
│ ├── link.js
│ └── basic.js
│ ├── definitions
│ └── index.js
│ └── wxs
│ ├── array.wxs
│ ├── utils.wxs
│ ├── add-unit.wxs
│ ├── object.wxs
│ ├── bem.wxs
│ └── style.wxs
├── images
└── scan.png
├── style
├── base
│ ├── fn.wxss
│ ├── mixin
│ │ ├── mobile.wxss
│ │ ├── text.wxss
│ │ ├── setArrow.wxss
│ │ └── setOnepx.wxss
│ ├── variable
│ │ ├── color.wxss
│ │ ├── global.wxss
│ │ ├── weui-msg.wxss
│ │ ├── weui-tab.wxss
│ │ ├── weui-button.wxss
│ │ ├── weui-cell.wxss
│ │ ├── weui-dialog.wxss
│ │ ├── weui-grid.wxss
│ │ └── weui-progress.wxss
│ └── reset.wxss
└── widget
│ ├── weui-cell
│ ├── weui-switch.wxss
│ ├── weui-check.wxss
│ ├── weui-form
│ │ ├── weui-vcode.wxss
│ │ └── weui-select.wxss
│ ├── weui-access.wxss
│ └── weui-gallery.wxss
│ ├── weui-button
│ ├── weui-btn_disabled.wxss
│ ├── weui-btn_primary.wxss
│ ├── weui-btn_warn.wxss
│ ├── weui-btn_default.wxss
│ ├── weui-btn_loading.wxss
│ ├── weui-btn_global.wxss
│ ├── weui-button.wxss
│ ├── weui-btn_plain.wxss
│ └── weui-btn_cell.wxss
│ ├── weui-icon
│ └── weui-icon.wxss
│ ├── weui-flex
│ └── weui-flex.wxss
│ ├── weui-tips
│ ├── weui-mask.wxss
│ ├── weui-badge.wxss
│ ├── weui-loadmore.wxss
│ └── weui-toptips.wxss
│ ├── weui-progress
│ └── weui-progress.wxss
│ ├── weui-agree
│ └── weui-agree.wxss
│ ├── weui-grid
│ └── weui-grid.wxss
│ ├── weui-panel
│ └── weui-panel.wxss
│ ├── weui-page
│ └── weui-article.wxss
│ └── weui-footer
│ └── weui-footer.wxss
├── sitemap.json
├── app.js
├── package.json
├── app.wxss
└── project.private.config.json
/pages/idcardCheck/index.wxss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # apifm-wxapi-demo
2 |
--------------------------------------------------------------------------------
/pages/exchange-coupon/index.wxss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/pages/modifyUserInfo/index.wxss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/common/style/var.wxss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/pages/config/index.wxss:
--------------------------------------------------------------------------------
1 | /* pages/config/index.wxss */
--------------------------------------------------------------------------------
/pages/notice/index.wxss:
--------------------------------------------------------------------------------
1 | /* pages/notice/index.wxss */
--------------------------------------------------------------------------------
/pages/region/index.wxss:
--------------------------------------------------------------------------------
1 | /* pages/banner/index.wxss */
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/area/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/card/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/cell/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/col/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/grid/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/icon/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/info/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/rate/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/row/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tab/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tabs/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tag/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/pages/comment/index.wxss:
--------------------------------------------------------------------------------
1 | /* pages/comment/index.wxss */
--------------------------------------------------------------------------------
/pages/config/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {}
3 | }
--------------------------------------------------------------------------------
/pages/dfs/index.wxss:
--------------------------------------------------------------------------------
1 | button {
2 | width:600rpx;
3 | }
--------------------------------------------------------------------------------
/pages/index/cms.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {}
3 | }
--------------------------------------------------------------------------------
/pages/page/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {}
3 | }
--------------------------------------------------------------------------------
/pages/tags/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {}
3 | }
--------------------------------------------------------------------------------
/pages/tools/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {}
3 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/button/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/calendar/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/cascader/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/checkbox/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/circle/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/collapse/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/common/style/mixins/clearfix.wxss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/common/style/mixins/ellipsis.wxss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/common/style/mixins/hairline.wxss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/dialog/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/divider/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/empty/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/field/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/grid-item/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/image/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/index-bar/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/loading/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/nav-bar/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/notify/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/overlay/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/panel/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/picker/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/popup/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/progress/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/radio/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/search/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sidebar/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/skeleton/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/slider/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/stepper/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/steps/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sticky/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/switch/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tabbar/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/toast/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/uploader/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/pages/cmsArticle/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {}
3 | }
--------------------------------------------------------------------------------
/pages/cmsCategory/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {}
3 | }
--------------------------------------------------------------------------------
/pages/comment/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {}
3 | }
--------------------------------------------------------------------------------
/pages/invoice/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {}
3 | }
--------------------------------------------------------------------------------
/pages/luckyInfo/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {}
3 | }
--------------------------------------------------------------------------------
/pages/withDraw/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {}
3 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/action-sheet/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/cell-group/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/checkbox-group/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/collapse-item/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/count-down/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/dropdown-item/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/dropdown-menu/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/goods-action/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/index-anchor/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/notice-bar/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/picker-column/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/radio-group/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/share-sheet/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/share-sheet/options.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sidebar-item/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/submit-bar/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/swipe-cell/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tabbar-item/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/transition/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tree-select/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/pages/friendly-partner/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {}
3 | }
--------------------------------------------------------------------------------
/pages/login/username-login.wxss:
--------------------------------------------------------------------------------
1 | /* pages/login/username-login.wxss */
--------------------------------------------------------------------------------
/pages/shipping-address/add.wxss:
--------------------------------------------------------------------------------
1 | /* pages/shipping-address/add.wxss */
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/config-provider/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/datetime-picker/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/goods-action-button/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/goods-action-icon/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/pages/friendly-partner/index.wxss:
--------------------------------------------------------------------------------
1 | /* pages/friendly-partner/index.wxss */
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/area/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/col/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/collapse/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/row/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tab/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/pages/login/username-login.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户名登陆"
3 | }
--------------------------------------------------------------------------------
/pages/login/username-register.wxss:
--------------------------------------------------------------------------------
1 | /* pages/login/username-register.wxss */
--------------------------------------------------------------------------------
/pages/tags/index.wxml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/calendar/components/header/index.d.ts:
--------------------------------------------------------------------------------
1 | export {};
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/circle/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/collapse/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/grid/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/info/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/loading/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/mixins/link.d.ts:
--------------------------------------------------------------------------------
1 | export declare const link: string;
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/progress/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sidebar/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/slider/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/stepper/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sticky/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tabbar/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/pages/asset/index.wxss:
--------------------------------------------------------------------------------
1 | button {
2 | width:600rpx;
3 | margin-top:50rpx;
4 | }
--------------------------------------------------------------------------------
/pages/auth/index.wxss:
--------------------------------------------------------------------------------
1 | button {
2 | width:600rpx;
3 | margin-top:50rpx;
4 | }
--------------------------------------------------------------------------------
/pages/deposit/index.wxss:
--------------------------------------------------------------------------------
1 | button {
2 | width:600rpx;
3 | margin-top:50rpx;
4 | }
--------------------------------------------------------------------------------
/pages/invoice/index.wxss:
--------------------------------------------------------------------------------
1 | button {
2 | width:600rpx;
3 | margin-top:50rpx;
4 | }
--------------------------------------------------------------------------------
/pages/json/index.wxss:
--------------------------------------------------------------------------------
1 | .content {
2 | padding: 32rpx;
3 | font-size: 26rpx;
4 | }
--------------------------------------------------------------------------------
/pages/login/username-register.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "用户名注册"
3 | }
--------------------------------------------------------------------------------
/pages/page/index.wxss:
--------------------------------------------------------------------------------
1 | button {
2 | width:600rpx;
3 | margin-top:50rpx;
4 | }
--------------------------------------------------------------------------------
/pages/queuing/index.wxss:
--------------------------------------------------------------------------------
1 | button {
2 | width:600rpx;
3 | margin-top:50rpx;
4 | }
--------------------------------------------------------------------------------
/pages/tags/index.wxss:
--------------------------------------------------------------------------------
1 | button {
2 | width:600rpx;
3 | margin-top:50rpx;
4 | }
--------------------------------------------------------------------------------
/pages/tools/index.wxss:
--------------------------------------------------------------------------------
1 | button {
2 | width:600rpx;
3 | margin-top:50rpx;
4 | }
--------------------------------------------------------------------------------
/pages/withDraw/index.wxss:
--------------------------------------------------------------------------------
1 | button {
2 | width:600rpx;
3 | margin-top:50rpx;
4 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/cell-group/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/count-down/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/datetime-picker/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/dropdown-menu/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/goods-action/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/index-anchor/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/index-bar/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/mixins/basic.d.ts:
--------------------------------------------------------------------------------
1 | export declare const basic: string;
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/mixins/button.d.ts:
--------------------------------------------------------------------------------
1 | export declare const button: string;
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/mixins/touch.d.ts:
--------------------------------------------------------------------------------
1 | export declare const touch: string;
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/picker-column/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/radio-group/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/share-sheet/options.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/swipe-cell/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/transition/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/pages/cmsArticle/index.wxss:
--------------------------------------------------------------------------------
1 | button {
2 | width:600rpx;
3 | margin-top:50rpx;
4 | }
--------------------------------------------------------------------------------
/pages/cmsCategory/index.wxss:
--------------------------------------------------------------------------------
1 | button {
2 | width:600rpx;
3 | margin-top:50rpx;
4 | }
--------------------------------------------------------------------------------
/pages/luckyInfo/index.wxss:
--------------------------------------------------------------------------------
1 | button {
2 | width:600rpx;
3 | margin-top:50rpx;
4 | }
--------------------------------------------------------------------------------
/images/scan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/apifm-wxapi-demo/HEAD/images/scan.png
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/checkbox-group/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/config-provider/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/pages/dfs/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "图片上传演示"
4 | }
--------------------------------------------------------------------------------
/pages/json/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "每日动弹"
4 | }
--------------------------------------------------------------------------------
/pages/map/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "地图功能"
4 | }
--------------------------------------------------------------------------------
/pages/notice/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "公告管理"
4 | }
--------------------------------------------------------------------------------
/pages/sign/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "每日签到"
4 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/calendar/components/header/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/calendar/components/month/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
4 |
--------------------------------------------------------------------------------
/pages/asset/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "用户资产管理"
4 | }
--------------------------------------------------------------------------------
/pages/auth/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "注册 / 登录"
4 | }
--------------------------------------------------------------------------------
/pages/barcode/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "商品条码查询"
4 | }
--------------------------------------------------------------------------------
/pages/comment/index.wxml:
--------------------------------------------------------------------------------
1 |
2 | pages/comment/index.wxml
3 |
--------------------------------------------------------------------------------
/pages/config/index.wxml:
--------------------------------------------------------------------------------
1 |
2 | pages/config/index.wxml
3 |
--------------------------------------------------------------------------------
/pages/coupons/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "优惠券管理"
4 | }
--------------------------------------------------------------------------------
/pages/deposit/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "押金管理"
4 | }
--------------------------------------------------------------------------------
/pages/idcardCheck/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "实名认证"
4 | }
--------------------------------------------------------------------------------
/pages/notice/index.wxml:
--------------------------------------------------------------------------------
1 |
2 | pages/notice/index.wxml
3 |
--------------------------------------------------------------------------------
/pages/queuing/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "排队叫号"
4 | }
--------------------------------------------------------------------------------
/pages/region/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "读取省市区数据"
4 | }
--------------------------------------------------------------------------------
/pages/short-url/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "短链接服务"
4 | }
--------------------------------------------------------------------------------
/pages/banner/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "Banner/轮播图案例"
4 | }
--------------------------------------------------------------------------------
/pages/exchange-coupon/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "兑换优惠券"
4 | }
--------------------------------------------------------------------------------
/pages/index/finance.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "财务管理/资金相关"
4 | }
--------------------------------------------------------------------------------
/pages/modifyUserInfo/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "编辑用户资料"
4 | }
--------------------------------------------------------------------------------
/pages/shipping-address/add.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "设置收货地址"
4 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/common/style/clearfix.wxss:
--------------------------------------------------------------------------------
1 | .van-clearfix:after{clear:both;content:"";display:table}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/divider/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {}
4 | }
5 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/empty/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {}
4 | }
5 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/skeleton/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {}
4 | }
5 |
--------------------------------------------------------------------------------
/pages/coupons/index.wxss:
--------------------------------------------------------------------------------
1 | .couponAmount {
2 | color:red;
3 | }
4 | .marginL {
5 | margin-left: 20rpx;
6 | }
--------------------------------------------------------------------------------
/pages/index/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "apifm-wxapi演示Demo"
4 | }
--------------------------------------------------------------------------------
/pages/mobile-location/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "手机号归属地查询"
4 | }
--------------------------------------------------------------------------------
/pages/shipping-address/list.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "收货地址管理"
4 | }
--------------------------------------------------------------------------------
/pages/sms-validate-code/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "短信验证码校验"
4 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sidebar/index.wxml:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/pages/graph-validate-code/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "图形验证码校验"
4 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sidebar/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-sidebar{width:var(--sidebar-width,80px)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/field/types.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/mixins/transition.d.ts:
--------------------------------------------------------------------------------
1 | export declare function transition(showDefaultValue: boolean): string;
2 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/row/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-row:after{clear:both;content:"";display:table}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/definitions/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 |
--------------------------------------------------------------------------------
/pages/friendly-partner/index.wxml:
--------------------------------------------------------------------------------
1 |
2 | pages/friendly-partner/index.wxml
3 |
--------------------------------------------------------------------------------
/pages/sign/index.wxss:
--------------------------------------------------------------------------------
1 | .marginL {
2 | margin-left: 20rpx;
3 | }
4 | .addAddress {
5 | width:650rpx;
6 | margin-top:50rpx;
7 | }
--------------------------------------------------------------------------------
/pages/sms-validate-code/index.wxss:
--------------------------------------------------------------------------------
1 | button {
2 | width:600rpx;
3 | }
4 | .iconScan {
5 | width: 200px;
6 | height: 50px;
7 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/dropdown-item/shared.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/radio-group/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-radio-group--horizontal{display:flex;flex-wrap:wrap}
--------------------------------------------------------------------------------
/pages/map/index.wxss:
--------------------------------------------------------------------------------
1 | map {
2 | width: 100%;
3 | height: 100vh;
4 | }
5 | button {
6 | width:600rpx;
7 | margin-top:50rpx;
8 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/grid/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-grid{box-sizing:border-box;overflow:hidden;position:relative}
--------------------------------------------------------------------------------
/pages/asset/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/pages/shipping-address/list.wxss:
--------------------------------------------------------------------------------
1 | .marginL {
2 | margin-left: 20rpx;
3 | }
4 | .addAddress {
5 | width:650rpx;
6 | margin-top:50rpx;
7 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/checkbox-group/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-checkbox-group--horizontal{display:flex;flex-wrap:wrap}
--------------------------------------------------------------------------------
/pages/barcode/index.wxss:
--------------------------------------------------------------------------------
1 | button {
2 | width:600rpx;
3 | margin-top:50rpx;
4 | }
5 | .iconScan {
6 | width: 50rpx;
7 | height: 50rpx;
8 | }
--------------------------------------------------------------------------------
/pages/short-url/index.wxss:
--------------------------------------------------------------------------------
1 | button {
2 | width:600rpx;
3 | margin-top:50rpx;
4 | }
5 | .iconScan {
6 | width: 50rpx;
7 | height: 50rpx;
8 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/card/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-tag": "../tag/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/cell/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/icon/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-info": "../info/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/panel/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-cell": "../cell/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/radio/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/rate/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/steps/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tag/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/pages/mobile-location/index.wxss:
--------------------------------------------------------------------------------
1 | button {
2 | width:600rpx;
3 | margin-top:50rpx;
4 | }
5 | .iconScan {
6 | width: 50rpx;
7 | height: 50rpx;
8 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/area/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-picker": "../picker/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/checkbox/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/grid-item/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/nav-bar/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/notice-bar/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/search/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-field": "../field/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/pages/graph-validate-code/index.wxss:
--------------------------------------------------------------------------------
1 | button {
2 | width:600rpx;
3 | margin-top:50rpx;
4 | }
5 | .iconScan {
6 | width: 200px;
7 | height: 50px;
8 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/collapse-item/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-cell": "../cell/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sidebar-item/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-info": "../info/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sticky/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-sticky{position:relative}.van-sticky-wrap--fixed{left:0;position:fixed;right:0}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/switch/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-loading": "../loading/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/pages/cmsCategory/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/pages/index/cms.wxss:
--------------------------------------------------------------------------------
1 | navigator {
2 | height: 180rpx;
3 | text-align: center;
4 | }
5 | navigator text {
6 | display: block;
7 | font-size: 14px;
8 | }
--------------------------------------------------------------------------------
/pages/index/finance.wxss:
--------------------------------------------------------------------------------
1 | navigator {
2 | height: 180rpx;
3 | text-align: center;
4 | }
5 | navigator text {
6 | display: block;
7 | font-size: 14px;
8 | }
--------------------------------------------------------------------------------
/pages/index/index.wxss:
--------------------------------------------------------------------------------
1 | navigator {
2 | height: 180rpx;
3 | text-align: center;
4 | }
5 | navigator text {
6 | display: block;
7 | font-size: 14px;
8 | }
--------------------------------------------------------------------------------
/style/base/fn.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/collapse/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/datetime-picker/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-picker": "../picker/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/dropdown-item/shared.d.ts:
--------------------------------------------------------------------------------
1 | export interface Option {
2 | text: string;
3 | value: string | number;
4 | icon: string;
5 | }
6 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/notify/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-transition": "../transition/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/overlay/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-transition": "../transition/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/goods-action-button/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-button": "../button/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/wxs/array.wxs:
--------------------------------------------------------------------------------
1 | function isArray(array) {
2 | return array && array.constructor === 'Array';
3 | }
4 |
5 | module.exports.isArray = isArray;
6 |
--------------------------------------------------------------------------------
/style/base/mixin/mobile.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 |
--------------------------------------------------------------------------------
/style/base/mixin/text.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 |
--------------------------------------------------------------------------------
/style/base/mixin/setArrow.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 |
--------------------------------------------------------------------------------
/style/base/mixin/setOnepx.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 |
--------------------------------------------------------------------------------
/style/base/variable/color.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 |
--------------------------------------------------------------------------------
/style/base/variable/global.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 |
--------------------------------------------------------------------------------
/style/base/variable/weui-msg.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 |
--------------------------------------------------------------------------------
/style/base/variable/weui-tab.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/count-down/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{ formattedTime }}
4 |
5 |
--------------------------------------------------------------------------------
/style/base/variable/weui-button.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 |
--------------------------------------------------------------------------------
/style/base/variable/weui-cell.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 |
--------------------------------------------------------------------------------
/style/base/variable/weui-dialog.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 |
--------------------------------------------------------------------------------
/style/base/variable/weui-grid.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 |
--------------------------------------------------------------------------------
/style/base/variable/weui-progress.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 |
--------------------------------------------------------------------------------
/pages/index/finance.js:
--------------------------------------------------------------------------------
1 | const app = getApp()
2 |
3 | Page({
4 | data: {
5 | grids: [0, 1, 2, 3, 4, 5, 6, 7, 8]
6 | },
7 | onLoad: function () {
8 |
9 | }
10 | })
11 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/calendar/components/month/index.d.ts:
--------------------------------------------------------------------------------
1 | export interface Day {
2 | date: Date;
3 | type: string;
4 | text: number;
5 | bottomInfo?: string;
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/field/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-cell": "../cell/index",
5 | "van-icon": "../icon/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/share-sheet/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-popup": "../popup/index",
5 | "options": "./options"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tabs/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-info": "../info/index",
5 | "van-sticky": "../sticky/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/pages/index/cms.js:
--------------------------------------------------------------------------------
1 | const app = getApp()
2 |
3 | Page({
4 | data: {
5 | grids: [0, 1, 2, 3, 4, 5, 6, 7, 8]
6 | },
7 | onLoad: function () {
8 |
9 | }
10 | })
11 |
--------------------------------------------------------------------------------
/pages/index/index.js:
--------------------------------------------------------------------------------
1 | const app = getApp()
2 |
3 | Page({
4 | data: {
5 | grids: [0, 1, 2, 3, 4, 5, 6, 7, 8]
6 | },
7 | onLoad: function () {
8 |
9 | }
10 | })
11 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/button/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-loading": "../loading/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/image/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-loading": "../loading/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/popup/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-overlay": "../overlay/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/submit-bar/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-button": "../button/index",
5 | "van-icon": "../icon/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tabbar-item/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-info": "../info/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/uploader/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-loading": "../loading/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/pages/banner/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
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 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/radio-group/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/goods-action-icon/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-button": "../button/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/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/picker/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "picker-column": "../picker-column/index",
5 | "loading": "../loading/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/row/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/pages/banner/index.wxss:
--------------------------------------------------------------------------------
1 | swiper {
2 | width: 100vw;
3 | height:100vh;
4 | }
5 | swiper-item {
6 | width: 100vw;
7 | height:100vh;
8 | }
9 | image {
10 | width: 100vw;
11 | height:100vh;
12 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/cascader/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-tab": "../tab/index",
6 | "van-tabs": "../tabs/index"
7 | }
8 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/goods-action/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/pages/map/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/pages/queuing/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/config-provider/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/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/checkbox-group/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/dropdown-item/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-popup": "../popup/index",
5 | "van-cell": "../cell/index",
6 | "van-icon": "../icon/index"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/overlay/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/action-sheet/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-popup": "../popup/index",
6 | "van-loading": "../loading/index"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/area/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | function displayColumns(columns, columnsNum) {
3 | return columns.slice(0, +columnsNum);
4 | }
5 |
6 | module.exports = {
7 | displayColumns: displayColumns,
8 | };
9 |
--------------------------------------------------------------------------------
/style/widget/weui-cell/weui-switch.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | .weui-cell_switch{padding-top:12px;padding-bottom:12px}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/collapse-item/animate.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare function setContentAnimate(context: WechatMiniprogram.Component.TrivialInstance, expanded: boolean, mounted: boolean): void;
3 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/style/widget/weui-button/weui-btn_disabled.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | .weui-btn_disabled{color:rgba(0,0,0,.18);background-color:#fafafa}
--------------------------------------------------------------------------------
/style/widget/weui-icon/weui-icon.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | icon[type=success]:after,icon[type=success]:before{color:#07c160!important}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/field/types.d.ts:
--------------------------------------------------------------------------------
1 | export interface InputDetails {
2 | /** 输入框内容 */
3 | value: string;
4 | /** 光标位置 */
5 | cursor?: number;
6 | /** keyCode 为键值 (目前工具还不支持返回keyCode参数) `2.1.0` 起支持 */
7 | keyCode?: number;
8 | }
9 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/circle/canvas.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | type CanvasContext = WechatMiniprogram.CanvasContext;
3 | export declare function adaptor(ctx: CanvasContext & Record): CanvasContext;
4 | export {};
5 |
--------------------------------------------------------------------------------
/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%}
--------------------------------------------------------------------------------
/style/base/reset.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | page{line-height:1.6;font-family:-apple-system-font,Helvetica Neue,sans-serif}icon{vertical-align:middle}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/grid/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/pages/invoice/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/pages/withDraw/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/pages/tools/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/pages/config/index.js:
--------------------------------------------------------------------------------
1 | const WXAPI = require('apifm-wxapi')
2 |
3 | Page({
4 | data: {
5 |
6 | },
7 | onLoad: function (options) {
8 | // 读取单个系统参数
9 | WXAPI.queryConfigBatch('test1,test').then(res => {
10 | console.log('读取到的参数:', res)
11 | })
12 | }
13 | })
--------------------------------------------------------------------------------
/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/toast/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-loading": "../loading/index",
6 | "van-overlay": "../overlay/index",
7 | "van-transition": "../transition/index"
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/info/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{ dot ? '' : info }}
8 |
--------------------------------------------------------------------------------
/pages/friendly-partner/index.js:
--------------------------------------------------------------------------------
1 | const WXAPI = require('apifm-wxapi')
2 |
3 | Page({
4 | data: {
5 |
6 | },
7 | onLoad: function (options) {
8 | // 获取友情链接/合作伙伴
9 | WXAPI.friendlyPartnerList().then(res => {
10 | console.log('友情链接/合作伙伴:', res)
11 | })
12 | }
13 | })
--------------------------------------------------------------------------------
/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}
--------------------------------------------------------------------------------
/style/widget/weui-flex/weui-flex.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | .weui-flex{display:-webkit-box;display:-webkit-flex;display:flex}.weui-flex__item{-webkit-box-flex:1;-webkit-flex:1;flex:1}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tab/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/wxs/utils.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var bem = require('./bem.wxs');
3 | var memoize = require('./memoize.wxs');
4 | var addUnit = require('./add-unit.wxs');
5 |
6 | module.exports = {
7 | bem: memoize(bem),
8 | memoize: memoize,
9 | addUnit: addUnit
10 | };
11 |
--------------------------------------------------------------------------------
/style/widget/weui-tips/weui-mask.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | .weui-mask{background:rgba(0,0,0,.6)}.weui-mask,.weui-mask_transparent{position:fixed;z-index:1000;top:0;right:0;left:0;bottom:0}
--------------------------------------------------------------------------------
/pages/comment/index.js:
--------------------------------------------------------------------------------
1 | const WXAPI = require('apifm-wxapi')
2 |
3 | Page({
4 |
5 | data: {
6 |
7 | },
8 | onLoad: function (options) {
9 | WXAPI.addComment({
10 | type: 0,
11 | content: '这是留言的内容,提交后可在后台看到'
12 | }).then(res => {
13 | console.log(res)
14 | })
15 | }
16 | })
--------------------------------------------------------------------------------
/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/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/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 |
--------------------------------------------------------------------------------
/app.js:
--------------------------------------------------------------------------------
1 | const WXAPI = require('apifm-wxapi')
2 |
3 | App({
4 | onLaunch: function () {
5 | // https://www.yuque.com/apifm/nu0f75/es1xel
6 | WXAPI.init('gooking') // 配置专属域名
7 | // https://www.yuque.com/apifm/nu0f75/by94a0
8 | WXAPI.setMerchantId(2) // 配置商户ID
9 | },
10 | globalData: {
11 |
12 | }
13 | })
--------------------------------------------------------------------------------
/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/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 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "helloworld",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "app.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "author": "",
10 | "license": "ISC",
11 | "dependencies": {
12 | "apifm-wxapi": "^25.7.2"
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/pages/deposit/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/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 |
--------------------------------------------------------------------------------
/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/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 |
--------------------------------------------------------------------------------
/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/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 |
--------------------------------------------------------------------------------
/pages/luckyInfo/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/col/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/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/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function rootStyle(data) {
6 | return style({
7 | 'padding-left': addUnit(data.gutter),
8 | });
9 | }
10 |
11 | module.exports = {
12 | rootStyle: rootStyle,
13 | };
14 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/wxs/object.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var REGEXP = getRegExp('{|}|"', 'g');
3 |
4 | function keys(obj) {
5 | return JSON.stringify(obj)
6 | .replace(REGEXP, '')
7 | .split(',')
8 | .map(function(item) {
9 | return item.split(':')[0];
10 | });
11 | }
12 |
13 | module.exports.keys = keys;
14 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/overlay/overlay.wxml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/transition/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/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/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/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 |
--------------------------------------------------------------------------------
/style/widget/weui-button/weui-btn_primary.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | .weui-btn_primary{background-color:#07c160}.weui-btn_primary:not(.weui-btn_disabled):visited{color:#fff}.weui-btn_primary:not(.weui-btn_disabled):active{color:#fff;background-color:#06ad56}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/divider/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/style/widget/weui-button/weui-btn_warn.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | .weui-btn_warn{color:#fa5151;background-color:#f2f2f2}.weui-btn_warn:not(.weui-btn_disabled):visited{color:#fa5151}.weui-btn_warn:not(.weui-btn_disabled):active{color:#fa5151;background-color:#d9d9d9}
--------------------------------------------------------------------------------
/pages/notice/index.js:
--------------------------------------------------------------------------------
1 | const WXAPI = require('apifm-wxapi')
2 |
3 | Page({
4 | data: {
5 |
6 | },
7 | onLoad: function (options) {
8 | // 读取最新的一条公告
9 | WXAPI.noticeLastOne().then(res => {
10 | console.log('最新的一条公告:', res)
11 | })
12 | // 读取公告列表
13 | WXAPI.noticeList().then(res => {
14 | console.log('公告列表数据:', res)
15 | })
16 | }
17 | })
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/cell-group/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 | {{ title }}
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/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/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.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 |
16 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/slider/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function barStyle(barHeight, activeColor) {
6 | return style({
7 | height: addUnit(barHeight),
8 | background: activeColor,
9 | });
10 | }
11 |
12 | module.exports = {
13 | barStyle: barStyle,
14 | };
15 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tag/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 |
4 | function rootStyle(data) {
5 | return style({
6 | 'background-color': data.plain ? '' : data.color,
7 | color: data.textColor || data.plain ? data.textColor || data.color : '',
8 | });
9 | }
10 |
11 | module.exports = {
12 | rootStyle: rootStyle,
13 | };
14 |
--------------------------------------------------------------------------------
/style/widget/weui-button/weui-btn_default.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | .weui-btn_default{color:#06ae56;background-color:#f2f2f2}.weui-btn_default:not(.weui-btn_disabled):visited{color:#06ae56}.weui-btn_default:not(.weui-btn_disabled):active{color:#06ae56;background-color:#d9d9d9}
--------------------------------------------------------------------------------
/style/widget/weui-tips/weui-badge.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | .weui-badge{display:inline-block;padding:.15em .4em;min-width:8px;border-radius:18px;background-color:#fa5151;color:#fff;line-height:1.2;text-align:center;font-size:12px;vertical-align:middle}.weui-badge_dot{padding:.4em;min-width:0}
--------------------------------------------------------------------------------
/app.wxss:
--------------------------------------------------------------------------------
1 | @import 'style/weui.wxss';
2 |
3 | .container {
4 | height: 100%;
5 | display: flex;
6 | flex-direction: column;
7 | align-items: center;
8 | justify-content: space-between;
9 | box-sizing: border-box;
10 | }
11 | .wxParse-img {
12 | display: block !important;
13 | }
14 | .space {
15 | height:20rpx;
16 | background-color: #F2f2f2;
17 | }
18 | .btn-box {
19 | padding: 32rpx;
20 | }
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/pages/page/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/style/widget/weui-cell/weui-check.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | .weui-cells_checkbox .weui-check__label:before{left:55px}.weui-check__label:active{background-color:#ececec}.weui-check{position:absolute;left:-9999px}.weui-check__hd_in-checkbox{padding-right:16px}.weui-cell__ft_in-radio{padding-left:16px}
--------------------------------------------------------------------------------
/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/mixins/page-scroll.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 | type IPageScrollOption = WechatMiniprogram.Page.IPageScrollOption;
4 | type Scroller = (this: WechatMiniprogram.Component.TrivialInstance, event?: IPageScrollOption) => void;
5 | export declare function pageScrollMixin(scroller: Scroller): string;
6 | export {};
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/sticky/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tabbar/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/style/widget/weui-progress/weui-progress.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | .weui-progress{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.weui-progress__bar{-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-progress__opr{margin-left:15px;font-size:0}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/index-anchor/index.wxml:
--------------------------------------------------------------------------------
1 |
5 |
9 |
10 |
11 | {{ index }}
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/pages/banner/index.js:
--------------------------------------------------------------------------------
1 | const WXAPI = require('apifm-wxapi')
2 |
3 | Page({
4 |
5 | data: {
6 |
7 | },
8 | onLoad: function (options) {
9 | WXAPI.banners().then(res => {
10 | if (res.code == 0) {
11 | this.setData({
12 | banners: res.data
13 | })
14 | }
15 | })
16 | },
17 | onShow(){
18 | wx.showToast({
19 | title: '左右滑动',
20 | icon: 'none'
21 | })
22 | }
23 | })
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/count-down/utils.d.ts:
--------------------------------------------------------------------------------
1 | export 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 |
--------------------------------------------------------------------------------
/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/common/component.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { VantComponentOptions } from 'definitions/index';
3 | declare function VantComponent(vantOptions: VantComponentOptions): void;
4 | export { VantComponent };
5 |
--------------------------------------------------------------------------------
/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/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 |
--------------------------------------------------------------------------------
/style/widget/weui-button/weui-btn_loading.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | .weui-btn_loading .weui-loading{margin:-.2em .34em 0 0}.weui-btn_loading.weui-btn_primary{color:#fff}.weui-btn_loading.weui-btn_default{background-color:#d9d9d9}.weui-btn_loading.weui-btn_primary{background-color:#06ad56}.weui-btn_loading.weui-btn_warn{background-color:#d9d9d9}
--------------------------------------------------------------------------------
/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/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/row/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function rootStyle(data) {
6 | if (!data.gutter) {
7 | return '';
8 | }
9 |
10 | return style({
11 | 'margin-right': addUnit(-data.gutter / 2),
12 | 'margin-left': addUnit(-data.gutter / 2),
13 | });
14 | }
15 |
16 | module.exports = {
17 | rootStyle: rootStyle,
18 | };
19 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/common/color.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | exports.GRAY_DARK = exports.GRAY = exports.ORANGE = exports.GREEN = exports.WHITE = exports.BLUE = exports.RED = void 0;
4 | exports.RED = '#ee0a24';
5 | exports.BLUE = '#1989fa';
6 | exports.WHITE = '#fff';
7 | exports.GREEN = '#07c160';
8 | exports.ORANGE = '#ff976a';
9 | exports.GRAY = '#323233';
10 | exports.GRAY_DARK = '#969799';
11 |
--------------------------------------------------------------------------------
/pages/login/username-login.wxml:
--------------------------------------------------------------------------------
1 |
9 |
18 |
19 | 登陆
20 |
--------------------------------------------------------------------------------
/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)}
--------------------------------------------------------------------------------
/pages/login/username-register.wxml:
--------------------------------------------------------------------------------
1 |
9 |
18 |
19 | 注册
20 |
--------------------------------------------------------------------------------
/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.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/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/transition/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 |
4 | function rootStyle(data) {
5 | return style([
6 | {
7 | '-webkit-transition-duration': data.currentDuration + 'ms',
8 | 'transition-duration': data.currentDuration + 'ms',
9 | },
10 | data.display ? null : 'display: none',
11 | data.customStyle,
12 | ]);
13 | }
14 |
15 | module.exports = {
16 | rootStyle: rootStyle,
17 | };
18 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/circle/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | {{ text }}
9 |
10 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tag/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
9 |
15 |
16 |
--------------------------------------------------------------------------------
/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/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/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/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/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/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 "Array" === data.previewSize.constructor ? style({
7 | width: addUnit(data.previewSize[0]),
8 | height: addUnit(data.previewSize[1]),
9 | }) : style({
10 | width: addUnit(data.previewSize),
11 | height: addUnit(data.previewSize),
12 | });
13 | }
14 |
15 | module.exports = {
16 | sizeStyle: sizeStyle,
17 | };
18 |
--------------------------------------------------------------------------------
/style/widget/weui-cell/weui-form/weui-vcode.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | .weui-cell_vcode{padding-top:0;padding-right:0;padding-bottom:0}.weui-vcode-btn,.weui-vcode-img{margin-left:5px;height:3.29411765em;vertical-align:middle}.weui-vcode-btn{display:inline-block;padding:0 .6em 0 .7em;border-left:1rpx solid rgba(0,0,0,.1);line-height:3.29411765em;font-size:17px;color:#576b95;white-space:nowrap}.weui-vcode-btn:active{color:#767676}
--------------------------------------------------------------------------------
/style/widget/weui-button/weui-btn_global.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | .weui-btn{position:relative;display:block;width:184px;margin-left:auto;margin-right:auto;padding:8px 24px;box-sizing:border-box;font-weight:700;font-size:17px;text-align:center;text-decoration:none;color:#fff;line-height:1.41176471;border-radius:4px;-webkit-tap-highlight-color:rgba(0,0,0,0);overflow:hidden}.weui-btn_block{width:auto}.weui-btn_inline{display:inline-block}
--------------------------------------------------------------------------------
/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/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/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 |
--------------------------------------------------------------------------------
/pages/cmsArticle/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/style/widget/weui-button/weui-button.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | .weui-btn+.weui-btn{margin-top:16px}.weui-btn.weui-btn_inline+.weui-btn.weui-btn_inline{margin-top:auto;margin-left:16px}.weui-btn-area{margin:48px 16px 8px}.weui-btn-area_inline{display:-webkit-box;display:-webkit-flex;display:flex}.weui-btn-area_inline .weui-btn{margin-top:auto;margin-right:16px;width:100%;-webkit-box-flex:1;-webkit-flex:1;flex:1}.weui-btn-area_inline .weui-btn:last-child{margin-right:0}
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/pages/tags/index.js:
--------------------------------------------------------------------------------
1 | const WXAPI = require('apifm-wxapi')
2 |
3 | Page({
4 | data: {
5 |
6 | },
7 | onLoad: function (options) {
8 |
9 | },
10 | onShow: function () {
11 |
12 | },
13 | cmsTags() { // 读取所有的标签列表
14 | WXAPI.cmsTags().then(res => {
15 | console.log(res)
16 | if (res.code == 0) {
17 | wx.showToast({
18 | title: '读取成功',
19 | icon: 'success'
20 | })
21 | } else {
22 | wx.showToast({
23 | title: res.msg,
24 | icon: 'none'
25 | })
26 | }
27 | })
28 | }
29 | })
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/datetime-picker/index.wxml:
--------------------------------------------------------------------------------
1 |
17 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/goods-action-icon/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-goods-action-icon{border:none!important;color:var(--goods-action-icon-text-color,#646566)!important;display:flex!important;flex-direction:column;font-size:var(--goods-action-icon-font-size,10px)!important;height:var(--goods-action-icon-height,50px)!important;justify-content:center!important;line-height:1!important;min-width:var(--goods-action-icon-width,48px)}.van-goods-action-icon__icon{color:var(--goods-action-icon-color,#323233);display:flex;font-size:var(--goods-action-icon-size,18px);margin:0 auto 5px}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/panel/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
19 |
20 |
--------------------------------------------------------------------------------
/style/widget/weui-agree/weui-agree.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | .weui-agree{display:block;padding:.5em 15px;font-size:13px}.weui-agree__text{color:rgba(0,0,0,.5)}.weui-agree__link{display:inline;color:#576b95}.weui-agree__checkbox{position:absolute;left:-9999px}.weui-agree__checkbox-icon{position:relative;top:2px;display:inline-block;border:1px solid #d1d1d1;background-color:#fff;border-radius:3px;width:11px;height:11px}.weui-agree__checkbox-icon-check{position:absolute;top:1px;left:1px}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/icon/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
14 |
20 |
21 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/checkbox/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function iconStyle(checkedColor, value, disabled, parentDisabled, iconSize) {
6 | var styles = {
7 | 'font-size': addUnit(iconSize),
8 | };
9 |
10 | if (checkedColor && value && !disabled && !parentDisabled) {
11 | styles['border-color'] = checkedColor;
12 | styles['background-color'] = checkedColor;
13 | }
14 |
15 | return style(styles);
16 | }
17 |
18 | module.exports = {
19 | iconStyle: iconStyle,
20 | };
21 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/empty/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-empty{align-items:center;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;padding:32px 0}.van-empty__image{height:160px;width:160px}.van-empty__image:empty{display:none}.van-empty__image__img{height:100%;width:100%}.van-empty__image:not(:empty)+.van-empty__image{display:none}.van-empty__description{color:#969799;font-size:14px;line-height:20px;margin-top:16px;padding:0 60px}.van-empty__description:empty,.van-empty__description:not(:empty)+.van-empty__description{display:none}.van-empty__bottom{margin-top:24px}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/picker/shared.d.ts:
--------------------------------------------------------------------------------
1 | export declare const pickerProps: {
2 | title: StringConstructor;
3 | loading: BooleanConstructor;
4 | showToolbar: BooleanConstructor;
5 | cancelButtonText: {
6 | type: StringConstructor;
7 | value: string;
8 | };
9 | confirmButtonText: {
10 | type: StringConstructor;
11 | value: string;
12 | };
13 | visibleItemCount: {
14 | type: NumberConstructor;
15 | value: number;
16 | };
17 | itemHeight: {
18 | type: NumberConstructor;
19 | value: number;
20 | };
21 | };
22 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tabbar-item/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';:host{flex:1}.van-tabbar-item{align-items:center;color:var(--tabbar-item-text-color,#646566);display:flex;flex-direction:column;font-size:var(--tabbar-item-font-size,12px);height:100%;justify-content:center;line-height:var(--tabbar-item-line-height,1)}.van-tabbar-item__icon{font-size:var(--tabbar-item-icon-size,22px);margin-bottom:var(--tabbar-item-margin-bottom,4px);position:relative}.van-tabbar-item__icon__inner{display:block;min-width:1em}.van-tabbar-item--active{color:var(--tabbar-item-active-color,#1989fa)}.van-tabbar-item__info{margin-top:2px}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/goods-action/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | var component_1 = require("../common/component");
4 | var relation_1 = require("../common/relation");
5 | (0, component_1.VantComponent)({
6 | relation: (0, relation_1.useChildren)('goods-action-button', function () {
7 | this.children.forEach(function (item) {
8 | item.updateStyle();
9 | });
10 | }),
11 | props: {
12 | safeAreaInsetBottom: {
13 | type: Boolean,
14 | value: true,
15 | },
16 | },
17 | });
18 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/popup/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/picker/shared.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | exports.pickerProps = void 0;
4 | exports.pickerProps = {
5 | title: String,
6 | loading: Boolean,
7 | showToolbar: Boolean,
8 | cancelButtonText: {
9 | type: String,
10 | value: '取消',
11 | },
12 | confirmButtonText: {
13 | type: String,
14 | value: '确认',
15 | },
16 | visibleItemCount: {
17 | type: Number,
18 | value: 6,
19 | },
20 | itemHeight: {
21 | type: Number,
22 | value: 44,
23 | },
24 | };
25 |
--------------------------------------------------------------------------------
/pages/page/index.js:
--------------------------------------------------------------------------------
1 | const WXAPI = require('apifm-wxapi')
2 |
3 | Page({
4 | data: {
5 |
6 | },
7 | onLoad: function (options) {
8 |
9 | },
10 | onShow: function () {
11 |
12 | },
13 | getContent(e) { // 读取单页信息
14 | const key = e.currentTarget.dataset.key
15 | WXAPI.cmsPage(key).then(res => {
16 | console.log(res)
17 | if (res.code == 0) {
18 | wx.showToast({
19 | title: '读取成功',
20 | icon: 'success'
21 | })
22 | } else {
23 | wx.showToast({
24 | title: res.msg,
25 | icon: 'none'
26 | })
27 | }
28 | })
29 | }
30 | })
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/calendar/components/header/index.wxml:
--------------------------------------------------------------------------------
1 |
17 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/notify/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-notify{word-wrap:break-word;font-size:var(--notify-font-size,14px);line-height:var(--notify-line-height,20px);padding:var(--notify-padding,6px 15px);text-align:center}.van-notify__container{box-sizing:border-box;left:0;position:fixed;top:0;width:100%}.van-notify--primary{background-color:var(--notify-primary-background-color,#1989fa)}.van-notify--success{background-color:var(--notify-success-background-color,#07c160)}.van-notify--danger{background-color:var(--notify-danger-background-color,#ee0a24)}.van-notify--warning{background-color:var(--notify-warning-background-color,#ff976a)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/switch/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/common/relation.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | type TrivialInstance = WechatMiniprogram.Component.TrivialInstance;
3 | export declare function useParent(name: string, onEffect?: (this: TrivialInstance) => void): {
4 | relations: {
5 | [x: string]: WechatMiniprogram.Component.RelationOption;
6 | };
7 | mixin: string;
8 | };
9 | export declare function useChildren(name: string, onEffect?: (this: TrivialInstance, target: TrivialInstance) => void): {
10 | relations: {
11 | [x: string]: WechatMiniprogram.Component.RelationOption;
12 | };
13 | mixin: string;
14 | };
15 | export {};
16 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/index-bar/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
22 |
23 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/rate/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-rate{display:inline-flex;-webkit-user-select:none;user-select:none}.van-rate__item{padding:0 var(--rate-horizontal-padding,2px);position:relative}.van-rate__item:not(:last-child){padding-right:var(--rate-icon-gutter,4px)}.van-rate__icon{color:var(--rate-icon-void-color,#c8c9cc);display:block;font-size:var(--rate-icon-size,20px);height:100%}.van-rate__icon--half{left:var(--rate-horizontal-padding,2px);overflow:hidden;position:absolute;top:0;width:.5em}.van-rate__icon--full,.van-rate__icon--half{color:var(--rate-icon-full-color,#ee0a24)}.van-rate__icon--disabled{color:var(--rate-icon-disabled-color,#c8c9cc)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tag/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | var component_1 = require("../common/component");
4 | (0, component_1.VantComponent)({
5 | props: {
6 | size: String,
7 | mark: Boolean,
8 | color: String,
9 | plain: Boolean,
10 | round: Boolean,
11 | textColor: String,
12 | type: {
13 | type: String,
14 | value: 'default',
15 | },
16 | closeable: Boolean,
17 | },
18 | methods: {
19 | onClose: function () {
20 | this.$emit('close');
21 | },
22 | },
23 | });
24 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/icon/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: ['info-class'],
6 | props: {
7 | dot: Boolean,
8 | info: null,
9 | size: null,
10 | color: String,
11 | customStyle: String,
12 | classPrefix: {
13 | type: String,
14 | value: 'van-icon',
15 | },
16 | name: String,
17 | },
18 | methods: {
19 | onClick: function () {
20 | this.$emit('click');
21 | },
22 | },
23 | });
24 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/loading/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
9 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/notify/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
15 |
19 | {{ message }}
20 |
21 |
22 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/common/validator.d.ts:
--------------------------------------------------------------------------------
1 | export declare function isFunction(val: unknown): val is Function;
2 | export declare function isPlainObject(val: unknown): val is Record;
3 | export declare function isPromise(val: unknown): val is Promise;
4 | export declare function isDef(value: unknown): boolean;
5 | export declare function isObj(x: unknown): x is Record;
6 | export declare function isNumber(value: string): boolean;
7 | export declare function isBoolean(value: unknown): value is boolean;
8 | export declare function isImageUrl(url: string): boolean;
9 | export declare function isVideoUrl(url: string): boolean;
10 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/picker/toolbar.wxml:
--------------------------------------------------------------------------------
1 |
2 |
9 | {{ cancelButtonText }}
10 |
11 | {{
12 | title
13 | }}
14 |
21 | {{ confirmButtonText }}
22 |
23 |
24 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sidebar-item/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
19 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sticky/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function wrapStyle(data) {
6 | return style({
7 | transform: data.transform
8 | ? 'translate3d(0, ' + data.transform + 'px, 0)'
9 | : '',
10 | top: data.fixed ? addUnit(data.offsetTop) : '',
11 | 'z-index': data.zIndex,
12 | });
13 | }
14 |
15 | function containerStyle(data) {
16 | return style({
17 | height: data.fixed ? addUnit(data.height) : '',
18 | 'z-index': data.zIndex,
19 | });
20 | }
21 |
22 | module.exports = {
23 | wrapStyle: wrapStyle,
24 | containerStyle: containerStyle,
25 | };
26 |
--------------------------------------------------------------------------------
/pages/graph-validate-code/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/calendar/utils.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | function getMonthEndDay(year, month) {
3 | return 32 - getDate(year, month - 1, 32).getDate();
4 | }
5 |
6 | function compareMonth(date1, date2) {
7 | date1 = getDate(date1);
8 | date2 = getDate(date2);
9 |
10 | var year1 = date1.getFullYear();
11 | var year2 = date2.getFullYear();
12 | var month1 = date1.getMonth();
13 | var month2 = date2.getMonth();
14 |
15 | if (year1 === year2) {
16 | return month1 === month2 ? 0 : month1 > month2 ? 1 : -1;
17 | }
18 |
19 | return year1 > year2 ? 1 : -1;
20 | }
21 |
22 | module.exports = {
23 | getMonthEndDay: getMonthEndDay,
24 | compareMonth: compareMonth
25 | };
26 |
--------------------------------------------------------------------------------
/style/widget/weui-grid/weui-grid.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | .weui-grids{border-top:1rpx solid rgba(0,0,0,.1);border-left:1rpx solid rgba(0,0,0,.1);overflow:hidden}.weui-grid{position:relative;float:left;padding:20px 10px;width:33.33333333%;box-sizing:border-box;border-right:1rpx solid rgba(0,0,0,.1);border-bottom:1rpx solid rgba(0,0,0,.1)}.weui-grid_active{background-color:#ececec}.weui-grid__icon{display:block;width:28px;height:28px;margin:0 auto}.weui-grid__label{margin-top:5px;display:block;text-align:center;color:rgba(0,0,0,.9);font-size:14px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/area/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
21 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/empty/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | {{ description }}
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/style/widget/weui-button/weui-btn_plain.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | .weui-btn_plain-primary{color:#07c160;border:1px solid #1aad19}.weui-btn_plain-primary:not(.weui-btn_plain-disabled):active{color:#06ae56;border-color:#179c16;background-color:rgba(0,0,0,.1)}.weui-btn_plain-primary:after{border-width:0}.weui-btn_plain-default{color:#353535;border:1px solid #353535}.weui-btn_plain-default:not(.weui-btn_plain-disabled):active{color:#323232;border-color:#323232;background-color:rgba(0,0,0,.1)}.weui-btn_plain-default:after{border-width:0}.weui-btn_plain-disabled{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/swipe-cell/index.wxml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/popup/popup.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
17 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/progress/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
12 |
17 | {{ computed.pivotText(pivotText, percentage) }}
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/pages/json/index.wxml:
--------------------------------------------------------------------------------
1 |
5 |
13 |
14 | 提交
15 |
16 |
17 |
18 |
19 |
20 |
21 | {{ item.content.msg }}
22 |
23 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/progress/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-progress{background:var(--progress-background-color,#ebedf0);border-radius:var(--progress-height,4px);height:var(--progress-height,4px);position:relative}.van-progress__portion{background:var(--progress-color,#1989fa);border-radius:inherit;height:100%;left:0;position:absolute}.van-progress__pivot{background-color:var(--progress-pivot-background-color,#1989fa);border-radius:1em;box-sizing:border-box;color:var(--progress-pivot-text-color,#fff);font-size:var(--progress-pivot-font-size,10px);line-height:var(--progress-pivot-line-height,1.6);min-width:3.6em;padding:var(--progress-pivot-padding,0 5px);position:absolute;text-align:center;top:50%;transform:translateY(-50%);word-break:keep-all}
--------------------------------------------------------------------------------
/style/widget/weui-cell/weui-access.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | .weui-cell_access{color:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0)}.weui-cell__ft_in-access{padding-right:16px;position:relative}.weui-cell__ft_in-access:after{content:" ";display:inline-block;height:8px;width:8px;border-width:2px 2px 0 0;border-color:#b2b2b2;border-style:solid;-webkit-transform:matrix(.71,.71,-.71,.71,0,0);transform:matrix(.71,.71,-.71,.71,0,0);position:relative;top:-2px;position:absolute;top:50%;margin-top:-5px;right:0}.weui-cell_link{color:#576b95;font-size:17px}.weui-cell_link:active{background-color:#ececec}.weui-cell_link:first-child:before{display:block}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/switch/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function rootStyle(data) {
6 | var currentColor = data.checked === data.activeValue ? data.activeColor : data.inactiveColor;
7 |
8 | return style({
9 | 'font-size': addUnit(data.size),
10 | 'background-color': currentColor,
11 | });
12 | }
13 |
14 | var BLUE = '#1989fa';
15 | var GRAY_DARK = '#969799';
16 |
17 | function loadingColor(data) {
18 | return data.checked === data.activeValue
19 | ? data.activeColor || BLUE
20 | : data.inactiveColor || GRAY_DARK;
21 | }
22 |
23 | module.exports = {
24 | rootStyle: rootStyle,
25 | loadingColor: loadingColor,
26 | };
27 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/common/version.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | interface WxWorkSystemInfo extends WechatMiniprogram.SystemInfo {
3 | environment?: 'wxwork';
4 | }
5 | interface SystemInfo extends WxWorkSystemInfo, WechatMiniprogram.SystemInfo {
6 | }
7 | export declare function getSystemInfoSync(): SystemInfo;
8 | export declare function canIUseModel(): boolean;
9 | export declare function canIUseFormFieldButton(): boolean;
10 | export declare function canIUseAnimate(): boolean;
11 | export declare function canIUseGroupSetData(): boolean;
12 | export declare function canIUseNextTick(): boolean;
13 | export declare function canIUseCanvas2d(): boolean;
14 | export declare function canIUseGetUserProfile(): boolean;
15 | export {};
16 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/notify/notify.d.ts:
--------------------------------------------------------------------------------
1 | interface NotifyOptions {
2 | type?: 'primary' | 'success' | 'danger' | 'warning';
3 | color?: string;
4 | zIndex?: number;
5 | top?: number;
6 | message: string;
7 | context?: any;
8 | duration?: number;
9 | selector?: string;
10 | background?: string;
11 | safeAreaInsetTop?: boolean;
12 | onClick?: () => void;
13 | onOpened?: () => void;
14 | onClose?: () => void;
15 | }
16 | declare function Notify(options: NotifyOptions | string): any;
17 | declare namespace Notify {
18 | var clear: (options?: NotifyOptions | undefined) => void;
19 | var setDefaultOptions: (options: NotifyOptions) => void;
20 | var resetDefaultOptions: () => void;
21 | }
22 | export default Notify;
23 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/calendar/components/header/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../../../common/index.wxss';.van-calendar__header{box-shadow:var(--calendar-header-box-shadow,0 2px 10px hsla(220,1%,50%,.16));flex-shrink:0}.van-calendar__header-subtitle,.van-calendar__header-title{font-weight:var(--font-weight-bold,500);height:var(--calendar-header-title-height,44px);line-height:var(--calendar-header-title-height,44px);text-align:center}.van-calendar__header-title+.van-calendar__header-title,.van-calendar__header-title:empty{display:none}.van-calendar__header-title:empty+.van-calendar__header-title{display:block!important}.van-calendar__weekdays{display:flex}.van-calendar__weekday{flex:1;font-size:var(--calendar-weekdays-font-size,12px);line-height:var(--calendar-weekdays-height,30px);text-align:center}
--------------------------------------------------------------------------------
/style/widget/weui-button/weui-btn_cell.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | .weui-btn_cell{position:relative;display:block;margin-left:auto;margin-right:auto;box-sizing:border-box;font-weight:700;font-size:17px;text-align:center;text-decoration:none;color:#fff;line-height:1.41176471;padding:16px;-webkit-tap-highlight-color:rgba(0,0,0,0);overflow:hidden;background-color:#fff}.weui-btn_cell+.weui-btn_cell{margin-top:16px}.weui-btn_cell:active{background-color:#ececec}.weui-btn_cell__icon{display:inline-block;vertical-align:middle;width:24px;height:24px;margin:-.2em .34em 0 0}.weui-btn_cell-default{color:rgba(0,0,0,.9)}.weui-btn_cell-primary{color:#576b95}.weui-btn_cell-warn{color:#fa5151}
--------------------------------------------------------------------------------
/style/widget/weui-tips/weui-loadmore.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | .weui-loadmore{width:65%;margin:1.5em auto;line-height:1.6em;font-size:14px;text-align:center}.weui-loadmore__tips{display:inline-block;vertical-align:middle}.weui-loadmore_line{border-top:1px solid rgba(0,0,0,.1);margin-top:2.4em}.weui-loadmore__tips_in-line{position:relative;top:-.9em;padding:0 .55em;background-color:#fff;color:rgba(0,0,0,.5)}.weui-loadmore__tips_in-dot{position:relative;padding:0 .16em;width:4px;height:1.6em}.weui-loadmore__tips_in-dot:before{content:" ";position:absolute;top:50%;left:50%;margin-top:-1px;margin-left:-2px;width:4px;height:4px;border-radius:50%;background-color:rgba(0,0,0,.1)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/cascader/index.wxs:
--------------------------------------------------------------------------------
1 | var utils = require('../wxs/utils.wxs');
2 | var style = require('../wxs/style.wxs');
3 |
4 | function isSelected(tab, valueKey, option) {
5 | return tab.selected && tab.selected[valueKey] === option[valueKey]
6 | }
7 |
8 | function optionClass(tab, valueKey, option) {
9 | return utils.bem('cascader__option', { selected: isSelected(tab, valueKey, option), disabled: option.disabled })
10 | }
11 |
12 | function optionStyle(data) {
13 | var color = data.option.color || (isSelected(data.tab, data.valueKey, data.option) ? data.activeColor : undefined);
14 | return style({
15 | color
16 | });
17 | }
18 |
19 |
20 | module.exports = {
21 | isSelected: isSelected,
22 | optionClass: optionClass,
23 | optionStyle: optionStyle,
24 | };
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/image/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function rootStyle(data) {
6 | return style([
7 | {
8 | width: addUnit(data.width),
9 | height: addUnit(data.height),
10 | 'border-radius': addUnit(data.radius),
11 | },
12 | data.radius ? 'overflow: hidden' : null,
13 | ]);
14 | }
15 |
16 | var FIT_MODE_MAP = {
17 | none: 'center',
18 | fill: 'scaleToFill',
19 | cover: 'aspectFill',
20 | contain: 'aspectFit',
21 | widthFix: 'widthFix',
22 | heightFix: 'heightFix',
23 | };
24 |
25 | function mode(fit) {
26 | return FIT_MODE_MAP[fit];
27 | }
28 |
29 | module.exports = {
30 | rootStyle: rootStyle,
31 | mode: mode,
32 | };
33 |
--------------------------------------------------------------------------------
/style/widget/weui-panel/weui-panel.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | .weui-panel{background-color:#fff;margin-top:10px;position:relative;overflow:hidden}.weui-panel:first-child{margin-top:0}.weui-panel:before{top:0;border-top:1rpx solid rgba(0,0,0,.1)}.weui-panel:after,.weui-panel:before{content:" ";position:absolute;left:0;right:0;height:1px;color:rgba(0,0,0,.1)}.weui-panel:after{bottom:0;border-bottom:1rpx solid rgba(0,0,0,.1)}.weui-panel__hd{padding:16px 16px 13px;color:rgba(0,0,0,.9);font-size:15px;font-weight:700;position:relative}.weui-panel__hd:after{content:" ";position:absolute;left:0;bottom:0;right:0;height:1px;border-bottom:1rpx solid rgba(0,0,0,.1);color:rgba(0,0,0,.1);left:16px}
--------------------------------------------------------------------------------
/style/widget/weui-cell/weui-form/weui-select.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | .weui-cell_select{padding:0}.weui-select{position:relative;padding-left:16px;padding-right:30px;height:3.29411765em;min-height:3.29411765em;line-height:3.29411765em;border-right:1rpx solid rgba(0,0,0,.1)}.weui-select:before{content:" ";display:inline-block;height:6px;width:6px;border-width:2px 2px 0 0;border-color:#c8c8cd;border-style:solid;-webkit-transform:matrix(.71,.71,-.71,.71,0,0);transform:matrix(.71,.71,-.71,.71,0,0);position:relative;top:-2px;position:absolute;top:50%;right:16px;margin-top:-4px}.weui-select_in-select-after{padding-left:0}.weui-cell__bd_in-select-before,.weui-cell__hd_in-select-after{padding-left:16px}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/uploader/utils.d.ts:
--------------------------------------------------------------------------------
1 | export interface File {
2 | url: string;
3 | size?: number;
4 | name?: string;
5 | type: string;
6 | duration?: number;
7 | time?: number;
8 | isImage?: boolean;
9 | isVideo?: boolean;
10 | }
11 | export declare function isImageFile(item: File): boolean;
12 | export declare function isVideoFile(item: File): boolean;
13 | export declare function chooseFile({ accept, multiple, capture, compressed, maxDuration, sizeType, camera, maxCount, mediaType, extension, }: {
14 | accept: any;
15 | multiple: any;
16 | capture: any;
17 | compressed: any;
18 | maxDuration: any;
19 | sizeType: any;
20 | camera: any;
21 | maxCount: any;
22 | mediaType: any;
23 | extension: any;
24 | }): Promise;
25 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/config-provider/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var object = require('../wxs/object.wxs');
3 | var style = require('../wxs/style.wxs');
4 |
5 | function kebabCase(word) {
6 | var newWord = word
7 | .replace(getRegExp("[A-Z]", 'g'), function (i) {
8 | return '-' + i;
9 | })
10 | .toLowerCase()
11 | .replace(getRegExp("^-"), '');
12 |
13 | return newWord;
14 | }
15 |
16 | function mapThemeVarsToCSSVars(themeVars) {
17 | var cssVars = {};
18 | object.keys(themeVars).forEach(function (key) {
19 | var cssVarsKey = '--' + kebabCase(key);
20 | cssVars[cssVarsKey] = themeVars[key];
21 | });
22 |
23 | return style(cssVars);
24 | }
25 |
26 | module.exports = {
27 | kebabCase: kebabCase,
28 | mapThemeVarsToCSSVars: mapThemeVarsToCSSVars,
29 | };
30 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/radio-group/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | var component_1 = require("../common/component");
4 | var relation_1 = require("../common/relation");
5 | (0, component_1.VantComponent)({
6 | field: true,
7 | relation: (0, relation_1.useChildren)('radio'),
8 | props: {
9 | value: {
10 | type: null,
11 | observer: 'updateChildren',
12 | },
13 | direction: String,
14 | disabled: {
15 | type: Boolean,
16 | observer: 'updateChildren',
17 | },
18 | },
19 | methods: {
20 | updateChildren: function () {
21 | this.children.forEach(function (child) { return child.updateFromParent(); });
22 | },
23 | },
24 | });
25 |
--------------------------------------------------------------------------------
/style/widget/weui-page/weui-article.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | .weui-article{padding:24px 16px;padding:24px calc(16px + constant(safe-area-inset-right)) calc(24px + constant(safe-area-inset-bottom)) calc(16px + constant(safe-area-inset-left));padding:24px calc(16px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));font-size:17px;color:rgba(0,0,0,.9)}.weui-article__section{margin-bottom:1.5em}.weui-article__h1{font-size:22px;font-weight:700;margin-bottom:.9em;line-height:1.4}.weui-article__h2{font-size:17px}.weui-article__h2,.weui-article__h3{font-weight:700;margin-bottom:.34em;line-height:1.4}.weui-article__h3{font-size:15px}.weui-article__p{margin:0 0 .8em}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/info/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-info{align-items:center;background-color:var(--info-background-color,#ee0a24);border:var(--info-border-width,1px) solid #fff;border-radius:var(--info-size,16px);box-sizing:border-box;color:var(--info-color,#fff);display:inline-flex;font-family:var(--info-font-family,-apple-system-font,Helvetica Neue,Arial,sans-serif);font-size:var(--info-font-size,12px);font-weight:var(--info-font-weight,500);height:var(--info-size,16px);justify-content:center;min-width:var(--info-size,16px);padding:var(--info-padding,0 3px);position:absolute;right:0;top:0;transform:translate(50%,-50%);transform-origin:100%;white-space:nowrap}.van-info--dot{background-color:var(--info-dot-color,#ee0a24);border-radius:100%;height:var(--info-dot-size,8px);min-width:0;width:var(--info-dot-size,8px)}
--------------------------------------------------------------------------------
/style/widget/weui-footer/weui-footer.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | .weui-footer{color:rgba(0,0,0,.3);font-size:14px;line-height:1.4;text-align:center}.weui-footer_fixed-bottom{position:fixed;bottom:16px;bottom:calc(16px + constant(safe-area-inset-bottom));bottom:calc(16px + env(safe-area-inset-bottom));left:0;right:0}.weui-footer__links{font-size:0}.weui-footer__link{display:inline-block;vertical-align:top;margin:0 8px;position:relative;font-size:14px;color:#576b95}.weui-footer__link:before{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1rpx solid #c7c7c7;color:#c7c7c7;left:-8px;top:.36em;bottom:.36em}.weui-footer__link:first-child:before{display:none}.weui-footer__text{padding:0 .34em;font-size:12px}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/common/style/hairline.wxss:
--------------------------------------------------------------------------------
1 | .van-hairline,.van-hairline--bottom,.van-hairline--left,.van-hairline--right,.van-hairline--surround,.van-hairline--top,.van-hairline--top-bottom{position:relative}.van-hairline--bottom:after,.van-hairline--left:after,.van-hairline--right:after,.van-hairline--surround:after,.van-hairline--top-bottom:after,.van-hairline--top:after,.van-hairline:after{border:0 solid #ebedf0;bottom:-50%;box-sizing:border-box;content:" ";left:-50%;pointer-events:none;position:absolute;right:-50%;top:-50%;transform:scale(.5);transform-origin:center}.van-hairline--top:after{border-top-width:1px}.van-hairline--left:after{border-left-width:1px}.van-hairline--right:after{border-right-width:1px}.van-hairline--bottom:after{border-bottom-width:1px}.van-hairline--top-bottom:after{border-width:1px 0}.van-hairline--surround:after{border-width:1px}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/image/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-image{display:inline-block;position:relative}.van-image--round{border-radius:50%;overflow:hidden}.van-image--round .van-image__img{border-radius:inherit}.van-image__error,.van-image__img,.van-image__loading{display:block;height:100%;width:100%}.van-image__error,.van-image__loading{align-items:center;background-color:var(--image-placeholder-background-color,#f7f8fa);color:var(--image-placeholder-text-color,#969799);display:flex;flex-direction:column;font-size:var(--image-placeholder-font-size,14px);justify-content:center;left:0;position:absolute;top:0}.van-image__loading-icon{color:var(--image-loading-icon-color,#dcdee0);font-size:var(--image-loading-icon-size,32px)!important}.van-image__error-icon{color:var(--image-error-icon-color,#dcdee0);font-size:var(--image-error-icon-size,32px)!important}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/radio/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function iconStyle(data) {
6 | var styles = {
7 | 'font-size': addUnit(data.iconSize),
8 | };
9 |
10 | if (
11 | data.checkedColor &&
12 | !(data.disabled || data.parentDisabled) &&
13 | data.value === data.name
14 | ) {
15 | styles['border-color'] = data.checkedColor;
16 | styles['background-color'] = data.checkedColor;
17 | }
18 |
19 | return style(styles);
20 | }
21 |
22 | function iconCustomStyle(data) {
23 | return style({
24 | 'line-height': addUnit(data.iconSize),
25 | 'font-size': '.8em',
26 | display: 'block',
27 | });
28 | }
29 |
30 | module.exports = {
31 | iconStyle: iconStyle,
32 | iconCustomStyle: iconCustomStyle,
33 | };
34 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/row/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | var component_1 = require("../common/component");
4 | var relation_1 = require("../common/relation");
5 | (0, component_1.VantComponent)({
6 | relation: (0, relation_1.useChildren)('col', function (target) {
7 | var gutter = this.data.gutter;
8 | if (gutter) {
9 | target.setData({ gutter: gutter });
10 | }
11 | }),
12 | props: {
13 | gutter: {
14 | type: Number,
15 | observer: 'setGutter',
16 | },
17 | },
18 | methods: {
19 | setGutter: function () {
20 | var _this = this;
21 | this.children.forEach(function (col) {
22 | col.setData(_this.data);
23 | });
24 | },
25 | },
26 | });
27 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/share-sheet/options.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
12 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tabbar-item/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/pages/tools/index.js:
--------------------------------------------------------------------------------
1 | const WXAPI = require('apifm-wxapi')
2 |
3 | Page({
4 | data: {
5 |
6 | },
7 | onLoad: function (options) {
8 |
9 | },
10 | uniqueId(){
11 | WXAPI.uniqueId().then(res => {
12 | if (res.code == 0) {
13 | wx.showModal({
14 | title: '成功',
15 | content: 'ID:' + res.data,
16 | showCancel: false
17 | })
18 | } else {
19 | wx.showToast({
20 | title: res.msg,
21 | icon: 'none'
22 | })
23 | }
24 | })
25 | },
26 | goQueryBarcode(){
27 | wx.navigateTo({
28 | url: '/pages/barcode/index'
29 | })
30 | },
31 | goShortUrl(){
32 | wx.navigateTo({
33 | url: '/pages/short-url/index'
34 | })
35 | },
36 | mobileLocation(){
37 | wx.navigateTo({
38 | url: '/pages/mobile-location/index'
39 | })
40 | },
41 | })
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/grid-item/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function wrapperStyle(data) {
6 | var width = 100 / data.columnNum + '%';
7 |
8 | return style({
9 | width: width,
10 | 'padding-top': data.square ? width : null,
11 | 'padding-right': addUnit(data.gutter),
12 | 'margin-top':
13 | data.index >= data.columnNum && !data.square
14 | ? addUnit(data.gutter)
15 | : null,
16 | });
17 | }
18 |
19 | function contentStyle(data) {
20 | return data.square
21 | ? style({
22 | right: addUnit(data.gutter),
23 | bottom: addUnit(data.gutter),
24 | height: 'auto',
25 | })
26 | : '';
27 | }
28 |
29 | module.exports = {
30 | wrapperStyle: wrapperStyle,
31 | contentStyle: contentStyle,
32 | };
33 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/skeleton/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-skeleton{box-sizing:border-box;display:flex;padding:var(--skeleton-padding,0 16px);width:100%}.van-skeleton__avatar{background-color:var(--skeleton-avatar-background-color,#f2f3f5);flex-shrink:0;margin-right:var(--padding-md,16px)}.van-skeleton__avatar--round{border-radius:100%}.van-skeleton__content{flex:1}.van-skeleton__avatar+.van-skeleton__content{padding-top:var(--padding-xs,8px)}.van-skeleton__row,.van-skeleton__title{background-color:var(--skeleton-row-background-color,#f2f3f5);height:var(--skeleton-row-height,16px)}.van-skeleton__title{margin:0}.van-skeleton__row:not(:first-child){margin-top:var(--skeleton-row-margin-top,12px)}.van-skeleton__title+.van-skeleton__row{margin-top:20px}.van-skeleton--animate{animation:van-skeleton-blink 1.2s ease-in-out infinite}@keyframes van-skeleton-blink{50%{opacity:.6}}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/toast/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | var component_1 = require("../common/component");
4 | (0, component_1.VantComponent)({
5 | props: {
6 | show: Boolean,
7 | mask: Boolean,
8 | message: String,
9 | forbidClick: Boolean,
10 | zIndex: {
11 | type: Number,
12 | value: 1000,
13 | },
14 | type: {
15 | type: String,
16 | value: 'text',
17 | },
18 | loadingType: {
19 | type: String,
20 | value: 'circular',
21 | },
22 | position: {
23 | type: String,
24 | value: 'middle',
25 | },
26 | },
27 | methods: {
28 | // for prevent touchmove
29 | noop: function () { },
30 | },
31 | });
32 |
--------------------------------------------------------------------------------
/pages/index/finance.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 用户资产
6 | 资金流水
7 |
8 |
9 | 押金管理
10 | 可押可退
11 |
12 |
13 | 发票管理
14 | 自助申请
15 |
16 |
17 | 提现管理
18 | 提现记录
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/calendar/utils.d.ts:
--------------------------------------------------------------------------------
1 | export declare const ROW_HEIGHT = 64;
2 | export declare function formatMonthTitle(date: Date): string;
3 | export declare function compareMonth(date1: Date | number, date2: Date | number): 0 | 1 | -1;
4 | export declare function compareDay(day1: Date | number, day2: Date | number): 0 | 1 | -1;
5 | export declare function getDayByOffset(date: Date, offset: number): Date;
6 | export declare function getPrevDay(date: Date): Date;
7 | export declare function getNextDay(date: Date): Date;
8 | export declare function getToday(): Date;
9 | export declare function calcDateNum(date: [Date, Date]): number;
10 | export declare function copyDates(dates: Date | Date[]): Date | Date[];
11 | export declare function getMonthEndDay(year: number, month: number): number;
12 | export declare function getMonths(minDate: number, maxDate: number): number[];
13 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/dropdown-menu/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
24 |
--------------------------------------------------------------------------------
/style/widget/weui-tips/weui-toptips.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | .weui-toptips{position:fixed;-webkit-transform:translateZ(0) translateY(-108%);transform:translateZ(0) translateY(-108%);text-align:center;top:8px;left:16px;right:16px;border-radius:4px;padding:8px;-webkit-border-radius:4px;color:hsla(0,0%,100%,.9);font-size:17px;line-height:1.4;background:rgba(250,81,81,.9);z-index:5000;word-wrap:break-word;word-break:break-all;-webkit-transition:all .4s ease-in-out;transition:all .4s ease-in-out}.weui-toptips_show{-webkit-transform:translateZ(0) translateY(0);transform:translateZ(0) translateY(0);opacity:1}.weui-toptips_warn{background-color:#fa5151}.weui-toptips_success{background-color:#09bb07}.weui-toptips_error{background-color:#fa5151}.weui-toptips_info{background-color:#10aeff}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/collapse-item/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-collapse-item__title .van-cell__right-icon{transform:rotate(90deg);transition:transform var(--collapse-item-transition-duration,.3s)}.van-collapse-item__title--expanded .van-cell__right-icon{transform:rotate(-90deg)}.van-collapse-item__title--disabled .van-cell,.van-collapse-item__title--disabled .van-cell__right-icon{color:var(--collapse-item-title-disabled-color,#c8c9cc)!important}.van-collapse-item__title--disabled .van-cell--hover{background-color:#fff!important}.van-collapse-item__wrapper{overflow:hidden}.van-collapse-item__content{background-color:var(--collapse-item-content-background-color,#fff);color:var(--collapse-item-content-text-color,#969799);font-size:var(--collapse-item-content-font-size,13px);line-height:var(--collapse-item-content-line-height,1.5);padding:var(--collapse-item-content-padding,15px)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/calendar/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/mixins/link.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | exports.link = void 0;
4 | exports.link = Behavior({
5 | properties: {
6 | url: String,
7 | linkType: {
8 | type: String,
9 | value: 'navigateTo',
10 | },
11 | },
12 | methods: {
13 | jumpLink: function (urlKey) {
14 | if (urlKey === void 0) { urlKey = 'url'; }
15 | var url = this.data[urlKey];
16 | if (url) {
17 | if (this.data.linkType === 'navigateTo' &&
18 | getCurrentPages().length > 9) {
19 | wx.redirectTo({ url: url });
20 | }
21 | else {
22 | wx[this.data.linkType]({ url: url });
23 | }
24 | }
25 | },
26 | },
27 | });
28 |
--------------------------------------------------------------------------------
/pages/short-url/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | 转换结果
12 |
13 |
14 | {{ queryResult }}
15 | 复制
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/overlay/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | var component_1 = require("../common/component");
4 | (0, component_1.VantComponent)({
5 | props: {
6 | show: Boolean,
7 | customStyle: String,
8 | duration: {
9 | type: null,
10 | value: 300,
11 | },
12 | zIndex: {
13 | type: Number,
14 | value: 1,
15 | },
16 | lockScroll: {
17 | type: Boolean,
18 | value: true,
19 | },
20 | rootPortal: {
21 | type: Boolean,
22 | value: false,
23 | },
24 | },
25 | methods: {
26 | onClick: function () {
27 | this.$emit('click');
28 | },
29 | // for prevent touchmove
30 | noop: function () { },
31 | },
32 | });
33 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tree-select/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-tree-select{display:flex;font-size:var(--tree-select-font-size,14px);position:relative;-webkit-user-select:none;user-select:none}.van-tree-select__nav{--sidebar-padding:12px 8px 12px 12px;background-color:var(--tree-select-nav-background-color,#f7f8fa);flex:1}.van-tree-select__nav__inner{height:100%;width:100%!important}.van-tree-select__content{background-color:var(--tree-select-content-background-color,#fff);flex:2}.van-tree-select__item{font-weight:700;line-height:var(--tree-select-item-height,44px);padding:0 32px 0 var(--padding-md,16px);position:relative}.van-tree-select__item--active{color:var(--tree-select-item-active-color,#ee0a24)}.van-tree-select__item--disabled{color:var(--tree-select-item-disabled-color,#c8c9cc)}.van-tree-select__selected{position:absolute;right:var(--padding-md,16px);top:50%;transform:translateY(-50%)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/share-sheet/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-share-sheet__header{padding:12px 16px 4px;text-align:center}.van-share-sheet__title{color:#323233;font-size:14px;font-weight:400;line-height:20px;margin-top:8px}.van-share-sheet__title:empty,.van-share-sheet__title:not(:empty)+.van-share-sheet__title{display:none}.van-share-sheet__description{color:#969799;display:block;font-size:12px;line-height:16px;margin-top:8px}.van-share-sheet__description:empty,.van-share-sheet__description:not(:empty)+.van-share-sheet__description{display:none}.van-share-sheet__cancel{background:#fff;border:none;box-sizing:initial;display:block;font-size:16px;height:auto;line-height:48px;padding:0;text-align:center;width:100%}.van-share-sheet__cancel:before{background-color:#f7f8fa;content:" ";display:block;height:8px}.van-share-sheet__cancel:after{display:none}.van-share-sheet__cancel:active{background-color:#f2f3f5}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/calendar/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var utils = require('./utils.wxs');
3 |
4 | function getMonths(minDate, maxDate) {
5 | var months = [];
6 | var cursor = getDate(minDate);
7 |
8 | cursor.setDate(1);
9 |
10 | do {
11 | months.push(cursor.getTime());
12 | cursor.setMonth(cursor.getMonth() + 1);
13 | } while (utils.compareMonth(cursor, getDate(maxDate)) !== 1);
14 |
15 | return months;
16 | }
17 |
18 | function getButtonDisabled(type, currentDate, minRange) {
19 | if (currentDate == null) {
20 | return true;
21 | }
22 |
23 | if (type === 'range') {
24 | return !currentDate[0] || !currentDate[1];
25 | }
26 |
27 | if (type === 'multiple') {
28 | return currentDate.length < minRange;
29 | }
30 |
31 | return !currentDate;
32 | }
33 |
34 | module.exports = {
35 | getMonths: getMonths,
36 | getButtonDisabled: getButtonDisabled
37 | };
38 |
--------------------------------------------------------------------------------
/pages/auth/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/goods-action-icon/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | var component_1 = require("../common/component");
4 | var button_1 = require("../mixins/button");
5 | var link_1 = require("../mixins/link");
6 | (0, component_1.VantComponent)({
7 | classes: ['icon-class', 'text-class', 'info-class'],
8 | mixins: [link_1.link, button_1.button],
9 | props: {
10 | text: String,
11 | dot: Boolean,
12 | info: String,
13 | icon: String,
14 | size: String,
15 | color: String,
16 | classPrefix: {
17 | type: String,
18 | value: 'van-icon',
19 | },
20 | disabled: Boolean,
21 | loading: Boolean,
22 | },
23 | methods: {
24 | onClick: function (event) {
25 | this.$emit('click', event.detail);
26 | this.jumpLink();
27 | },
28 | },
29 | });
30 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/search/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-search{align-items:center;box-sizing:border-box;display:flex;padding:var(--search-padding,10px 12px)}.van-search__content{background-color:var(--search-background-color,#f7f8fa);border-radius:2px;display:flex;flex:1;padding-left:var(--padding-sm,12px)}.van-search__content--round{border-radius:999px}.van-search__label{color:var(--search-label-color,#323233);font-size:var(--search-label-font-size,14px);line-height:var(--search-input-height,34px);padding:var(--search-label-padding,0 5px)}.van-search__field{flex:1}.van-search__field__left-icon{color:var(--search-left-icon-color,#969799)}.van-search--withaction{padding-right:0}.van-search__action{color:var(--search-action-text-color,#323233);font-size:var(--search-action-font-size,14px);line-height:var(--search-input-height,34px)}.van-search__action--hover{background-color:#f2f3f5}.van-search__action-button{padding:var(--search-action-padding,0 8px)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/button/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 |
4 | function rootStyle(data) {
5 | if (!data.color) {
6 | return data.customStyle;
7 | }
8 |
9 | var properties = {
10 | color: data.plain ? data.color : '#fff',
11 | background: data.plain ? null : data.color,
12 | };
13 |
14 | // hide border when color is linear-gradient
15 | if (data.color.indexOf('gradient') !== -1) {
16 | properties.border = 0;
17 | } else {
18 | properties['border-color'] = data.color;
19 | }
20 |
21 | return style([properties, data.customStyle]);
22 | }
23 |
24 | function loadingColor(data) {
25 | if (data.plain) {
26 | return data.color ? data.color : '#c9c9c9';
27 | }
28 |
29 | if (data.type === 'default') {
30 | return '#c9c9c9';
31 | }
32 |
33 | return '#fff';
34 | }
35 |
36 | module.exports = {
37 | rootStyle: rootStyle,
38 | loadingColor: loadingColor,
39 | };
40 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/calendar/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-calendar{background-color:var(--calendar-background-color,#fff);display:flex;flex-direction:column;height:var(--calendar-height,100%)}.van-calendar__close-icon{top:11px}.van-calendar__popup--bottom,.van-calendar__popup--top{height:var(--calendar-popup-height,90%)}.van-calendar__popup--left,.van-calendar__popup--right{height:100%}.van-calendar__body{-webkit-overflow-scrolling:touch;flex:1;overflow:auto}.van-calendar__footer{flex-shrink:0;padding:0 var(--padding-md,16px)}.van-calendar__footer--safe-area-inset-bottom{padding-bottom:env(safe-area-inset-bottom)}.van-calendar__footer+.van-calendar__footer,.van-calendar__footer:empty{display:none}.van-calendar__footer:empty+.van-calendar__footer{display:block!important}.van-calendar__confirm{height:var(--calendar-confirm-button-height,36px)!important;line-height:var(--calendar-confirm-button-line-height,34px)!important;margin:var(--calendar-confirm-button-margin,7px 0)!important}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/share-sheet/options.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-share-sheet__options{-webkit-overflow-scrolling:touch;display:flex;overflow-x:auto;overflow-y:visible;padding:16px 0 16px 8px;position:relative}.van-share-sheet__options--border:before{border-top:1px solid #ebedf0;box-sizing:border-box;content:" ";left:16px;pointer-events:none;position:absolute;right:0;top:0;transform:scaleY(.5);transform-origin:center}.van-share-sheet__options::-webkit-scrollbar{height:0}.van-share-sheet__option{align-items:center;display:flex;flex-direction:column;-webkit-user-select:none;user-select:none}.van-share-sheet__option:active{opacity:.7}.van-share-sheet__button{background-color:initial;border:0;height:auto;line-height:inherit;padding:0}.van-share-sheet__button:after{border:0}.van-share-sheet__icon{height:48px;margin:0 16px;width:48px}.van-share-sheet__name{color:#646566;font-size:12px;margin-top:8px;padding:0 4px}.van-share-sheet__option-description{color:#c8c9cc;font-size:12px;padding:0 4px}
--------------------------------------------------------------------------------
/pages/mobile-location/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 查归属地
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 | 查询结果
13 |
14 |
15 | {{ key }}
16 | {{ item }}
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/project.private.config.json:
--------------------------------------------------------------------------------
1 | {
2 | "libVersion": "3.10.0",
3 | "projectname": "helloworld",
4 | "condition": {
5 | "miniprogram": {
6 | "list": [
7 | {
8 | "name": "pages/json/index",
9 | "pathName": "pages/json/index",
10 | "query": "",
11 | "scene": null,
12 | "launchMode": "default"
13 | }
14 | ]
15 | }
16 | },
17 | "setting": {
18 | "urlCheck": false,
19 | "coverView": true,
20 | "lazyloadPlaceholderEnable": false,
21 | "skylineRenderEnable": false,
22 | "preloadBackgroundData": false,
23 | "autoAudits": false,
24 | "useApiHook": true,
25 | "useApiHostProcess": true,
26 | "showShadowRootInWxmlPanel": false,
27 | "useStaticServer": false,
28 | "useLanDebug": false,
29 | "showES6CompileOption": false,
30 | "compileHotReLoad": true,
31 | "checkInvalidKey": true,
32 | "ignoreDevUnusedFiles": true,
33 | "bigPackageSizeSupport": false
34 | }
35 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/skeleton/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
12 |
13 |
18 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/wxs/bem.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var array = require('./array.wxs');
3 | var object = require('./object.wxs');
4 | var PREFIX = 'van-';
5 |
6 | function join(name, mods) {
7 | name = PREFIX + name;
8 | mods = mods.map(function(mod) {
9 | return name + '--' + mod;
10 | });
11 | mods.unshift(name);
12 | return mods.join(' ');
13 | }
14 |
15 | function traversing(mods, conf) {
16 | if (!conf) {
17 | return;
18 | }
19 |
20 | if (typeof conf === 'string' || typeof conf === 'number') {
21 | mods.push(conf);
22 | } else if (array.isArray(conf)) {
23 | conf.forEach(function(item) {
24 | traversing(mods, item);
25 | });
26 | } else if (typeof conf === 'object') {
27 | object.keys(conf).forEach(function(key) {
28 | conf[key] && mods.push(key);
29 | });
30 | }
31 | }
32 |
33 | function bem(name, conf) {
34 | var mods = [];
35 | traversing(mods, conf);
36 | return join(name, mods);
37 | }
38 |
39 | module.exports = bem;
40 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/index-anchor/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | var utils_1 = require("../common/utils");
4 | var component_1 = require("../common/component");
5 | var relation_1 = require("../common/relation");
6 | (0, component_1.VantComponent)({
7 | relation: (0, relation_1.useParent)('index-bar'),
8 | props: {
9 | useSlot: Boolean,
10 | index: null,
11 | },
12 | data: {
13 | active: false,
14 | wrapperStyle: '',
15 | anchorStyle: '',
16 | },
17 | methods: {
18 | scrollIntoView: function (scrollTop) {
19 | var _this = this;
20 | (0, utils_1.getRect)(this, '.van-index-anchor-wrapper').then(function (rect) {
21 | wx.pageScrollTo({
22 | duration: 0,
23 | scrollTop: scrollTop + rect.top - _this.parent.data.stickyOffsetTop,
24 | });
25 | });
26 | },
27 | },
28 | });
29 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/picker-column/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
12 |
13 | {{ computed.optionText(option, valueKey) }}
22 |
23 |
24 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/divider/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-divider{align-items:center;border:0 solid var(--divider-border-color,#ebedf0);color:var(--divider-text-color,#969799);display:flex;font-size:var(--divider-font-size,14px);line-height:var(--divider-line-height,24px);margin:var(--divider-margin,16px 0)}.van-divider:after,.van-divider:before{border-color:inherit;border-style:inherit;border-width:1px 0 0;box-sizing:border-box;display:block;flex:1;height:1px}.van-divider:before{content:""}.van-divider--hairline:after,.van-divider--hairline:before{transform:scaleY(.5)}.van-divider--dashed{border-style:dashed}.van-divider--center:before,.van-divider--left:before,.van-divider--right:before{margin-right:var(--divider-content-padding,16px)}.van-divider--center:after,.van-divider--left:after,.van-divider--right:after{content:"";margin-left:var(--divider-content-padding,16px)}.van-divider--left:before{max-width:var(--divider-content-left-width,10%)}.van-divider--right:after{max-width:var(--divider-content-right-width,10%)}
--------------------------------------------------------------------------------
/pages/exchange-coupon/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
26 |
27 |
--------------------------------------------------------------------------------
/pages/mobile-location/index.js:
--------------------------------------------------------------------------------
1 | const WXAPI = require('apifm-wxapi')
2 |
3 | Page({
4 | data: {
5 | mobile: undefined,
6 | queryResult: undefined,
7 | },
8 | onLoad: function (options) {
9 |
10 | },
11 | onShow: function () {
12 |
13 | },
14 | mobileChange(e){
15 | this.setData({
16 | mobile: e.detail.value,
17 | queryResult: null
18 | })
19 | },
20 | query() { // 查询
21 | if (!this.data.mobile){
22 | wx.showToast({
23 | title: '手机号码不能为空',
24 | icon: 'none'
25 | })
26 | return
27 | }
28 | WXAPI.queryMobileLocation(this.data.mobile).then(res => {
29 | console.log(res)
30 | if (res.code == 0) {
31 | wx.showToast({
32 | title: '查询成功',
33 | icon: 'success'
34 | })
35 | this.setData({
36 | queryResult: res.data
37 | })
38 | } else {
39 | wx.showToast({
40 | title: res.msg,
41 | icon: 'none'
42 | })
43 | }
44 | })
45 | }
46 | })
--------------------------------------------------------------------------------
/pages/idcardCheck/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
26 |
27 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/share-sheet/options.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | var __assign = (this && this.__assign) || function () {
3 | __assign = Object.assign || function(t) {
4 | for (var s, i = 1, n = arguments.length; i < n; i++) {
5 | s = arguments[i];
6 | for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7 | t[p] = s[p];
8 | }
9 | return t;
10 | };
11 | return __assign.apply(this, arguments);
12 | };
13 | Object.defineProperty(exports, "__esModule", { value: true });
14 | var component_1 = require("../common/component");
15 | (0, component_1.VantComponent)({
16 | props: {
17 | options: Array,
18 | showBorder: Boolean,
19 | },
20 | methods: {
21 | onSelect: function (event) {
22 | var index = event.currentTarget.dataset.index;
23 | var option = this.data.options[index];
24 | this.$emit('select', __assign(__assign({}, option), { index: index }));
25 | },
26 | },
27 | });
28 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/picker/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 | var array = require('../wxs/array.wxs');
5 |
6 | function columnsStyle(data) {
7 | return style({
8 | height: addUnit(data.itemHeight * data.visibleItemCount),
9 | });
10 | }
11 |
12 | function maskStyle(data) {
13 | return style({
14 | 'background-size':
15 | '100% ' + addUnit((data.itemHeight * (data.visibleItemCount - 1)) / 2),
16 | });
17 | }
18 |
19 | function frameStyle(data) {
20 | return style({
21 | height: addUnit(data.itemHeight),
22 | });
23 | }
24 |
25 | function columns(columns) {
26 | if (!array.isArray(columns)) {
27 | return [];
28 | }
29 |
30 | if (columns.length && !columns[0].values) {
31 | return [{ values: columns }];
32 | }
33 |
34 | return columns;
35 | }
36 |
37 | module.exports = {
38 | columnsStyle: columnsStyle,
39 | frameStyle: frameStyle,
40 | maskStyle: maskStyle,
41 | columns: columns,
42 | };
43 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/progress/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var utils = require('../wxs/utils.wxs');
3 | var style = require('../wxs/style.wxs');
4 |
5 | function pivotText(pivotText, percentage) {
6 | return pivotText || percentage + '%';
7 | }
8 |
9 | function rootStyle(data) {
10 | return style({
11 | 'height': data.strokeWidth ? utils.addUnit(data.strokeWidth) : '',
12 | 'background': data.trackColor,
13 | });
14 | }
15 |
16 | function portionStyle(data) {
17 | return style({
18 | background: data.inactive ? '#cacaca' : data.color,
19 | width: data.percentage ? data.percentage + '%' : '',
20 | });
21 | }
22 |
23 | function pivotStyle(data) {
24 | return style({
25 | color: data.textColor,
26 | right: data.right + 'px',
27 | background: data.pivotColor ? data.pivotColor : data.inactive ? '#cacaca' : data.color,
28 | });
29 | }
30 |
31 | module.exports = {
32 | pivotText: pivotText,
33 | rootStyle: rootStyle,
34 | portionStyle: portionStyle,
35 | pivotStyle: pivotStyle,
36 | };
37 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/icon/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function isImage(name) {
6 | return name.indexOf('/') !== -1;
7 | }
8 |
9 | function rootClass(data) {
10 | var classes = ['custom-class'];
11 |
12 | if (data.classPrefix !== 'van-icon') {
13 | classes.push('van-icon--custom')
14 | }
15 |
16 | if (data.classPrefix != null) {
17 | classes.push(data.classPrefix);
18 | }
19 |
20 | if (isImage(data.name)) {
21 | classes.push('van-icon--image');
22 | } else if (data.classPrefix != null) {
23 | classes.push(data.classPrefix + '-' + data.name);
24 | }
25 |
26 | return classes.join(' ');
27 | }
28 |
29 | function rootStyle(data) {
30 | return style([
31 | {
32 | color: data.color,
33 | 'font-size': addUnit(data.size),
34 | },
35 | data.customStyle,
36 | ]);
37 | }
38 |
39 | module.exports = {
40 | isImage: isImage,
41 | rootClass: rootClass,
42 | rootStyle: rootStyle,
43 | };
44 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/cascader/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-cascader__header{align-items:center;display:flex;height:48px;justify-content:space-between;padding:0 16px}.van-cascader__title{font-size:16px;font-weight:600;line-height:20px}.van-cascader__close-icon{color:#c8c9cc;font-size:22px;height:22px}.van-cascader__tabs-wrap{height:48px!important;padding:0 8px}.van-cascader__tab{color:#323233!important;flex:none!important;font-weight:600!important;padding:0 8px!important}.van-cascader__tab--unselected{color:#969799!important;font-weight:400!important}.van-cascader__option{align-items:center;cursor:pointer;display:flex;font-size:14px;justify-content:space-between;line-height:20px;padding:10px 16px}.van-cascader__option:active{background-color:#f2f3f5}.van-cascader__option--selected{color:#1989fa;font-weight:600}.van-cascader__option--disabled{color:#c8c9cc;cursor:not-allowed}.van-cascader__option--disabled:active{background-color:initial}.van-cascader__options{-webkit-overflow-scrolling:touch;box-sizing:border-box;height:384px;overflow-y:auto;padding-top:6px}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/picker-column/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function isObj(x) {
6 | var type = typeof x;
7 | return x !== null && (type === 'object' || type === 'function');
8 | }
9 |
10 | function optionText(option, valueKey) {
11 | return isObj(option) && option[valueKey] != null ? option[valueKey] : option;
12 | }
13 |
14 | function rootStyle(data) {
15 | return style({
16 | height: addUnit(data.itemHeight * data.visibleItemCount),
17 | });
18 | }
19 |
20 | function wrapperStyle(data) {
21 | var offset = addUnit(
22 | data.offset + (data.itemHeight * (data.visibleItemCount - 1)) / 2
23 | );
24 |
25 | return style({
26 | transition: 'transform ' + data.duration + 'ms',
27 | 'line-height': addUnit(data.itemHeight),
28 | transform: 'translate3d(0, ' + offset + ', 0)',
29 | });
30 | }
31 |
32 | module.exports = {
33 | optionText: optionText,
34 | rootStyle: rootStyle,
35 | wrapperStyle: wrapperStyle,
36 | };
37 |
--------------------------------------------------------------------------------
/pages/cmsCategory/index.js:
--------------------------------------------------------------------------------
1 | const WXAPI = require('apifm-wxapi')
2 |
3 | Page({
4 | data: {
5 |
6 | },
7 | onLoad: function (options) {
8 |
9 | },
10 | onShow: function () {
11 |
12 | },
13 | cmsCategories() { // 读取所有的分类数据
14 | WXAPI.cmsCategories().then(res => {
15 | console.log(res)
16 | if (res.code == 0) {
17 | wx.showToast({
18 | title: '读取成功',
19 | icon: 'success'
20 | })
21 | } else {
22 | wx.showToast({
23 | title: res.msg,
24 | icon: 'none'
25 | })
26 | }
27 | })
28 | },
29 | cmsCategoryDetail() { // 读取某个分类的详情数据
30 | const cmsCategoryId = 3189 // 记录中的记录ID
31 | WXAPI.cmsCategoryDetail(cmsCategoryId).then(res => {
32 | console.log(res)
33 | if (res.code == 0) {
34 | wx.showToast({
35 | title: '读取成功',
36 | icon: 'success'
37 | })
38 | } else {
39 | wx.showToast({
40 | title: res.msg,
41 | icon: 'none'
42 | })
43 | }
44 | })
45 | },
46 | })
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/toast/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-toast{word-wrap:break-word;align-items:center;background-color:var(--toast-background-color,rgba(0,0,0,.7));border-radius:var(--toast-border-radius,8px);box-sizing:initial;color:var(--toast-text-color,#fff);display:flex;flex-direction:column;font-size:var(--toast-font-size,14px);justify-content:center;line-height:var(--toast-line-height,20px);white-space:pre-wrap}.van-toast__container{left:50%;max-width:var(--toast-max-width,70%);position:fixed;top:50%;transform:translate(-50%,-50%);width:-webkit-fit-content;width:fit-content}.van-toast--text{min-width:var(--toast-text-min-width,96px);padding:var(--toast-text-padding,8px 12px)}.van-toast--icon{min-height:var(--toast-default-min-height,88px);padding:var(--toast-default-padding,16px);width:var(--toast-default-width,88px)}.van-toast--icon .van-toast__icon{font-size:var(--toast-icon-size,36px)}.van-toast--icon .van-toast__text{padding-top:8px}.van-toast__loading{margin:10px 0}.van-toast--top{transform:translateY(-30vh)}.van-toast--bottom{transform:translateY(30vh)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/wxs/style.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var object = require('./object.wxs');
3 | var array = require('./array.wxs');
4 |
5 | function kebabCase(word) {
6 | var newWord = word
7 | .replace(getRegExp("[A-Z]", 'g'), function (i) {
8 | return '-' + i;
9 | })
10 | .toLowerCase()
11 |
12 | return newWord;
13 | }
14 |
15 | function style(styles) {
16 | if (array.isArray(styles)) {
17 | return styles
18 | .filter(function (item) {
19 | return item != null && item !== '';
20 | })
21 | .map(function (item) {
22 | return style(item);
23 | })
24 | .join(';');
25 | }
26 |
27 | if ('Object' === styles.constructor) {
28 | return object
29 | .keys(styles)
30 | .filter(function (key) {
31 | return styles[key] != null && styles[key] !== '';
32 | })
33 | .map(function (key) {
34 | return [kebabCase(key), [styles[key]]].join(':');
35 | })
36 | .join(';');
37 | }
38 |
39 | return styles;
40 | }
41 |
42 | module.exports = style;
43 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/steps/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | var component_1 = require("../common/component");
4 | var color_1 = require("../common/color");
5 | (0, component_1.VantComponent)({
6 | classes: ['desc-class'],
7 | props: {
8 | icon: String,
9 | steps: Array,
10 | active: Number,
11 | direction: {
12 | type: String,
13 | value: 'horizontal',
14 | },
15 | activeColor: {
16 | type: String,
17 | value: color_1.GREEN,
18 | },
19 | inactiveColor: {
20 | type: String,
21 | value: color_1.GRAY_DARK,
22 | },
23 | activeIcon: {
24 | type: String,
25 | value: 'checked',
26 | },
27 | inactiveIcon: String,
28 | },
29 | methods: {
30 | onClick: function (event) {
31 | var index = event.currentTarget.dataset.index;
32 | this.$emit('click-step', index);
33 | },
34 | },
35 | });
36 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sidebar-item/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-sidebar-item{background-color:var(--sidebar-background-color,#f7f8fa);border-left:3px solid transparent;box-sizing:border-box;color:var(--sidebar-text-color,#323233);display:block;font-size:var(--sidebar-font-size,14px);line-height:var(--sidebar-line-height,20px);overflow:hidden;padding:var(--sidebar-padding,20px 12px 20px 8px);-webkit-user-select:none;user-select:none}.van-sidebar-item__text{display:inline-block;position:relative;word-break:break-all}.van-sidebar-item--hover:not(.van-sidebar-item--disabled){background-color:var(--sidebar-active-color,#f2f3f5)}.van-sidebar-item:after{border-bottom-width:1px}.van-sidebar-item--selected{border-color:var(--sidebar-selected-border-color,#ee0a24);color:var(--sidebar-selected-text-color,#323233);font-weight:var(--sidebar-selected-font-weight,500)}.van-sidebar-item--selected:after{border-right-width:1px}.van-sidebar-item--selected,.van-sidebar-item--selected.van-sidebar-item--hover{background-color:var(--sidebar-selected-background-color,#fff)}.van-sidebar-item--disabled{color:var(--sidebar-disabled-text-color,#c8c9cc)}
--------------------------------------------------------------------------------
/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 | // high performance setData
14 | setView: function (data, callback) {
15 | var _this = this;
16 | var target = {};
17 | var hasChange = false;
18 | Object.keys(data).forEach(function (key) {
19 | if (data[key] !== _this.data[key]) {
20 | target[key] = data[key];
21 | hasChange = true;
22 | }
23 | });
24 | if (hasChange) {
25 | return this.setData(target, callback);
26 | }
27 | return callback && callback();
28 | },
29 | },
30 | });
31 |
--------------------------------------------------------------------------------
/style/widget/weui-cell/weui-gallery.wxss:
--------------------------------------------------------------------------------
1 | /*!
2 | * WeUI v2.0.0 (https://github.com/weui/weui-wxss)
3 | * Copyright 2019 Tencent, Inc.
4 | * Licensed under the MIT license
5 | */
6 | .weui-gallery{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#000;z-index:1000;-webkit-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-flex-wrap:nowrap;flex-wrap:nowrap;opacity:0;visibility:hidden;-webkit-transition:opacity .3s;transition:opacity .3s}.weui-gallery_show{display:-webkit-box;display:-webkit-flex;display:flex;visibility:visible;opacity:1}.weui-gallery__img__wrp{-webkit-box-flex:1;-webkit-flex:1;flex:1;position:relative;font-size:0}.weui-gallery__img{background:50% no-repeat;background-size:contain;position:absoulte;width:100%;height:100%}.weui-gallery__opr{background-color:#0d0d0d;color:#fff;line-height:60px;min-height:60px;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);text-align:center}.weui-gallery__opr navigator{color:#fff}.weui-gallery__del{display:block}.weui-gallery__info{color:#fff;font-size:17px;line-height:60px;min-height:60px;text-align:center}
--------------------------------------------------------------------------------