├── .cursorrules ├── .eslintrc.js ├── .gitignore ├── .npmrc ├── .prettierignore ├── .prettierrc.yml ├── .vscode └── settings.json ├── Introduction.md ├── LICENSE ├── README.md ├── app.js ├── app.json ├── app.wxss ├── cloudfunctions ├── shop_pay │ ├── index.js │ ├── package-lock.json │ └── package.json └── updateUserCoupon │ ├── index.js │ └── package.json ├── commitlint.config.js ├── common └── updateManager.js ├── components ├── filter-popup │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss ├── filter │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss ├── goods-card │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss ├── goods-list │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss ├── load-more │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss ├── loading-content │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss ├── loading-dialog │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss ├── price │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss ├── swipeout │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss └── webp-image │ ├── index.js │ ├── index.json │ ├── index.wxml │ ├── index.wxss │ └── utils.wxs ├── config ├── eslintCheck.js ├── index.js └── model.js ├── custom-tab-bar ├── data.js ├── index.js ├── index.json ├── index.wxml └── index.wxss ├── jsconfig.json ├── miniprogram_npm ├── @cloudbase │ └── wx-cloud-client-sdk │ │ ├── index.js │ │ └── index.js.map ├── dayjs │ ├── index.js │ └── index.js.map ├── tdesign-miniprogram │ ├── .wechatide.ib.json │ ├── action-sheet │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── action-sheet.d.ts │ │ ├── action-sheet.js │ │ ├── action-sheet.json │ │ ├── action-sheet.wxml │ │ ├── action-sheet.wxs │ │ ├── action-sheet.wxss │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── show.d.ts │ │ ├── show.js │ │ ├── template │ │ │ ├── grid.wxml │ │ │ └── list.wxml │ │ ├── type.d.ts │ │ └── type.js │ ├── avatar-group │ │ ├── avatar-group.d.ts │ │ ├── avatar-group.js │ │ ├── avatar-group.json │ │ ├── avatar-group.wxml │ │ ├── avatar-group.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── avatar │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── avatar.d.ts │ │ ├── avatar.js │ │ ├── avatar.json │ │ ├── avatar.wxml │ │ ├── avatar.wxs │ │ ├── avatar.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── back-top │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── back-top.d.ts │ │ ├── back-top.js │ │ ├── back-top.json │ │ ├── back-top.wxml │ │ ├── back-top.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── badge │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── badge.d.ts │ │ ├── badge.js │ │ ├── badge.json │ │ ├── badge.wxml │ │ ├── badge.wxs │ │ ├── badge.wxss │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── button │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── button.d.ts │ │ ├── button.js │ │ ├── button.json │ │ ├── button.wxml │ │ ├── button.wxss │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── calendar │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── calendar.d.ts │ │ ├── calendar.js │ │ ├── calendar.json │ │ ├── calendar.wxml │ │ ├── calendar.wxs │ │ ├── calendar.wxss │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── template.wxml │ │ ├── type.d.ts │ │ └── type.js │ ├── cascader │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── cascader.d.ts │ │ ├── cascader.js │ │ ├── cascader.json │ │ ├── cascader.wxml │ │ ├── cascader.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── cell-group │ │ ├── cell-group.d.ts │ │ ├── cell-group.js │ │ ├── cell-group.json │ │ ├── cell-group.wxml │ │ ├── cell-group.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── cell │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── cell.d.ts │ │ ├── cell.js │ │ ├── cell.json │ │ ├── cell.wxml │ │ ├── cell.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── check-tag │ │ ├── check-tag.d.ts │ │ ├── check-tag.js │ │ ├── check-tag.json │ │ ├── check-tag.wxml │ │ ├── check-tag.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── checkbox-group │ │ ├── checkbox-group.d.ts │ │ ├── checkbox-group.js │ │ ├── checkbox-group.json │ │ ├── checkbox-group.wxml │ │ ├── checkbox-group.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── checkbox │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── checkbox.d.ts │ │ ├── checkbox.js │ │ ├── checkbox.json │ │ ├── checkbox.wxml │ │ ├── checkbox.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── col │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── col.d.ts │ │ ├── col.js │ │ ├── col.json │ │ ├── col.wxml │ │ ├── col.wxs │ │ ├── col.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── collapse-panel │ │ ├── collapse-panel.d.ts │ │ ├── collapse-panel.js │ │ ├── collapse-panel.json │ │ ├── collapse-panel.wxml │ │ ├── collapse-panel.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── collapse │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── collapse.d.ts │ │ ├── collapse.js │ │ ├── collapse.json │ │ ├── collapse.wxml │ │ ├── collapse.wxss │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── common │ │ ├── bus.d.ts │ │ ├── bus.js │ │ ├── common.d.ts │ │ ├── common.js │ │ ├── component.d.ts │ │ ├── component.js │ │ ├── config.d.ts │ │ ├── config.js │ │ ├── index.wxss │ │ ├── shared │ │ │ ├── calendar │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ ├── type.d.ts │ │ │ │ └── type.js │ │ │ ├── date.d.ts │ │ │ └── date.js │ │ ├── src │ │ │ ├── control.d.ts │ │ │ ├── control.js │ │ │ ├── flatTool.d.ts │ │ │ ├── flatTool.js │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── instantiationDecorator.d.ts │ │ │ ├── instantiationDecorator.js │ │ │ ├── superComponent.d.ts │ │ │ └── superComponent.js │ │ ├── style │ │ │ ├── _variables.wxss │ │ │ ├── base.wxss │ │ │ ├── icons.wxss │ │ │ ├── index.wxss │ │ │ ├── mixins │ │ │ │ ├── _clearfix.wxss │ │ │ │ ├── _cursor.wxss │ │ │ │ ├── _ellipsis.wxss │ │ │ │ ├── _hairline.wxss │ │ │ │ └── _index.wxss │ │ │ ├── theme │ │ │ │ ├── _components.wxss │ │ │ │ ├── _dark.wxss │ │ │ │ ├── _font.wxss │ │ │ │ ├── _index.wxss │ │ │ │ ├── _light.wxss │ │ │ │ ├── _radius.wxss │ │ │ │ └── _spacer.wxss │ │ │ └── utilities │ │ │ │ ├── _animation.wxss │ │ │ │ ├── _float.wxss │ │ │ │ └── _index.wxss │ │ ├── template │ │ │ ├── badge.wxml │ │ │ ├── button.wxml │ │ │ ├── icon.wxml │ │ │ └── image.wxml │ │ ├── utils.d.ts │ │ ├── utils.js │ │ ├── utils.wxs │ │ ├── version.d.ts │ │ ├── version.js │ │ ├── wechat.d.ts │ │ └── wechat.js │ ├── count-down │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── count-down.d.ts │ │ ├── count-down.js │ │ ├── count-down.json │ │ ├── count-down.wxml │ │ ├── count-down.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ ├── type.js │ │ ├── utils.d.ts │ │ └── utils.js │ ├── date-time-picker │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── date-time-picker.d.ts │ │ ├── date-time-picker.js │ │ ├── date-time-picker.json │ │ ├── date-time-picker.wxml │ │ ├── date-time-picker.wxss │ │ ├── locale │ │ │ ├── dayjs.d.ts │ │ │ ├── dayjs.js │ │ │ ├── en.d.ts │ │ │ ├── en.js │ │ │ ├── ja.d.ts │ │ │ ├── ja.js │ │ │ ├── ko.d.ts │ │ │ ├── ko.js │ │ │ ├── ru.d.ts │ │ │ ├── ru.js │ │ │ ├── tc.d.ts │ │ │ ├── tc.js │ │ │ ├── zh.d.ts │ │ │ └── zh.js │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── dialog │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── dialog.d.ts │ │ ├── dialog.js │ │ ├── dialog.json │ │ ├── dialog.wxml │ │ ├── dialog.wxs │ │ ├── dialog.wxss │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── divider │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── divider.d.ts │ │ ├── divider.js │ │ ├── divider.json │ │ ├── divider.wxml │ │ ├── divider.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── drawer │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── drawer.d.ts │ │ ├── drawer.js │ │ ├── drawer.json │ │ ├── drawer.wxml │ │ ├── drawer.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── dropdown-item │ │ ├── dropdown-item.d.ts │ │ ├── dropdown-item.js │ │ ├── dropdown-item.json │ │ ├── dropdown-item.wxml │ │ ├── dropdown-item.wxss │ │ ├── index.wxs │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── dropdown-menu │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── dropdown-menu.d.ts │ │ ├── dropdown-menu.js │ │ ├── dropdown-menu.json │ │ ├── dropdown-menu.wxml │ │ ├── dropdown-menu.wxss │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── empty │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── empty.d.ts │ │ ├── empty.js │ │ ├── empty.json │ │ ├── empty.wxml │ │ ├── empty.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── fab │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── draggable │ │ │ ├── draggable.d.ts │ │ │ ├── draggable.js │ │ │ ├── draggable.json │ │ │ ├── draggable.wxml │ │ │ ├── draggable.wxss │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── props.d.ts │ │ │ ├── props.js │ │ │ ├── type.d.ts │ │ │ └── type.js │ │ ├── fab.d.ts │ │ ├── fab.js │ │ ├── fab.json │ │ ├── fab.wxml │ │ ├── fab.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── template │ │ │ ├── draggable.wxml │ │ │ └── view.wxml │ │ ├── type.d.ts │ │ └── type.js │ ├── footer │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── footer.d.ts │ │ ├── footer.js │ │ ├── footer.json │ │ ├── footer.wxml │ │ ├── footer.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── grid-item │ │ ├── grid-item.d.ts │ │ ├── grid-item.js │ │ ├── grid-item.json │ │ ├── grid-item.wxml │ │ ├── grid-item.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── grid │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── grid.d.ts │ │ ├── grid.js │ │ ├── grid.json │ │ ├── grid.wxml │ │ ├── grid.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── guide │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── content.wxml │ │ ├── guide.d.ts │ │ ├── guide.js │ │ ├── guide.json │ │ ├── guide.wxml │ │ ├── guide.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── icon │ │ ├── README.md │ │ ├── icon.d.ts │ │ ├── icon.js │ │ ├── icon.json │ │ ├── icon.wxml │ │ ├── icon.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── image-viewer │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── image-viewer.d.ts │ │ ├── image-viewer.js │ │ ├── image-viewer.json │ │ ├── image-viewer.wxml │ │ ├── image-viewer.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── image │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── image-info.json │ │ ├── image.d.ts │ │ ├── image.js │ │ ├── image.json │ │ ├── image.wxml │ │ ├── image.wxss │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── index.d.ts │ ├── index.js │ ├── indexes-anchor │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── indexes-anchor.d.ts │ │ ├── indexes-anchor.js │ │ ├── indexes-anchor.json │ │ ├── indexes-anchor.wxml │ │ ├── indexes-anchor.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── indexes │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── indexes.d.ts │ │ ├── indexes.js │ │ ├── indexes.json │ │ ├── indexes.wxml │ │ ├── indexes.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── input │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── input.d.ts │ │ ├── input.js │ │ ├── input.json │ │ ├── input.wxml │ │ ├── input.wxs │ │ ├── input.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── link │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── link.d.ts │ │ ├── link.js │ │ ├── link.json │ │ ├── link.wxml │ │ ├── link.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── loading │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── loading.d.ts │ │ ├── loading.js │ │ ├── loading.json │ │ ├── loading.wxml │ │ ├── loading.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── message-item │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── message-item.d.ts │ │ ├── message-item.js │ │ ├── message-item.json │ │ ├── message-item.wxml │ │ ├── message-item.wxs │ │ └── message-item.wxss │ ├── message │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── message.d.ts │ │ ├── message.interface.d.ts │ │ ├── message.interface.js │ │ ├── message.js │ │ ├── message.json │ │ ├── message.wxml │ │ ├── message.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── miniprogram_npm │ │ └── dayjs │ │ │ ├── index.js │ │ │ ├── locale │ │ │ ├── en.js │ │ │ ├── ja.js │ │ │ ├── ko.js │ │ │ ├── ru.js │ │ │ ├── zh-cn.js │ │ │ └── zh-tw.js │ │ │ └── plugin │ │ │ └── localeData.js │ ├── mixins │ │ ├── page-scroll.d.ts │ │ ├── page-scroll.js │ │ ├── theme-change.d.ts │ │ ├── theme-change.js │ │ ├── touch.d.ts │ │ ├── touch.js │ │ ├── transition.d.ts │ │ ├── transition.js │ │ ├── using-custom-navbar.d.ts │ │ └── using-custom-navbar.js │ ├── navbar │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── navbar.d.ts │ │ ├── navbar.js │ │ ├── navbar.json │ │ ├── navbar.wxml │ │ ├── navbar.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── notice-bar │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── notice-bar.d.ts │ │ ├── notice-bar.js │ │ ├── notice-bar.json │ │ ├── notice-bar.wxml │ │ ├── notice-bar.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── overlay │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── overlay.d.ts │ │ ├── overlay.js │ │ ├── overlay.json │ │ ├── overlay.wxml │ │ ├── overlay.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── picker-item │ │ ├── picker-item.d.ts │ │ ├── picker-item.js │ │ ├── picker-item.json │ │ ├── picker-item.wxml │ │ ├── picker-item.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── picker │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── picker.d.ts │ │ ├── picker.js │ │ ├── picker.json │ │ ├── picker.wxml │ │ ├── picker.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── template.wxml │ │ ├── type.d.ts │ │ └── type.js │ ├── popup │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── popup.d.ts │ │ ├── popup.js │ │ ├── popup.json │ │ ├── popup.wxml │ │ ├── popup.wxs │ │ ├── popup.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ └── type.js │ ├── progress │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── progress.d.ts │ │ ├── progress.js │ │ ├── progress.json │ │ ├── progress.wxml │ │ ├── progress.wxs │ │ ├── progress.wxss │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ ├── type.js │ │ ├── utils.d.ts │ │ └── utils.js │ ├── pull-down-refresh │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── pull-down-refresh.d.ts │ │ ├── pull-down-refresh.js │ │ ├── pull-down-refresh.json │ │ ├── pull-down-refresh.wxml │ │ ├── pull-down-refresh.wxss │ │ ├── type.d.ts │ │ └── type.js │ ├── radio-group │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── radio-group.d.ts │ │ ├── radio-group.js │ │ ├── radio-group.json │ │ ├── radio-group.wxml │ │ ├── radio-group.wxss │ │ ├── type.d.ts │ │ └── type.js │ ├── radio │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── radio.d.ts │ │ ├── radio.js │ │ ├── radio.json │ │ ├── radio.wxml │ │ ├── radio.wxss │ │ ├── type.d.ts │ │ └── type.js │ ├── rate │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── rate.d.ts │ │ ├── rate.js │ │ ├── rate.json │ │ ├── rate.wxml │ │ ├── rate.wxs │ │ ├── rate.wxss │ │ ├── type.d.ts │ │ └── type.js │ ├── result │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── result.d.ts │ │ ├── result.js │ │ ├── result.json │ │ ├── result.wxml │ │ ├── result.wxss │ │ ├── type.d.ts │ │ └── type.js │ ├── row │ │ ├── README.md │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── row.d.ts │ │ ├── row.js │ │ ├── row.json │ │ ├── row.wxml │ │ ├── row.wxs │ │ ├── row.wxss │ │ ├── type.d.ts │ │ └── type.js │ ├── search │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── search.d.ts │ │ ├── search.js │ │ ├── search.json │ │ ├── search.wxml │ │ ├── search.wxs │ │ ├── search.wxss │ │ ├── type.d.ts │ │ └── type.js │ ├── side-bar-item │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── side-bar-item.d.ts │ │ ├── side-bar-item.js │ │ ├── side-bar-item.json │ │ ├── side-bar-item.wxml │ │ ├── side-bar-item.wxss │ │ ├── type.d.ts │ │ └── type.js │ ├── side-bar │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── side-bar.d.ts │ │ ├── side-bar.js │ │ ├── side-bar.json │ │ ├── side-bar.wxml │ │ ├── side-bar.wxss │ │ ├── type.d.ts │ │ └── type.js │ ├── skeleton │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── skeleton.d.ts │ │ ├── skeleton.js │ │ ├── skeleton.json │ │ ├── skeleton.wxml │ │ ├── skeleton.wxss │ │ ├── type.d.ts │ │ └── type.js │ ├── slider │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── slider.d.ts │ │ ├── slider.js │ │ ├── slider.json │ │ ├── slider.wxml │ │ ├── slider.wxs │ │ ├── slider.wxss │ │ ├── tool.d.ts │ │ ├── tool.js │ │ ├── type.d.ts │ │ └── type.js │ ├── step-item │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── step-item.d.ts │ │ ├── step-item.js │ │ ├── step-item.json │ │ ├── step-item.wxml │ │ ├── step-item.wxs │ │ ├── step-item.wxss │ │ ├── type.d.ts │ │ └── type.js │ ├── stepper │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── stepper.d.ts │ │ ├── stepper.js │ │ ├── stepper.json │ │ ├── stepper.wxml │ │ ├── stepper.wxss │ │ ├── type.d.ts │ │ └── type.js │ ├── steps │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── steps.d.ts │ │ ├── steps.js │ │ ├── steps.json │ │ ├── steps.wxml │ │ ├── steps.wxss │ │ ├── type.d.ts │ │ └── type.js │ ├── sticky │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── sticky.d.ts │ │ ├── sticky.js │ │ ├── sticky.json │ │ ├── sticky.wxml │ │ ├── sticky.wxss │ │ ├── type.d.ts │ │ └── type.js │ ├── swipe-cell │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── swipe-cell.d.ts │ │ ├── swipe-cell.js │ │ ├── swipe-cell.json │ │ ├── swipe-cell.wxml │ │ ├── swipe-cell.wxs │ │ ├── swipe-cell.wxss │ │ ├── type.d.ts │ │ └── type.js │ ├── swiper-nav │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── swiper-nav.d.ts │ │ ├── swiper-nav.js │ │ ├── swiper-nav.json │ │ ├── swiper-nav.wxml │ │ ├── swiper-nav.wxss │ │ ├── type.d.ts │ │ └── type.js │ ├── swiper │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── index.wxs │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── swiper.d.ts │ │ ├── swiper.js │ │ ├── swiper.json │ │ ├── swiper.wxml │ │ ├── swiper.wxss │ │ ├── type.d.ts │ │ └── type.js │ ├── switch │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── switch.d.ts │ │ ├── switch.js │ │ ├── switch.json │ │ ├── switch.wxml │ │ ├── switch.wxss │ │ ├── type.d.ts │ │ └── type.js │ ├── tab-bar-item │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── tab-bar-item.d.ts │ │ ├── tab-bar-item.js │ │ ├── tab-bar-item.json │ │ ├── tab-bar-item.wxml │ │ ├── tab-bar-item.wxss │ │ ├── type.d.ts │ │ └── type.js │ ├── tab-bar │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── tab-bar.d.ts │ │ ├── tab-bar.js │ │ ├── tab-bar.json │ │ ├── tab-bar.wxml │ │ ├── tab-bar.wxss │ │ ├── type.d.ts │ │ └── type.js │ ├── tab-panel │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── tab-panel.d.ts │ │ ├── tab-panel.js │ │ ├── tab-panel.json │ │ ├── tab-panel.wxml │ │ ├── tab-panel.wxss │ │ ├── type.d.ts │ │ └── type.js │ ├── tabs │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── tabs.d.ts │ │ ├── tabs.js │ │ ├── tabs.json │ │ ├── tabs.wxml │ │ ├── tabs.wxs │ │ ├── tabs.wxss │ │ ├── type.d.ts │ │ └── type.js │ ├── tag │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── tag.d.ts │ │ ├── tag.js │ │ ├── tag.json │ │ ├── tag.wxml │ │ ├── tag.wxss │ │ ├── type.d.ts │ │ └── type.js │ ├── textarea │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── textarea.d.ts │ │ ├── textarea.js │ │ ├── textarea.json │ │ ├── textarea.wxml │ │ ├── textarea.wxs │ │ ├── textarea.wxss │ │ ├── type.d.ts │ │ └── type.js │ ├── toast │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── toast.d.ts │ │ ├── toast.js │ │ ├── toast.json │ │ ├── toast.wxml │ │ ├── toast.wxss │ │ ├── type.d.ts │ │ └── type.js │ ├── transition │ │ ├── README.md │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── transition.d.ts │ │ ├── transition.js │ │ ├── transition.json │ │ ├── transition.wxml │ │ ├── transition.wxss │ │ ├── type.d.ts │ │ └── type.js │ ├── tree-select │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── index.wxs │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── tree-select.d.ts │ │ ├── tree-select.js │ │ ├── tree-select.json │ │ ├── tree-select.wxml │ │ ├── tree-select.wxss │ │ ├── type.d.ts │ │ └── type.js │ └── upload │ │ ├── README.en-US.md │ │ ├── README.md │ │ ├── drag.wxs │ │ ├── props.d.ts │ │ ├── props.js │ │ ├── type.d.ts │ │ ├── type.js │ │ ├── upload-info.json │ │ ├── upload.d.ts │ │ ├── upload.js │ │ ├── upload.json │ │ ├── upload.wxml │ │ ├── upload.wxs │ │ └── upload.wxss └── tslib │ ├── index.js │ └── index.js.map ├── model ├── activities.js ├── activity.js ├── address.js ├── cart.js ├── category.js ├── comments.js ├── comments │ └── queryDetail.js ├── coupon.js ├── detailsComments.js ├── good.js ├── goods.js ├── order │ ├── applyService.js │ ├── orderConfirm.js │ ├── orderDetail.js │ └── orderList.js ├── promotion.js ├── search.js ├── submitComment.js ├── swiper.js └── usercenter.js ├── mysql ├── attr_name.json ├── attr_value.json ├── cart_item.json ├── comment.json ├── coupons.json ├── delivery_info.json ├── home_swiper_image.json ├── hospital.json ├── order.json ├── order_item.json ├── server_city.json ├── shop_spu.json ├── sku.json ├── spu_cate.json ├── user.json └── user_coupons.json ├── package-lock.json ├── package.json ├── packageCoupon └── pages │ └── coupon │ ├── components │ ├── coupon-card │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── floating-button │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ └── ui-coupon-card │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── coupon-activity-goods │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── coupon-detail │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── coupon-list │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss ├── packagePromotion └── pages │ └── promotion-detail │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss ├── packageUser └── pages │ ├── components │ └── ui-address-item │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── name-edit │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ └── person-info │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss ├── pages ├── cart │ ├── components │ │ ├── cart-bar │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── cart-empty │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── cart-group │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ ├── index.wxs │ │ │ ├── index.wxss │ │ │ └── utils.wxs │ │ ├── goods-card │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ └── specs-popup │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss ├── coupon │ ├── components │ │ ├── coupon-card │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── floating-button │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ └── ui-coupon-card │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ └── util.js ├── goods │ ├── category │ │ ├── components │ │ │ └── goods-category │ │ │ │ ├── components │ │ │ │ ├── c-sidebar │ │ │ │ │ ├── README.md │ │ │ │ │ ├── c-sidebar-item │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── index.json │ │ │ │ │ │ ├── index.wxml │ │ │ │ │ │ └── index.wxss │ │ │ │ │ ├── index.js │ │ │ │ │ ├── index.json │ │ │ │ │ ├── index.wxml │ │ │ │ │ └── index.wxss │ │ │ │ └── c-tabbar │ │ │ │ │ ├── c-tabbar-more │ │ │ │ │ ├── index.js │ │ │ │ │ ├── index.json │ │ │ │ │ ├── index.wxml │ │ │ │ │ └── index.wxss │ │ │ │ │ ├── index.js │ │ │ │ │ ├── index.json │ │ │ │ │ ├── index.wxml │ │ │ │ │ └── index.wxss │ │ │ │ ├── index.js │ │ │ │ ├── index.json │ │ │ │ ├── index.wxml │ │ │ │ └── index.wxss │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── comments │ │ ├── components │ │ │ └── comments-card │ │ │ │ ├── components │ │ │ │ ├── images-videos │ │ │ │ │ ├── assets │ │ │ │ │ │ └── play.png │ │ │ │ │ ├── index.js │ │ │ │ │ ├── index.json │ │ │ │ │ ├── index.wxml │ │ │ │ │ └── index.wxss │ │ │ │ └── my-video │ │ │ │ │ ├── index.js │ │ │ │ │ ├── index.json │ │ │ │ │ ├── index.wxml │ │ │ │ │ └── index.wxss │ │ │ │ ├── index.js │ │ │ │ ├── index.json │ │ │ │ ├── index.wxml │ │ │ │ └── index.wxss │ │ ├── create-list │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── create │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── details │ │ ├── components │ │ │ ├── buy-bar │ │ │ │ ├── index.js │ │ │ │ ├── index.json │ │ │ │ ├── index.wxml │ │ │ │ └── index.wxss │ │ │ ├── goods-specs-popup │ │ │ │ ├── index.js │ │ │ │ ├── index.json │ │ │ │ ├── index.wxml │ │ │ │ └── index.wxss │ │ │ └── promotion-popup │ │ │ │ ├── index.js │ │ │ │ ├── index.json │ │ │ │ ├── index.wxml │ │ │ │ └── index.wxss │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── list │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── result │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ └── search │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss ├── home │ ├── home.js │ ├── home.json │ ├── home.wxml │ └── home.wxss ├── hospital │ ├── detail │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ └── list │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss ├── order │ ├── after-service-detail │ │ ├── api.js │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── after-service-list │ │ ├── api.js │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── apply-service │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── components │ │ ├── after-service-button-bar │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── customer-service │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── goods-card │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── noGoods │ │ │ ├── noGood.wxs │ │ │ ├── noGoods.js │ │ │ ├── noGoods.json │ │ │ ├── noGoods.wxml │ │ │ └── noGoods.wxss │ │ ├── order-button-bar │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── order-card │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── order-goods-card │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ └── index.wxml │ │ ├── reason-sheet │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ ├── index.wxss │ │ │ └── reasonSheet.js │ │ ├── selectCoupons │ │ │ ├── mock.js │ │ │ ├── selectCoupon.wxs │ │ │ ├── selectCoupons.js │ │ │ ├── selectCoupons.json │ │ │ ├── selectCoupons.wxml │ │ │ └── selectCoupons.wxss │ │ └── specs-goods-card │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ ├── config.js │ ├── delivery-detail │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── fill-tracking-no │ │ ├── api.js │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── invoice │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── order-confirm │ │ ├── components │ │ │ └── address-card │ │ │ │ ├── index.js │ │ │ │ ├── index.json │ │ │ │ ├── index.wxml │ │ │ │ └── index.wxss │ │ ├── getNotes.wxs │ │ ├── handleInvoice.wxs │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ ├── index.wxss │ │ ├── order.wxs │ │ └── pay.js │ ├── order-detail │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── order-list │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ ├── pay-result │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss │ └── receipt │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss ├── usercenter │ ├── address │ │ ├── edit │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ └── list │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ ├── index.wxss │ │ │ └── util.js │ ├── components │ │ ├── order-group │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── ui-address-item │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ ├── ui-select-picker │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ │ └── user-center-card │ │ │ ├── index.js │ │ │ ├── index.json │ │ │ ├── index.wxml │ │ │ └── index.wxss │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss └── webview │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss ├── project.config.json ├── project.private.config.json ├── services ├── _utils │ ├── delay.js │ ├── model.js │ └── timeout.js ├── activity │ ├── fetchActivity.js │ └── fetchActivityList.js ├── address │ └── address.js ├── attrValue │ └── attrValue.js ├── cart │ └── cart.js ├── cate │ └── cate.js ├── city │ └── city.js ├── cloudbaseMock │ └── index.js ├── comments │ ├── comments.js │ ├── fetchComments.js │ └── fetchCommentsCount.js ├── coupon │ ├── coupon.js │ └── index.js ├── good │ ├── comments │ │ └── fetchCommentDetail.js │ ├── fetchCategoryList.js │ ├── fetchGood.js │ ├── fetchGoodsDetailsComments.js │ ├── fetchGoodsList.js │ ├── fetchSearchHistory.js │ ├── fetchSearchResult.js │ └── spu.js ├── home │ └── home.js ├── hospital │ └── hospital.js ├── order │ ├── applyService.js │ ├── order.js │ ├── orderConfirm.js │ ├── orderDetail.js │ ├── orderItem.js │ ├── orderList.js │ └── orderSubmitComment.js ├── pay │ └── pay.js ├── promotion │ └── detail.js ├── sku │ └── sku.js ├── user │ └── user.js └── usercenter │ ├── fetchPerson.js │ └── fetchUsercenter.js ├── sitemap.json ├── style ├── cart-group.wxss ├── global.wxss ├── goodsList.wxss ├── iconfont.wxss └── theme.wxss └── utils ├── addressListFresh.js ├── cartFresh.js ├── cloudImageHandler.js ├── getPermission.js ├── listLoading.js ├── mock.js ├── orderListFresh.js ├── orderOperation.js ├── spuStatus.js └── util.js /.gitignore: -------------------------------------------------------------------------------- 1 | # 依赖包文件夹 2 | node_modules/ 3 | 4 | # 微信开发者工具本地配置文件 5 | project.config.json 6 | project.private.config.json 7 | 8 | # 编译后的小程序代码和临时文件 9 | miniprogram_npm/ 10 | dist/ 11 | .miniprogram/ 12 | 13 | # 微信开发者工具自动生成的项目配置备份文件 14 | *.bak 15 | 16 | # 本地环境文件 17 | .env 18 | .env.local 19 | .env.development.local 20 | .env.test.local 21 | .env.production.local 22 | 23 | # npm日志文件 24 | npm-debug.log* 25 | yarn-debug.log* 26 | yarn-error.log* 27 | 28 | # 编辑器目录和文件 29 | .idea/ 30 | .vscode/ 31 | *.suo 32 | *.ntvs* 33 | *.njsproj 34 | *.sln 35 | *.sw? 36 | 37 | # 临时文件 38 | .DS_Store 39 | Thumbs.db 40 | .tmp/ 41 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | # 去除注释可以使用代理进行安装 2 | # proxy=http://127.0.0.1:1080 3 | # https_proxy=http://127.0.0.1:1080 4 | 5 | # 去除注释可以使用淘宝源 6 | # registry=https://registry.npm.taobao.org 7 | 8 | # 去除注释可以使用腾讯源 9 | #registry=http://mirrors.tencent.com/npm/ 10 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | miniprogram_npm 2 | package.json 3 | project.config.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "git.ignoreLimitWarning": true 3 | } -------------------------------------------------------------------------------- /app.wxss: -------------------------------------------------------------------------------- 1 | @import 'style/iconfont.wxss'; 2 | 3 | @import 'style/theme.wxss'; -------------------------------------------------------------------------------- /cloudfunctions/shop_pay/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "shop_pay", 3 | "version": "1.0.0", 4 | "description": "云开发电商支付订单", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "@cloudbase/node-sdk": "3.2", 13 | "wx-server-sdk": "~2.4.0" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /cloudfunctions/updateUserCoupon/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "updateUserCoupon", 3 | "version": "1.0.0", 4 | "description": "更新用户优惠券状态", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "@cloudbase/node-sdk": "3.2", 13 | "wx-server-sdk": "~2.4.0" 14 | } 15 | } -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { extends: ['@commitlint/config-conventional'] }; 2 | -------------------------------------------------------------------------------- /components/filter-popup/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "t-popup": "tdesign-miniprogram/popup/popup" 5 | } 6 | } -------------------------------------------------------------------------------- /components/filter-popup/index.wxml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 重置 12 | 13 | 确定 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /components/filter/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "t-icon": "tdesign-miniprogram/icon/icon" 5 | } 6 | } -------------------------------------------------------------------------------- /components/goods-card/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "price": "/components/price/index", 5 | "t-icon": "tdesign-miniprogram/icon/icon", 6 | "t-image": "/components/webp-image/index" 7 | } 8 | } -------------------------------------------------------------------------------- /components/goods-list/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "goods-card": "/components/goods-card/index" 5 | } 6 | } -------------------------------------------------------------------------------- /components/goods-list/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /components/goods-list/index.wxss: -------------------------------------------------------------------------------- 1 | .goods-list-wrap { 2 | display: flex; 3 | flex-flow: row wrap; 4 | justify-content: space-between; 5 | padding: 0; 6 | background: #fff; 7 | } 8 | -------------------------------------------------------------------------------- /components/load-more/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "t-loading": "tdesign-miniprogram/loading/loading", 5 | "t-divider": "tdesign-miniprogram/divider/divider" 6 | } 7 | } -------------------------------------------------------------------------------- /components/loading-content/index.js: -------------------------------------------------------------------------------- 1 | Component({ 2 | externalClasses: ['wr-class'], 3 | properties: { 4 | position: { 5 | type: String, 6 | value: 'static', 7 | }, 8 | noMask: Boolean, 9 | type: { 10 | type: String, 11 | value: 'circular', 12 | }, 13 | vertical: Boolean, 14 | size: { 15 | type: String, 16 | value: '50rpx', 17 | }, 18 | backgroundColor: { 19 | type: String, 20 | value: 'rgba(0, 0, 0, .6)', 21 | }, 22 | }, 23 | }); 24 | -------------------------------------------------------------------------------- /components/loading-content/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "t-loading": "tdesign-miniprogram/loading/loading" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /components/loading-content/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /components/loading-content/index.wxss: -------------------------------------------------------------------------------- 1 | .loading-content { 2 | width: 100%; 3 | height: 100%; 4 | background-color: rgba(0, 0, 0, 0.6); 5 | position: relative; 6 | } 7 | .loading-content.absolute { 8 | position: absolute; 9 | z-index: 1; 10 | left: 0; 11 | top: 0; 12 | } 13 | .loading-content.fixed { 14 | position: fixed; 15 | z-index: 1; 16 | left: 0; 17 | top: 0; 18 | } 19 | .loading-content .loading { 20 | width: 100%; 21 | height: 100%; 22 | visibility: visible; 23 | } 24 | -------------------------------------------------------------------------------- /components/loading-dialog/index.js: -------------------------------------------------------------------------------- 1 | Component({ 2 | properties: { 3 | show: { 4 | type: Boolean, 5 | value: false, 6 | }, 7 | }, 8 | }); 9 | -------------------------------------------------------------------------------- /components/loading-dialog/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "t-loading": "tdesign-miniprogram/loading/loading", 5 | "t-dialog": "tdesign-miniprogram/dialog/dialog" 6 | }, 7 | "styleIsolation": "shared" 8 | } -------------------------------------------------------------------------------- /components/loading-dialog/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /components/loading-dialog/index.wxss: -------------------------------------------------------------------------------- 1 | .loading-dialog .t-dialog{ 2 | width: unset; 3 | } 4 | 5 | .loading-dialog .t-dialog__content { 6 | padding: 80rpx; 7 | } 8 | 9 | .loading-dialog .t-dialog__footer { 10 | display: none; 11 | } -------------------------------------------------------------------------------- /components/price/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /components/swipeout/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /components/swipeout/index.wxss: -------------------------------------------------------------------------------- 1 | .wr-swipeout { 2 | position: relative; 3 | overflow: hidden; 4 | } 5 | .wr-swipeout__left, 6 | .wr-swipeout__right { 7 | position: absolute; 8 | top: 0; 9 | height: 100%; 10 | } 11 | .wr-swipeout__left { 12 | left: 0; 13 | transform: translate3d(-100%, 0, 0); 14 | } 15 | .wr-swipeout__right { 16 | right: 0; 17 | transform: translate3d(100%, 0, 0); 18 | } 19 | -------------------------------------------------------------------------------- /components/webp-image/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "t-image": "tdesign-miniprogram/image/image" 5 | } 6 | } -------------------------------------------------------------------------------- /components/webp-image/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 15 | -------------------------------------------------------------------------------- /components/webp-image/index.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gray878/wx_clinic/4374090e12bbc2f4cfcb45900b66ae0cebba9d9c/components/webp-image/index.wxss -------------------------------------------------------------------------------- /config/index.js: -------------------------------------------------------------------------------- 1 | /** TDesign 使用 */ 2 | export const config = { 3 | /** 是否使用mock代替api返回 */ 4 | useMock: false, 5 | }; 6 | 7 | /** 云开发使用 */ 8 | export const cloudbaseTemplateConfig = { 9 | useMock: false, 10 | }; 11 | 12 | export const cdnBase = 'https://we-retail-static-1300977798.cos.ap-guangzhou.myqcloud.com/retail-mp'; 13 | -------------------------------------------------------------------------------- /config/model.js: -------------------------------------------------------------------------------- 1 | export const DATA_MODEL_KEY = { 2 | ATTR_VALUE: 'shop_attr_value', 3 | CATE: 'shop_spu_cate', 4 | CART_ITEM: 'shop_cart_item', 5 | COMMENT: 'shop_comment', 6 | DELIVERY_INFO: 'shop_delivery_info', 7 | HOME_SWIPER: 'shop_home_swiper_image', 8 | ORDER: 'shop_order', 9 | ORDER_ITEM: 'shop_order_item', 10 | SKU: 'shop_sku', 11 | SPU: 'shop_spu', 12 | CITY: 'server_city', 13 | HOSPITAL: 'hospital', 14 | USER: 'shop_user', 15 | COUPON: 'coupons', 16 | USER_COUPON: 'user_coupons' 17 | }; 18 | -------------------------------------------------------------------------------- /custom-tab-bar/data.js: -------------------------------------------------------------------------------- 1 | export default [ 2 | { 3 | icon: 'home', 4 | text: '首页', 5 | url: 'pages/home/home', 6 | }, 7 | { 8 | icon: 'sort', 9 | text: '分类', 10 | url: 'pages/goods/category/index', 11 | }, 12 | { 13 | icon: 'cart', 14 | text: '购物车', 15 | url: 'pages/cart/index', 16 | }, 17 | { 18 | icon: 'person', 19 | text: '我的', 20 | url: 'pages/usercenter/index', 21 | }, 22 | ]; 23 | -------------------------------------------------------------------------------- /custom-tab-bar/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": { 4 | "t-tab-bar": "tdesign-miniprogram/tab-bar/tab-bar", 5 | "t-tab-bar-item": "tdesign-miniprogram/tab-bar-item/tab-bar-item", 6 | "t-icon": "tdesign-miniprogram/icon/icon" 7 | } 8 | } -------------------------------------------------------------------------------- /custom-tab-bar/index.wxml: -------------------------------------------------------------------------------- 1 | 6 | 12 | 13 | 14 | {{ item.text }} 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /custom-tab-bar/index.wxss: -------------------------------------------------------------------------------- 1 | .custom-tab-bar-wrapper { 2 | display: flex; 3 | flex-direction: column; 4 | align-items: center; 5 | } 6 | 7 | .custom-tab-bar-wrapper .text { 8 | font-size: 20rpx; 9 | } 10 | -------------------------------------------------------------------------------- /jsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "baseUrl": "." 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/action-sheet/action-sheet.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "styleIsolation": "apply-shared", 4 | "usingComponents": { 5 | "t-icon": "../icon/icon", 6 | "t-popup": "../popup/popup", 7 | "t-grid": "../grid/grid", 8 | "t-grid-item": "../grid-item/grid-item" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/action-sheet/action-sheet.wxs: -------------------------------------------------------------------------------- 1 | var getListThemeItemClass = function (props) { 2 | var classPrefix = props.classPrefix; 3 | var item = props.item; 4 | var prefix = props.prefix; 5 | var classList = [classPrefix + '__list-item']; 6 | if (item.disabled) { 7 | classList.push(prefix + '-is-disabled'); 8 | } 9 | return classList.join(' '); 10 | }; 11 | 12 | var isImage = function (name) { 13 | return name.indexOf('/') !== -1; 14 | }; 15 | 16 | module.exports = { 17 | getListThemeItemClass: getListThemeItemClass, 18 | isImage: isImage, 19 | }; 20 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/action-sheet/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { ActionSheetItem, ActionSheetTheme, ActionSheetShowOption } from './show'; 3 | export { ActionSheetItem, ActionSheetTheme, ActionSheetShowOption }; 4 | declare const _default: { 5 | show(options: ActionSheetShowOption): WechatMiniprogram.Component.TrivialInstance; 6 | close(options: ActionSheetShowOption): void; 7 | }; 8 | export default _default; 9 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/action-sheet/index.js: -------------------------------------------------------------------------------- 1 | import { show, close, ActionSheetTheme } from './show'; 2 | export { ActionSheetTheme }; 3 | export default { 4 | show(options) { 5 | return show(options); 6 | }, 7 | close(options) { 8 | return close(options); 9 | }, 10 | }; 11 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/action-sheet/props.d.ts: -------------------------------------------------------------------------------- 1 | import { TdActionSheetProps } from './type'; 2 | declare const props: TdActionSheetProps; 3 | export default props; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/action-sheet/type.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/avatar-group/avatar-group.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "styleIsolation": "shared", 4 | "usingComponents": { 5 | "t-avatar": "../avatar/avatar" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/avatar-group/props.d.ts: -------------------------------------------------------------------------------- 1 | import { TdAvatarGroupProps } from './type'; 2 | declare const props: TdAvatarGroupProps; 3 | export default props; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/avatar-group/props.js: -------------------------------------------------------------------------------- 1 | const props = { 2 | cascading: { 3 | type: String, 4 | value: 'left-up', 5 | }, 6 | collapseAvatar: { 7 | type: String, 8 | }, 9 | max: { 10 | type: Number, 11 | }, 12 | shape: { 13 | type: String, 14 | }, 15 | size: { 16 | type: String, 17 | value: '', 18 | }, 19 | }; 20 | export default props; 21 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/avatar-group/type.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/avatar/avatar.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "styleIsolation": "shared", 4 | "usingComponents": { 5 | "t-icon": "../icon/icon", 6 | "t-badge": "../badge/badge", 7 | "t-image": "../image/image" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/avatar/props.d.ts: -------------------------------------------------------------------------------- 1 | import { TdAvatarProps } from './type'; 2 | declare const props: TdAvatarProps; 3 | export default props; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/avatar/type.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/back-top/back-top.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "styleIsolation": "apply-shared", 4 | "usingComponents": { 5 | "t-icon": "../icon/icon" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/back-top/props.d.ts: -------------------------------------------------------------------------------- 1 | import { TdBackTopProps } from './type'; 2 | declare const props: TdBackTopProps; 3 | export default props; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/back-top/type.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/badge/badge.d.ts: -------------------------------------------------------------------------------- 1 | import { SuperComponent } from '../common/src/index'; 2 | import type { TdBadgeProps } from './type'; 3 | export interface BadgeProps extends TdBadgeProps { 4 | } 5 | export default class Badge extends SuperComponent { 6 | options: { 7 | multipleSlots: boolean; 8 | }; 9 | externalClasses: string[]; 10 | properties: TdBadgeProps; 11 | data: { 12 | prefix: string; 13 | classPrefix: string; 14 | value: string; 15 | labelID: string; 16 | descriptionID: string; 17 | }; 18 | lifetimes: { 19 | ready(): void; 20 | }; 21 | } 22 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/badge/badge.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "styleIsolation": "apply-shared", 4 | "usingComponents": {} 5 | } 6 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/badge/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from './type'; 2 | export * from './props'; 3 | export * from './badge'; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/badge/index.js: -------------------------------------------------------------------------------- 1 | export * from './type'; 2 | export * from './props'; 3 | export * from './badge'; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/badge/props.d.ts: -------------------------------------------------------------------------------- 1 | import { TdBadgeProps } from './type'; 2 | declare const props: TdBadgeProps; 3 | export default props; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/badge/type.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/button/button.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "styleIsolation": "apply-shared", 4 | "usingComponents": { 5 | "t-icon": "../icon/icon", 6 | "t-loading": "../loading/loading" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/button/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from './props'; 2 | export * from './type'; 3 | export * from './button'; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/button/index.js: -------------------------------------------------------------------------------- 1 | export * from './props'; 2 | export * from './type'; 3 | export * from './button'; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/button/props.d.ts: -------------------------------------------------------------------------------- 1 | import { TdButtonProps } from './type'; 2 | declare const props: TdButtonProps; 3 | export default props; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/button/type.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/calendar/calendar.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "styleIsolation": "apply-shared", 4 | "usingComponents": { 5 | "t-popup": "../popup/popup", 6 | "t-button": "../button/button", 7 | "t-icon": "../icon/icon" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/calendar/calendar.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/calendar/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from './type'; 2 | export * from './calendar'; 3 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/calendar/index.js: -------------------------------------------------------------------------------- 1 | export * from './type'; 2 | export * from './calendar'; 3 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/calendar/props.d.ts: -------------------------------------------------------------------------------- 1 | import { TdCalendarProps } from './type'; 2 | declare const props: TdCalendarProps; 3 | export default props; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/calendar/type.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/cascader/cascader.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "styleIsolation": "apply-shared", 4 | "usingComponents": { 5 | "t-icon": "../icon/icon", 6 | "t-popup": "../popup/popup", 7 | "t-tabs": "../tabs/tabs", 8 | "t-tab-panel": "../tab-panel/tab-panel", 9 | "t-radio-group": "../radio-group/radio-group" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/cascader/props.d.ts: -------------------------------------------------------------------------------- 1 | import { TdCascaderProps } from './type'; 2 | declare const props: TdCascaderProps; 3 | export default props; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/cascader/type.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/cell-group/cell-group.d.ts: -------------------------------------------------------------------------------- 1 | import { SuperComponent, RelationsOptions } from '../common/src/index'; 2 | export default class CellGroup extends SuperComponent { 3 | externalClasses: string[]; 4 | relations: RelationsOptions; 5 | properties: import("./type").TdCellGroupProps; 6 | data: { 7 | prefix: string; 8 | classPrefix: string; 9 | }; 10 | methods: { 11 | updateLastChid(): void; 12 | }; 13 | } 14 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/cell-group/cell-group.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "styleIsolation": "apply-shared" 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/cell-group/cell-group.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ title }} 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/cell-group/props.d.ts: -------------------------------------------------------------------------------- 1 | import { TdCellGroupProps } from './type'; 2 | declare const props: TdCellGroupProps; 3 | export default props; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/cell-group/props.js: -------------------------------------------------------------------------------- 1 | const props = { 2 | bordered: { 3 | type: Boolean, 4 | value: false, 5 | }, 6 | theme: { 7 | type: String, 8 | value: 'default', 9 | }, 10 | title: { 11 | type: String, 12 | value: '', 13 | }, 14 | }; 15 | export default props; 16 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/cell-group/type.d.ts: -------------------------------------------------------------------------------- 1 | export interface TdCellGroupProps { 2 | bordered?: { 3 | type: BooleanConstructor; 4 | value?: boolean; 5 | }; 6 | theme?: { 7 | type: StringConstructor; 8 | value?: 'default' | 'card'; 9 | }; 10 | title?: { 11 | type: StringConstructor; 12 | value?: string; 13 | }; 14 | } 15 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/cell-group/type.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/cell/cell.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "styleIsolation": "apply-shared", 4 | "usingComponents": { 5 | "t-icon": "../icon/icon", 6 | "t-image": "../image/image" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/cell/props.d.ts: -------------------------------------------------------------------------------- 1 | import { TdCellProps } from './type'; 2 | declare const props: TdCellProps; 3 | export default props; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/cell/type.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/check-tag/check-tag.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "styleIsolation": "apply-shared", 4 | "usingComponents": { 5 | "t-icon": "../icon/icon" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/check-tag/props.d.ts: -------------------------------------------------------------------------------- 1 | import { TdCheckTagProps } from './type'; 2 | declare const props: TdCheckTagProps; 3 | export default props; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/check-tag/type.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/checkbox-group/checkbox-group.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "styleIsolation": "apply-shared", 4 | "usingComponents": { 5 | "t-checkbox": "../checkbox/checkbox" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/checkbox-group/checkbox-group.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gray878/wx_clinic/4374090e12bbc2f4cfcb45900b66ae0cebba9d9c/miniprogram_npm/tdesign-miniprogram/checkbox-group/checkbox-group.wxss -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/checkbox-group/props.d.ts: -------------------------------------------------------------------------------- 1 | import { TdCheckboxGroupProps } from './type'; 2 | declare const props: TdCheckboxGroupProps; 3 | export default props; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/checkbox-group/type.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/checkbox/checkbox.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "styleIsolation": "apply-shared", 4 | "usingComponents": { 5 | "t-icon": "../icon/icon" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/checkbox/props.d.ts: -------------------------------------------------------------------------------- 1 | import { TdCheckboxProps } from './type'; 2 | declare const props: TdCheckboxProps; 3 | export default props; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/checkbox/type.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/col/col.d.ts: -------------------------------------------------------------------------------- 1 | import { SuperComponent, RelationsOptions } from '../common/src/index'; 2 | export default class Col extends SuperComponent { 3 | externalClasses: string[]; 4 | properties: import("./type").TdColProps; 5 | data: { 6 | prefix: string; 7 | classPrefix: string; 8 | }; 9 | relations: RelationsOptions; 10 | } 11 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/col/col.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "styleIsolation": "apply-shared", 4 | "usingComponents": {} 5 | } 6 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/col/col.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/col/col.wxs: -------------------------------------------------------------------------------- 1 | var utils = require('../common/utils.wxs'); 2 | 3 | function getColStyles(gutter, style, customStyle) { 4 | var _style = ''; 5 | if (gutter) { 6 | _style = utils._style({ 7 | 'padding-right': utils.addUnit(gutter / 2), 8 | 'padding-left': utils.addUnit(gutter / 2), 9 | }); 10 | } 11 | 12 | return utils._style([style, customStyle]) + _style; 13 | } 14 | 15 | module.exports = { 16 | getColStyles: getColStyles, 17 | }; 18 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/col/props.d.ts: -------------------------------------------------------------------------------- 1 | import { TdColProps } from './type'; 2 | declare const props: TdColProps; 3 | export default props; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/col/props.js: -------------------------------------------------------------------------------- 1 | const props = { 2 | offset: { 3 | type: null, 4 | }, 5 | span: { 6 | type: null, 7 | }, 8 | }; 9 | export default props; 10 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/col/type.d.ts: -------------------------------------------------------------------------------- 1 | export interface TdColProps { 2 | offset?: { 3 | type: null; 4 | value?: string | number; 5 | }; 6 | span?: { 7 | type: null; 8 | value?: string | number; 9 | }; 10 | } 11 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/col/type.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/collapse-panel/collapse-panel.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "styleIsolation": "apply-shared", 4 | "usingComponents": { 5 | "t-cell": "../cell/cell" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/collapse-panel/props.d.ts: -------------------------------------------------------------------------------- 1 | import { TdCollapsePanelProps } from './type'; 2 | declare const props: TdCollapsePanelProps; 3 | export default props; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/collapse-panel/type.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/collapse/collapse.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "styleIsolation": "apply-shared" 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/collapse/collapse.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/collapse/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default as Collapse } from './collapse'; 2 | export * from './type'; 3 | export * from './props'; 4 | export { CollapseProps } from './collapse'; 5 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/collapse/index.js: -------------------------------------------------------------------------------- 1 | export { default as Collapse } from './collapse'; 2 | export * from './type'; 3 | export * from './props'; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/collapse/props.d.ts: -------------------------------------------------------------------------------- 1 | import { TdCollapseProps } from './type'; 2 | declare const props: TdCollapseProps; 3 | export default props; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/collapse/type.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/bus.d.ts: -------------------------------------------------------------------------------- 1 | export default class Bus { 2 | listeners: Map; 3 | emitted: Set; 4 | constructor(); 5 | on(evtName: string, listener: any): void; 6 | emit(evtName: string): void; 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/common.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/component.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | declare const TComponent: typeof Component; 3 | export default TComponent; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/component.js: -------------------------------------------------------------------------------- 1 | const TComponent = (options) => { 2 | options.options = Object.assign({ multipleSlots: true, addGlobalClass: true }, options.options); 3 | return Component(options); 4 | }; 5 | export default TComponent; 6 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/config.d.ts: -------------------------------------------------------------------------------- 1 | declare const _default: { 2 | prefix: string; 3 | }; 4 | export default _default; 5 | export declare const prefix = "t"; 6 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | prefix: "t", 3 | }; 4 | export const prefix = "t"; 5 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/index.wxss: -------------------------------------------------------------------------------- 1 | .t-float-left { 2 | float: left; 3 | } 4 | .t-float-right { 5 | float: right; 6 | } 7 | @keyframes tdesign-fade-out { 8 | from { 9 | opacity: 1; 10 | } 11 | to { 12 | opacity: 0; 13 | } 14 | } 15 | .hotspot-expanded.relative { 16 | position: relative; 17 | } 18 | .hotspot-expanded::after { 19 | content: ''; 20 | display: block; 21 | position: absolute; 22 | left: 0; 23 | top: 0; 24 | right: 0; 25 | bottom: 0; 26 | transform: scale(1.5); 27 | } 28 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/shared/calendar/type.d.ts: -------------------------------------------------------------------------------- 1 | export interface TDate { 2 | date: Date; 3 | day: number; 4 | type: TDateType; 5 | className?: string; 6 | prefix?: string; 7 | suffix?: string; 8 | } 9 | export declare type TCalendarValue = number | Date; 10 | export declare type TDateType = 'selected' | 'disabled' | 'start' | 'centre' | 'end' | ''; 11 | export declare type TCalendarType = 'single' | 'multiple' | 'range'; 12 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/shared/calendar/type.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/src/control.d.ts: -------------------------------------------------------------------------------- 1 | declare type ControlInstance = { 2 | controlled: boolean; 3 | initValue: any; 4 | set(newVal: any, extObj?: Object, fn?: any): void; 5 | get(): any; 6 | change(newVal: any, customChangeData?: any, customUpdateFn?: any): void; 7 | }; 8 | declare type ControlOption = { 9 | valueKey?: string; 10 | defaultValueKey?: string; 11 | changeEventName?: string; 12 | strict?: boolean; 13 | }; 14 | declare function useControl(this: any, option?: ControlOption): ControlInstance; 15 | export { ControlOption, ControlInstance, useControl }; 16 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/src/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from './superComponent'; 2 | export * from './flatTool'; 3 | export * from './instantiationDecorator'; 4 | export * from './control'; 5 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/src/index.js: -------------------------------------------------------------------------------- 1 | export * from './superComponent'; 2 | export * from './flatTool'; 3 | export * from './instantiationDecorator'; 4 | export * from './control'; 5 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/src/instantiationDecorator.d.ts: -------------------------------------------------------------------------------- 1 | import { SuperComponent } from './superComponent'; 2 | export declare const toComponent: (options: Record) => Record; 3 | export declare const wxComponent: () => (constructor: new () => SuperComponent) => void; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/src/superComponent.js: -------------------------------------------------------------------------------- 1 | export class SuperComponent { 2 | constructor() { 3 | this.app = getApp(); 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/style/_variables.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gray878/wx_clinic/4374090e12bbc2f4cfcb45900b66ae0cebba9d9c/miniprogram_npm/tdesign-miniprogram/common/style/_variables.wxss -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/style/base.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gray878/wx_clinic/4374090e12bbc2f4cfcb45900b66ae0cebba9d9c/miniprogram_npm/tdesign-miniprogram/common/style/base.wxss -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/style/icons.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gray878/wx_clinic/4374090e12bbc2f4cfcb45900b66ae0cebba9d9c/miniprogram_npm/tdesign-miniprogram/common/style/icons.wxss -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/style/index.wxss: -------------------------------------------------------------------------------- 1 | .t-float-left { 2 | float: left; 3 | } 4 | .t-float-right { 5 | float: right; 6 | } 7 | @keyframes tdesign-fade-out { 8 | from { 9 | opacity: 1; 10 | } 11 | to { 12 | opacity: 0; 13 | } 14 | } 15 | .hotspot-expanded.relative { 16 | position: relative; 17 | } 18 | .hotspot-expanded::after { 19 | content: ''; 20 | display: block; 21 | position: absolute; 22 | left: 0; 23 | top: 0; 24 | right: 0; 25 | bottom: 0; 26 | transform: scale(1.5); 27 | } 28 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/style/mixins/_clearfix.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gray878/wx_clinic/4374090e12bbc2f4cfcb45900b66ae0cebba9d9c/miniprogram_npm/tdesign-miniprogram/common/style/mixins/_clearfix.wxss -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/style/mixins/_cursor.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gray878/wx_clinic/4374090e12bbc2f4cfcb45900b66ae0cebba9d9c/miniprogram_npm/tdesign-miniprogram/common/style/mixins/_cursor.wxss -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/style/mixins/_ellipsis.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gray878/wx_clinic/4374090e12bbc2f4cfcb45900b66ae0cebba9d9c/miniprogram_npm/tdesign-miniprogram/common/style/mixins/_ellipsis.wxss -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/style/mixins/_hairline.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gray878/wx_clinic/4374090e12bbc2f4cfcb45900b66ae0cebba9d9c/miniprogram_npm/tdesign-miniprogram/common/style/mixins/_hairline.wxss -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/style/mixins/_index.wxss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Gray878/wx_clinic/4374090e12bbc2f4cfcb45900b66ae0cebba9d9c/miniprogram_npm/tdesign-miniprogram/common/style/mixins/_index.wxss -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/style/theme/_radius.wxss: -------------------------------------------------------------------------------- 1 | page, 2 | .page { 3 | --td-radius-small: 6rpx; 4 | --td-radius-default: 12rpx; 5 | --td-radius-large: 18rpx; 6 | --td-radius-extra-large: 24rpx; 7 | --td-radius-round: 999px; 8 | --td-radius-circle: 50%; 9 | } 10 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/style/theme/_spacer.wxss: -------------------------------------------------------------------------------- 1 | page, 2 | .page { 3 | --td-spacer: 16rpx; 4 | --td-spacer-1: 24rpx; 5 | --td-spacer-2: 32rpx; 6 | --td-spacer-3: 48rpx; 7 | --td-spacer-4: 64rpx; 8 | --td-spacer-5: 96rpx; 9 | --td-spacer-6: 160rpx; 10 | } 11 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/style/utilities/_animation.wxss: -------------------------------------------------------------------------------- 1 | @keyframes tdesign-fade-out { 2 | from { 3 | opacity: 1; 4 | } 5 | to { 6 | opacity: 0; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/style/utilities/_float.wxss: -------------------------------------------------------------------------------- 1 | .t-float-left { 2 | float: left; 3 | } 4 | .t-float-right { 5 | float: right; 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/style/utilities/_index.wxss: -------------------------------------------------------------------------------- 1 | .t-float-left { 2 | float: left; 3 | } 4 | .t-float-right { 5 | float: right; 6 | } 7 | @keyframes tdesign-fade-out { 8 | from { 9 | opacity: 1; 10 | } 11 | to { 12 | opacity: 0; 13 | } 14 | } 15 | .hotspot-expanded.relative { 16 | position: relative; 17 | } 18 | .hotspot-expanded::after { 19 | content: ''; 20 | display: block; 21 | position: absolute; 22 | left: 0; 23 | top: 0; 24 | right: 0; 25 | bottom: 0; 26 | transform: scale(1.5); 27 | } 28 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/template/badge.wxml: -------------------------------------------------------------------------------- 1 | 17 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/template/icon.wxml: -------------------------------------------------------------------------------- 1 | 15 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare function compareVersion(v1: any, v2: any): 0 | 1 | -1; 2 | export declare function canIUseFormFieldButton(): boolean; 3 | export declare function canUseVirtualHost(): boolean; 4 | export declare function canUseProxyScrollView(): boolean; 5 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/common/wechat.d.ts: -------------------------------------------------------------------------------- 1 | export declare const getObserver: (context: any, selector: string) => Promise; 2 | export declare const getWindowInfo: () => WechatMiniprogram.WindowInfo | WechatMiniprogram.SystemInfo; 3 | export declare const getAppBaseInfo: () => WechatMiniprogram.SystemInfo | WechatMiniprogram.AppBaseInfo; 4 | export declare const getDeviceInfo: () => WechatMiniprogram.SystemInfo | WechatMiniprogram.DeviceInfo; 5 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/count-down/count-down.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "styleIsolation": "apply-shared", 4 | "usingComponents": { 5 | "t-icon": "../icon/icon" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/count-down/props.d.ts: -------------------------------------------------------------------------------- 1 | import { TdCountDownProps } from './type'; 2 | declare const props: TdCountDownProps; 3 | export default props; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/count-down/type.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/date-time-picker/date-time-picker.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "styleIsolation": "apply-shared", 4 | "usingComponents": { 5 | "t-picker": "../picker/picker", 6 | "t-picker-item": "../picker-item/picker-item" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/date-time-picker/locale/en.d.ts: -------------------------------------------------------------------------------- 1 | declare const _default: { 2 | year: string; 3 | month: string; 4 | date: string; 5 | hour: string; 6 | minute: string; 7 | second: string; 8 | am: string; 9 | pm: string; 10 | confirm: string; 11 | cancel: string; 12 | }; 13 | export default _default; 14 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/date-time-picker/locale/en.js: -------------------------------------------------------------------------------- 1 | export default { 2 | year: '', 3 | month: '', 4 | date: '', 5 | hour: '', 6 | minute: '', 7 | second: '', 8 | am: 'AM', 9 | pm: 'PM', 10 | confirm: 'confirm', 11 | cancel: 'cancel', 12 | }; 13 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/date-time-picker/locale/ja.d.ts: -------------------------------------------------------------------------------- 1 | declare const _default: { 2 | year: string; 3 | month: string; 4 | date: string; 5 | hour: string; 6 | minute: string; 7 | second: string; 8 | am: string; 9 | pm: string; 10 | confirm: string; 11 | cancel: string; 12 | }; 13 | export default _default; 14 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/date-time-picker/locale/ja.js: -------------------------------------------------------------------------------- 1 | export default { 2 | year: '年', 3 | month: '月', 4 | date: '日', 5 | hour: '時', 6 | minute: '分', 7 | second: '秒', 8 | am: '午前', 9 | pm: '午後', 10 | confirm: '確認', 11 | cancel: 'キャンセル', 12 | }; 13 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/date-time-picker/locale/ko.d.ts: -------------------------------------------------------------------------------- 1 | declare const _default: { 2 | year: string; 3 | month: string; 4 | date: string; 5 | hour: string; 6 | minute: string; 7 | second: string; 8 | am: string; 9 | pm: string; 10 | confirm: string; 11 | cancel: string; 12 | }; 13 | export default _default; 14 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/date-time-picker/locale/ko.js: -------------------------------------------------------------------------------- 1 | export default { 2 | year: '년', 3 | month: '월', 4 | date: '일', 5 | hour: '시', 6 | minute: '분', 7 | second: '초', 8 | am: '오전', 9 | pm: '오후', 10 | confirm: '확인', 11 | cancel: '취소', 12 | }; 13 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/date-time-picker/locale/ru.d.ts: -------------------------------------------------------------------------------- 1 | declare const _default: { 2 | year: string; 3 | month: string; 4 | date: string; 5 | hour: string; 6 | minute: string; 7 | second: string; 8 | am: string; 9 | pm: string; 10 | confirm: string; 11 | cancel: string; 12 | }; 13 | export default _default; 14 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/date-time-picker/locale/ru.js: -------------------------------------------------------------------------------- 1 | export default { 2 | year: '', 3 | month: '', 4 | date: '', 5 | hour: '', 6 | minute: '', 7 | second: '', 8 | am: 'до полудня', 9 | pm: 'после полудня', 10 | confirm: 'подтвердить', 11 | cancel: 'отменить', 12 | }; 13 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/date-time-picker/locale/tc.d.ts: -------------------------------------------------------------------------------- 1 | declare const _default: { 2 | year: string; 3 | month: string; 4 | date: string; 5 | hour: string; 6 | minute: string; 7 | second: string; 8 | am: string; 9 | pm: string; 10 | confirm: string; 11 | cancel: string; 12 | }; 13 | export default _default; 14 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/date-time-picker/locale/tc.js: -------------------------------------------------------------------------------- 1 | export default { 2 | year: '年', 3 | month: '月', 4 | date: '日', 5 | hour: '時', 6 | minute: '分', 7 | second: '秒', 8 | am: '上午', 9 | pm: '下午', 10 | confirm: '確定', 11 | cancel: '取消', 12 | }; 13 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/date-time-picker/locale/zh.d.ts: -------------------------------------------------------------------------------- 1 | declare const _default: { 2 | year: string; 3 | month: string; 4 | date: string; 5 | hour: string; 6 | minute: string; 7 | second: string; 8 | am: string; 9 | pm: string; 10 | confirm: string; 11 | cancel: string; 12 | }; 13 | export default _default; 14 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/date-time-picker/locale/zh.js: -------------------------------------------------------------------------------- 1 | export default { 2 | year: '年', 3 | month: '月', 4 | date: '日', 5 | hour: '时', 6 | minute: '分', 7 | second: '秒', 8 | am: '上午', 9 | pm: '下午', 10 | confirm: '确定', 11 | cancel: '取消', 12 | }; 13 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/date-time-picker/props.d.ts: -------------------------------------------------------------------------------- 1 | import { TdDateTimePickerProps } from './type'; 2 | declare const props: TdDateTimePickerProps; 3 | export default props; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/date-time-picker/type.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/dialog/dialog.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "styleIsolation": "apply-shared", 4 | "usingComponents": { 5 | "t-popup": "../popup/popup", 6 | "t-icon": "../icon/icon", 7 | "t-button": "../button/button" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/dialog/dialog.wxs: -------------------------------------------------------------------------------- 1 | module.exports.getTypeof = function (obj) { 2 | return typeof obj; 3 | }; 4 | 5 | module.exports.getActionClass = function (prefix, buttonLayout) { 6 | var cls = [prefix + '__button', prefix + '__button--action']; 7 | 8 | if (buttonLayout) { 9 | cls.push(prefix + '__button--' + buttonLayout); 10 | } 11 | 12 | return cls.join(' '); 13 | }; 14 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/dialog/props.d.ts: -------------------------------------------------------------------------------- 1 | import { TdDialogProps } from './type'; 2 | declare const props: TdDialogProps; 3 | export default props; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/dialog/type.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/divider/divider.d.ts: -------------------------------------------------------------------------------- 1 | import { SuperComponent } from '../common/src/index'; 2 | export default class Divider extends SuperComponent { 3 | externalClasses: string[]; 4 | options: { 5 | multipleSlots: boolean; 6 | }; 7 | properties: import("./type").TdDividerProps; 8 | data: { 9 | prefix: string; 10 | classPrefix: string; 11 | }; 12 | observers: { 13 | lineColor(): void; 14 | }; 15 | methods: { 16 | setStyle(): void; 17 | }; 18 | } 19 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/divider/divider.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "styleIsolation": "apply-shared" 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/divider/divider.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | {{content}} 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/divider/props.d.ts: -------------------------------------------------------------------------------- 1 | import { TdDividerProps } from './type'; 2 | declare const props: TdDividerProps; 3 | export default props; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/divider/props.js: -------------------------------------------------------------------------------- 1 | const props = { 2 | align: { 3 | type: String, 4 | value: 'center', 5 | }, 6 | content: { 7 | type: String, 8 | }, 9 | dashed: { 10 | type: Boolean, 11 | value: false, 12 | }, 13 | layout: { 14 | type: String, 15 | value: 'horizontal', 16 | }, 17 | }; 18 | export default props; 19 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/divider/type.d.ts: -------------------------------------------------------------------------------- 1 | export interface TdDividerProps { 2 | align?: { 3 | type: StringConstructor; 4 | value?: 'left' | 'right' | 'center'; 5 | }; 6 | content?: { 7 | type: StringConstructor; 8 | value?: string; 9 | }; 10 | dashed?: { 11 | type: BooleanConstructor; 12 | value?: boolean; 13 | }; 14 | layout?: { 15 | type: StringConstructor; 16 | value?: 'horizontal' | 'vertical'; 17 | }; 18 | } 19 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/divider/type.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/drawer/drawer.d.ts: -------------------------------------------------------------------------------- 1 | import { ComponentsOptionsType, SuperComponent } from '../common/src/index'; 2 | export default class Drawer extends SuperComponent { 3 | behaviors: string[]; 4 | externalClasses: any[]; 5 | options: ComponentsOptionsType; 6 | properties: import("./type").TdDrawerProps; 7 | data: { 8 | classPrefix: string; 9 | }; 10 | methods: { 11 | visibleChange({ detail }: { 12 | detail: any; 13 | }): void; 14 | itemClick(detail: any): void; 15 | }; 16 | } 17 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/drawer/drawer.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "styleIsolation": "apply-shared", 4 | "usingComponents": { 5 | "t-popup": "../popup/popup", 6 | "t-icon": "../icon/icon" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/drawer/props.d.ts: -------------------------------------------------------------------------------- 1 | import { TdDrawerProps } from './type'; 2 | declare const props: TdDrawerProps; 3 | export default props; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/drawer/type.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/dropdown-item/dropdown-item.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "styleIsolation": "apply-shared", 4 | "usingComponents": { 5 | "t-button": "../button/button", 6 | "t-radio": "../radio/radio", 7 | "t-radio-group": "../radio-group/radio-group", 8 | "t-checkbox": "../checkbox/checkbox", 9 | "t-checkbox-group": "../checkbox-group/checkbox-group", 10 | "t-popup": "../popup/popup" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/dropdown-item/index.wxs: -------------------------------------------------------------------------------- 1 | var getStyles = function (top, zIndex) { 2 | var topStyle = top ? 'top:' + top + 'px;' : ''; 3 | var zIndexStyle = zIndex ? 'z-index:' + zIndex + ';' : ''; 4 | return topStyle + zIndexStyle; 5 | }; 6 | 7 | module.exports = { 8 | getStyles: getStyles, 9 | }; 10 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/dropdown-item/props.d.ts: -------------------------------------------------------------------------------- 1 | import { TdDropdownItemProps } from './type'; 2 | declare const props: TdDropdownItemProps; 3 | export default props; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/dropdown-item/type.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/dropdown-menu/dropdown-menu.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "styleIsolation": "apply-shared", 4 | "usingComponents": { 5 | "t-icon": "../icon/icon" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/dropdown-menu/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from './type'; 2 | export * from './props'; 3 | export * from './dropdown-menu'; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/dropdown-menu/index.js: -------------------------------------------------------------------------------- 1 | export * from './type'; 2 | export * from './props'; 3 | export * from './dropdown-menu'; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/dropdown-menu/props.d.ts: -------------------------------------------------------------------------------- 1 | import { TdDropdownMenuProps } from './type'; 2 | declare const props: TdDropdownMenuProps; 3 | export default props; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/dropdown-menu/props.js: -------------------------------------------------------------------------------- 1 | const props = { 2 | arrowIcon: { 3 | type: null, 4 | value: 'caret-down-small', 5 | }, 6 | closeOnClickOverlay: { 7 | type: Boolean, 8 | value: true, 9 | }, 10 | duration: { 11 | type: null, 12 | value: 200, 13 | }, 14 | showOverlay: { 15 | type: Boolean, 16 | value: true, 17 | }, 18 | zIndex: { 19 | type: Number, 20 | value: 11600, 21 | }, 22 | }; 23 | export default props; 24 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/dropdown-menu/type.d.ts: -------------------------------------------------------------------------------- 1 | export interface TdDropdownMenuProps { 2 | arrowIcon?: { 3 | type: null; 4 | value?: string | object; 5 | }; 6 | closeOnClickOverlay?: { 7 | type: BooleanConstructor; 8 | value?: boolean; 9 | }; 10 | duration?: { 11 | type: null; 12 | value?: string | number; 13 | }; 14 | showOverlay?: { 15 | type: BooleanConstructor; 16 | value?: boolean; 17 | }; 18 | zIndex?: { 19 | type: NumberConstructor; 20 | value?: number; 21 | }; 22 | } 23 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/dropdown-menu/type.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/empty/empty.d.ts: -------------------------------------------------------------------------------- 1 | import { SuperComponent } from '../common/src/index'; 2 | export default class extends SuperComponent { 3 | options: { 4 | multipleSlots: boolean; 5 | }; 6 | externalClasses: string[]; 7 | properties: import("./type").TdEmptyProps; 8 | data: { 9 | prefix: string; 10 | classPrefix: string; 11 | }; 12 | observers: { 13 | icon(icon: any): void; 14 | }; 15 | } 16 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/empty/empty.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "styleIsolation": "apply-shared", 4 | "usingComponents": { 5 | "t-icon": "../icon/icon", 6 | "t-image": "../image/image" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/empty/props.d.ts: -------------------------------------------------------------------------------- 1 | import { TdEmptyProps } from './type'; 2 | declare const props: TdEmptyProps; 3 | export default props; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/empty/props.js: -------------------------------------------------------------------------------- 1 | const props = { 2 | description: { 3 | type: String, 4 | }, 5 | externalClasses: { 6 | type: Array, 7 | }, 8 | icon: { 9 | type: null, 10 | }, 11 | image: { 12 | type: String, 13 | }, 14 | }; 15 | export default props; 16 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/empty/type.d.ts: -------------------------------------------------------------------------------- 1 | export interface TdEmptyProps { 2 | description?: { 3 | type: StringConstructor; 4 | value?: string; 5 | }; 6 | externalClasses?: { 7 | type: ArrayConstructor; 8 | value?: ['t-class', 't-class-description', 't-class-image', 't-class-actions']; 9 | }; 10 | icon?: { 11 | type: null; 12 | value?: string | object; 13 | }; 14 | image?: { 15 | type: StringConstructor; 16 | value?: string; 17 | }; 18 | } 19 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/empty/type.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/fab/draggable/draggable.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "usingComponents": {} 4 | } 5 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/fab/draggable/draggable.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/fab/draggable/draggable.wxss: -------------------------------------------------------------------------------- 1 | .t-float-left { 2 | float: left; 3 | } 4 | .t-float-right { 5 | float: right; 6 | } 7 | @keyframes tdesign-fade-out { 8 | from { 9 | opacity: 1; 10 | } 11 | to { 12 | opacity: 0; 13 | } 14 | } 15 | .hotspot-expanded.relative { 16 | position: relative; 17 | } 18 | .hotspot-expanded::after { 19 | content: ''; 20 | display: block; 21 | position: absolute; 22 | left: 0; 23 | top: 0; 24 | right: 0; 25 | bottom: 0; 26 | transform: scale(1.5); 27 | } 28 | .t-draggable { 29 | position: fixed; 30 | } 31 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/fab/draggable/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from './props'; 2 | export * from './type'; 3 | export * from './draggable'; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/fab/draggable/index.js: -------------------------------------------------------------------------------- 1 | export * from './props'; 2 | export * from './type'; 3 | export * from './draggable'; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/fab/draggable/props.d.ts: -------------------------------------------------------------------------------- 1 | import { TdDraggableProps } from './type'; 2 | declare const props: TdDraggableProps; 3 | export default props; 4 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/fab/draggable/props.js: -------------------------------------------------------------------------------- 1 | const props = { 2 | direction: { 3 | type: String, 4 | value: 'all', 5 | }, 6 | }; 7 | export default props; 8 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/fab/draggable/type.d.ts: -------------------------------------------------------------------------------- 1 | export interface TdDraggableProps { 2 | direction?: { 3 | type: StringConstructor; 4 | value?: 'all' | 'vertical' | 'horizontal' | 'none'; 5 | }; 6 | } 7 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/fab/draggable/type.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/fab/fab.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true, 3 | "styleIsolation": "apply-shared", 4 | "usingComponents": { 5 | "t-button": "../button/button", 6 | "t-draggable": "./draggable/draggable" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /miniprogram_npm/tdesign-miniprogram/fab/fab.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |