├── miniprogram_npm
├── @vant
│ └── weapp
│ │ ├── common
│ │ ├── style
│ │ │ ├── var.wxss
│ │ │ ├── mixins
│ │ │ │ ├── clearfix.wxss
│ │ │ │ ├── ellipsis.wxss
│ │ │ │ └── hairline.wxss
│ │ │ ├── clearfix.wxss
│ │ │ ├── ellipsis.wxss
│ │ │ └── hairline.wxss
│ │ ├── color.d.ts
│ │ ├── version.d.ts
│ │ ├── component.d.ts
│ │ ├── color.js
│ │ ├── relation.d.ts
│ │ ├── validator.d.ts
│ │ └── index.wxss
│ │ ├── 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
│ │ └── index.js
│ │ ├── 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
│ │ ├── index.wxml
│ │ ├── utils.d.ts
│ │ ├── index.wxs
│ │ └── index.wxss
│ │ ├── checkbox
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxs
│ │ └── index.wxml
│ │ ├── circle
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── canvas.d.ts
│ │ └── 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
│ │ ├── index.json
│ │ ├── props.d.ts
│ │ ├── index.wxs
│ │ ├── input.wxml
│ │ └── textarea.wxml
│ │ ├── grid-item
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxs
│ │ └── index.wxml
│ │ ├── image
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxs
│ │ ├── index.wxss
│ │ └── index.wxml
│ │ ├── 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
│ │ └── index.wxss
│ │ ├── notify
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxs
│ │ ├── index.wxss
│ │ ├── notify.d.ts
│ │ └── index.wxml
│ │ ├── overlay
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── index.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
│ │ ├── 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
│ │ ├── index.wxss
│ │ └── index.js
│ │ ├── tabbar
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxss
│ │ └── index.wxml
│ │ ├── toast
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.js
│ │ ├── index.wxss
│ │ └── index.wxml
│ │ ├── uploader
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxs
│ │ ├── shared.d.ts
│ │ ├── utils.d.ts
│ │ └── shared.js
│ │ ├── 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
│ │ └── index.wxml
│ │ ├── 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
│ │ ├── index.wxss
│ │ └── index.wxml
│ │ ├── 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
│ │ └── index.js
│ │ ├── 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
│ │ ├── index.wxml
│ │ └── index.wxss
│ │ ├── goods-action-icon
│ │ ├── index.d.ts
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── index.js
│ │ └── index.wxml
│ │ ├── mixins
│ │ ├── link.d.ts
│ │ ├── basic.d.ts
│ │ ├── button.d.ts
│ │ ├── touch.d.ts
│ │ ├── transition.d.ts
│ │ ├── page-scroll.d.ts
│ │ ├── basic.js
│ │ └── link.js
│ │ ├── definitions
│ │ ├── index.js
│ │ └── index.d.ts
│ │ └── wxs
│ │ ├── array.wxs
│ │ ├── utils.wxs
│ │ ├── add-unit.wxs
│ │ ├── object.wxs
│ │ ├── bem.wxs
│ │ ├── style.wxs
│ │ └── memoize.wxs
├── wxa-plugin-canvas
│ ├── poster
│ │ ├── index.wxss
│ │ ├── index.json
│ │ ├── index.wxml
│ │ └── poster.js
│ ├── index
│ │ ├── index.json
│ │ ├── index.wxml
│ │ └── index.wxss
│ └── .DS_Store
├── mp-html
│ ├── index.json
│ ├── node
│ │ ├── node.json
│ │ └── node.wxss
│ ├── index.wxss
│ └── index.wxml
└── .DS_Store
├── pages
├── mine
│ ├── index.json
│ ├── serve
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── index.wxml
│ │ └── index.js
│ ├── faq
│ │ ├── index.json
│ │ └── index.js
│ ├── suggest
│ │ ├── index.json
│ │ └── index.wxss
│ ├── feedback
│ │ ├── index.json
│ │ └── index.wxss
│ └── submitContent
│ │ ├── index.json
│ │ └── index.wxss
├── collect
│ ├── index.wxss
│ ├── index.json
│ └── index.wxml
├── about
│ ├── index.json
│ ├── index.wxss
│ ├── index.wxml
│ └── index.js
├── components
│ ├── contents
│ │ ├── controls.js
│ │ ├── contents.json
│ │ └── ancestor.json
│ ├── toast
│ │ ├── toast.wxss
│ │ ├── toast.json
│ │ ├── toast.js
│ │ └── toast.wxml
│ ├── navigationBar
│ │ ├── index.wxss
│ │ ├── index.json
│ │ ├── index.js
│ │ └── index.wxml
│ ├── cos2d
│ │ ├── cos2d.json
│ │ ├── cos2d.wxss
│ │ ├── cos2d.js
│ │ └── cos2d.wxml
│ ├── loading
│ │ ├── loading.json
│ │ ├── loading.js
│ │ ├── loading.wxml
│ │ └── loading.wxss
│ ├── popover
│ │ ├── popover.json
│ │ ├── popover-item.json
│ │ ├── popover-item.wxml
│ │ ├── popover.wxml
│ │ ├── popover-item.wxss
│ │ ├── popover-item.js
│ │ └── popover.wxss
│ ├── tab-swiper
│ │ ├── index.json
│ │ ├── index.wxss
│ │ ├── index.wxml
│ │ └── index.js
│ └── searchview
│ │ └── searchview.json
├── other
│ ├── shareme
│ │ ├── index.json
│ │ ├── index.js
│ │ └── index.wxml
│ └── sharedpic
│ │ ├── index.json
│ │ └── index.wxss
├── .DS_Store
├── images
│ ├── faq.png
│ ├── home.png
│ ├── mine.png
│ ├── save.png
│ ├── 22222.png
│ ├── m_save.png
│ ├── share.jpg
│ ├── share.png
│ ├── collect.png
│ ├── d_error.png
│ ├── d_succeed.png
│ ├── discover.png
│ ├── exemption.png
│ ├── img_blank.png
│ ├── m_share.png
│ ├── playvideo.png
│ ├── service.png
│ ├── subscribe.png
│ ├── suggest.png
│ ├── home_share.png
│ ├── img_refresh.png
│ ├── defaultAvatar.png
│ ├── home_selected.png
│ ├── mine_selected.png
│ ├── customer_service.png
│ ├── img_dialog_close.png
│ └── discover_selected.png
├── discover
│ ├── index.json
│ ├── index.wxml
│ ├── index.wxss
│ └── index.js
├── details
│ ├── index.json
│ ├── index.wxml
│ └── index.wxss
├── search
│ ├── index.wxss
│ └── index.json
└── index
│ └── index.json
├── .DS_Store
├── images
├── .DS_Store
└── default.png
├── sitemap.json
├── app.wxss
└── config.js
/miniprogram_npm/@vant/weapp/common/style/var.wxss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/miniprogram_npm/wxa-plugin-canvas/poster/index.wxss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/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/mine/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/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/collect/index.wxss:
--------------------------------------------------------------------------------
1 | /* pages/mine/collect/index.wxss */
--------------------------------------------------------------------------------
/pages/mine/serve/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {}
3 | }
--------------------------------------------------------------------------------
/pages/mine/serve/index.wxss:
--------------------------------------------------------------------------------
1 | /* pages/mine/serve/index.wxss */
--------------------------------------------------------------------------------
/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/about/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": ""
3 | }
--------------------------------------------------------------------------------
/pages/components/contents/controls.js:
--------------------------------------------------------------------------------
1 | module.exports = Behavior({});
--------------------------------------------------------------------------------
/pages/other/shareme/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {}
3 | }
--------------------------------------------------------------------------------
/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/.DS_Store
--------------------------------------------------------------------------------
/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/components/toast/toast.wxss:
--------------------------------------------------------------------------------
1 | /* pages/components/toast/toast.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 |
--------------------------------------------------------------------------------
/images/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/images/.DS_Store
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/miniprogram_npm/wxa-plugin-canvas/index/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true
3 | }
--------------------------------------------------------------------------------
/pages/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/.DS_Store
--------------------------------------------------------------------------------
/images/default.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/images/default.png
--------------------------------------------------------------------------------
/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/components/navigationBar/index.wxss:
--------------------------------------------------------------------------------
1 | /* pages/components/navigationBar/index.wxss */
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/miniprogram_npm/mp-html/index.json:
--------------------------------------------------------------------------------
1 | {"component":true,"usingComponents":{"node":"./node/node"}}
--------------------------------------------------------------------------------
/miniprogram_npm/mp-html/node/node.json:
--------------------------------------------------------------------------------
1 | {"component":true,"usingComponents":{"node":"./node"}}
--------------------------------------------------------------------------------
/pages/components/cos2d/cos2d.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {}
4 | }
--------------------------------------------------------------------------------
/pages/components/toast/toast.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {}
4 | }
--------------------------------------------------------------------------------
/pages/images/faq.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/faq.png
--------------------------------------------------------------------------------
/pages/images/home.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/home.png
--------------------------------------------------------------------------------
/pages/images/mine.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/mine.png
--------------------------------------------------------------------------------
/pages/images/save.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/save.png
--------------------------------------------------------------------------------
/pages/components/loading/loading.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {}
4 | }
--------------------------------------------------------------------------------
/pages/components/popover/popover.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {}
4 | }
--------------------------------------------------------------------------------
/pages/components/tab-swiper/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {}
4 | }
--------------------------------------------------------------------------------
/pages/images/22222.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/22222.png
--------------------------------------------------------------------------------
/pages/images/m_save.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/m_save.png
--------------------------------------------------------------------------------
/pages/images/share.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/share.jpg
--------------------------------------------------------------------------------
/pages/images/share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/share.png
--------------------------------------------------------------------------------
/miniprogram_npm/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/miniprogram_npm/.DS_Store
--------------------------------------------------------------------------------
/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/components/navigationBar/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {}
4 | }
--------------------------------------------------------------------------------
/pages/components/popover/popover-item.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {}
4 | }
--------------------------------------------------------------------------------
/pages/components/searchview/searchview.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {}
4 | }
--------------------------------------------------------------------------------
/pages/images/collect.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/collect.png
--------------------------------------------------------------------------------
/pages/images/d_error.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/d_error.png
--------------------------------------------------------------------------------
/pages/images/d_succeed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/d_succeed.png
--------------------------------------------------------------------------------
/pages/images/discover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/discover.png
--------------------------------------------------------------------------------
/pages/images/exemption.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/exemption.png
--------------------------------------------------------------------------------
/pages/images/img_blank.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/img_blank.png
--------------------------------------------------------------------------------
/pages/images/m_share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/m_share.png
--------------------------------------------------------------------------------
/pages/images/playvideo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/playvideo.png
--------------------------------------------------------------------------------
/pages/images/service.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/service.png
--------------------------------------------------------------------------------
/pages/images/subscribe.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/subscribe.png
--------------------------------------------------------------------------------
/pages/images/suggest.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/suggest.png
--------------------------------------------------------------------------------
/pages/mine/faq/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationBarTitleText": "常见问题",
3 | "usingComponents": {}
4 | }
--------------------------------------------------------------------------------
/pages/about/index.wxss:
--------------------------------------------------------------------------------
1 | .content {
2 | padding: 32rpx;
3 | color: #333;
4 | line-height: 64rpx;
5 | }
--------------------------------------------------------------------------------
/pages/components/contents/contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | }
5 | }
--------------------------------------------------------------------------------
/pages/images/home_share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/home_share.png
--------------------------------------------------------------------------------
/pages/images/img_refresh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/img_refresh.png
--------------------------------------------------------------------------------
/pages/mine/suggest/index.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/discover/index.json:
--------------------------------------------------------------------------------
1 | {
2 |
3 | "backgroundColor": "#f1f1f1",
4 | "usingComponents": {
5 | }
6 | }
--------------------------------------------------------------------------------
/pages/images/defaultAvatar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/defaultAvatar.png
--------------------------------------------------------------------------------
/pages/images/home_selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/home_selected.png
--------------------------------------------------------------------------------
/pages/images/mine_selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/mine_selected.png
--------------------------------------------------------------------------------
/pages/mine/feedback/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "提交素材反馈"
4 | }
--------------------------------------------------------------------------------
/pages/mine/feedback/index.wxss:
--------------------------------------------------------------------------------
1 | page{
2 | background-color: #f6f9f8;
3 | }
4 | button::after{border-width:0}
--------------------------------------------------------------------------------
/pages/mine/suggest/index.wxss:
--------------------------------------------------------------------------------
1 | page{
2 | background-color: #f6f9f8;
3 | }
4 | button::after{border-width:0}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sidebar/index.wxml:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/pages/images/customer_service.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/customer_service.png
--------------------------------------------------------------------------------
/pages/images/img_dialog_close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/img_dialog_close.png
--------------------------------------------------------------------------------
/pages/mine/submitContent/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarTitleText": "素材申请收录"
4 | }
--------------------------------------------------------------------------------
/pages/mine/submitContent/index.wxss:
--------------------------------------------------------------------------------
1 | page{
2 | background-color: #f6f9f8;
3 | }
4 | button::after{border-width:0}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sidebar/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-sidebar{width:var(--sidebar-width,80px)}
--------------------------------------------------------------------------------
/pages/images/discover_selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/pages/images/discover_selected.png
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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}
--------------------------------------------------------------------------------
/miniprogram_npm/wxa-plugin-canvas/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gooking/moments/HEAD/miniprogram_npm/wxa-plugin-canvas/.DS_Store
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/grid/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-grid{box-sizing:border-box;overflow:hidden;position:relative}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/checkbox-group/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-checkbox-group--horizontal{display:flex;flex-wrap:wrap}
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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/components/loading/loading.js:
--------------------------------------------------------------------------------
1 | Component({
2 | properties: {
3 | show:{
4 | type:Boolean,
5 | value:false
6 | }
7 | },
8 | })
9 |
--------------------------------------------------------------------------------
/pages/other/sharedpic/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {},
3 | "navigationBarBackgroundColor": "#f5f5f5",
4 | "navigationBarTitleText": "分享"
5 | }
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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/wxa-plugin-canvas/poster/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "we-canvas": "../index/index"
5 | }
6 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/goods-action-button/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-button": "../button/index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/wxs/array.wxs:
--------------------------------------------------------------------------------
1 | function isArray(array) {
2 | return array && array.constructor === 'Array';
3 | }
4 |
5 | module.exports.isArray = isArray;
6 |
--------------------------------------------------------------------------------
/miniprogram_npm/mp-html/index.wxss:
--------------------------------------------------------------------------------
1 | ._root{padding:1px 0;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}._select{-webkit-user-select:text;user-select:text}
--------------------------------------------------------------------------------
/pages/mine/serve/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/count-down/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{ formattedTime }}
4 |
5 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/miniprogram_npm/wxa-plugin-canvas/poster/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/pages/about/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/button/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-loading": "../loading/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/image/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-loading": "../loading/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/popup/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-overlay": "../overlay/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/submit-bar/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-button": "../button/index",
5 | "van-icon": "../icon/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tabbar-item/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-info": "../info/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/uploader/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "van-icon": "../icon/index",
5 | "van-loading": "../loading/index"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/pages/components/contents/ancestor.json:
--------------------------------------------------------------------------------
1 | {
2 | "component": true,
3 | "usingComponents": {
4 | "popover": "../popover/popover",
5 | "popover-item": "../popover/popover-item"
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/details/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {
3 | "contents":"../components/contents/contents",
4 | "ancestor":"../components/contents/ancestor",
5 | "toast":"../components/toast/toast"
6 | }
7 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/goods-action/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/pages/search/index.wxss:
--------------------------------------------------------------------------------
1 | .result_class {
2 | background-color: #fff;
3 | }
4 |
5 | .result_class,.tab-content {
6 | height: 100%;
7 | width: 100%;
8 | }
9 |
10 | .refresh_class {
11 | margin-top: 50rpx;
12 | }
--------------------------------------------------------------------------------
/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/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 |
--------------------------------------------------------------------------------
/app.wxss:
--------------------------------------------------------------------------------
1 | /**app.wxss**/
2 | .container {
3 | height: 100%;
4 | display: flex;
5 | flex-direction: column;
6 | align-items: center;
7 | justify-content: space-between;
8 | padding: 200rpx 0;
9 | box-sizing: border-box;
10 | }
11 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/miniprogram_npm/wxa-plugin-canvas/index/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/pages/collect/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {
3 | "ancestor":"../components/contents/ancestor",
4 | "contents":"../components/contents/contents",
5 | "toast":"../components/toast/toast"
6 | },
7 | "navigationBarTitleText": "我的收藏"
8 | }
--------------------------------------------------------------------------------
/pages/components/popover/popover-item.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/miniprogram_npm/mp-html/index.wxml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/pages/mine/serve/index.js:
--------------------------------------------------------------------------------
1 |
2 | Page({
3 | data: {
4 |
5 | },
6 | onLoad: function (e) {
7 | console.log('跳转到',e)
8 | this.setData({
9 | url: e.url
10 | });
11 | },
12 |
13 | onReady: function () {
14 |
15 | },
16 |
17 | })
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/circle/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-circle{display:inline-block;position:relative;text-align:center}.van-circle__text{color:var(--circle-text-color,#323233);left:0;position:absolute;top:50%;transform:translateY(-50%);width:100%}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/grid/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/circle/canvas.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | declare type CanvasContext = WechatMiniprogram.CanvasContext;
3 | export declare function adaptor(ctx: CanvasContext & Record): CanvasContext;
4 | export {};
5 |
--------------------------------------------------------------------------------
/config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | version: '2.0.0', // 版本号
3 | note: '无法弹出广告的bug', // 这个为版本描述,无需修改
4 | subDomain: 'penyouquan', // 此处改成你自己的专属域名。什么是专属域名?请看教程 https://www.it120.cc/help/qr6l4m.html
5 | merchantId: 70, // 商户ID,这个必须填写正确
6 | initSaveTimes: 9999, // 最多免费可以保存多少次
7 | }
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/panel/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-panel{background:var(--panel-background-color,#fff)}.van-panel__header-value{color:var(--panel-header-value-color,#ee0a24)}.van-panel__footer{padding:var(--panel-footer-padding,8px 16px)}.van-panel__footer:empty{display:none}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tab/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/wxs/utils.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var bem = require('./bem.wxs');
3 | var memoize = require('./memoize.wxs');
4 | var addUnit = require('./add-unit.wxs');
5 |
6 | module.exports = {
7 | bem: memoize(bem),
8 | memoize: memoize,
9 | addUnit: addUnit
10 | };
11 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/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)}
--------------------------------------------------------------------------------
/pages/search/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "usingComponents": {
3 | "ancestor":"../components/contents/ancestor",
4 | "contents":"../components/contents/contents",
5 | "searchview":"../components/searchview/searchview",
6 | "loading":"../components/loading/loading",
7 | "toast":"../components/toast/toast"
8 | }
9 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/wxs/add-unit.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var REGEXP = getRegExp('^-?\d+(\.\d+)?$');
3 |
4 | function addUnit(value) {
5 | if (value == null) {
6 | return undefined;
7 | }
8 |
9 | return REGEXP.test('' + value) ? value + 'px' : value;
10 | }
11 |
12 | module.exports = addUnit;
13 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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/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 |
--------------------------------------------------------------------------------
/pages/components/popover/popover.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/nav-bar/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 |
4 | function barStyle(data) {
5 | return style({
6 | 'z-index': data.zIndex,
7 | 'padding-top': data.safeAreaInsetTop ? data.statusBarHeight + 'px' : 0,
8 | });
9 | }
10 |
11 | module.exports = {
12 | barStyle: barStyle,
13 | };
14 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/divider/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/miniprogram_npm/wxa-plugin-canvas/index/index.wxss:
--------------------------------------------------------------------------------
1 | .canvas {
2 | width: 750rpx;
3 | height: 750rpx;
4 | }
5 | .canvas.pro {
6 | position: absolute;
7 | bottom: 0;
8 | left: 0;
9 | transform: translate3d(-9999rpx, 0, 0);
10 | }
11 | .canvas.debug {
12 | position: absolute;
13 | bottom: 0;
14 | left: 0;
15 | border: 1rpx solid #ccc;
16 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/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 |
--------------------------------------------------------------------------------
/pages/components/popover/popover-item.wxss:
--------------------------------------------------------------------------------
1 | .popover-item {
2 | color: #fff;
3 | font-size: 14px;
4 | overflow: hidden;
5 | text-align: center;
6 | text-overflow: ellipsis;
7 | white-space: nowrap;
8 | width: 100%;
9 | }
10 |
11 | .popover-item-hover {
12 | background-color: #525252;
13 | border-radius: 5px;
14 | }
15 |
16 | .underline {
17 | border-right: 1px solid #6b6b6e;
18 | }
--------------------------------------------------------------------------------
/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/components/navigationBar/index.js:
--------------------------------------------------------------------------------
1 | // pages/components/navigationBar/index.js
2 | Component({
3 | properties: {
4 | m: {
5 | type: Object,
6 | value: {}
7 | },
8 | s: {
9 | type: Object,
10 | value: {}
11 | },
12 | title: {
13 | type: String,
14 | value: '标题'
15 | }
16 | },
17 | data: {
18 |
19 | },
20 | methods: {
21 |
22 | }
23 | })
--------------------------------------------------------------------------------
/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/notice-bar/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function rootStyle(data) {
6 | return style({
7 | color: data.color,
8 | 'background-color': data.backgroundColor,
9 | background: data.background,
10 | });
11 | }
12 |
13 | module.exports = {
14 | rootStyle: rootStyle,
15 | };
16 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/sticky/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tabbar/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/mixins/page-scroll.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 | declare type IPageScrollOption = WechatMiniprogram.Page.IPageScrollOption;
4 | declare type Scroller = (this: WechatMiniprogram.Component.TrivialInstance, event?: IPageScrollOption) => void;
5 | export declare const pageScrollMixin: (scroller: Scroller) => string;
6 | export {};
7 |
--------------------------------------------------------------------------------
/pages/components/tab-swiper/index.wxss:
--------------------------------------------------------------------------------
1 | .weui-tabs {
2 | width: 100%;
3 | }
4 |
5 | .weui-tabs-bar__wrp {
6 | background: #fff;
7 | width: 100%;
8 | }
9 |
10 | .weui-tabs-bar__content {
11 | white-space: nowrap;
12 | width: 100%;
13 | }
14 |
15 | .weui-tabs-bar__item {
16 | display: inline-block;
17 | }
18 |
19 | .weui-tabs-bar__title {
20 | border-bottom: 2px solid transparent;
21 | display: inline-block;
22 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/common/version.d.ts:
--------------------------------------------------------------------------------
1 | export declare function canIUseModel(): boolean;
2 | export declare function canIUseFormFieldButton(): boolean;
3 | export declare function canIUseAnimate(): boolean;
4 | export declare function canIUseGroupSetData(): boolean;
5 | export declare function canIUseNextTick(): boolean;
6 | export declare function canIUseCanvas2d(): boolean;
7 | export declare function canIUseGetUserProfile(): boolean;
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/index-anchor/index.wxml:
--------------------------------------------------------------------------------
1 |
5 |
9 |
10 |
11 | {{ index }}
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/pages/components/toast/toast.js:
--------------------------------------------------------------------------------
1 |
2 | Component({
3 | properties: {
4 | show:{
5 | type:Boolean,
6 | value:false
7 | }
8 | },
9 |
10 | methods: {
11 | close:function(){
12 | this.setData({
13 | show:false
14 | })
15 | },
16 | playvideo:function(){
17 | this.setData({
18 | show:false
19 | })
20 | this.triggerEvent('playvideo',{})
21 | }
22 | }
23 | })
24 |
--------------------------------------------------------------------------------
/pages/index/index.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationStyle": "custom",
3 | "disableScroll":true,
4 | "usingComponents": {
5 | "navigationBar":"../components/navigationBar/index",
6 | "tab-swiper":"../components/tab-swiper/index",
7 | "contents":"../components/contents/contents",
8 | "ancestor":"../components/contents/ancestor",
9 | "loading":"../components/loading/loading",
10 | "toast":"../components/toast/toast"
11 | }
12 | }
--------------------------------------------------------------------------------
/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/count-down/utils.d.ts:
--------------------------------------------------------------------------------
1 | export declare type TimeData = {
2 | days: number;
3 | hours: number;
4 | minutes: number;
5 | seconds: number;
6 | milliseconds: number;
7 | };
8 | export declare function parseTimeData(time: number): TimeData;
9 | export declare function parseFormat(format: string, timeData: TimeData): string;
10 | export declare function isSameSecond(time1: number, time2: number): boolean;
11 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/pages/components/tab-swiper/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/index-bar/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-index-bar{position:relative}.van-index-bar__sidebar{display:flex;flex-direction:column;position:fixed;right:0;text-align:center;top:50%;transform:translateY(-50%);-webkit-user-select:none;user-select:none}.van-index-bar__index{font-size:var(--index-bar-index-font-size,10px);font-weight:500;line-height:var(--index-bar-index-line-height,14px);padding:0 var(--padding-base,4px) 0 var(--padding-md,16px)}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/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}
--------------------------------------------------------------------------------
/pages/mine/faq/index.js:
--------------------------------------------------------------------------------
1 | Page({
2 | data: {
3 | appid: "XXXXXXXXXXX"
4 | },
5 | onLoad: function(t) {},
6 | onReady: function() {},
7 | onShareAppMessage: function() {
8 | return {
9 | title: "常见问题"
10 | };
11 | },
12 | kefu() {
13 | wx.openCustomerServiceChat({
14 | extInfo: {url: wx.getStorageSync('kefu_url')},
15 | corpId: wx.getStorageSync('kefu_corpId'),
16 | success(res) {}
17 | })
18 | },
19 | });
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/pages/other/shareme/index.js:
--------------------------------------------------------------------------------
1 | // pages/sharepic/index.js
2 | Page({
3 |
4 | /**
5 | * 页面的初始数据
6 | */
7 | data: {
8 |
9 | },
10 |
11 | onLoad: function (options) {
12 |
13 | },
14 | picLoad(){
15 | this.setData({
16 | picRate:true
17 | })
18 | },
19 | onShareAppMessage: function (t) {
20 | return {
21 | title: '发图效率神器', // 默认是小程序的名称(可以写slogan等)
22 | path: '/pages/index/index',
23 | imageUrl: ''
24 | }
25 | },
26 | })
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/pages/components/cos2d/cos2d.wxss:
--------------------------------------------------------------------------------
1 | @keyframes scale {
2 | 0% {
3 | scale: 0.97;
4 | }
5 | 50% {
6 | scale: 1;
7 | }
8 | 100% {
9 | scale: 0.97;
10 | }
11 | }
12 |
13 | @-webkit-keyframes scale {
14 | 0% {
15 | scale: 0.96;
16 | }
17 | 50% {
18 | scale: 1;
19 | }
20 | 100% {
21 | scale: 0.96;
22 | }
23 | }
24 |
25 | .animation {
26 | animation: 1.8s linear 0s infinite scale;
27 | -webkit-animation: 1.8s linear 0s infinite scale;
28 | }
29 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/pages/components/loading/loading.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/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/mixins/basic.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | exports.basic = void 0;
4 | exports.basic = Behavior({
5 | methods: {
6 | $emit: function (name, detail, options) {
7 | this.triggerEvent(name, detail, options);
8 | },
9 | set: function (data) {
10 | this.setData(data);
11 | return new Promise(function (resolve) { return wx.nextTick(resolve); });
12 | },
13 | },
14 | });
15 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/pages/other/sharedpic/index.wxss:
--------------------------------------------------------------------------------
1 | page {
2 | background-color: #f5f5f5;
3 | }
4 |
5 | .btn_class {
6 | background-color: #fff;
7 | border-top: 1px solid #eee;
8 | bottom: 0rpx;
9 | left: 0rpx;
10 | position: fixed;
11 | right: 0rpx;
12 | }
13 |
14 | .button {
15 | border-radius: 5rpx;
16 | background-color: #1aaa19!important;
17 | color: #fff;
18 | font-size: 34rpx;
19 | font-weight: 400;
20 | margin: 20rpx!important;
21 | width: 96vw!important;
22 | }
23 |
24 |
25 | .button-hover{
26 | background: #179b16!important;
27 | }
--------------------------------------------------------------------------------
/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/components/navigationBar/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {{title}}
6 |
7 |
8 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/stepper/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function buttonStyle(data) {
6 | return style({
7 | width: addUnit(data.buttonSize),
8 | height: addUnit(data.buttonSize),
9 | });
10 | }
11 |
12 | function inputStyle(data) {
13 | return style({
14 | width: addUnit(data.inputWidth),
15 | height: addUnit(data.buttonSize),
16 | });
17 | }
18 |
19 | module.exports = {
20 | buttonStyle: buttonStyle,
21 | inputStyle: inputStyle,
22 | };
23 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/datetime-picker/index.wxml:
--------------------------------------------------------------------------------
1 |
17 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/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/icon/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
14 |
20 |
21 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/panel/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
19 |
20 |
--------------------------------------------------------------------------------
/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/overlay/index.wxml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/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/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 |
--------------------------------------------------------------------------------
/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 | props: {
6 | dot: Boolean,
7 | info: null,
8 | size: null,
9 | color: String,
10 | customStyle: String,
11 | classPrefix: {
12 | type: String,
13 | value: 'van-icon',
14 | },
15 | name: String,
16 | },
17 | methods: {
18 | onClick: function () {
19 | this.$emit('click');
20 | },
21 | },
22 | });
23 |
--------------------------------------------------------------------------------
/pages/components/popover/popover-item.js:
--------------------------------------------------------------------------------
1 | Component({
2 | relations: {
3 | "./popover": {
4 | type: "parent"
5 | }
6 | },
7 | properties: {
8 | hasline: {
9 | type: Boolean,
10 | value: !1
11 | }
12 | },
13 | data: {
14 | height: 35,
15 | width: 62
16 | },
17 | methods: {
18 | onClick: function() {
19 | var e = {
20 | index: this.properties.index
21 | };
22 | this.triggerEvent("tap", e, {});
23 | },
24 | onHideCopy: function() {
25 | this.setData({"item.textSelected": !1});
26 | },
27 | }
28 | });
--------------------------------------------------------------------------------
/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)}
--------------------------------------------------------------------------------
/pages/discover/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | {{item.title}}
10 | {{item.remark}}
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/pages/details/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
6 |
7 |
8 |
9 |
12 |
13 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/switch/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/index-bar/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
22 |
23 |
--------------------------------------------------------------------------------
/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 | }
20 | export default Notify;
21 |
--------------------------------------------------------------------------------
/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:1em}.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 |
--------------------------------------------------------------------------------
/pages/about/index.js:
--------------------------------------------------------------------------------
1 | const WXAPI = require('apifm-wxapi')
2 | Page({
3 | data: {
4 |
5 | },
6 | onLoad: function (options) {
7 | if (!options.key) {
8 | options.key = 'aboutus'
9 | }
10 | this.data.key = options.key
11 | this.cmsPage()
12 | },
13 | onShow: function () {
14 |
15 | },
16 | async cmsPage() {
17 | // https://www.yuque.com/apifm/nu0f75/utgp8i
18 | const res = await WXAPI.cmsPage(this.data.key)
19 | if (res.code == 0) {
20 | this.setData({
21 | cmsPageDetail: res.data
22 | })
23 | wx.setNavigationBarTitle({
24 | title: res.data.info.title,
25 | })
26 | }
27 | },
28 | })
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/pages/components/popover/popover.wxss:
--------------------------------------------------------------------------------
1 | .popover {
2 | position: absolute;
3 | z-index: 2;
4 | }
5 |
6 | .popover-view {
7 | background-color: #0a0a0a;
8 | border-radius: 16rpx;
9 | display: flex;
10 | }
11 |
12 | .popover-view_triangle {
13 | border-color: #0a0a0a #0a0a0a transparent transparent;
14 | border-style: solid;
15 | border-width: 6px;
16 | content: "";
17 | display: inline-block;
18 | height: 0;
19 | position: absolute;
20 | width: 0;
21 | }
22 |
23 | .popover-view_triangle.top {
24 | bottom: -6px;
25 | transform: rotate(135deg);
26 | }
27 |
28 | .popover-view_triangle.bottom {
29 | top: -6px;
30 | transform: rotate(-45deg);
31 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/common/relation.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | declare 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/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 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/calendar/utils.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | function getMonthEndDay(year, month) {
3 | return 32 - getDate(year, month - 1, 32).getDate();
4 | }
5 |
6 | function compareMonth(date1, date2) {
7 | date1 = getDate(date1);
8 | date2 = getDate(date2);
9 |
10 | var year1 = date1.getFullYear();
11 | var year2 = date2.getFullYear();
12 | var month1 = date1.getMonth();
13 | var month2 = date2.getMonth();
14 |
15 | if (year1 === year2) {
16 | return month1 === month2 ? 0 : month1 > month2 ? 1 : -1;
17 | }
18 |
19 | return year1 > year2 ? 1 : -1;
20 | }
21 |
22 | module.exports = {
23 | getMonthEndDay: getMonthEndDay,
24 | compareMonth: compareMonth
25 | };
26 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/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 |
--------------------------------------------------------------------------------
/pages/discover/index.wxss:
--------------------------------------------------------------------------------
1 | page {
2 | background-color: #f1f1f1;
3 | }
4 |
5 | .categories_class {
6 | background-color: #fff;
7 | border-radius: 20rpx;
8 | display: flex;
9 | margin: 30rpx;
10 | padding: 40rpx;
11 | }
12 |
13 | .icon_class {
14 | pointer-events: none;
15 | }
16 |
17 | .icon_class image {
18 | border-radius: 15rpx;
19 | height: 100rpx;
20 | width: 100rpx;
21 | }
22 |
23 | .t_class {
24 | display: flex;
25 | flex-direction: column;
26 | justify-content: center;
27 | margin-left: 35rpx;
28 | pointer-events: none;
29 | }
30 |
31 | .title_class {
32 | font-size: 35rpx;
33 | }
34 |
35 | .introduce_class {
36 | color: #999;
37 | font-size: 26rpx;
38 | margin-top: 6rpx;
39 | }
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/swipe-cell/index.wxml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/uploader/shared.d.ts:
--------------------------------------------------------------------------------
1 | export declare const chooseImageProps: {
2 | sizeType: {
3 | type: ArrayConstructor;
4 | value: string[];
5 | };
6 | capture: {
7 | type: ArrayConstructor;
8 | value: string[];
9 | };
10 | };
11 | export declare const chooseVideoProps: {
12 | capture: {
13 | type: ArrayConstructor;
14 | value: string[];
15 | };
16 | compressed: {
17 | type: BooleanConstructor;
18 | value: boolean;
19 | };
20 | maxDuration: {
21 | type: NumberConstructor;
22 | value: number;
23 | };
24 | camera: {
25 | type: StringConstructor;
26 | value: string;
27 | };
28 | };
29 |
--------------------------------------------------------------------------------
/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, }: {
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 | }): Promise;
23 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/progress/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
12 |
17 | {{ computed.pivotText(pivotText, percentage) }}
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/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}
--------------------------------------------------------------------------------
/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/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}
--------------------------------------------------------------------------------
/miniprogram_npm/wxa-plugin-canvas/poster/poster.js:
--------------------------------------------------------------------------------
1 | const defaultOptions = {
2 | selector: '#poster'
3 | };
4 |
5 | function Poster(options = {}, that) {
6 | options = {
7 | ...defaultOptions,
8 | ...options,
9 | };
10 |
11 | const pages = getCurrentPages();
12 | let ctx = pages[pages.length - 1];
13 | if (that) ctx = that
14 | const poster = ctx.selectComponent(options.selector);
15 | delete options.selector;
16 |
17 | return poster;
18 | };
19 |
20 | Poster.create = (reset = false, that) => {
21 | const poster = Poster({}, that);
22 | if (!poster) {
23 | console.error('请设置组件的id="poster"!!!');
24 | } else {
25 | return Poster({}, that).onCreate(reset);
26 | }
27 | }
28 |
29 | export default Poster;
30 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/image/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function rootStyle(data) {
6 | return style([
7 | {
8 | width: addUnit(data.width),
9 | height: addUnit(data.height),
10 | 'border-radius': addUnit(data.radius),
11 | },
12 | data.radius ? 'overflow: hidden' : null,
13 | ]);
14 | }
15 |
16 | var FIT_MODE_MAP = {
17 | none: 'center',
18 | fill: 'scaleToFill',
19 | cover: 'aspectFill',
20 | contain: 'aspectFit',
21 | widthFix: 'widthFix',
22 | heightFix: 'heightFix',
23 | };
24 |
25 | function mode(fit) {
26 | return FIT_MODE_MAP[fit];
27 | }
28 |
29 | module.exports = {
30 | rootStyle: rootStyle,
31 | mode: mode,
32 | };
33 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/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 | },
21 | methods: {
22 | onClick: function () {
23 | this.$emit('click');
24 | },
25 | // for prevent touchmove
26 | noop: function () { },
27 | },
28 | });
29 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/calendar/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/pages/components/loading/loading.wxss:
--------------------------------------------------------------------------------
1 | @keyframes mymove {
2 | 33% {
3 | opacity: 0.3;
4 | }
5 |
6 | 66% {
7 | opacity: 0.3;
8 | }
9 |
10 | 100% {
11 | opacity: 1;
12 | }
13 | }
14 |
15 | /*Safari 和 Chrome:*/
16 | @-webkit-keyframes mymove {
17 | 33% {
18 | opacity: 0.3;
19 | }
20 |
21 | 66% {
22 | opacity: 0.3;
23 | }
24 |
25 | 100% {
26 | opacity: 1;
27 | }
28 | }
29 |
30 | .ani {
31 | animation: 1.2s linear 0s infinite mymove;
32 | -webkit-animation: 1.2s linear 0s infinite mymove;
33 | }
34 |
35 | .ani1 {
36 | animation: 1.2s linear 0.4s infinite mymove;
37 | -webkit-animation: 1.2s linear 0.4s infinite mymove;
38 | }
39 |
40 | .ani2 {
41 | animation: 1.2s linear 0.8s infinite mymove;
42 | -webkit-animation: 1.2s linear 0.8s infinite mymove;
43 | }
--------------------------------------------------------------------------------
/pages/other/shareme/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 图片生成中...
4 |
5 |
6 |
7 |
11 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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)}
--------------------------------------------------------------------------------
/pages/components/toast/toast.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 保存次数已用完
4 |
5 | 看广告领次数
6 | 取消
7 |
8 |
9 |
--------------------------------------------------------------------------------
/pages/components/tab-swiper/index.js:
--------------------------------------------------------------------------------
1 |
2 | Component({
3 | // 启用插槽
4 | options: {
5 | multipleSlots: true
6 | },
7 | properties: {
8 | contentHeight: {
9 | type: Number,
10 | value:0
11 | },
12 | navheight: {
13 | type: Number,
14 | value:0
15 | },
16 | backgroundColor:{
17 | type: String,
18 | value: '#ffffff'
19 | },
20 | tabs: {
21 | type: Array,
22 | value: []
23 | },
24 | swiperchange: {
25 | type: Number,
26 | value: 0
27 | },
28 | },
29 | data: {
30 |
31 | },
32 | methods: {
33 | handleSwiperChange: function (e) {
34 | var t = e.detail.current;
35 | if (t < e.currentTarget.dataset.len) {
36 | this.triggerEvent("morelist", { "index": t ,'trigeer':true})
37 | }
38 | }
39 | }
40 | })
--------------------------------------------------------------------------------
/pages/details/index.wxss:
--------------------------------------------------------------------------------
1 | .page {
2 | background-color: #ededed;
3 | }
4 |
5 | .scroll_class {
6 | background-color: #ededed;
7 | }
8 |
9 | .scroll_class {
10 | padding-bottom: 50rpx;
11 | }
12 |
13 | .btn_class {
14 | margin-top: 100rpx;
15 | padding-bottom: 20rpx;
16 | }
17 |
18 | .btn_class button {
19 | align-items: center;
20 | background-color: #09bb07;
21 | border-radius: 60rpx;
22 | border-style: solid;
23 | border-width: 0rpx;
24 | box-shadow: 0rpx 8rpx 16rpx 4rpx #ccc;
25 | color: #fff;
26 | display: flex;
27 | font-size: 32rpx;
28 | height: 80rpx;
29 | justify-content: center;
30 | width: 300rpx;
31 | }
32 |
33 | .btn_class button::after {
34 | border: none;
35 | }
36 |
37 | .adContainer {
38 | margin-left: 5%;
39 | margin-right: 5%;
40 | padding-top: 60rpx;
41 | width: 90%;
42 | }
--------------------------------------------------------------------------------
/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/dropdown-menu/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
24 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/tabbar-item/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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): 1 | -1 | 0;
4 | export declare function compareDay(day1: Date | number, day2: Date | number): 1 | -1 | 0;
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/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/uploader/shared.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | exports.chooseVideoProps = exports.chooseImageProps = void 0;
4 | // props for choose image
5 | exports.chooseImageProps = {
6 | sizeType: {
7 | type: Array,
8 | value: ['original', 'compressed'],
9 | },
10 | capture: {
11 | type: Array,
12 | value: ['album', 'camera'],
13 | },
14 | };
15 | // props for choose video
16 | exports.chooseVideoProps = {
17 | capture: {
18 | type: Array,
19 | value: ['album', 'camera'],
20 | },
21 | compressed: {
22 | type: Boolean,
23 | value: true,
24 | },
25 | maxDuration: {
26 | type: Number,
27 | value: 60,
28 | },
29 | camera: {
30 | type: String,
31 | value: 'back',
32 | },
33 | };
34 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/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'],
8 | mixins: [link_1.link, button_1.button],
9 | props: {
10 | text: String,
11 | dot: Boolean,
12 | info: String,
13 | icon: String,
14 | classPrefix: {
15 | type: String,
16 | value: 'van-icon',
17 | },
18 | disabled: Boolean,
19 | loading: Boolean,
20 | },
21 | methods: {
22 | onClick: function (event) {
23 | this.$emit('click', event.detail);
24 | this.jumpLink();
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 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/calendar/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var utils = require('./utils.wxs');
3 |
4 | function getMonths(minDate, maxDate) {
5 | var months = [];
6 | var cursor = getDate(minDate);
7 |
8 | cursor.setDate(1);
9 |
10 | do {
11 | months.push(cursor.getTime());
12 | cursor.setMonth(cursor.getMonth() + 1);
13 | } while (utils.compareMonth(cursor, getDate(maxDate)) !== 1);
14 |
15 | return months;
16 | }
17 |
18 | function getButtonDisabled(type, currentDate) {
19 | if (currentDate == null) {
20 | return true;
21 | }
22 |
23 | if (type === 'range') {
24 | return !currentDate[0] || !currentDate[1];
25 | }
26 |
27 | if (type === 'multiple') {
28 | return !currentDate.length;
29 | }
30 |
31 | return !currentDate;
32 | }
33 |
34 | module.exports = {
35 | getMonths: getMonths,
36 | getButtonDisabled: getButtonDisabled
37 | };
38 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/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/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);padding:var(--search-action-padding,0 8px)}.van-search__action--hover{background-color:#f2f3f5}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/icon/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function isImage(name) {
6 | return name.indexOf('/') !== -1;
7 | }
8 |
9 | function rootClass(data) {
10 | var classes = ['custom-class'];
11 |
12 | if (data.classPrefix != null) {
13 | classes.push(data.classPrefix);
14 | }
15 |
16 | if (isImage(data.name)) {
17 | classes.push('van-icon--image');
18 | } else if (data.classPrefix != null) {
19 | classes.push(data.classPrefix + '-' + data.name);
20 | }
21 |
22 | return classes.join(' ');
23 | }
24 |
25 | function rootStyle(data) {
26 | return style([
27 | {
28 | color: data.color,
29 | 'font-size': addUnit(data.size),
30 | },
31 | data.customStyle,
32 | ]);
33 | }
34 |
35 | module.exports = {
36 | isImage: isImage,
37 | rootClass: rootClass,
38 | rootStyle: rootStyle,
39 | };
40 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/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/popup/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
13 |
27 |
--------------------------------------------------------------------------------
/pages/components/cos2d/cos2d.js:
--------------------------------------------------------------------------------
1 | Component({
2 | properties: {
3 | msg:{
4 | type:Object,
5 | value:{}
6 | }
7 | },
8 |
9 | data: {
10 | finish:0,
11 | count:5,
12 | showimg:true
13 | },
14 |
15 | methods: {
16 | play(){
17 | this.triggerEvent("play")
18 | },
19 | finish(){
20 | this.setData({
21 | finish:1
22 | })
23 | var timer = setInterval(() => {
24 | this.data.count -= 1;
25 | this.setData({
26 | count:this.data.count
27 | })
28 | if(this.data.count<=0){
29 | this.setData({
30 | showimg:false,
31 | finish:2
32 | })
33 | clearInterval(timer)
34 | }
35 | }, 1000);
36 |
37 | },
38 | close(){
39 | wx.navigateBackMiniProgram({
40 | extraData: {
41 | openid: this.data.msg.openid
42 | },
43 | })
44 | }
45 | }
46 | })
47 |
--------------------------------------------------------------------------------
/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,80%)}.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}
--------------------------------------------------------------------------------
/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%)}
--------------------------------------------------------------------------------
/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/picker-column/index.wxs:
--------------------------------------------------------------------------------
1 | /* eslint-disable */
2 | var style = require('../wxs/style.wxs');
3 | var addUnit = require('../wxs/add-unit.wxs');
4 |
5 | function isObj(x) {
6 | var type = typeof x;
7 | return x !== null && (type === 'object' || type === 'function');
8 | }
9 |
10 | function optionText(option, valueKey) {
11 | return isObj(option) && option[valueKey] != null ? option[valueKey] : option;
12 | }
13 |
14 | function rootStyle(data) {
15 | return style({
16 | height: addUnit(data.itemHeight * data.visibleItemCount),
17 | });
18 | }
19 |
20 | function wrapperStyle(data) {
21 | var offset = addUnit(
22 | data.offset + (data.itemHeight * (data.visibleItemCount - 1)) / 2
23 | );
24 |
25 | return style({
26 | transition: 'transform ' + data.duration + 'ms',
27 | 'line-height': addUnit(data.itemHeight),
28 | transform: 'translate3d(0, ' + offset + ', 0)',
29 | });
30 | }
31 |
32 | module.exports = {
33 | optionText: optionText,
34 | rootStyle: rootStyle,
35 | wrapperStyle: wrapperStyle,
36 | };
37 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/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/goods-action-button/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
28 | {{ text }}
29 |
30 |
31 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/field/input.wxml:
--------------------------------------------------------------------------------
1 |
29 |
--------------------------------------------------------------------------------
/miniprogram_npm/mp-html/node/node.wxss:
--------------------------------------------------------------------------------
1 | ._a{padding:1.5px 0 1.5px 0;color:#366092;word-break:break-all}._hover{text-decoration:underline;opacity:.7}._img{max-width:100%;-webkit-touch-callout:none}._b,._strong{font-weight:700}._code{font-family:monospace}._del{text-decoration:line-through}._em,._i{font-style:italic}._h1{font-size:2em}._h2{font-size:1.5em}._h3{font-size:1.17em}._h5{font-size:.83em}._h6{font-size:.67em}._h1,._h2,._h3,._h4,._h5,._h6{display:block;font-weight:700}._ins{text-decoration:underline}._li{display:list-item}._ol{list-style-type:decimal}._ol,._ul{display:block;padding-left:40px;margin:1em 0}._q::before{content:'"'}._q::after{content:'"'}._sub{font-size:smaller;vertical-align:sub}._sup{font-size:smaller;vertical-align:super}._tbody,._tfoot,._thead{display:table-row-group}._tr{display:table-row}._td,._th{display:table-cell;vertical-align:middle}._th{font-weight:700;text-align:center}._ul{list-style-type:disc}._ul ._ul{margin:0;list-style-type:circle}._ul ._ul ._ul{list-style-type:square}._abbr,._b,._code,._del,._em,._i,._ins,._label,._q,._span,._strong,._sub,._sup{display:inline}._blockquote,._div,._p{display:block}
--------------------------------------------------------------------------------
/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/sidebar-item/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | var component_1 = require("../common/component");
4 | var relation_1 = require("../common/relation");
5 | (0, component_1.VantComponent)({
6 | classes: ['active-class', 'disabled-class'],
7 | relation: (0, relation_1.useParent)('sidebar'),
8 | props: {
9 | dot: Boolean,
10 | badge: null,
11 | info: null,
12 | title: String,
13 | disabled: Boolean,
14 | },
15 | methods: {
16 | onClick: function () {
17 | var _this = this;
18 | var parent = this.parent;
19 | if (!parent || this.data.disabled) {
20 | return;
21 | }
22 | var index = parent.children.indexOf(this);
23 | parent.setActive(index).then(function () {
24 | _this.$emit('click', index);
25 | parent.$emit('change', index);
26 | });
27 | },
28 | setActive: function (selected) {
29 | return this.setData({ selected: selected });
30 | },
31 | },
32 | });
33 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/switch/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-switch{background-color:var(--switch-background-color,#fff);border:var(--switch-border,1px solid rgba(0,0,0,.1));border-radius:var(--switch-node-size,1em);box-sizing:initial;display:inline-block;height:var(--switch-height,1em);position:relative;transition:background-color var(--switch-transition-duration,.3s);width:var(--switch-width,2em)}.van-switch__node{background-color:var(--switch-node-background-color,#fff);border-radius:100%;box-shadow:var(--switch-node-box-shadow,0 3px 1px 0 rgba(0,0,0,.05),0 2px 2px 0 rgba(0,0,0,.1),0 3px 3px 0 rgba(0,0,0,.05));height:var(--switch-node-size,1em);left:0;position:absolute;top:0;transition:var(--switch-transition-duration,.3s) cubic-bezier(.3,1.05,.4,1.05);width:var(--switch-node-size,1em);z-index:var(--switch-node-z-index,1)}.van-switch__loading{height:50%;left:25%;position:absolute!important;top:25%;width:50%}.van-switch--on{background-color:var(--switch-on-background-color,#1989fa)}.van-switch--on .van-switch__node{transform:translateX(calc(var(--switch-width, 2em) - var(--switch-node-size, 1em)))}.van-switch--disabled{opacity:var(--switch-disabled-opacity,.4)}
--------------------------------------------------------------------------------
/pages/components/cos2d/cos2d.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {{msg.beChosen?msg.txt1:msg.txt}}
5 |
6 | 正在帮砍中..剩余 {{count}} 秒
7 |
8 | {{msg.txt2}}
9 |
10 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/goods-action-button/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';:host{flex:1}.van-goods-action-button{--button-warning-background-color:var(--goods-action-button-warning-color,linear-gradient(to right,#ffd01e,#ff8917));--button-danger-background-color:var(--goods-action-button-danger-color,linear-gradient(to right,#ff6034,#ee0a24));--button-default-height:var(--goods-action-button-height,40px);--button-line-height:var(--goods-action-button-line-height,20px);--button-plain-background-color:var(--goods-action-button-plain-color,#fff);--button-border-width:0;display:block}.van-goods-action-button--first{--button-border-radius:999px 0 0 var(--goods-action-button-border-radius,999px);margin-left:5px}.van-goods-action-button--last{--button-border-radius:0 999px var(--goods-action-button-border-radius,999px) 0;margin-right:5px}.van-goods-action-button--first.van-goods-action-button--last{--button-border-radius:var(--goods-action-button-border-radius,999px)}.van-goods-action-button--plain{--button-border-width:1px}.van-goods-action-button__inner{font-weight:var(--font-weight-bold,500)!important;width:100%}@media (max-width:321px){.van-goods-action-button{font-size:13px}}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/image/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
19 |
20 |
24 |
25 |
26 |
27 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/cell/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | var link_1 = require("../mixins/link");
4 | var component_1 = require("../common/component");
5 | (0, component_1.VantComponent)({
6 | classes: [
7 | 'title-class',
8 | 'label-class',
9 | 'value-class',
10 | 'right-icon-class',
11 | 'hover-class',
12 | ],
13 | mixins: [link_1.link],
14 | props: {
15 | title: null,
16 | value: null,
17 | icon: String,
18 | size: String,
19 | label: String,
20 | center: Boolean,
21 | isLink: Boolean,
22 | required: Boolean,
23 | clickable: Boolean,
24 | titleWidth: String,
25 | customStyle: String,
26 | arrowDirection: String,
27 | useLabelSlot: Boolean,
28 | border: {
29 | type: Boolean,
30 | value: true,
31 | },
32 | titleStyle: String,
33 | },
34 | methods: {
35 | onClick: function (event) {
36 | this.$emit('click', event.detail);
37 | this.jumpLink();
38 | },
39 | },
40 | });
41 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/common/index.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}.van-clearfix:after{clear:both;content:"";display:table}.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/goods-action-icon/index.wxml:
--------------------------------------------------------------------------------
1 |
25 |
34 |
35 | {{ text }}
36 |
37 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/field/textarea.wxml:
--------------------------------------------------------------------------------
1 |
30 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/notice-bar/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-notice-bar{align-items:center;background-color:var(--notice-bar-background-color,#fffbe8);color:var(--notice-bar-text-color,#ed6a0c);display:flex;font-size:var(--notice-bar-font-size,14px);height:var(--notice-bar-height,40px);line-height:var(--notice-bar-line-height,24px);padding:var(--notice-bar-padding,0 16px)}.van-notice-bar--withicon{padding-right:40px;position:relative}.van-notice-bar--wrapable{height:auto;padding:var(--notice-bar-wrapable-padding,8px 16px)}.van-notice-bar--wrapable .van-notice-bar__wrap{height:auto}.van-notice-bar--wrapable .van-notice-bar__content{position:relative;white-space:normal}.van-notice-bar__left-icon{align-items:center;display:flex;margin-right:4px;vertical-align:middle}.van-notice-bar__left-icon,.van-notice-bar__right-icon{font-size:var(--notice-bar-icon-size,16px);min-width:var(--notice-bar-icon-min-width,22px)}.van-notice-bar__right-icon{position:absolute;right:15px;top:10px}.van-notice-bar__wrap{flex:1;height:var(--notice-bar-line-height,24px);overflow:hidden;position:relative}.van-notice-bar__content{position:absolute;white-space:nowrap}.van-notice-bar__content.van-ellipsis{max-width:100%}
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/grid-item/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | {{ text }}
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/toast/index.wxml:
--------------------------------------------------------------------------------
1 |
7 |
12 |
16 |
17 | {{ message }}
18 |
19 |
20 |
21 |
22 |
23 |
24 |
30 |
31 | {{ message }}
32 |
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/pages/collect/index.wxml:
--------------------------------------------------------------------------------
1 |
3 |
15 | 到底啦,我是有底线的
17 |
19 |
21 | 空空如也
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/nav-bar/index.wxss:
--------------------------------------------------------------------------------
1 | @import '../common/index.wxss';.van-nav-bar{background-color:var(--nav-bar-background-color,#fff);box-sizing:initial;height:var(--nav-bar-height,46px);line-height:var(--nav-bar-height,46px);position:relative;text-align:center;-webkit-user-select:none;user-select:none}.van-nav-bar__content{height:100%;position:relative}.van-nav-bar__text{color:var(--nav-bar-text-color,#1989fa);display:inline-block;margin:0 calc(var(--padding-md, 16px)*-1);padding:0 var(--padding-md,16px);vertical-align:middle}.van-nav-bar__text--hover{background-color:#f2f3f5}.van-nav-bar__arrow{color:var(--nav-bar-icon-color,#1989fa)!important;font-size:var(--nav-bar-arrow-size,16px)!important;vertical-align:middle}.van-nav-bar__arrow+.van-nav-bar__text{margin-left:-20px;padding-left:25px}.van-nav-bar--fixed{left:0;position:fixed;top:0;width:100%}.van-nav-bar__title{color:var(--nav-bar-title-text-color,#323233);font-size:var(--nav-bar-title-font-size,16px);font-weight:var(--font-weight-bold,500);margin:0 auto;max-width:60%}.van-nav-bar__left,.van-nav-bar__right{align-items:center;bottom:0;display:flex;font-size:var(--font-size-md,14px);position:absolute;top:0}.van-nav-bar__left{left:var(--padding-md,16px)}.van-nav-bar__right{right:var(--padding-md,16px)}
--------------------------------------------------------------------------------
/pages/discover/index.js:
--------------------------------------------------------------------------------
1 | const WXAPI = require('apifm-wxapi')
2 | let app = getApp()
3 | Page({
4 | data: {
5 | listRecommend: []
6 | },
7 |
8 | onLoad: function (options) {
9 | this.banners()
10 | getApp().configLoadOK = () => {
11 | this.readConfigVal()
12 | }
13 | this.readConfigVal()
14 | },
15 | readConfigVal() {
16 | const mallName = wx.getStorageSync('mallName')
17 | if (mallName) {
18 | wx.setNavigationBarTitle({
19 | title: mallName,
20 | })
21 | }
22 | },
23 | onRecommend(e) {
24 | console.log(e)
25 | if (e.currentTarget.dataset.item) {
26 | wx.navigateToMiniProgram({
27 | appId: e.currentTarget.dataset.item.appid,
28 | path: e.currentTarget.dataset.item.linkUrl
29 | })
30 | }
31 |
32 | },
33 | async banners() {
34 | // https://www.yuque.com/apifm/nu0f75/ms21ki
35 | const res = await WXAPI.banners({
36 | type: 'discover'
37 | })
38 | if (res.code == 0) {
39 | this.setData({
40 | bannerList: res.data
41 | })
42 | }
43 | },
44 | })
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/definitions/index.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | interface VantComponentInstance {
3 | parent: WechatMiniprogram.Component.TrivialInstance;
4 | children: WechatMiniprogram.Component.TrivialInstance[];
5 | index: number;
6 | $emit: (name: string, detail?: unknown, options?: WechatMiniprogram.Component.TriggerEventOption) => void;
7 | }
8 | export declare type VantComponentOptions = {
9 | data?: Data;
10 | field?: boolean;
11 | classes?: string[];
12 | mixins?: string[];
13 | props?: Props;
14 | relation?: {
15 | relations: Record;
16 | mixin: string;
17 | };
18 | methods?: Methods;
19 | beforeCreate?: () => void;
20 | created?: () => void;
21 | mounted?: () => void;
22 | destroyed?: () => void;
23 | } & ThisType, Props, Methods> & Record>;
27 | export {};
28 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/notice-bar/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
15 |
16 |
17 |
18 |
19 | {{ text }}
20 |
21 |
22 |
23 |
24 |
30 |
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/wxs/memoize.wxs:
--------------------------------------------------------------------------------
1 | /**
2 | * Simple memoize
3 | * wxs doesn't support fn.apply, so this memoize only support up to 2 args
4 | */
5 | /* eslint-disable */
6 |
7 | function isPrimitive(value) {
8 | var type = typeof value;
9 | return (
10 | type === 'boolean' ||
11 | type === 'number' ||
12 | type === 'string' ||
13 | type === 'undefined' ||
14 | value === null
15 | );
16 | }
17 |
18 | // mock simple fn.call in wxs
19 | function call(fn, args) {
20 | if (args.length === 2) {
21 | return fn(args[0], args[1]);
22 | }
23 |
24 | if (args.length === 1) {
25 | return fn(args[0]);
26 | }
27 |
28 | return fn();
29 | }
30 |
31 | function serializer(args) {
32 | if (args.length === 1 && isPrimitive(args[0])) {
33 | return args[0];
34 | }
35 | var obj = {};
36 | for (var i = 0; i < args.length; i++) {
37 | obj['key' + i] = args[i];
38 | }
39 | return JSON.stringify(obj);
40 | }
41 |
42 | function memoize(fn) {
43 | var cache = {};
44 |
45 | return function() {
46 | var key = serializer(arguments);
47 | if (cache[key] === undefined) {
48 | cache[key] = call(fn, arguments);
49 | }
50 |
51 | return cache[key];
52 | };
53 | }
54 |
55 | module.exports = memoize;
56 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/checkbox/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
10 |
11 |
12 |
13 |
14 |
23 |
24 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/collapse-item/index.wxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
20 |
24 |
28 |
29 |
33 |
34 |
39 |
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/miniprogram_npm/@vant/weapp/switch/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | var component_1 = require("../common/component");
4 | (0, component_1.VantComponent)({
5 | field: true,
6 | classes: ['node-class'],
7 | props: {
8 | checked: null,
9 | loading: Boolean,
10 | disabled: Boolean,
11 | activeColor: String,
12 | inactiveColor: String,
13 | size: {
14 | type: String,
15 | value: '30',
16 | },
17 | activeValue: {
18 | type: null,
19 | value: true,
20 | },
21 | inactiveValue: {
22 | type: null,
23 | value: false,
24 | },
25 | },
26 | methods: {
27 | onClick: function () {
28 | var _a = this.data, activeValue = _a.activeValue, inactiveValue = _a.inactiveValue, disabled = _a.disabled, loading = _a.loading;
29 | if (disabled || loading) {
30 | return;
31 | }
32 | var checked = this.data.checked === activeValue;
33 | var value = checked ? inactiveValue : activeValue;
34 | this.$emit('input', value);
35 | this.$emit('change', value);
36 | },
37 | },
38 | });
39 |
--------------------------------------------------------------------------------