From 884dd70d83c7464a7567c29d53eec365ac719787 Mon Sep 17 00:00:00 2001 From: 13410271814 Date: Fri, 6 Dec 2024 16:18:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yunbainian/etms_wechat_mini/.eslintrc.js | 31 + yunbainian/etms_wechat_mini/.gitignore | 14 + yunbainian/etms_wechat_mini/app.js | 70 + yunbainian/etms_wechat_mini/app.json | 53 + yunbainian/etms_wechat_mini/app.wxss | 39 + yunbainian/etms_wechat_mini/com.js | 112 + .../components/actionsheet/actionsheet.js | 181 + .../components/actionsheet/actionsheet.json | 4 + .../components/actionsheet/actionsheet.wxml | 50 + .../components/actionsheet/actionsheet.wxss | 1 + .../components/badge/badge.js | 17 + .../components/badge/badge.json | 4 + .../components/badge/badge.wxml | 1 + .../components/badge/badge.wxss | 1 + .../etms_wechat_mini/components/cell/cell.js | 210 + .../components/cell/cell.json | 6 + .../components/cell/cell.wxml | 73 + .../components/cell/cell.wxss | 1 + .../components/cells/cells.js | 171 + .../components/cells/cells.json | 4 + .../components/cells/cells.wxml | 8 + .../components/cells/cells.wxss | 1 + .../checkbox-group/checkbox-group.js | 196 + .../checkbox-group/checkbox-group.json | 6 + .../checkbox-group/checkbox-group.wxml | 6 + .../checkbox-group/checkbox-group.wxss | 0 .../components/checkbox/checkbox.js | 165 + .../components/checkbox/checkbox.json | 7 + .../components/checkbox/checkbox.wxml | 20 + .../components/checkbox/checkbox.wxss | 1 + .../etms_wechat_mini/components/col/index.js | 209 + .../components/col/index.json | 4 + .../components/col/index.wxml | 3 + .../components/col/index.wxss | 1 + .../components/comPart/compart.js | 148 + .../components/comPart/compart.json | 8 + .../components/comPart/compart.wxml | 38 + .../components/comPart/compart.wxss | 51 + .../components/dialog/dialog.js | 168 + .../components/dialog/dialog.json | 4 + .../components/dialog/dialog.wxml | 21 + .../components/dialog/dialog.wxss | 1 + .../components/emoji/emoji.js | 547 ++ .../components/emoji/emoji.json | 4 + .../components/emoji/emoji.wxml | 30 + .../components/emoji/emoji.wxss | 870 ++++ .../components/emoji/icon_emotion_del.png | Bin 0 -> 869 bytes .../components/form-page/form-page.js | 125 + .../components/form-page/form-page.json | 4 + .../components/form-page/form-page.wxml | 31 + .../components/form-page/form-page.wxss | 0 .../etms_wechat_mini/components/form/form.js | 564 +++ .../components/form/form.json | 4 + .../components/form/form.wxml | 3 + .../components/gallery/gallery.js | 176 + .../components/gallery/gallery.json | 4 + .../components/gallery/gallery.wxml | 13 + .../components/gallery/gallery.wxss | 1 + .../components/grids/grids.js | 145 + .../components/grids/grids.json | 4 + .../components/grids/grids.wxml | 26 + .../components/grids/grids.wxss | 1 + .../etms_wechat_mini/components/icon/icon.js | 289 ++ .../components/icon/icon.json | 4 + .../components/icon/icon.wxml | 14 + .../components/icon/icon.wxss | 1 + .../components/index-list/index-list.js | 156 + .../components/index-list/index-list.json | 4 + .../components/index-list/index-list.wxml | 33 + .../components/index-list/index-list.wxss | 216 + .../etms_wechat_mini/components/index.js | 93 + .../components/loading/loading.js | 180 + .../components/loading/loading.json | 4 + .../components/loading/loading.wxml | 9 + .../components/loading/loading.wxss | 1 + .../etms_wechat_mini/components/msg/msg.js | 127 + .../etms_wechat_mini/components/msg/msg.json | 4 + .../etms_wechat_mini/components/msg/msg.wxml | 28 + .../etms_wechat_mini/components/msg/msg.wxss | 1 + .../navigation-bar/navigation-bar.js | 188 + .../navigation-bar/navigation-bar.json | 4 + .../navigation-bar/navigation-bar.wxml | 32 + .../navigation-bar/navigation-bar.wxss | 0 .../etms_wechat_mini/components/package.json | 7 + .../etms_wechat_mini/components/row/index.js | 106 + .../components/row/index.json | 4 + .../components/row/index.wxml | 3 + .../components/row/index.wxss | 1 + .../components/searchbar/searchbar.js | 218 + .../components/searchbar/searchbar.json | 7 + .../components/searchbar/searchbar.wxml | 19 + .../components/searchbar/searchbar.wxss | 1 + .../components/select-text/select-text.js | 64 + .../components/select-text/select-text.json | 4 + .../components/select-text/select-text.wxml | 22 + .../components/select-text/select-text.wxs | 10 + .../components/select-text/select-text.wxss | 91 + .../components/sign-up-popup/index.js | 47 + .../components/sign-up-popup/index.json | 7 + .../components/sign-up-popup/index.wxml | 15 + .../components/sign-up-popup/index.wxss | 29 + .../components/slideview/slideview.js | 199 + .../components/slideview/slideview.json | 4 + .../components/slideview/slideview.wxml | 23 + .../components/slideview/slideview.wxs | 243 + .../components/slideview/slideview.wxss | 0 .../components/static/icon/s-arrow-back.png | Bin 0 -> 987 bytes .../components/static/icon/s-arrow-back.svg | 20 + .../components/sticky/sticky.js | 275 ++ .../components/sticky/sticky.json | 4 + .../components/sticky/sticky.wxml | 7 + .../components/sticky/sticky.wxs | 20 + .../components/sticky/sticky.wxss | 9 + .../components/tabbar/tabbar.js | 129 + .../components/tabbar/tabbar.json | 6 + .../components/tabbar/tabbar.wxml | 10 + .../components/tabbar/tabbar.wxss | 0 .../etms_wechat_mini/components/tabs/tabs.js | 51 + .../components/tabs/tabs.json | 4 + .../components/tabs/tabs.wxml | 20 + .../components/tabs/tabs.wxss | 30 + .../components/toptips/toptips.js | 73 + .../components/toptips/toptips.json | 4 + .../components/toptips/toptips.wxml | 6 + .../components/toptips/toptips.wxss | 44 + .../components/uploader/uploader.js | 257 + .../components/uploader/uploader.json | 6 + .../components/uploader/uploader.wxml | 36 + .../components/uploader/uploader.wxss | 0 .../components/video-swiper/video-swiper.js | 166 + .../components/video-swiper/video-swiper.json | 4 + .../components/video-swiper/video-swiper.wxml | 37 + .../components/video-swiper/video-swiper.wxss | 14 + .../components/vtabs-content/vtabs-content.js | 30 + .../vtabs-content/vtabs-content.json | 4 + .../vtabs-content/vtabs-content.wxml | 3 + .../vtabs-content/vtabs-content.wxss | 4 + .../components/vtabs/vtabs.js | 105 + .../components/vtabs/vtabs.json | 4 + .../components/vtabs/vtabs.wxml | 42 + .../components/vtabs/vtabs.wxss | 53 + .../weui-wxss/dist/style/icon/weui-icon.wxss | 6 + .../components/weui-wxss/dist/style/weui.wxss | 4365 ++++++++++++++++ yunbainian/etms_wechat_mini/config.js | 6 + .../etms_wechat_mini/image/activity0.png | Bin 0 -> 2916 bytes .../etms_wechat_mini/image/activity1.png | Bin 0 -> 3956 bytes yunbainian/etms_wechat_mini/image/mr-bg.svg | 7 + yunbainian/etms_wechat_mini/image/my0.png | Bin 0 -> 2303 bytes yunbainian/etms_wechat_mini/image/my1.png | Bin 0 -> 3112 bytes .../miniprogram_npm/dayjs/index.js | 13 + .../miniprogram_npm/dayjs/index.js.map | 1 + .../miniprogram_npm/eventemitter3/index.js | 349 ++ .../eventemitter3/index.js.map | 1 + .../tdesign-miniprogram/.wechatide.ib.json | 3895 +++++++++++++++ .../action-sheet/README.md | 89 + .../action-sheet/action-sheet.js | 87 + .../action-sheet/action-sheet.json | 12 + .../action-sheet/action-sheet.wxml | 32 + .../action-sheet/action-sheet.wxs | 19 + .../action-sheet/action-sheet.wxss | 134 + .../tdesign-miniprogram/action-sheet/index.js | 3 + .../tdesign-miniprogram/action-sheet/props.js | 30 + .../tdesign-miniprogram/action-sheet/show.js | 28 + .../template/action-sheet-grid.wxml | 46 + .../template/action-sheet-item.wxml | 17 + .../template/action-sheet-list.wxml | 11 + .../tdesign-miniprogram/action-sheet/type.js | 1 + .../tdesign-miniprogram/avatar/README.md | 137 + .../avatar/avatar-group-props.js | 20 + .../avatar/avatar-group.js | 89 + .../avatar/avatar-group.json | 6 + .../avatar/avatar-group.wxml | 18 + .../avatar/avatar-group.wxs | 17 + .../avatar/avatar-group.wxss | 78 + .../tdesign-miniprogram/avatar/avatar.js | 74 + .../tdesign-miniprogram/avatar/avatar.json | 8 + .../tdesign-miniprogram/avatar/avatar.wxml | 43 + .../tdesign-miniprogram/avatar/avatar.wxs | 29 + .../tdesign-miniprogram/avatar/avatar.wxss | 94 + .../tdesign-miniprogram/avatar/props.js | 32 + .../tdesign-miniprogram/avatar/type.js | 1 + .../tdesign-miniprogram/back-top/README.md | 62 + .../tdesign-miniprogram/back-top/back-top.js | 33 + .../back-top/back-top.json | 6 + .../back-top/back-top.wxml | 8 + .../back-top/back-top.wxss | 116 + .../tdesign-miniprogram/back-top/props.js | 22 + .../tdesign-miniprogram/back-top/type.js | 2 + .../tdesign-miniprogram/badge/README.md | 87 + .../tdesign-miniprogram/badge/badge.js | 29 + .../tdesign-miniprogram/badge/badge.json | 5 + .../tdesign-miniprogram/badge/badge.wxml | 15 + .../tdesign-miniprogram/badge/badge.wxs | 51 + .../tdesign-miniprogram/badge/badge.wxss | 97 + .../tdesign-miniprogram/badge/index.js | 3 + .../tdesign-miniprogram/badge/props.js | 42 + .../tdesign-miniprogram/badge/type.js | 2 + .../tdesign-miniprogram/behaviors/dom.js | 27 + .../tdesign-miniprogram/behaviors/touch.js | 35 + .../button-group/README.md | 46 + .../button-group/button-group.js | 35 + .../button-group/button-group.json | 4 + .../button-group/button-group.wxml | 3 + .../button-group/button-group.wxss | 47 + .../tdesign-miniprogram/button/README.md | 117 + .../tdesign-miniprogram/button/button.js | 89 + .../tdesign-miniprogram/button/button.json | 6 + .../tdesign-miniprogram/button/button.wxml | 43 + .../tdesign-miniprogram/button/button.wxss | 248 + .../tdesign-miniprogram/button/index.js | 3 + .../tdesign-miniprogram/button/props.js | 98 + .../tdesign-miniprogram/button/type.js | 1 + .../cell-group/cell-group.js | 28 + .../cell-group/cell-group.json | 3 + .../cell-group/cell-group.wxml | 4 + .../cell-group/cell-group.wxss | 63 + .../tdesign-miniprogram/cell-group/props.js | 14 + .../tdesign-miniprogram/cell-group/type.js | 2 + .../tdesign-miniprogram/cell/README.md | 107 + .../tdesign-miniprogram/cell/cell.js | 50 + .../tdesign-miniprogram/cell/cell.json | 6 + .../tdesign-miniprogram/cell/cell.wxml | 38 + .../tdesign-miniprogram/cell/cell.wxss | 118 + .../tdesign-miniprogram/cell/props.js | 51 + .../tdesign-miniprogram/cell/type.js | 1 + .../checkbox-group/README.md | 59 + .../checkbox-group/checkbox-group.js | 148 + .../checkbox-group/checkbox-group.json | 6 + .../checkbox-group/checkbox-group.wxml | 14 + .../checkbox-group/checkbox-group.wxss | 0 .../tdesign-miniprogram/checkbox/README.md | 98 + .../checkbox/checkbox-group-props.js | 27 + .../tdesign-miniprogram/checkbox/checkbox.js | 85 + .../checkbox/checkbox.json | 7 + .../checkbox/checkbox.wxml | 47 + .../checkbox/checkbox.wxss | 132 + .../tdesign-miniprogram/checkbox/props.js | 66 + .../tdesign-miniprogram/checkbox/type.js | 1 + .../tdesign-miniprogram/collapse/README.md | 83 + .../collapse/collapse-panel-props.js | 27 + .../collapse/collapse-panel.js | 118 + .../collapse/collapse-panel.json | 6 + .../collapse/collapse-panel.wxml | 31 + .../collapse/collapse-panel.wxss | 92 + .../tdesign-miniprogram/collapse/collapse.js | 69 + .../collapse/collapse.json | 3 + .../collapse/collapse.wxml | 3 + .../collapse/collapse.wxss | 49 + .../tdesign-miniprogram/collapse/index.js | 4 + .../tdesign-miniprogram/collapse/props.js | 25 + .../tdesign-miniprogram/collapse/type.js | 1 + .../tdesign-miniprogram/common/common.js | 1 + .../tdesign-miniprogram/common/component.js | 5 + .../tdesign-miniprogram/common/config.js | 3 + .../tdesign-miniprogram/common/index.wxss | 27 + .../tdesign-miniprogram/common/src/control.js | 40 + .../common/src/flatTool.js | 57 + .../tdesign-miniprogram/common/src/index.js | 4 + .../common/src/instantiationDecorator.js | 99 + .../common/src/superComponent.js | 5 + .../common/style/_variables.wxss | 0 .../common/style/base.wxss | 0 .../common/style/index.wxss | 27 + .../common/style/mixins/_clearfix.wxss | 0 .../common/style/mixins/_ellipsis.wxss | 0 .../common/style/mixins/_hairline.wxss | 0 .../common/style/mixins/_index.wxss | 0 .../common/style/theme/_index.wxss | 0 .../common/style/utilities/_animation.wxss | 8 + .../common/style/utilities/_float.wxss | 6 + .../common/style/utilities/_index.wxss | 27 + .../common/template/button.wxml | 33 + .../tdesign-miniprogram/common/utils.js | 130 + .../tdesign-miniprogram/common/utils.wxs | 39 + .../tdesign-miniprogram/common/version.js | 37 + .../tdesign-miniprogram/count-down/README.md | 81 + .../count-down/count-down.js | 110 + .../count-down/count-down.json | 6 + .../count-down/count-down.wxml | 22 + .../count-down/count-down.wxss | 122 + .../tdesign-miniprogram/count-down/props.js | 35 + .../tdesign-miniprogram/count-down/type.js | 1 + .../tdesign-miniprogram/count-down/utils.js | 54 + .../date-time-picker/README.md | 83 + .../date-time-picker/date-time-picker.js | 406 ++ .../date-time-picker/date-time-picker.json | 7 + .../date-time-picker/date-time-picker.wxml | 17 + .../date-time-picker/date-time-picker.wxss | 0 .../date-time-picker/locale/en.js | 11 + .../date-time-picker/locale/zh.js | 11 + .../date-time-picker/props.js | 56 + .../date-time-picker/type.js | 1 + .../tdesign-miniprogram/dialog/README.md | 141 + .../tdesign-miniprogram/dialog/dialog.js | 90 + .../tdesign-miniprogram/dialog/dialog.json | 7 + .../tdesign-miniprogram/dialog/dialog.wxml | 80 + .../tdesign-miniprogram/dialog/dialog.wxs | 3 + .../tdesign-miniprogram/dialog/dialog.wxss | 152 + .../tdesign-miniprogram/dialog/index.js | 81 + .../tdesign-miniprogram/dialog/props.js | 49 + .../tdesign-miniprogram/dialog/type.js | 1 + .../tdesign-miniprogram/divider/README.md | 71 + .../tdesign-miniprogram/divider/divider.js | 30 + .../tdesign-miniprogram/divider/divider.json | 3 + .../tdesign-miniprogram/divider/divider.wxml | 11 + .../tdesign-miniprogram/divider/divider.wxss | 91 + .../tdesign-miniprogram/divider/props.js | 29 + .../tdesign-miniprogram/divider/type.js | 2 + .../tdesign-miniprogram/drawer/README.md | 47 + .../tdesign-miniprogram/drawer/drawer.js | 43 + .../tdesign-miniprogram/drawer/drawer.json | 7 + .../tdesign-miniprogram/drawer/drawer.wxml | 26 + .../tdesign-miniprogram/drawer/drawer.wxss | 47 + .../tdesign-miniprogram/drawer/props.js | 30 + .../tdesign-miniprogram/drawer/type.js | 1 + .../dropdown-menu/README.md | 204 + .../dropdown-menu/dropdown-item-props.js | 38 + .../dropdown-menu/dropdown-item.js | 186 + .../dropdown-menu/dropdown-item.json | 13 + .../dropdown-menu/dropdown-item.wxml | 125 + .../dropdown-menu/dropdown-item.wxss | 317 ++ .../dropdown-menu/dropdown-menu.js | 85 + .../dropdown-menu/dropdown-menu.json | 6 + .../dropdown-menu/dropdown-menu.wxml | 18 + .../dropdown-menu/dropdown-menu.wxss | 74 + .../dropdown-menu/index.js | 5 + .../dropdown-menu/props.js | 24 + .../tdesign-miniprogram/dropdown-menu/type.js | 1 + .../dropdown-menu/util.wxs | 5 + .../tdesign-miniprogram/empty/README.md | 65 + .../tdesign-miniprogram/empty/empty.js | 28 + .../tdesign-miniprogram/empty/empty.json | 6 + .../tdesign-miniprogram/empty/empty.wxml | 21 + .../tdesign-miniprogram/empty/empty.wxs | 12 + .../tdesign-miniprogram/empty/empty.wxss | 48 + .../tdesign-miniprogram/empty/props.js | 16 + .../tdesign-miniprogram/empty/type.js | 2 + .../tdesign-miniprogram/fab/README.md | 60 + .../tdesign-miniprogram/fab/fab.js | 36 + .../tdesign-miniprogram/fab/fab.json | 6 + .../tdesign-miniprogram/fab/fab.wxml | 9 + .../tdesign-miniprogram/fab/fab.wxss | 51 + .../tdesign-miniprogram/fab/props.js | 18 + .../tdesign-miniprogram/fab/type.js | 1 + .../tdesign-miniprogram/footer/README.md | 70 + .../tdesign-miniprogram/footer/footer.js | 24 + .../tdesign-miniprogram/footer/footer.json | 4 + .../tdesign-miniprogram/footer/footer.wxml | 31 + .../tdesign-miniprogram/footer/footer.wxss | 77 + .../tdesign-miniprogram/footer/props.js | 18 + .../tdesign-miniprogram/footer/type.js | 4 + .../tdesign-miniprogram/grid/README.md | 151 + .../grid/grid-item-props.js | 27 + .../tdesign-miniprogram/grid/grid-item.js | 104 + .../tdesign-miniprogram/grid/grid-item.json | 6 + .../tdesign-miniprogram/grid/grid-item.wxml | 31 + .../tdesign-miniprogram/grid/grid-item.wxss | 72 + .../tdesign-miniprogram/grid/grid.js | 71 + .../tdesign-miniprogram/grid/grid.json | 4 + .../tdesign-miniprogram/grid/grid.wxml | 5 + .../tdesign-miniprogram/grid/grid.wxss | 35 + .../tdesign-miniprogram/grid/props.js | 26 + .../tdesign-miniprogram/grid/type.js | 3 + .../tdesign-miniprogram/icon/README.md | 89 + .../tdesign-miniprogram/icon/icon.js | 47 + .../tdesign-miniprogram/icon/icon.json | 4 + .../tdesign-miniprogram/icon/icon.wxml | 6 + .../tdesign-miniprogram/icon/icon.wxss | 705 +++ .../tdesign-miniprogram/icon/props.js | 24 + .../tdesign-miniprogram/icon/type.js | 1 + .../image-viewer/README.md | 100 + .../image-viewer/image-viewer.js | 125 + .../image-viewer/image-viewer.json | 9 + .../image-viewer/image-viewer.wxml | 55 + .../image-viewer/image-viewer.wxss | 94 + .../tdesign-miniprogram/image-viewer/props.js | 36 + .../tdesign-miniprogram/image-viewer/type.js | 1 + .../tdesign-miniprogram/image/README.md | 87 + .../tdesign-miniprogram/image/image-info.json | 75 + .../tdesign-miniprogram/image/image.js | 90 + .../tdesign-miniprogram/image/image.json | 7 + .../tdesign-miniprogram/image/image.wxml | 37 + .../tdesign-miniprogram/image/image.wxss | 50 + .../tdesign-miniprogram/image/index.js | 2 + .../tdesign-miniprogram/image/props.js | 38 + .../tdesign-miniprogram/image/type.js | 1 + .../tdesign-miniprogram/indexes/README.md | 66 + .../tdesign-miniprogram/indexes/indexes.js | 182 + .../tdesign-miniprogram/indexes/indexes.json | 8 + .../tdesign-miniprogram/indexes/indexes.wxml | 58 + .../tdesign-miniprogram/indexes/indexes.wxss | 72 + .../tdesign-miniprogram/indexes/props.js | 11 + .../tdesign-miniprogram/indexes/type.js | 3 + .../tdesign-miniprogram/input/README.md | 112 + .../tdesign-miniprogram/input/input.js | 71 + .../tdesign-miniprogram/input/input.json | 7 + .../tdesign-miniprogram/input/input.wxml | 71 + .../tdesign-miniprogram/input/input.wxss | 166 + .../tdesign-miniprogram/input/props.js | 152 + .../tdesign-miniprogram/input/type.js | 1 + .../tdesign-miniprogram/loading/README.md | 132 + .../tdesign-miniprogram/loading/index.js | 3 + .../tdesign-miniprogram/loading/loading.js | 61 + .../tdesign-miniprogram/loading/loading.json | 4 + .../tdesign-miniprogram/loading/loading.wxml | 47 + .../tdesign-miniprogram/loading/loading.wxss | 234 + .../tdesign-miniprogram/loading/props.js | 51 + .../tdesign-miniprogram/loading/type.js | 1 + .../tdesign-miniprogram/message/README.md | 182 + .../tdesign-miniprogram/message/api.md | 100 + .../tdesign-miniprogram/message/index.js | 45 + .../message/message.interface.js | 7 + .../tdesign-miniprogram/message/message.js | 205 + .../tdesign-miniprogram/message/message.json | 7 + .../tdesign-miniprogram/message/message.wxml | 51 + .../tdesign-miniprogram/message/message.wxs | 16 + .../tdesign-miniprogram/message/message.wxss | 90 + .../tdesign-miniprogram/message/props.js | 50 + .../tdesign-miniprogram/message/type.js | 3 + .../miniprogram_npm/dayjs/index.js | 1 + .../tdesign-miniprogram/navbar/README.md | 94 + .../tdesign-miniprogram/navbar/navbar.js | 156 + .../tdesign-miniprogram/navbar/navbar.json | 6 + .../tdesign-miniprogram/navbar/navbar.wxml | 56 + .../tdesign-miniprogram/navbar/navbar.wxss | 142 + .../tdesign-miniprogram/navbar/props.js | 38 + .../tdesign-miniprogram/navbar/type.js | 1 + .../tdesign-miniprogram/notice-bar/README.md | 151 + .../notice-bar/notice-bar.js | 174 + .../notice-bar/notice-bar.json | 7 + .../notice-bar/notice-bar.wxml | 30 + .../notice-bar/notice-bar.wxss | 72 + .../tdesign-miniprogram/notice-bar/props.js | 30 + .../tdesign-miniprogram/notice-bar/type.js | 1 + .../tdesign-miniprogram/overlay/README.md | 55 + .../tdesign-miniprogram/overlay/overlay.js | 59 + .../tdesign-miniprogram/overlay/overlay.json | 3 + .../tdesign-miniprogram/overlay/overlay.wxml | 17 + .../tdesign-miniprogram/overlay/overlay.wxss | 38 + .../tdesign-miniprogram/picker/README.md | 90 + .../picker/picker-item-props.js | 10 + .../tdesign-miniprogram/picker/picker-item.js | 110 + .../picker/picker-item.json | 4 + .../picker/picker-item.wxml | 16 + .../picker/picker-item.wxss | 47 + .../tdesign-miniprogram/picker/picker.js | 96 + .../tdesign-miniprogram/picker/picker.json | 6 + .../tdesign-miniprogram/picker/picker.wxml | 20 + .../tdesign-miniprogram/picker/picker.wxss | 119 + .../tdesign-miniprogram/picker/props.js | 32 + .../tdesign-miniprogram/picker/type.js | 1 + .../tdesign-miniprogram/popup/README.md | 97 + .../tdesign-miniprogram/popup/popup.js | 72 + .../tdesign-miniprogram/popup/popup.json | 7 + .../tdesign-miniprogram/popup/popup.wxml | 23 + .../tdesign-miniprogram/popup/popup.wxss | 160 + .../tdesign-miniprogram/popup/props.js | 43 + .../tdesign-miniprogram/popup/type.js | 3 + .../tdesign-miniprogram/progress/README.md | 85 + .../tdesign-miniprogram/progress/progress.js | 47 + .../progress/progress.json | 4 + .../progress/progress.wxml | 15 + .../progress/progress.wxss | 96 + .../tdesign-miniprogram/progress/props.js | 27 + .../tdesign-miniprogram/progress/type.js | 1 + .../tdesign-miniprogram/progress/utils.js | 30 + .../pull-down-refresh/README.md | 66 + .../pull-down-refresh/props.js | 35 + .../pull-down-refresh/pull-down-refresh.js | 178 + .../pull-down-refresh/pull-down-refresh.json | 6 + .../pull-down-refresh/pull-down-refresh.wxml | 39 + .../pull-down-refresh/pull-down-refresh.wxss | 56 + .../pull-down-refresh/type.js | 1 + .../tdesign-miniprogram/radio-group/README.md | 60 + .../radio-group/radio-group.js | 102 + .../radio-group/radio-group.json | 6 + .../radio-group/radio-group.wxml | 13 + .../radio-group/radio-group.wxss | 0 .../tdesign-miniprogram/radio/README.md | 144 + .../tdesign-miniprogram/radio/props.js | 62 + .../radio/radio-group-props.js | 24 + .../tdesign-miniprogram/radio/radio.js | 100 + .../tdesign-miniprogram/radio/radio.json | 7 + .../tdesign-miniprogram/radio/radio.wxml | 39 + .../tdesign-miniprogram/radio/radio.wxss | 110 + .../tdesign-miniprogram/radio/type.js | 1 + .../tdesign-miniprogram/rate/README.md | 90 + .../tdesign-miniprogram/rate/props.js | 48 + .../tdesign-miniprogram/rate/rate.js | 71 + .../tdesign-miniprogram/rate/rate.json | 6 + .../tdesign-miniprogram/rate/rate.wxml | 23 + .../tdesign-miniprogram/rate/rate.wxs | 49 + .../tdesign-miniprogram/rate/rate.wxss | 45 + .../tdesign-miniprogram/rate/type.js | 1 + .../tdesign-miniprogram/search/README.md | 69 + .../tdesign-miniprogram/search/props.js | 46 + .../tdesign-miniprogram/search/search.js | 71 + .../tdesign-miniprogram/search/search.json | 6 + .../tdesign-miniprogram/search/search.wxml | 39 + .../tdesign-miniprogram/search/search.wxss | 96 + .../tdesign-miniprogram/search/type.js | 1 + .../tdesign-miniprogram/skeleton/README.md | 54 + .../tdesign-miniprogram/skeleton/props.js | 20 + .../tdesign-miniprogram/skeleton/skeleton.js | 52 + .../skeleton/skeleton.json | 4 + .../skeleton/skeleton.wxml | 26 + .../skeleton/skeleton.wxss | 75 + .../tdesign-miniprogram/skeleton/type.js | 3 + .../tdesign-miniprogram/slider/README.md | 53 + .../tdesign-miniprogram/slider/props.js | 57 + .../tdesign-miniprogram/slider/slider.js | 296 ++ .../tdesign-miniprogram/slider/slider.json | 4 + .../tdesign-miniprogram/slider/slider.wxml | 115 + .../tdesign-miniprogram/slider/slider.wxs | 10 + .../tdesign-miniprogram/slider/slider.wxss | 163 + .../tdesign-miniprogram/slider/tool.js | 26 + .../tdesign-miniprogram/slider/type.js | 1 + .../tdesign-miniprogram/stepper/README.md | 70 + .../tdesign-miniprogram/stepper/props.js | 43 + .../tdesign-miniprogram/stepper/stepper.js | 100 + .../tdesign-miniprogram/stepper/stepper.json | 7 + .../tdesign-miniprogram/stepper/stepper.wxml | 34 + .../tdesign-miniprogram/stepper/stepper.wxss | 74 + .../tdesign-miniprogram/stepper/type.js | 1 + .../tdesign-miniprogram/steps/README.md | 157 + .../tdesign-miniprogram/steps/props.js | 32 + .../steps/step-item-props.js | 25 + .../tdesign-miniprogram/steps/step-item.js | 152 + .../tdesign-miniprogram/steps/step-item.json | 6 + .../tdesign-miniprogram/steps/step-item.wxml | 55 + .../tdesign-miniprogram/steps/step-item.wxss | 309 ++ .../tdesign-miniprogram/steps/steps.js | 78 + .../tdesign-miniprogram/steps/steps.json | 6 + .../tdesign-miniprogram/steps/steps.wxml | 5 + .../tdesign-miniprogram/steps/steps.wxss | 40 + .../tdesign-miniprogram/steps/type.js | 1 + .../tdesign-miniprogram/sticky/README.md | 48 + .../tdesign-miniprogram/sticky/props.js | 21 + .../tdesign-miniprogram/sticky/sticky.js | 114 + .../tdesign-miniprogram/sticky/sticky.json | 4 + .../tdesign-miniprogram/sticky/sticky.wxml | 5 + .../tdesign-miniprogram/sticky/sticky.wxss | 33 + .../tdesign-miniprogram/sticky/type.js | 2 + .../tdesign-miniprogram/sticky/utils.js | 50 + .../tdesign-miniprogram/swipe-cell/README.md | 47 + .../tdesign-miniprogram/swipe-cell/props.js | 17 + .../swipe-cell/swipe-cell.js | 77 + .../swipe-cell/swipe-cell.json | 3 + .../swipe-cell/swipe-cell.wxml | 46 + .../swipe-cell/swipe-cell.wxs | 176 + .../swipe-cell/swipe-cell.wxss | 45 + .../tdesign-miniprogram/swipe-cell/type.js | 3 + .../tdesign-miniprogram/swiper/README.md | 104 + .../swiper/common/constants.js | 5 + .../tdesign-miniprogram/swiper/props.js | 33 + .../tdesign-miniprogram/swiper/swiper-item.js | 39 + .../swiper/swiper-item.json | 3 + .../swiper/swiper-item.wxml | 3 + .../swiper/swiper-item.wxss | 33 + .../tdesign-miniprogram/swiper/swiper-nav.js | 63 + .../swiper/swiper-nav.json | 3 + .../swiper/swiper-nav.wxml | 20 + .../swiper/swiper-nav.wxss | 121 + .../tdesign-miniprogram/swiper/swiper.js | 264 + .../tdesign-miniprogram/swiper/swiper.json | 7 + .../tdesign-miniprogram/swiper/swiper.wxml | 43 + .../tdesign-miniprogram/swiper/swiper.wxs | 184 + .../tdesign-miniprogram/swiper/swiper.wxss | 44 + .../tdesign-miniprogram/swiper/type.js | 3 + .../tdesign-miniprogram/switch/README.md | 52 + .../tdesign-miniprogram/switch/_var.wxss | 27 + .../tdesign-miniprogram/switch/props.js | 36 + .../tdesign-miniprogram/switch/switch.js | 69 + .../tdesign-miniprogram/switch/switch.json | 4 + .../tdesign-miniprogram/switch/switch.wxml | 13 + .../tdesign-miniprogram/switch/switch.wxss | 70 + .../tdesign-miniprogram/switch/type.js | 1 + .../tdesign-miniprogram/tab-bar/README.md | 109 + .../tdesign-miniprogram/tab-bar/props.js | 36 + .../tab-bar/tab-bar-item-props.js | 16 + .../tab-bar/tab-bar-item.js | 101 + .../tab-bar/tab-bar-item.json | 7 + .../tab-bar/tab-bar-item.wxml | 48 + .../tab-bar/tab-bar-item.wxss | 150 + .../tdesign-miniprogram/tab-bar/tab-bar.js | 87 + .../tdesign-miniprogram/tab-bar/tab-bar.json | 6 + .../tdesign-miniprogram/tab-bar/tab-bar.wxml | 5 + .../tdesign-miniprogram/tab-bar/tab-bar.wxss | 57 + .../tdesign-miniprogram/tab-bar/type.js | 1 + .../tdesign-miniprogram/tabs/README.md | 147 + .../tdesign-miniprogram/tabs/props.js | 26 + .../tabs/tab-panel-props.js | 21 + .../tdesign-miniprogram/tabs/tab-panel.js | 54 + .../tdesign-miniprogram/tabs/tab-panel.json | 4 + .../tdesign-miniprogram/tabs/tab-panel.wxml | 9 + .../tdesign-miniprogram/tabs/tab-panel.wxss | 37 + .../tdesign-miniprogram/tabs/tabs.js | 214 + .../tdesign-miniprogram/tabs/tabs.json | 3 + .../tdesign-miniprogram/tabs/tabs.wxml | 31 + .../tdesign-miniprogram/tabs/tabs.wxs | 24 + .../tdesign-miniprogram/tabs/tabs.wxss | 156 + .../tdesign-miniprogram/tabs/type.js | 1 + .../tdesign-miniprogram/tag/README.md | 93 + .../tag/check-tag-props.js | 35 + .../tdesign-miniprogram/tag/check-tag.js | 41 + .../tdesign-miniprogram/tag/check-tag.json | 6 + .../tdesign-miniprogram/tag/check-tag.wxml | 11 + .../tdesign-miniprogram/tag/check-tag.wxs | 30 + .../tdesign-miniprogram/tag/check-tag.wxss | 118 + .../tdesign-miniprogram/tag/props.js | 38 + .../tdesign-miniprogram/tag/tag.js | 31 + .../tdesign-miniprogram/tag/tag.json | 6 + .../tdesign-miniprogram/tag/tag.wxml | 16 + .../tdesign-miniprogram/tag/tag.wxs | 41 + .../tdesign-miniprogram/tag/tag.wxss | 221 + .../tdesign-miniprogram/tag/type.js | 1 + .../tdesign-miniprogram/textarea/README.md | 59 + .../tdesign-miniprogram/textarea/props.js | 51 + .../tdesign-miniprogram/textarea/textarea.js | 73 + .../textarea/textarea.json | 4 + .../textarea/textarea.wxml | 31 + .../textarea/textarea.wxss | 81 + .../tdesign-miniprogram/textarea/type.js | 1 + .../tdesign-miniprogram/toast/README.md | 164 + .../tdesign-miniprogram/toast/index.js | 42 + .../tdesign-miniprogram/toast/props.js | 40 + .../tdesign-miniprogram/toast/toast.js | 86 + .../tdesign-miniprogram/toast/toast.json | 8 + .../tdesign-miniprogram/toast/toast.wxml | 37 + .../tdesign-miniprogram/toast/toast.wxss | 113 + .../tdesign-miniprogram/toast/type.js | 1 + .../tdesign-miniprogram/transition/README.md | 53 + .../tdesign-miniprogram/transition/props.js | 26 + .../transition/transition.js | 149 + .../transition/transition.json | 4 + .../transition/transition.wxml | 8 + .../transition/transition.wxss | 14 + .../tdesign-miniprogram/transition/type.js | 2 + .../tdesign-miniprogram/upload/README.md | 73 + .../tdesign-miniprogram/upload/props.js | 48 + .../tdesign-miniprogram/upload/type.js | 1 + .../upload/upload-info.json | 123 + .../tdesign-miniprogram/upload/upload.js | 189 + .../tdesign-miniprogram/upload/upload.json | 10 + .../tdesign-miniprogram/upload/upload.wxml | 67 + .../tdesign-miniprogram/upload/upload.wxss | 81 + .../miniprogram_npm/widget-ui/index.js | 13 + .../miniprogram_npm/widget-ui/index.js.map | 1 + .../miniprogram_npm/wxml-to-canvas/index.js | 779 +++ .../miniprogram_npm/wxml-to-canvas/index.json | 4 + .../miniprogram_npm/wxml-to-canvas/index.wxml | 2 + .../miniprogram_npm/wxml-to-canvas/index.wxss | 0 .../miniprogram_npm/wxml-to-canvas/utils.js | 57 + yunbainian/etms_wechat_mini/package-lock.json | 83 + yunbainian/etms_wechat_mini/package.json | 6 + .../etms_wechat_mini/pages/accollect/index.js | 300 ++ .../pages/accollect/index.json | 13 + .../pages/accollect/index.wxml | 134 + .../pages/accollect/index.wxss | 351 ++ .../etms_wechat_mini/pages/acdetail1/index.js | 642 +++ .../pages/acdetail1/index.json | 27 + .../pages/acdetail1/index.wxml | 326 ++ .../pages/acdetail1/index.wxss | 724 +++ .../etms_wechat_mini/pages/acdetail2/index.js | 658 +++ .../pages/acdetail2/index.json | 28 + .../pages/acdetail2/index.wxml | 277 ++ .../pages/acdetail2/index.wxss | 747 +++ .../etms_wechat_mini/pages/acdetail3/index.js | 675 +++ .../pages/acdetail3/index.json | 29 + .../pages/acdetail3/index.wxml | 230 + .../pages/acdetail3/index.wxss | 912 ++++ .../etms_wechat_mini/pages/acdetail4/index.js | 583 +++ .../pages/acdetail4/index.json | 28 + .../pages/acdetail4/index.wxml | 194 + .../pages/acdetail4/index.wxss | 785 +++ .../pages/activitySharing/index.js | 103 + .../pages/activitySharing/index.json | 7 + .../pages/activitySharing/index.wxml | 36 + .../pages/activitySharing/index.wxss | 70 + .../pages/activitySharing/poster-data.js | 155 + .../etms_wechat_mini/pages/com/etms.wxss | 156 + .../pages/distributionDesc/index.js | 68 + .../pages/distributionDesc/index.json | 4 + .../pages/distributionDesc/index.wxml | 34 + .../pages/distributionDesc/index.wxss | 44 + .../pages/earningsDetails/index.js | 66 + .../pages/earningsDetails/index.json | 4 + .../pages/earningsDetails/index.wxml | 13 + .../pages/earningsDetails/index.wxss | 52 + .../etms_wechat_mini/pages/explain/index.js | 66 + .../etms_wechat_mini/pages/explain/index.json | 6 + .../etms_wechat_mini/pages/explain/index.wxml | 3 + .../etms_wechat_mini/pages/explain/index.wxss | 4 + .../pages/goDistribution/index.js | 320 ++ .../pages/goDistribution/index.json | 25 + .../pages/goDistribution/index.wxml | 72 + .../pages/goDistribution/index.wxss | 244 + .../etms_wechat_mini/pages/goSeckill/index.js | 342 ++ .../pages/goSeckill/index.json | 26 + .../pages/goSeckill/index.wxml | 81 + .../pages/goSeckill/index.wxss | 269 + .../pages/gosubmitGroupPurchase/index.js | 338 ++ .../pages/gosubmitGroupPurchase/index.json | 25 + .../pages/gosubmitGroupPurchase/index.wxml | 74 + .../pages/gosubmitGroupPurchase/index.wxss | 245 + .../pages/gosubmitHaggling/index.js | 313 ++ .../pages/gosubmitHaggling/index.json | 25 + .../pages/gosubmitHaggling/index.wxml | 81 + .../pages/gosubmitHaggling/index.wxss | 246 + .../pages/hagglingItems/index.js | 120 + .../pages/hagglingItems/index.json | 10 + .../pages/hagglingItems/index.wxml | 11 + .../pages/hagglingItems/index.wxss | 55 + .../etms_wechat_mini/pages/index/index.js | 127 + .../etms_wechat_mini/pages/index/index.json | 25 + .../etms_wechat_mini/pages/index/index.wxml | 67 + .../etms_wechat_mini/pages/index/index.wxss | 368 ++ .../etms_wechat_mini/pages/logs/logs.js | 18 + .../etms_wechat_mini/pages/logs/logs.json | 4 + .../etms_wechat_mini/pages/logs/logs.wxml | 6 + .../etms_wechat_mini/pages/logs/logs.wxss | 8 + .../etms_wechat_mini/pages/musicshow/index.js | 118 + .../pages/musicshow/index.json | 4 + .../pages/musicshow/index.wxml | 4 + .../pages/musicshow/index.wxss | 5 + yunbainian/etms_wechat_mini/pages/my/index.js | 135 + .../etms_wechat_mini/pages/my/index.json | 4 + .../etms_wechat_mini/pages/my/index.wxml | 35 + .../etms_wechat_mini/pages/my/index.wxss | 48 + .../etms_wechat_mini/pages/myReward/index.js | 101 + .../pages/myReward/index.json | 6 + .../pages/myReward/index.wxml | 46 + .../pages/myReward/index.wxss | 107 + .../etms_wechat_mini/pages/mywebsite/index.js | 70 + .../pages/mywebsite/index.json | 3 + .../pages/mywebsite/index.wxml | 2 + .../pages/mywebsite/index.wxss | 1 + .../pages/routeItems/index.js | 161 + .../pages/routeItems/index.json | 10 + .../pages/routeItems/index.wxml | 16 + .../pages/routeItems/index.wxss | 55 + .../pages/routeItems2/index.js | 66 + .../pages/routeItems2/index.json | 3 + .../pages/routeItems2/index.wxml | 2 + .../pages/routeItems2/index.wxss | 1 + .../etms_wechat_mini/project.config.json | 57 + .../project.private.config.json | 64 + yunbainian/etms_wechat_mini/readme.txt | 1 + yunbainian/etms_wechat_mini/sitemap.json | 7 + yunbainian/etms_wechat_mini/utils/util.js | 122 + yunbainian/etms_wechat_mini/utils/weui.wxss | 4393 +++++++++++++++++ 751 files changed, 60883 insertions(+) create mode 100644 yunbainian/etms_wechat_mini/.eslintrc.js create mode 100644 yunbainian/etms_wechat_mini/.gitignore create mode 100644 yunbainian/etms_wechat_mini/app.js create mode 100644 yunbainian/etms_wechat_mini/app.json create mode 100644 yunbainian/etms_wechat_mini/app.wxss create mode 100644 yunbainian/etms_wechat_mini/com.js create mode 100644 yunbainian/etms_wechat_mini/components/actionsheet/actionsheet.js create mode 100644 yunbainian/etms_wechat_mini/components/actionsheet/actionsheet.json create mode 100644 yunbainian/etms_wechat_mini/components/actionsheet/actionsheet.wxml create mode 100644 yunbainian/etms_wechat_mini/components/actionsheet/actionsheet.wxss create mode 100644 yunbainian/etms_wechat_mini/components/badge/badge.js create mode 100644 yunbainian/etms_wechat_mini/components/badge/badge.json create mode 100644 yunbainian/etms_wechat_mini/components/badge/badge.wxml create mode 100644 yunbainian/etms_wechat_mini/components/badge/badge.wxss create mode 100644 yunbainian/etms_wechat_mini/components/cell/cell.js create mode 100644 yunbainian/etms_wechat_mini/components/cell/cell.json create mode 100644 yunbainian/etms_wechat_mini/components/cell/cell.wxml create mode 100644 yunbainian/etms_wechat_mini/components/cell/cell.wxss create mode 100644 yunbainian/etms_wechat_mini/components/cells/cells.js create mode 100644 yunbainian/etms_wechat_mini/components/cells/cells.json create mode 100644 yunbainian/etms_wechat_mini/components/cells/cells.wxml create mode 100644 yunbainian/etms_wechat_mini/components/cells/cells.wxss create mode 100644 yunbainian/etms_wechat_mini/components/checkbox-group/checkbox-group.js create mode 100644 yunbainian/etms_wechat_mini/components/checkbox-group/checkbox-group.json create mode 100644 yunbainian/etms_wechat_mini/components/checkbox-group/checkbox-group.wxml create mode 100644 yunbainian/etms_wechat_mini/components/checkbox-group/checkbox-group.wxss create mode 100644 yunbainian/etms_wechat_mini/components/checkbox/checkbox.js create mode 100644 yunbainian/etms_wechat_mini/components/checkbox/checkbox.json create mode 100644 yunbainian/etms_wechat_mini/components/checkbox/checkbox.wxml create mode 100644 yunbainian/etms_wechat_mini/components/checkbox/checkbox.wxss create mode 100644 yunbainian/etms_wechat_mini/components/col/index.js create mode 100644 yunbainian/etms_wechat_mini/components/col/index.json create mode 100644 yunbainian/etms_wechat_mini/components/col/index.wxml create mode 100644 yunbainian/etms_wechat_mini/components/col/index.wxss create mode 100644 yunbainian/etms_wechat_mini/components/comPart/compart.js create mode 100644 yunbainian/etms_wechat_mini/components/comPart/compart.json create mode 100644 yunbainian/etms_wechat_mini/components/comPart/compart.wxml create mode 100644 yunbainian/etms_wechat_mini/components/comPart/compart.wxss create mode 100644 yunbainian/etms_wechat_mini/components/dialog/dialog.js create mode 100644 yunbainian/etms_wechat_mini/components/dialog/dialog.json create mode 100644 yunbainian/etms_wechat_mini/components/dialog/dialog.wxml create mode 100644 yunbainian/etms_wechat_mini/components/dialog/dialog.wxss create mode 100644 yunbainian/etms_wechat_mini/components/emoji/emoji.js create mode 100644 yunbainian/etms_wechat_mini/components/emoji/emoji.json create mode 100644 yunbainian/etms_wechat_mini/components/emoji/emoji.wxml create mode 100644 yunbainian/etms_wechat_mini/components/emoji/emoji.wxss create mode 100644 yunbainian/etms_wechat_mini/components/emoji/icon_emotion_del.png create mode 100644 yunbainian/etms_wechat_mini/components/form-page/form-page.js create mode 100644 yunbainian/etms_wechat_mini/components/form-page/form-page.json create mode 100644 yunbainian/etms_wechat_mini/components/form-page/form-page.wxml create mode 100644 yunbainian/etms_wechat_mini/components/form-page/form-page.wxss create mode 100644 yunbainian/etms_wechat_mini/components/form/form.js create mode 100644 yunbainian/etms_wechat_mini/components/form/form.json create mode 100644 yunbainian/etms_wechat_mini/components/form/form.wxml create mode 100644 yunbainian/etms_wechat_mini/components/gallery/gallery.js create mode 100644 yunbainian/etms_wechat_mini/components/gallery/gallery.json create mode 100644 yunbainian/etms_wechat_mini/components/gallery/gallery.wxml create mode 100644 yunbainian/etms_wechat_mini/components/gallery/gallery.wxss create mode 100644 yunbainian/etms_wechat_mini/components/grids/grids.js create mode 100644 yunbainian/etms_wechat_mini/components/grids/grids.json create mode 100644 yunbainian/etms_wechat_mini/components/grids/grids.wxml create mode 100644 yunbainian/etms_wechat_mini/components/grids/grids.wxss create mode 100644 yunbainian/etms_wechat_mini/components/icon/icon.js create mode 100644 yunbainian/etms_wechat_mini/components/icon/icon.json create mode 100644 yunbainian/etms_wechat_mini/components/icon/icon.wxml create mode 100644 yunbainian/etms_wechat_mini/components/icon/icon.wxss create mode 100644 yunbainian/etms_wechat_mini/components/index-list/index-list.js create mode 100644 yunbainian/etms_wechat_mini/components/index-list/index-list.json create mode 100644 yunbainian/etms_wechat_mini/components/index-list/index-list.wxml create mode 100644 yunbainian/etms_wechat_mini/components/index-list/index-list.wxss create mode 100644 yunbainian/etms_wechat_mini/components/index.js create mode 100644 yunbainian/etms_wechat_mini/components/loading/loading.js create mode 100644 yunbainian/etms_wechat_mini/components/loading/loading.json create mode 100644 yunbainian/etms_wechat_mini/components/loading/loading.wxml create mode 100644 yunbainian/etms_wechat_mini/components/loading/loading.wxss create mode 100644 yunbainian/etms_wechat_mini/components/msg/msg.js create mode 100644 yunbainian/etms_wechat_mini/components/msg/msg.json create mode 100644 yunbainian/etms_wechat_mini/components/msg/msg.wxml create mode 100644 yunbainian/etms_wechat_mini/components/msg/msg.wxss create mode 100644 yunbainian/etms_wechat_mini/components/navigation-bar/navigation-bar.js create mode 100644 yunbainian/etms_wechat_mini/components/navigation-bar/navigation-bar.json create mode 100644 yunbainian/etms_wechat_mini/components/navigation-bar/navigation-bar.wxml create mode 100644 yunbainian/etms_wechat_mini/components/navigation-bar/navigation-bar.wxss create mode 100644 yunbainian/etms_wechat_mini/components/package.json create mode 100644 yunbainian/etms_wechat_mini/components/row/index.js create mode 100644 yunbainian/etms_wechat_mini/components/row/index.json create mode 100644 yunbainian/etms_wechat_mini/components/row/index.wxml create mode 100644 yunbainian/etms_wechat_mini/components/row/index.wxss create mode 100644 yunbainian/etms_wechat_mini/components/searchbar/searchbar.js create mode 100644 yunbainian/etms_wechat_mini/components/searchbar/searchbar.json create mode 100644 yunbainian/etms_wechat_mini/components/searchbar/searchbar.wxml create mode 100644 yunbainian/etms_wechat_mini/components/searchbar/searchbar.wxss create mode 100644 yunbainian/etms_wechat_mini/components/select-text/select-text.js create mode 100644 yunbainian/etms_wechat_mini/components/select-text/select-text.json create mode 100644 yunbainian/etms_wechat_mini/components/select-text/select-text.wxml create mode 100644 yunbainian/etms_wechat_mini/components/select-text/select-text.wxs create mode 100644 yunbainian/etms_wechat_mini/components/select-text/select-text.wxss create mode 100644 yunbainian/etms_wechat_mini/components/sign-up-popup/index.js create mode 100644 yunbainian/etms_wechat_mini/components/sign-up-popup/index.json create mode 100644 yunbainian/etms_wechat_mini/components/sign-up-popup/index.wxml create mode 100644 yunbainian/etms_wechat_mini/components/sign-up-popup/index.wxss create mode 100644 yunbainian/etms_wechat_mini/components/slideview/slideview.js create mode 100644 yunbainian/etms_wechat_mini/components/slideview/slideview.json create mode 100644 yunbainian/etms_wechat_mini/components/slideview/slideview.wxml create mode 100644 yunbainian/etms_wechat_mini/components/slideview/slideview.wxs create mode 100644 yunbainian/etms_wechat_mini/components/slideview/slideview.wxss create mode 100644 yunbainian/etms_wechat_mini/components/static/icon/s-arrow-back.png create mode 100644 yunbainian/etms_wechat_mini/components/static/icon/s-arrow-back.svg create mode 100644 yunbainian/etms_wechat_mini/components/sticky/sticky.js create mode 100644 yunbainian/etms_wechat_mini/components/sticky/sticky.json create mode 100644 yunbainian/etms_wechat_mini/components/sticky/sticky.wxml create mode 100644 yunbainian/etms_wechat_mini/components/sticky/sticky.wxs create mode 100644 yunbainian/etms_wechat_mini/components/sticky/sticky.wxss create mode 100644 yunbainian/etms_wechat_mini/components/tabbar/tabbar.js create mode 100644 yunbainian/etms_wechat_mini/components/tabbar/tabbar.json create mode 100644 yunbainian/etms_wechat_mini/components/tabbar/tabbar.wxml create mode 100644 yunbainian/etms_wechat_mini/components/tabbar/tabbar.wxss create mode 100644 yunbainian/etms_wechat_mini/components/tabs/tabs.js create mode 100644 yunbainian/etms_wechat_mini/components/tabs/tabs.json create mode 100644 yunbainian/etms_wechat_mini/components/tabs/tabs.wxml create mode 100644 yunbainian/etms_wechat_mini/components/tabs/tabs.wxss create mode 100644 yunbainian/etms_wechat_mini/components/toptips/toptips.js create mode 100644 yunbainian/etms_wechat_mini/components/toptips/toptips.json create mode 100644 yunbainian/etms_wechat_mini/components/toptips/toptips.wxml create mode 100644 yunbainian/etms_wechat_mini/components/toptips/toptips.wxss create mode 100644 yunbainian/etms_wechat_mini/components/uploader/uploader.js create mode 100644 yunbainian/etms_wechat_mini/components/uploader/uploader.json create mode 100644 yunbainian/etms_wechat_mini/components/uploader/uploader.wxml create mode 100644 yunbainian/etms_wechat_mini/components/uploader/uploader.wxss create mode 100644 yunbainian/etms_wechat_mini/components/video-swiper/video-swiper.js create mode 100644 yunbainian/etms_wechat_mini/components/video-swiper/video-swiper.json create mode 100644 yunbainian/etms_wechat_mini/components/video-swiper/video-swiper.wxml create mode 100644 yunbainian/etms_wechat_mini/components/video-swiper/video-swiper.wxss create mode 100644 yunbainian/etms_wechat_mini/components/vtabs-content/vtabs-content.js create mode 100644 yunbainian/etms_wechat_mini/components/vtabs-content/vtabs-content.json create mode 100644 yunbainian/etms_wechat_mini/components/vtabs-content/vtabs-content.wxml create mode 100644 yunbainian/etms_wechat_mini/components/vtabs-content/vtabs-content.wxss create mode 100644 yunbainian/etms_wechat_mini/components/vtabs/vtabs.js create mode 100644 yunbainian/etms_wechat_mini/components/vtabs/vtabs.json create mode 100644 yunbainian/etms_wechat_mini/components/vtabs/vtabs.wxml create mode 100644 yunbainian/etms_wechat_mini/components/vtabs/vtabs.wxss create mode 100644 yunbainian/etms_wechat_mini/components/weui-wxss/dist/style/icon/weui-icon.wxss create mode 100644 yunbainian/etms_wechat_mini/components/weui-wxss/dist/style/weui.wxss create mode 100644 yunbainian/etms_wechat_mini/config.js create mode 100644 yunbainian/etms_wechat_mini/image/activity0.png create mode 100644 yunbainian/etms_wechat_mini/image/activity1.png create mode 100644 yunbainian/etms_wechat_mini/image/mr-bg.svg create mode 100644 yunbainian/etms_wechat_mini/image/my0.png create mode 100644 yunbainian/etms_wechat_mini/image/my1.png create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/dayjs/index.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/dayjs/index.js.map create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/eventemitter3/index.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/eventemitter3/index.js.map create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/.wechatide.ib.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/action-sheet/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/action-sheet/action-sheet.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/action-sheet/action-sheet.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/action-sheet/action-sheet.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/action-sheet/action-sheet.wxs create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/action-sheet/action-sheet.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/action-sheet/index.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/action-sheet/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/action-sheet/show.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/action-sheet/template/action-sheet-grid.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/action-sheet/template/action-sheet-item.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/action-sheet/template/action-sheet-list.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/action-sheet/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/avatar/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/avatar/avatar-group-props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/avatar/avatar-group.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/avatar/avatar-group.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/avatar/avatar-group.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/avatar/avatar-group.wxs create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/avatar/avatar-group.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/avatar/avatar.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/avatar/avatar.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/avatar/avatar.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/avatar/avatar.wxs create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/avatar/avatar.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/avatar/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/avatar/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/back-top/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/back-top/back-top.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/back-top/back-top.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/back-top/back-top.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/back-top/back-top.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/back-top/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/back-top/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/badge/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/badge/badge.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/badge/badge.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/badge/badge.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/badge/badge.wxs create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/badge/badge.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/badge/index.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/badge/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/badge/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/behaviors/dom.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/behaviors/touch.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/button-group/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/button-group/button-group.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/button-group/button-group.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/button-group/button-group.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/button-group/button-group.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/button/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/button/button.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/button/button.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/button/button.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/button/button.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/button/index.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/button/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/button/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/cell-group/cell-group.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/cell-group/cell-group.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/cell-group/cell-group.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/cell-group/cell-group.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/cell-group/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/cell-group/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/cell/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/cell/cell.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/cell/cell.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/cell/cell.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/cell/cell.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/cell/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/cell/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/checkbox-group/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/checkbox-group/checkbox-group.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/checkbox-group/checkbox-group.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/checkbox-group/checkbox-group.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/checkbox-group/checkbox-group.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/checkbox/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/checkbox/checkbox-group-props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/checkbox/checkbox.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/checkbox/checkbox.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/checkbox/checkbox.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/checkbox/checkbox.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/checkbox/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/checkbox/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/collapse/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/collapse/collapse-panel-props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/collapse/collapse-panel.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/collapse/collapse-panel.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/collapse/collapse-panel.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/collapse/collapse-panel.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/collapse/collapse.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/collapse/collapse.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/collapse/collapse.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/collapse/collapse.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/collapse/index.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/collapse/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/collapse/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/common/common.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/common/component.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/common/config.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/common/index.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/common/src/control.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/common/src/flatTool.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/common/src/index.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/common/src/instantiationDecorator.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/common/src/superComponent.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/common/style/_variables.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/common/style/base.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/common/style/index.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/common/style/mixins/_clearfix.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/common/style/mixins/_ellipsis.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/common/style/mixins/_hairline.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/common/style/mixins/_index.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/common/style/theme/_index.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/common/style/utilities/_animation.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/common/style/utilities/_float.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/common/style/utilities/_index.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/common/template/button.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/common/utils.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/common/utils.wxs create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/common/version.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/count-down/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/count-down/count-down.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/count-down/count-down.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/count-down/count-down.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/count-down/count-down.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/count-down/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/count-down/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/count-down/utils.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/date-time-picker/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/date-time-picker/date-time-picker.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/date-time-picker/date-time-picker.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/date-time-picker/date-time-picker.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/date-time-picker/date-time-picker.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/date-time-picker/locale/en.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/date-time-picker/locale/zh.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/date-time-picker/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/date-time-picker/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/dialog/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/dialog/dialog.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/dialog/dialog.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/dialog/dialog.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/dialog/dialog.wxs create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/dialog/dialog.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/dialog/index.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/dialog/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/dialog/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/divider/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/divider/divider.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/divider/divider.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/divider/divider.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/divider/divider.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/divider/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/divider/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/drawer/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/drawer/drawer.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/drawer/drawer.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/drawer/drawer.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/drawer/drawer.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/drawer/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/drawer/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/dropdown-menu/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/dropdown-menu/dropdown-item-props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/dropdown-menu/dropdown-item.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/dropdown-menu/dropdown-item.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/dropdown-menu/dropdown-item.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/dropdown-menu/dropdown-item.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/dropdown-menu/dropdown-menu.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/dropdown-menu/dropdown-menu.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/dropdown-menu/dropdown-menu.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/dropdown-menu/dropdown-menu.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/dropdown-menu/index.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/dropdown-menu/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/dropdown-menu/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/dropdown-menu/util.wxs create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/empty/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/empty/empty.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/empty/empty.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/empty/empty.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/empty/empty.wxs create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/empty/empty.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/empty/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/empty/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/fab/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/fab/fab.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/fab/fab.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/fab/fab.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/fab/fab.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/fab/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/fab/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/footer/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/footer/footer.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/footer/footer.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/footer/footer.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/footer/footer.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/footer/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/footer/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/grid/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/grid/grid-item-props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/grid/grid-item.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/grid/grid-item.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/grid/grid-item.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/grid/grid-item.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/grid/grid.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/grid/grid.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/grid/grid.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/grid/grid.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/grid/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/grid/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/icon/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/icon/icon.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/icon/icon.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/icon/icon.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/icon/icon.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/icon/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/icon/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/image-viewer/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/image-viewer/image-viewer.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/image-viewer/image-viewer.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/image-viewer/image-viewer.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/image-viewer/image-viewer.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/image-viewer/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/image-viewer/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/image/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/image/image-info.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/image/image.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/image/image.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/image/image.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/image/image.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/image/index.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/image/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/image/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/indexes/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/indexes/indexes.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/indexes/indexes.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/indexes/indexes.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/indexes/indexes.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/indexes/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/indexes/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/input/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/input/input.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/input/input.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/input/input.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/input/input.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/input/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/input/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/loading/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/loading/index.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/loading/loading.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/loading/loading.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/loading/loading.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/loading/loading.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/loading/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/loading/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/message/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/message/api.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/message/index.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/message/message.interface.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/message/message.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/message/message.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/message/message.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/message/message.wxs create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/message/message.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/message/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/message/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/miniprogram_npm/dayjs/index.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/navbar/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/navbar/navbar.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/navbar/navbar.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/navbar/navbar.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/navbar/navbar.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/navbar/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/navbar/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/notice-bar/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/notice-bar/notice-bar.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/notice-bar/notice-bar.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/notice-bar/notice-bar.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/notice-bar/notice-bar.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/notice-bar/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/notice-bar/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/overlay/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/overlay/overlay.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/overlay/overlay.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/overlay/overlay.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/overlay/overlay.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/picker/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/picker/picker-item-props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/picker/picker-item.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/picker/picker-item.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/picker/picker-item.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/picker/picker-item.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/picker/picker.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/picker/picker.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/picker/picker.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/picker/picker.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/picker/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/picker/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/popup/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/popup/popup.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/popup/popup.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/popup/popup.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/popup/popup.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/popup/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/popup/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/progress/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/progress/progress.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/progress/progress.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/progress/progress.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/progress/progress.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/progress/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/progress/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/progress/utils.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/pull-down-refresh/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/pull-down-refresh/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/pull-down-refresh/pull-down-refresh.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/pull-down-refresh/pull-down-refresh.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/pull-down-refresh/pull-down-refresh.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/pull-down-refresh/pull-down-refresh.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/pull-down-refresh/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/radio-group/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/radio-group/radio-group.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/radio-group/radio-group.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/radio-group/radio-group.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/radio-group/radio-group.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/radio/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/radio/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/radio/radio-group-props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/radio/radio.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/radio/radio.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/radio/radio.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/radio/radio.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/radio/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/rate/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/rate/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/rate/rate.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/rate/rate.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/rate/rate.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/rate/rate.wxs create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/rate/rate.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/rate/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/search/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/search/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/search/search.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/search/search.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/search/search.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/search/search.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/search/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/skeleton/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/skeleton/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/skeleton/skeleton.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/skeleton/skeleton.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/skeleton/skeleton.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/skeleton/skeleton.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/skeleton/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/slider/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/slider/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/slider/slider.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/slider/slider.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/slider/slider.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/slider/slider.wxs create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/slider/slider.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/slider/tool.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/slider/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/stepper/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/stepper/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/stepper/stepper.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/stepper/stepper.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/stepper/stepper.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/stepper/stepper.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/stepper/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/steps/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/steps/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/steps/step-item-props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/steps/step-item.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/steps/step-item.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/steps/step-item.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/steps/step-item.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/steps/steps.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/steps/steps.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/steps/steps.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/steps/steps.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/steps/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/sticky/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/sticky/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/sticky/sticky.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/sticky/sticky.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/sticky/sticky.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/sticky/sticky.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/sticky/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/sticky/utils.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/swipe-cell/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/swipe-cell/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/swipe-cell/swipe-cell.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/swipe-cell/swipe-cell.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/swipe-cell/swipe-cell.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/swipe-cell/swipe-cell.wxs create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/swipe-cell/swipe-cell.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/swipe-cell/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/swiper/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/swiper/common/constants.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/swiper/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/swiper/swiper-item.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/swiper/swiper-item.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/swiper/swiper-item.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/swiper/swiper-item.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/swiper/swiper-nav.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/swiper/swiper-nav.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/swiper/swiper-nav.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/swiper/swiper-nav.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/swiper/swiper.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/swiper/swiper.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/swiper/swiper.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/swiper/swiper.wxs create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/swiper/swiper.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/swiper/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/switch/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/switch/_var.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/switch/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/switch/switch.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/switch/switch.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/switch/switch.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/switch/switch.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/switch/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tab-bar/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tab-bar/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tab-bar/tab-bar-item-props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tab-bar/tab-bar-item.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tab-bar/tab-bar-item.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tab-bar/tab-bar-item.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tab-bar/tab-bar-item.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tab-bar/tab-bar.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tab-bar/tab-bar.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tab-bar/tab-bar.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tab-bar/tab-bar.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tab-bar/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tabs/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tabs/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tabs/tab-panel-props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tabs/tab-panel.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tabs/tab-panel.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tabs/tab-panel.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tabs/tab-panel.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tabs/tabs.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tabs/tabs.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tabs/tabs.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tabs/tabs.wxs create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tabs/tabs.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tabs/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tag/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tag/check-tag-props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tag/check-tag.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tag/check-tag.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tag/check-tag.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tag/check-tag.wxs create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tag/check-tag.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tag/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tag/tag.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tag/tag.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tag/tag.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tag/tag.wxs create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tag/tag.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/tag/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/textarea/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/textarea/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/textarea/textarea.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/textarea/textarea.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/textarea/textarea.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/textarea/textarea.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/textarea/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/toast/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/toast/index.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/toast/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/toast/toast.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/toast/toast.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/toast/toast.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/toast/toast.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/toast/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/transition/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/transition/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/transition/transition.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/transition/transition.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/transition/transition.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/transition/transition.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/transition/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/upload/README.md create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/upload/props.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/upload/type.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/upload/upload-info.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/upload/upload.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/upload/upload.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/upload/upload.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/upload/upload.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/widget-ui/index.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/widget-ui/index.js.map create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/wxml-to-canvas/index.js create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/wxml-to-canvas/index.json create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/wxml-to-canvas/index.wxml create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/wxml-to-canvas/index.wxss create mode 100644 yunbainian/etms_wechat_mini/miniprogram_npm/wxml-to-canvas/utils.js create mode 100644 yunbainian/etms_wechat_mini/package-lock.json create mode 100644 yunbainian/etms_wechat_mini/package.json create mode 100644 yunbainian/etms_wechat_mini/pages/accollect/index.js create mode 100644 yunbainian/etms_wechat_mini/pages/accollect/index.json create mode 100644 yunbainian/etms_wechat_mini/pages/accollect/index.wxml create mode 100644 yunbainian/etms_wechat_mini/pages/accollect/index.wxss create mode 100644 yunbainian/etms_wechat_mini/pages/acdetail1/index.js create mode 100644 yunbainian/etms_wechat_mini/pages/acdetail1/index.json create mode 100644 yunbainian/etms_wechat_mini/pages/acdetail1/index.wxml create mode 100644 yunbainian/etms_wechat_mini/pages/acdetail1/index.wxss create mode 100644 yunbainian/etms_wechat_mini/pages/acdetail2/index.js create mode 100644 yunbainian/etms_wechat_mini/pages/acdetail2/index.json create mode 100644 yunbainian/etms_wechat_mini/pages/acdetail2/index.wxml create mode 100644 yunbainian/etms_wechat_mini/pages/acdetail2/index.wxss create mode 100644 yunbainian/etms_wechat_mini/pages/acdetail3/index.js create mode 100644 yunbainian/etms_wechat_mini/pages/acdetail3/index.json create mode 100644 yunbainian/etms_wechat_mini/pages/acdetail3/index.wxml create mode 100644 yunbainian/etms_wechat_mini/pages/acdetail3/index.wxss create mode 100644 yunbainian/etms_wechat_mini/pages/acdetail4/index.js create mode 100644 yunbainian/etms_wechat_mini/pages/acdetail4/index.json create mode 100644 yunbainian/etms_wechat_mini/pages/acdetail4/index.wxml create mode 100644 yunbainian/etms_wechat_mini/pages/acdetail4/index.wxss create mode 100644 yunbainian/etms_wechat_mini/pages/activitySharing/index.js create mode 100644 yunbainian/etms_wechat_mini/pages/activitySharing/index.json create mode 100644 yunbainian/etms_wechat_mini/pages/activitySharing/index.wxml create mode 100644 yunbainian/etms_wechat_mini/pages/activitySharing/index.wxss create mode 100644 yunbainian/etms_wechat_mini/pages/activitySharing/poster-data.js create mode 100644 yunbainian/etms_wechat_mini/pages/com/etms.wxss create mode 100644 yunbainian/etms_wechat_mini/pages/distributionDesc/index.js create mode 100644 yunbainian/etms_wechat_mini/pages/distributionDesc/index.json create mode 100644 yunbainian/etms_wechat_mini/pages/distributionDesc/index.wxml create mode 100644 yunbainian/etms_wechat_mini/pages/distributionDesc/index.wxss create mode 100644 yunbainian/etms_wechat_mini/pages/earningsDetails/index.js create mode 100644 yunbainian/etms_wechat_mini/pages/earningsDetails/index.json create mode 100644 yunbainian/etms_wechat_mini/pages/earningsDetails/index.wxml create mode 100644 yunbainian/etms_wechat_mini/pages/earningsDetails/index.wxss create mode 100644 yunbainian/etms_wechat_mini/pages/explain/index.js create mode 100644 yunbainian/etms_wechat_mini/pages/explain/index.json create mode 100644 yunbainian/etms_wechat_mini/pages/explain/index.wxml create mode 100644 yunbainian/etms_wechat_mini/pages/explain/index.wxss create mode 100644 yunbainian/etms_wechat_mini/pages/goDistribution/index.js create mode 100644 yunbainian/etms_wechat_mini/pages/goDistribution/index.json create mode 100644 yunbainian/etms_wechat_mini/pages/goDistribution/index.wxml create mode 100644 yunbainian/etms_wechat_mini/pages/goDistribution/index.wxss create mode 100644 yunbainian/etms_wechat_mini/pages/goSeckill/index.js create mode 100644 yunbainian/etms_wechat_mini/pages/goSeckill/index.json create mode 100644 yunbainian/etms_wechat_mini/pages/goSeckill/index.wxml create mode 100644 yunbainian/etms_wechat_mini/pages/goSeckill/index.wxss create mode 100644 yunbainian/etms_wechat_mini/pages/gosubmitGroupPurchase/index.js create mode 100644 yunbainian/etms_wechat_mini/pages/gosubmitGroupPurchase/index.json create mode 100644 yunbainian/etms_wechat_mini/pages/gosubmitGroupPurchase/index.wxml create mode 100644 yunbainian/etms_wechat_mini/pages/gosubmitGroupPurchase/index.wxss create mode 100644 yunbainian/etms_wechat_mini/pages/gosubmitHaggling/index.js create mode 100644 yunbainian/etms_wechat_mini/pages/gosubmitHaggling/index.json create mode 100644 yunbainian/etms_wechat_mini/pages/gosubmitHaggling/index.wxml create mode 100644 yunbainian/etms_wechat_mini/pages/gosubmitHaggling/index.wxss create mode 100644 yunbainian/etms_wechat_mini/pages/hagglingItems/index.js create mode 100644 yunbainian/etms_wechat_mini/pages/hagglingItems/index.json create mode 100644 yunbainian/etms_wechat_mini/pages/hagglingItems/index.wxml create mode 100644 yunbainian/etms_wechat_mini/pages/hagglingItems/index.wxss create mode 100644 yunbainian/etms_wechat_mini/pages/index/index.js create mode 100644 yunbainian/etms_wechat_mini/pages/index/index.json create mode 100644 yunbainian/etms_wechat_mini/pages/index/index.wxml create mode 100644 yunbainian/etms_wechat_mini/pages/index/index.wxss create mode 100644 yunbainian/etms_wechat_mini/pages/logs/logs.js create mode 100644 yunbainian/etms_wechat_mini/pages/logs/logs.json create mode 100644 yunbainian/etms_wechat_mini/pages/logs/logs.wxml create mode 100644 yunbainian/etms_wechat_mini/pages/logs/logs.wxss create mode 100644 yunbainian/etms_wechat_mini/pages/musicshow/index.js create mode 100644 yunbainian/etms_wechat_mini/pages/musicshow/index.json create mode 100644 yunbainian/etms_wechat_mini/pages/musicshow/index.wxml create mode 100644 yunbainian/etms_wechat_mini/pages/musicshow/index.wxss create mode 100644 yunbainian/etms_wechat_mini/pages/my/index.js create mode 100644 yunbainian/etms_wechat_mini/pages/my/index.json create mode 100644 yunbainian/etms_wechat_mini/pages/my/index.wxml create mode 100644 yunbainian/etms_wechat_mini/pages/my/index.wxss create mode 100644 yunbainian/etms_wechat_mini/pages/myReward/index.js create mode 100644 yunbainian/etms_wechat_mini/pages/myReward/index.json create mode 100644 yunbainian/etms_wechat_mini/pages/myReward/index.wxml create mode 100644 yunbainian/etms_wechat_mini/pages/myReward/index.wxss create mode 100644 yunbainian/etms_wechat_mini/pages/mywebsite/index.js create mode 100644 yunbainian/etms_wechat_mini/pages/mywebsite/index.json create mode 100644 yunbainian/etms_wechat_mini/pages/mywebsite/index.wxml create mode 100644 yunbainian/etms_wechat_mini/pages/mywebsite/index.wxss create mode 100644 yunbainian/etms_wechat_mini/pages/routeItems/index.js create mode 100644 yunbainian/etms_wechat_mini/pages/routeItems/index.json create mode 100644 yunbainian/etms_wechat_mini/pages/routeItems/index.wxml create mode 100644 yunbainian/etms_wechat_mini/pages/routeItems/index.wxss create mode 100644 yunbainian/etms_wechat_mini/pages/routeItems2/index.js create mode 100644 yunbainian/etms_wechat_mini/pages/routeItems2/index.json create mode 100644 yunbainian/etms_wechat_mini/pages/routeItems2/index.wxml create mode 100644 yunbainian/etms_wechat_mini/pages/routeItems2/index.wxss create mode 100644 yunbainian/etms_wechat_mini/project.config.json create mode 100644 yunbainian/etms_wechat_mini/project.private.config.json create mode 100644 yunbainian/etms_wechat_mini/readme.txt create mode 100644 yunbainian/etms_wechat_mini/sitemap.json create mode 100644 yunbainian/etms_wechat_mini/utils/util.js create mode 100644 yunbainian/etms_wechat_mini/utils/weui.wxss diff --git a/yunbainian/etms_wechat_mini/.eslintrc.js b/yunbainian/etms_wechat_mini/.eslintrc.js new file mode 100644 index 0000000..115cc02 --- /dev/null +++ b/yunbainian/etms_wechat_mini/.eslintrc.js @@ -0,0 +1,31 @@ +/* + * Eslint config file + * Documentation: https://eslint.org/docs/user-guide/configuring/ + * Install the Eslint extension before using this feature. + */ +module.exports = { + env: { + es6: true, + browser: true, + node: true, + }, + ecmaFeatures: { + modules: true, + }, + parserOptions: { + ecmaVersion: 2018, + sourceType: 'module', + }, + globals: { + wx: true, + App: true, + Page: true, + getCurrentPages: true, + getApp: true, + Component: true, + requirePlugin: true, + requireMiniProgram: true, + }, + // extends: 'eslint:recommended', + rules: {}, +} diff --git a/yunbainian/etms_wechat_mini/.gitignore b/yunbainian/etms_wechat_mini/.gitignore new file mode 100644 index 0000000..14ea590 --- /dev/null +++ b/yunbainian/etms_wechat_mini/.gitignore @@ -0,0 +1,14 @@ +# Windows +[Dd]esktop.ini +Thumbs.db +$RECYCLE.BIN/ + +# macOS +.DS_Store +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes + +# Node.js +node_modules/ diff --git a/yunbainian/etms_wechat_mini/app.js b/yunbainian/etms_wechat_mini/app.js new file mode 100644 index 0000000..080d3e6 --- /dev/null +++ b/yunbainian/etms_wechat_mini/app.js @@ -0,0 +1,70 @@ +const { + etmsPostTemp +} = require("./com"); + +App({ + onLaunch(opts, data) { + this.etmsLogin("onLaunch"); + }, + onShow() { + if (!this.globalData.s) { + this.etmsLogin("onShow"); + } + }, + async etmsLogin(msg) { + if (this.globalData.islogin) { + return + } else { + // 登录 + this.globalData.islogin = true + const data = await this.login(); + } + + + }, + async login() { + return new Promise((resolve, reject) => { + wx.login({ + success: (res) => { + // 发送 res.code 到后台换取 openId, sessionKey, unionId + + resolve(etmsPostTemp( + "openParent2/WxMiniLogin", { + code: res.code, + }, + this.setLoginInfo, + + )) + }, + }); + }) + }, + setLoginInfo(res) { + this.globalData.s = res.s; + this.globalData.u = res.u; + this.globalData.openId = res.openId; + this.globalData.unionid = res.unionid; + this.globalData.nickName = res.nickName; + this.globalData.name = res.name; + this.globalData.avatarUrl = res.avatarUrl; + this.globalData.phone = res.phone; + if (res.avatarUrl) { + this.globalData.isGetUser = true; + } + }, + globalData: { + islogin: false, + s: "", + u: "", + openId: "", + unionid: "", + nickName: "", + name: "", + avatarUrl: "", + isGetUser: false, + microWebHomeUrl: "https://baidu.com", + currentActivityBag: {}, + currentActivityBag2: {}, + + }, +}); \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/app.json b/yunbainian/etms_wechat_mini/app.json new file mode 100644 index 0000000..cb3a398 --- /dev/null +++ b/yunbainian/etms_wechat_mini/app.json @@ -0,0 +1,53 @@ +{ + "pages": [ + "pages/index/index", + "pages/logs/logs", + "pages/my/index", + "pages/acdetail1/index", + "pages/acdetail2/index", + "pages/acdetail3/index", + "pages/activitySharing/index", + "pages/myReward/index", + "pages/gosubmitGroupPurchase/index", + "pages/goDistribution/index", + "pages/mywebsite/index", + "pages/routeItems/index", + "pages/explain/index", + "pages/gosubmitHaggling/index", + "pages/routeItems2/index", + "pages/hagglingItems/index", + "pages/distributionDesc/index", + "pages/earningsDetails/index", + "pages/acdetail4/index", + "pages/goSeckill/index", + "pages/accollect/index" + ], + "window": { + "backgroundTextStyle": "light", + "navigationBarBackgroundColor": "#fff", + "navigationBarTitleText": "Weixin", + "navigationBarTextStyle": "black" + }, + "tabBar": { + "color": "#7A7E83", + "selectedColor": "#FE053D", + "borderStyle": "black", + "backgroundColor": "#F7F7F7", + "list": [ + { + "pagePath": "pages/index/index", + "iconPath": "image/activity0.png", + "selectedIconPath": "image/activity1.png", + "text": "我的活动" + }, + { + "pagePath": "pages/my/index", + "iconPath": "image/my0.png", + "selectedIconPath": "image/my1.png", + "text": "个人中心" + } + ] + }, + "style": "v2", + "sitemapLocation": "sitemap.json" +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/app.wxss b/yunbainian/etms_wechat_mini/app.wxss new file mode 100644 index 0000000..27eaf11 --- /dev/null +++ b/yunbainian/etms_wechat_mini/app.wxss @@ -0,0 +1,39 @@ +/**app.wxss**/ +@import "./utils/weui.wxss"; + +.container { + height: 100%; + display: flex; + flex-direction: column; + align-items: center; + justify-content: space-between; + box-sizing: border-box; +} + +.etms_music { + position: fixed; + top: 15px; + left: 15px; + z-index: 9999; +} + +.etms_input_phone_content { + display: flex; +} + +.etms_input_phone_content_getphone { + padding: 0px !important; + margin: 0px !important; + width: 100px; +} + +.ac-action { + position: absolute; + left: 50%; + transform: translateX(-50%); + display: inline-flex !important; +} + +.t-popup__content { + margin-bottom: 110px; +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/com.js b/yunbainian/etms_wechat_mini/com.js new file mode 100644 index 0000000..c79463b --- /dev/null +++ b/yunbainian/etms_wechat_mini/com.js @@ -0,0 +1,112 @@ +const config = require("./config"); + +export function etmsPostTemp(rot, jsonData, callBack) { + var requestUrl = `${config.bascUrl}${rot}`; + return new Promise((resolve, reject) => { + wx.request({ + url: requestUrl, + data: jsonData, + method: "POST", + success(result) { + console.log(result); + if (result.data.code === "10000") { + callBack(result.data.resultData); + resolve() + } else { + wx.showToast({ + title: result.data.message, + icon: "error", + duration: 2000, + }); + } + }, + fail({ + errMsg + }) { + console.log("request fail", errMsg); + reject() + }, + }); + }) + +} + +export function etmsPost(logininfo, rot, jsonData, callBack, failBack) { + var requestUrl = `${config.bascUrl}${rot}`; + wx.request({ + url: requestUrl, + data: jsonData, + method: "POST", + header: { + "etms-s": logininfo.s, + "etms-l": logininfo.u, + "etms-o": logininfo.openId, + "etms-u": logininfo.unionid, + }, + success(result) { + console.log(result); + if (result.data.code === "10000") { + callBack(result.data.resultData); + } else { + wx.showToast({ + title: result.data.message, + icon: "none", + duration: 2000, + }); + if (failBack) { + failBack(result.data); + } + } + }, + fail({ + errMsg + }) { + console.log("request fail", errMsg); + }, + }); +} + + +export function etmsPost2(logininfo, rot, jsonData, failBack) { + try { + var requestUrl = `${config.bascUrl}${rot}`; + console.log(123111) + return new Promise((resolve, reject) => { + wx.request({ + url: requestUrl, + method: 'POST', + data: jsonData, + header: { + "etms-s": logininfo.s, + "etms-l": logininfo.u, + "etms-o": logininfo.openId, + "etms-u": logininfo.unionid, + }, + success(res) { + console.log(123444) + if (res.statusCode === 200) { + if (res.data.code === "10000") { + resolve(res.data.resultData); // 成功时返回数据 + } else { + wx.showToast({ + title: res.data.message, + icon: "none", + duration: 2000, + }); + if (failBack) { + failBack(res.data); + } + } + } else { + reject(new Error(`Server responded with status code ${res.statusCode}`)); + } + }, + fail(err) { + reject(new Error('Network error or request failed')); + } + }); + }); + } catch (ex) { + console.log(ex) + } +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/actionsheet/actionsheet.js b/yunbainian/etms_wechat_mini/components/actionsheet/actionsheet.js new file mode 100644 index 0000000..f096746 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/actionsheet/actionsheet.js @@ -0,0 +1,181 @@ +module.exports = +/** *** */ (function (modules) { // webpackBootstrap + /** *** */ // The module cache + /** *** */ const installedModules = {} + /** *** */ + /** *** */ // The require function + /** *** */ function __webpack_require__(moduleId) { + /** *** */ + /** *** */ // Check if module is in cache + /** *** */ if (installedModules[moduleId]) { + /** *** */ return installedModules[moduleId].exports + /** *** */ } + /** *** */ // Create a new module (and put it into the cache) + /** *** */ const module = installedModules[moduleId] = { + /** *** */ i: moduleId, + /** *** */ l: false, + /** *** */ exports: {} + /** *** */} + /** *** */ + /** *** */ // Execute the module function + /** *** */ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__) + /** *** */ + /** *** */ // Flag the module as loaded + /** *** */ module.l = true + /** *** */ + /** *** */ // Return the exports of the module + /** *** */ return module.exports + /** *** */ } + /** *** */ + /** *** */ + /** *** */ // expose the modules object (__webpack_modules__) + /** *** */ __webpack_require__.m = modules + /** *** */ + /** *** */ // expose the module cache + /** *** */ __webpack_require__.c = installedModules + /** *** */ + /** *** */ // define getter function for harmony exports + /** *** */ __webpack_require__.d = function (exports, name, getter) { + /** *** */ if (!__webpack_require__.o(exports, name)) { + /** *** */ Object.defineProperty(exports, name, {enumerable: true, get: getter}) + /** *** */ } + /** *** */ } + /** *** */ + /** *** */ // define __esModule on exports + /** *** */ __webpack_require__.r = function (exports) { + /** *** */ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { + /** *** */ Object.defineProperty(exports, Symbol.toStringTag, {value: 'Module'}) + /** *** */ } + /** *** */ Object.defineProperty(exports, '__esModule', {value: true}) + /** *** */ } + /** *** */ + /** *** */ // create a fake namespace object + /** *** */ // mode & 1: value is a module id, require it + /** *** */ // mode & 2: merge all properties of value into the ns + /** *** */ // mode & 4: return value when already ns object + /** *** */ // mode & 8|1: behave like require + /** *** */ __webpack_require__.t = function (value, mode) { + /** *** */ if (mode & 1) value = __webpack_require__(value) + /** *** */ if (mode & 8) return value + /** *** */ if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value + /** *** */ const ns = Object.create(null) + /** *** */ __webpack_require__.r(ns) + /** *** */ Object.defineProperty(ns, 'default', {enumerable: true, value}) + /** *** */ if (mode & 2 && typeof value !== 'string') for (const key in value) __webpack_require__.d(ns, key, function (key) { return value[key] }.bind(null, key)) + /** *** */ return ns + /** *** */ } + /** *** */ + /** *** */ // getDefaultExport function for compatibility with non-harmony modules + /** *** */ __webpack_require__.n = function (module) { + /** *** */ const getter = module && module.__esModule + /** *** */ ? function getDefault() { return module.default } + /** *** */ : function getModuleExports() { return module } + /** *** */ __webpack_require__.d(getter, 'a', getter) + /** *** */ return getter + /** *** */ } + /** *** */ + /** *** */ // Object.prototype.hasOwnProperty.call + /** *** */ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property) } + /** *** */ + /** *** */ // __webpack_public_path__ + /** *** */ __webpack_require__.p = '' + /** *** */ + /** *** */ + /** *** */ // Load entry module and return exports + /** *** */ return __webpack_require__(__webpack_require__.s = 1) + /** *** */ }([ + /* 0 */, + /* 1 */ + /***/ (function (module, exports, __webpack_require__) { + Component({ + options: { + multipleSlots: true, + // 在组件定义时的选项中启用多slot支持 + addGlobalClass: true + }, + properties: { + title: { + // 标题 + type: String, + value: '' + }, + showCancel: { + // 是否显示取消按钮 + type: Boolean, + value: true + }, + cancelText: { + // 取消按钮文案 + type: String, + value: '取消' + }, + maskClass: { + // 遮罩层class + type: String, + value: '' + }, + extClass: { + // 弹出窗 class + type: String, + value: '' + }, + maskClosable: { + // 点击遮罩 关闭 actionsheet + type: Boolean, + value: true + }, + mask: { + // 是否需要 遮罩层 + type: Boolean, + value: true + }, + show: { + // 是否开启 actionsheet + type: Boolean, + value: false + }, + actions: { + // actions 列表 + type: Array, + value: [], + // {text, extClass} + observer: '_groupChange' + } + }, + methods: { + _groupChange(e) { + // 支持 一维数组 写法 + if (e.length > 0 && typeof e[0] !== 'string' && !(e[0] instanceof Array)) { + this.setData({ + actions: [this.data.actions] + }) + } + }, + buttonTap(e) { + const { + value, + groupindex, + index + } = e.currentTarget.dataset + this.triggerEvent('actiontap', { + value, + groupindex, + index + }) + }, + closeActionSheet(e) { + const { + type + } = e.currentTarget.dataset + if (this.data.maskClosable || type) { + // 点击 action 里面的 取消 + this.setData({ + show: false + }) // 关闭回调事件 + this.triggerEvent('close') + } + } + } + }) + /***/ }) + /** *** */ ])) diff --git a/yunbainian/etms_wechat_mini/components/actionsheet/actionsheet.json b/yunbainian/etms_wechat_mini/components/actionsheet/actionsheet.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/actionsheet/actionsheet.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/actionsheet/actionsheet.wxml b/yunbainian/etms_wechat_mini/components/actionsheet/actionsheet.wxml new file mode 100644 index 0000000..622275a --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/actionsheet/actionsheet.wxml @@ -0,0 +1,50 @@ + + var join = function(a,b) { + return a+b + }; + var isNotSlot = function(v) { + return typeof v !== 'string' + } + module.exports = { + join: join, + isNotSlot: isNotSlot + } + + + + + + + + {{title}} + + + + + + + {{item.text}} + + + + + + + {{cancelText}} + + diff --git a/yunbainian/etms_wechat_mini/components/actionsheet/actionsheet.wxss b/yunbainian/etms_wechat_mini/components/actionsheet/actionsheet.wxss new file mode 100644 index 0000000..75d3286 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/actionsheet/actionsheet.wxss @@ -0,0 +1 @@ +.weui-mask.weui-mask_hidden{opacity:0;transform:scale3d(1, 1, 0)}.weui-mask{opacity:1;transform:scale3d(1, 1, 1);transition:all .3s} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/badge/badge.js b/yunbainian/etms_wechat_mini/components/badge/badge.js new file mode 100644 index 0000000..ad2634c --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/badge/badge.js @@ -0,0 +1,17 @@ + + +Component({ + options: { + addGlobalClass: true + }, + properties: { + extClass: { + type: String, + value: '' + }, + content: { + type: String, + value: '' + } + } +}) diff --git a/yunbainian/etms_wechat_mini/components/badge/badge.json b/yunbainian/etms_wechat_mini/components/badge/badge.json new file mode 100644 index 0000000..7e37c03 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/badge/badge.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/badge/badge.wxml b/yunbainian/etms_wechat_mini/components/badge/badge.wxml new file mode 100644 index 0000000..b7caee3 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/badge/badge.wxml @@ -0,0 +1 @@ +{{content}} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/badge/badge.wxss b/yunbainian/etms_wechat_mini/components/badge/badge.wxss new file mode 100644 index 0000000..3996e89 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/badge/badge.wxss @@ -0,0 +1 @@ +.weui-badge{display:inline-block;padding:.15em .4em;min-width:8px;border-radius:18px;background-color:#FA5151;color:#FFFFFF;line-height:1.2;text-align:center;font-size:12px;vertical-align:middle}.weui-badge_dot{padding:.4em;min-width:0} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/cell/cell.js b/yunbainian/etms_wechat_mini/components/cell/cell.js new file mode 100644 index 0000000..71ae7e0 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/cell/cell.js @@ -0,0 +1,210 @@ +module.exports = +/** *** */ (function (modules) { // webpackBootstrap + /** *** */ // The module cache + /** *** */ const installedModules = {} + /** *** */ + /** *** */ // The require function + /** *** */ function __webpack_require__(moduleId) { + /** *** */ + /** *** */ // Check if module is in cache + /** *** */ if (installedModules[moduleId]) { + /** *** */ return installedModules[moduleId].exports + /** *** */ } + /** *** */ // Create a new module (and put it into the cache) + /** *** */ const module = installedModules[moduleId] = { + /** *** */ i: moduleId, + /** *** */ l: false, + /** *** */ exports: {} + /** *** */} + /** *** */ + /** *** */ // Execute the module function + /** *** */ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__) + /** *** */ + /** *** */ // Flag the module as loaded + /** *** */ module.l = true + /** *** */ + /** *** */ // Return the exports of the module + /** *** */ return module.exports + /** *** */ } + /** *** */ + /** *** */ + /** *** */ // expose the modules object (__webpack_modules__) + /** *** */ __webpack_require__.m = modules + /** *** */ + /** *** */ // expose the module cache + /** *** */ __webpack_require__.c = installedModules + /** *** */ + /** *** */ // define getter function for harmony exports + /** *** */ __webpack_require__.d = function (exports, name, getter) { + /** *** */ if (!__webpack_require__.o(exports, name)) { + /** *** */ Object.defineProperty(exports, name, {enumerable: true, get: getter}) + /** *** */ } + /** *** */ } + /** *** */ + /** *** */ // define __esModule on exports + /** *** */ __webpack_require__.r = function (exports) { + /** *** */ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { + /** *** */ Object.defineProperty(exports, Symbol.toStringTag, {value: 'Module'}) + /** *** */ } + /** *** */ Object.defineProperty(exports, '__esModule', {value: true}) + /** *** */ } + /** *** */ + /** *** */ // create a fake namespace object + /** *** */ // mode & 1: value is a module id, require it + /** *** */ // mode & 2: merge all properties of value into the ns + /** *** */ // mode & 4: return value when already ns object + /** *** */ // mode & 8|1: behave like require + /** *** */ __webpack_require__.t = function (value, mode) { + /** *** */ if (mode & 1) value = __webpack_require__(value) + /** *** */ if (mode & 8) return value + /** *** */ if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value + /** *** */ const ns = Object.create(null) + /** *** */ __webpack_require__.r(ns) + /** *** */ Object.defineProperty(ns, 'default', {enumerable: true, value}) + /** *** */ if (mode & 2 && typeof value !== 'string') for (const key in value) __webpack_require__.d(ns, key, function (key) { return value[key] }.bind(null, key)) + /** *** */ return ns + /** *** */ } + /** *** */ + /** *** */ // getDefaultExport function for compatibility with non-harmony modules + /** *** */ __webpack_require__.n = function (module) { + /** *** */ const getter = module && module.__esModule + /** *** */ ? function getDefault() { return module.default } + /** *** */ : function getModuleExports() { return module } + /** *** */ __webpack_require__.d(getter, 'a', getter) + /** *** */ return getter + /** *** */ } + /** *** */ + /** *** */ // Object.prototype.hasOwnProperty.call + /** *** */ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property) } + /** *** */ + /** *** */ // __webpack_public_path__ + /** *** */ __webpack_require__.p = '' + /** *** */ + /** *** */ + /** *** */ // Load entry module and return exports + /** *** */ return __webpack_require__(__webpack_require__.s = 9) + /** *** */ }({ + + /***/ 9: + /***/ (function (module, exports, __webpack_require__) { + Component({ + options: { + addGlobalClass: true, + multipleSlots: true + }, + properties: { + hover: { + type: Boolean, + value: false + }, + link: { + type: Boolean, + value: false + }, + extClass: { + type: String, + value: '' + }, + iconClass: { + type: String, + value: '' + }, + bodyClass: { + type: String, + value: '' + }, + icon: { + type: String, + value: '' + }, + title: { + type: String, + value: '' + }, + value: { + type: String, + value: '' + }, + showError: { + type: Boolean, + value: false + }, + prop: { + type: String, + value: '' + }, + url: { + type: String, + value: '' + }, + footerClass: { + type: String, + value: '' + }, + footer: { + type: String, + value: '' + }, + inline: { + type: Boolean, + value: true + }, + hasHeader: { + type: Boolean, + value: true + }, + hasFooter: { + type: Boolean, + value: true + }, + hasBody: { + type: Boolean, + value: true + } + }, + relations: { + '../form/form': { + type: 'ancestor' + }, + '../cells/cells': { + type: 'ancestor' + } + }, + data: { + inForm: false + }, + methods: { + setError(error) { + this.setData({ + error: error || false + }) + }, + setInForm() { + this.setData({ + inForm: true + }) + }, + setOuterClass(className) { + this.setData({ + outerClass: className + }) + }, + navigateTo: function navigateTo() { + const data = this.data + if (data.url && data.link) { + wx.navigateTo({ + url: data.url, + success: res => { + this.triggerEvent('navigatesuccess', res, {}) + }, + fail: fail => { + this.triggerEvent('navigateerror', fail, {}) + } + }) + } + } + } + }) + /***/ }) + + /** *** */})) diff --git a/yunbainian/etms_wechat_mini/components/cell/cell.json b/yunbainian/etms_wechat_mini/components/cell/cell.json new file mode 100644 index 0000000..38feec9 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/cell/cell.json @@ -0,0 +1,6 @@ +{ + "component": true, + "usingComponents": { + "mp-cells": "../cells/cells" + } +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/cell/cell.wxml b/yunbainian/etms_wechat_mini/components/cell/cell.wxml new file mode 100644 index 0000000..6d61dbc --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/cell/cell.wxml @@ -0,0 +1,73 @@ + + + + + + + + + + + {{title}} + + + + + + {{title}} + + + + + + + {{value}} + + + + + + {{footer}} + + + + + + + + + + + + + + + + + {{title}} + + + + + + {{title}} + + + + + + + {{value}} + + + + + + {{footer}} + + + + + + + \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/cell/cell.wxss b/yunbainian/etms_wechat_mini/components/cell/cell.wxss new file mode 100644 index 0000000..a2142c5 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/cell/cell.wxss @@ -0,0 +1 @@ +.weui-cell_wxss.weui-cell_wxss:before{display:block} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/cells/cells.js b/yunbainian/etms_wechat_mini/components/cells/cells.js new file mode 100644 index 0000000..87550f1 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/cells/cells.js @@ -0,0 +1,171 @@ +module.exports = +/** *** */ (function (modules) { // webpackBootstrap + /** *** */ // The module cache + /** *** */ const installedModules = {} + /** *** */ + /** *** */ // The require function + /** *** */ function __webpack_require__(moduleId) { + /** *** */ + /** *** */ // Check if module is in cache + /** *** */ if (installedModules[moduleId]) { + /** *** */ return installedModules[moduleId].exports + /** *** */ } + /** *** */ // Create a new module (and put it into the cache) + /** *** */ const module = installedModules[moduleId] = { + /** *** */ i: moduleId, + /** *** */ l: false, + /** *** */ exports: {} + /** *** */} + /** *** */ + /** *** */ // Execute the module function + /** *** */ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__) + /** *** */ + /** *** */ // Flag the module as loaded + /** *** */ module.l = true + /** *** */ + /** *** */ // Return the exports of the module + /** *** */ return module.exports + /** *** */ } + /** *** */ + /** *** */ + /** *** */ // expose the modules object (__webpack_modules__) + /** *** */ __webpack_require__.m = modules + /** *** */ + /** *** */ // expose the module cache + /** *** */ __webpack_require__.c = installedModules + /** *** */ + /** *** */ // define getter function for harmony exports + /** *** */ __webpack_require__.d = function (exports, name, getter) { + /** *** */ if (!__webpack_require__.o(exports, name)) { + /** *** */ Object.defineProperty(exports, name, {enumerable: true, get: getter}) + /** *** */ } + /** *** */ } + /** *** */ + /** *** */ // define __esModule on exports + /** *** */ __webpack_require__.r = function (exports) { + /** *** */ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { + /** *** */ Object.defineProperty(exports, Symbol.toStringTag, {value: 'Module'}) + /** *** */ } + /** *** */ Object.defineProperty(exports, '__esModule', {value: true}) + /** *** */ } + /** *** */ + /** *** */ // create a fake namespace object + /** *** */ // mode & 1: value is a module id, require it + /** *** */ // mode & 2: merge all properties of value into the ns + /** *** */ // mode & 4: return value when already ns object + /** *** */ // mode & 8|1: behave like require + /** *** */ __webpack_require__.t = function (value, mode) { + /** *** */ if (mode & 1) value = __webpack_require__(value) + /** *** */ if (mode & 8) return value + /** *** */ if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value + /** *** */ const ns = Object.create(null) + /** *** */ __webpack_require__.r(ns) + /** *** */ Object.defineProperty(ns, 'default', {enumerable: true, value}) + /** *** */ if (mode & 2 && typeof value !== 'string') for (const key in value) __webpack_require__.d(ns, key, function (key) { return value[key] }.bind(null, key)) + /** *** */ return ns + /** *** */ } + /** *** */ + /** *** */ // getDefaultExport function for compatibility with non-harmony modules + /** *** */ __webpack_require__.n = function (module) { + /** *** */ const getter = module && module.__esModule + /** *** */ ? function getDefault() { return module.default } + /** *** */ : function getModuleExports() { return module } + /** *** */ __webpack_require__.d(getter, 'a', getter) + /** *** */ return getter + /** *** */ } + /** *** */ + /** *** */ // Object.prototype.hasOwnProperty.call + /** *** */ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property) } + /** *** */ + /** *** */ // __webpack_public_path__ + /** *** */ __webpack_require__.p = '' + /** *** */ + /** *** */ + /** *** */ // Load entry module and return exports + /** *** */ return __webpack_require__(__webpack_require__.s = 8) + /** *** */ }({ + + /***/ 8: + /***/ (function (module, exports, __webpack_require__) { + Component({ + options: { + addGlobalClass: true, + multipleSlots: true + }, + properties: { + title: { + type: String, + value: '' + }, + extClass: { + type: String, + value: '' + }, + footer: { + type: String, + value: '' + } + }, + data: { + firstItem: null, + checkboxCount: 0, + checkboxIsMulti: false, + outerClass: '', + childClass: '' + }, + relations: { + '../cell/cell': { + type: 'descendant', + + linked(target) { + if (!this.data.firstItem) { + this.data.firstItem = target + } + + if (target !== this.data.firstItem) { + target.setOuterClass('weui-cell_wxss') + } + } + }, + '../form-page/form-page': { + type: 'ancestor' + }, + '../checkbox-group/checkbox-group': { + type: 'descendant', + linked(target) { + this.setData({ + checkboxCount: this.data.checkboxCount + 1, + checkboxIsMulti: target.data.multi + }) + }, + + unlinked(target) { + this.setData({ + checkboxCount: this.data.checkboxCount - 1, + checkboxIsMulti: target.data.multi + }) + } + } + }, + methods: { + setCellMulti(multi) { + this.setData({ + checkboxIsMulti: multi + }) + }, + setCellsClass(className) { + this.setData({ + childClass: className + }) + }, + + setOuterClass(className) { + this.setData({ + outerClass: className + }) + } + } + }) + /***/ }) + + /** *** */})) diff --git a/yunbainian/etms_wechat_mini/components/cells/cells.json b/yunbainian/etms_wechat_mini/components/cells/cells.json new file mode 100644 index 0000000..7e37c03 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/cells/cells.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/cells/cells.wxml b/yunbainian/etms_wechat_mini/components/cells/cells.wxml new file mode 100644 index 0000000..60a4705 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/cells/cells.wxml @@ -0,0 +1,8 @@ + + {{title}} + + + + {{footer}} + + \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/cells/cells.wxss b/yunbainian/etms_wechat_mini/components/cells/cells.wxss new file mode 100644 index 0000000..656c106 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/cells/cells.wxss @@ -0,0 +1 @@ +.weui-cells__group_wxss.weui-cells__group_wxss .weui-cells__title{margin-top:24px}.weui-cells__group_form .weui-cells__tips{margin-top:8px;padding:0 32px;color:var(--weui-FG-1)} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/checkbox-group/checkbox-group.js b/yunbainian/etms_wechat_mini/components/checkbox-group/checkbox-group.js new file mode 100644 index 0000000..6a7a95c --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/checkbox-group/checkbox-group.js @@ -0,0 +1,196 @@ +module.exports = +/** *** */ (function (modules) { // webpackBootstrap + /** *** */ // The module cache + /** *** */ const installedModules = {} + /** *** */ + /** *** */ // The require function + /** *** */ function __webpack_require__(moduleId) { + /** *** */ + /** *** */ // Check if module is in cache + /** *** */ if (installedModules[moduleId]) { + /** *** */ return installedModules[moduleId].exports + /** *** */ } + /** *** */ // Create a new module (and put it into the cache) + /** *** */ const module = installedModules[moduleId] = { + /** *** */ i: moduleId, + /** *** */ l: false, + /** *** */ exports: {} + /** *** */} + /** *** */ + /** *** */ // Execute the module function + /** *** */ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__) + /** *** */ + /** *** */ // Flag the module as loaded + /** *** */ module.l = true + /** *** */ + /** *** */ // Return the exports of the module + /** *** */ return module.exports + /** *** */ } + /** *** */ + /** *** */ + /** *** */ // expose the modules object (__webpack_modules__) + /** *** */ __webpack_require__.m = modules + /** *** */ + /** *** */ // expose the module cache + /** *** */ __webpack_require__.c = installedModules + /** *** */ + /** *** */ // define getter function for harmony exports + /** *** */ __webpack_require__.d = function (exports, name, getter) { + /** *** */ if (!__webpack_require__.o(exports, name)) { + /** *** */ Object.defineProperty(exports, name, {enumerable: true, get: getter}) + /** *** */ } + /** *** */ } + /** *** */ + /** *** */ // define __esModule on exports + /** *** */ __webpack_require__.r = function (exports) { + /** *** */ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { + /** *** */ Object.defineProperty(exports, Symbol.toStringTag, {value: 'Module'}) + /** *** */ } + /** *** */ Object.defineProperty(exports, '__esModule', {value: true}) + /** *** */ } + /** *** */ + /** *** */ // create a fake namespace object + /** *** */ // mode & 1: value is a module id, require it + /** *** */ // mode & 2: merge all properties of value into the ns + /** *** */ // mode & 4: return value when already ns object + /** *** */ // mode & 8|1: behave like require + /** *** */ __webpack_require__.t = function (value, mode) { + /** *** */ if (mode & 1) value = __webpack_require__(value) + /** *** */ if (mode & 8) return value + /** *** */ if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value + /** *** */ const ns = Object.create(null) + /** *** */ __webpack_require__.r(ns) + /** *** */ Object.defineProperty(ns, 'default', {enumerable: true, value}) + /** *** */ if (mode & 2 && typeof value !== 'string') for (const key in value) __webpack_require__.d(ns, key, function (key) { return value[key] }.bind(null, key)) + /** *** */ return ns + /** *** */ } + /** *** */ + /** *** */ // getDefaultExport function for compatibility with non-harmony modules + /** *** */ __webpack_require__.n = function (module) { + /** *** */ const getter = module && module.__esModule + /** *** */ ? function getDefault() { return module.default } + /** *** */ : function getModuleExports() { return module } + /** *** */ __webpack_require__.d(getter, 'a', getter) + /** *** */ return getter + /** *** */ } + /** *** */ + /** *** */ // Object.prototype.hasOwnProperty.call + /** *** */ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property) } + /** *** */ + /** *** */ // __webpack_public_path__ + /** *** */ __webpack_require__.p = '' + /** *** */ + /** *** */ + /** *** */ // Load entry module and return exports + /** *** */ return __webpack_require__(__webpack_require__.s = 23) + /** *** */ }({ + + /***/ 23: + /***/ (function (module, exports, __webpack_require__) { + Component({ + properties: { + multi: { + type: Boolean, + value: true, + observer: '_multiChange' + }, + extClass: { + type: String, + value: '' + }, + prop: { + type: String, + value: '' + } + }, + data: { + targetList: [], + parentCell: null + }, + relations: { + '../checkbox/checkbox': { + type: 'descendant', + linked: function linked(target) { + this.data.targetList.push(target) + target.setMulti(this.data.multi) + if (!this.data.firstItem) { + this.data.firstItem = target + } + if (target !== this.data.firstItem) { + target.setOuterClass('weui-cell_wxss') + } + }, + unlinked: function unlinked(target) { + let index = -1 + this.data.targetList.forEach(function (item, idx) { + if (item === target) { + index = idx + } + }) + this.data.targetList.splice(index, 1) + if (!this.data.targetList) { + this.data.firstItem = null + } + } + }, + '../form/form': { + type: 'ancestor' + }, + '../cells/cells': { + type: 'ancestor', + linked: function linked(target) { + if (!this.data.parentCell) { + this.data.parentCell = target + } + this.setParentCellsClass() + }, + unlinked: function unlinked(target) { + this.data.parentCell = null + } + } + }, + methods: { + checkedChange: function checkedChange(checked, target) { + console.log('checked change', checked) + if (this.data.multi) { + const vals = [] + this.data.targetList.forEach(function (item) { + if (item.data.checked) { + vals.push(item.data.value) + } + }) + this.triggerEvent('change', {value: vals}) + } else { + let val = '' + this.data.targetList.forEach(function (item) { + if (item === target) { + val = item.data.value + } else { + item.setData({ + checked: false + }) + } + }) + this.triggerEvent('change', {value: val}, {}) + } + }, + setParentCellsClass: function setParentCellsClass() { + const className = this.data.multi ? 'weui-cells_checkbox' : '' + if (this.data.parentCell) { + this.data.parentCell.setCellsClass(className) + } + }, + _multiChange: function _multiChange(multi) { + this.data.targetList.forEach(function (target) { + target.setMulti(multi) + }) + if (this.data.parentCell) { + this.data.parentCell.setCellMulti(multi) + } + return multi + } + } + }) + /***/ }) + + /** *** */})) diff --git a/yunbainian/etms_wechat_mini/components/checkbox-group/checkbox-group.json b/yunbainian/etms_wechat_mini/components/checkbox-group/checkbox-group.json new file mode 100644 index 0000000..38feec9 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/checkbox-group/checkbox-group.json @@ -0,0 +1,6 @@ +{ + "component": true, + "usingComponents": { + "mp-cells": "../cells/cells" + } +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/checkbox-group/checkbox-group.wxml b/yunbainian/etms_wechat_mini/components/checkbox-group/checkbox-group.wxml new file mode 100644 index 0000000..9864e38 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/checkbox-group/checkbox-group.wxml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/checkbox-group/checkbox-group.wxss b/yunbainian/etms_wechat_mini/components/checkbox-group/checkbox-group.wxss new file mode 100644 index 0000000..e69de29 diff --git a/yunbainian/etms_wechat_mini/components/checkbox/checkbox.js b/yunbainian/etms_wechat_mini/components/checkbox/checkbox.js new file mode 100644 index 0000000..3ba4eee --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/checkbox/checkbox.js @@ -0,0 +1,165 @@ +module.exports = +/** *** */ (function (modules) { // webpackBootstrap + /** *** */ // The module cache + /** *** */ const installedModules = {} + /** *** */ + /** *** */ // The require function + /** *** */ function __webpack_require__(moduleId) { + /** *** */ + /** *** */ // Check if module is in cache + /** *** */ if (installedModules[moduleId]) { + /** *** */ return installedModules[moduleId].exports + /** *** */ } + /** *** */ // Create a new module (and put it into the cache) + /** *** */ const module = installedModules[moduleId] = { + /** *** */ i: moduleId, + /** *** */ l: false, + /** *** */ exports: {} + /** *** */} + /** *** */ + /** *** */ // Execute the module function + /** *** */ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__) + /** *** */ + /** *** */ // Flag the module as loaded + /** *** */ module.l = true + /** *** */ + /** *** */ // Return the exports of the module + /** *** */ return module.exports + /** *** */ } + /** *** */ + /** *** */ + /** *** */ // expose the modules object (__webpack_modules__) + /** *** */ __webpack_require__.m = modules + /** *** */ + /** *** */ // expose the module cache + /** *** */ __webpack_require__.c = installedModules + /** *** */ + /** *** */ // define getter function for harmony exports + /** *** */ __webpack_require__.d = function (exports, name, getter) { + /** *** */ if (!__webpack_require__.o(exports, name)) { + /** *** */ Object.defineProperty(exports, name, {enumerable: true, get: getter}) + /** *** */ } + /** *** */ } + /** *** */ + /** *** */ // define __esModule on exports + /** *** */ __webpack_require__.r = function (exports) { + /** *** */ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { + /** *** */ Object.defineProperty(exports, Symbol.toStringTag, {value: 'Module'}) + /** *** */ } + /** *** */ Object.defineProperty(exports, '__esModule', {value: true}) + /** *** */ } + /** *** */ + /** *** */ // create a fake namespace object + /** *** */ // mode & 1: value is a module id, require it + /** *** */ // mode & 2: merge all properties of value into the ns + /** *** */ // mode & 4: return value when already ns object + /** *** */ // mode & 8|1: behave like require + /** *** */ __webpack_require__.t = function (value, mode) { + /** *** */ if (mode & 1) value = __webpack_require__(value) + /** *** */ if (mode & 8) return value + /** *** */ if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value + /** *** */ const ns = Object.create(null) + /** *** */ __webpack_require__.r(ns) + /** *** */ Object.defineProperty(ns, 'default', {enumerable: true, value}) + /** *** */ if (mode & 2 && typeof value !== 'string') for (const key in value) __webpack_require__.d(ns, key, function (key) { return value[key] }.bind(null, key)) + /** *** */ return ns + /** *** */ } + /** *** */ + /** *** */ // getDefaultExport function for compatibility with non-harmony modules + /** *** */ __webpack_require__.n = function (module) { + /** *** */ const getter = module && module.__esModule + /** *** */ ? function getDefault() { return module.default } + /** *** */ : function getModuleExports() { return module } + /** *** */ __webpack_require__.d(getter, 'a', getter) + /** *** */ return getter + /** *** */ } + /** *** */ + /** *** */ // Object.prototype.hasOwnProperty.call + /** *** */ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property) } + /** *** */ + /** *** */ // __webpack_public_path__ + /** *** */ __webpack_require__.p = '' + /** *** */ + /** *** */ + /** *** */ // Load entry module and return exports + /** *** */ return __webpack_require__(__webpack_require__.s = 24) + /** *** */ }({ + + /***/ 24: + /***/ (function (module, exports, __webpack_require__) { + Component({ + options: { + addGlobalClass: true, + multipleSlots: true + }, + properties: { + multi: { + type: Boolean, + value: true + }, + checked: { + type: Boolean, + value: false + }, + value: { + type: String, + value: '' + }, + label: { + type: String, + value: 'label' + }, + extClass: { + type: String, + value: '' + } + }, + data: {}, + relations: { + '../checkbox-group/checkbox-group': { + type: 'ancestor', + linked: function linked(target) { + this.data.group = target + }, + unlinked: function unlinked() { + this.data.group = null + } + } + }, + methods: { + setMulti: function setMulti(multi) { + this.setData({ + multi + }) + }, + setOuterClass: function setOuterClass(className) { + this.setData({ + outerClass: className + }) + }, + checkedChange: function checkedChange(e) { + if (this.data.multi) { + const checked = !this.data.checked + this.setData({ + checked + }) + if (this.data.group) { + this.data.group.checkedChange(checked, this) + } + } else { + const _checked = this.data.checked + if (_checked) return + this.setData({ + checked: true + }) + if (this.data.group) { + this.data.group.checkedChange(_checked, this) + } + } + this.triggerEvent('change', {value: this.data.value, checked: this.data.checked}) + } + } + }) + /***/ }) + + /** *** */})) diff --git a/yunbainian/etms_wechat_mini/components/checkbox/checkbox.json b/yunbainian/etms_wechat_mini/components/checkbox/checkbox.json new file mode 100644 index 0000000..6ebe5fc --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/checkbox/checkbox.json @@ -0,0 +1,7 @@ +{ + "component": true, + "usingComponents": { + "mp-cell": "../cell/cell", + "mp-checkbox-group": "../checkbox-group/checkbox-group" + } +} diff --git a/yunbainian/etms_wechat_mini/components/checkbox/checkbox.wxml b/yunbainian/etms_wechat_mini/components/checkbox/checkbox.wxml new file mode 100644 index 0000000..f221fbc --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/checkbox/checkbox.wxml @@ -0,0 +1,20 @@ + + + + + + + + + {{label}} + + + + + + + \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/checkbox/checkbox.wxss b/yunbainian/etms_wechat_mini/components/checkbox/checkbox.wxss new file mode 100644 index 0000000..5cd2327 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/checkbox/checkbox.wxss @@ -0,0 +1 @@ +.weui-cell_radio .weui-check+.weui-icon-checked{color:transparent}.weui-check[checked]+.weui-icon-checked{color:var(--weui-BRAND);-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.657%2018.435L3%2012.778l1.414-1.414%204.95%204.95L20.678%205l1.414%201.414-12.02%2012.021a1%201%200%2001-1.415%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.657%2018.435L3%2012.778l1.414-1.414%204.95%204.95L20.678%205l1.414%201.414-12.02%2012.021a1%201%200%2001-1.415%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/col/index.js b/yunbainian/etms_wechat_mini/components/col/index.js new file mode 100644 index 0000000..4e3e1cc --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/col/index.js @@ -0,0 +1,209 @@ +module.exports = +/** *** */ (function (modules) { // webpackBootstrap + /** *** */ // The module cache + /** *** */ const installedModules = {} + /** *** */ + /** *** */ // The require function + /** *** */ function __webpack_require__(moduleId) { + /** *** */ + /** *** */ // Check if module is in cache + /** *** */ if (installedModules[moduleId]) { + /** *** */ return installedModules[moduleId].exports + /** *** */ } + /** *** */ // Create a new module (and put it into the cache) + /** *** */ const module = installedModules[moduleId] = { + /** *** */ i: moduleId, + /** *** */ l: false, + /** *** */ exports: {} + /** *** */} + /** *** */ + /** *** */ // Execute the module function + /** *** */ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__) + /** *** */ + /** *** */ // Flag the module as loaded + /** *** */ module.l = true + /** *** */ + /** *** */ // Return the exports of the module + /** *** */ return module.exports + /** *** */ } + /** *** */ + /** *** */ + /** *** */ // expose the modules object (__webpack_modules__) + /** *** */ __webpack_require__.m = modules + /** *** */ + /** *** */ // expose the module cache + /** *** */ __webpack_require__.c = installedModules + /** *** */ + /** *** */ // define getter function for harmony exports + /** *** */ __webpack_require__.d = function (exports, name, getter) { + /** *** */ if (!__webpack_require__.o(exports, name)) { + /** *** */ Object.defineProperty(exports, name, {enumerable: true, get: getter}) + /** *** */ } + /** *** */ } + /** *** */ + /** *** */ // define __esModule on exports + /** *** */ __webpack_require__.r = function (exports) { + /** *** */ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { + /** *** */ Object.defineProperty(exports, Symbol.toStringTag, {value: 'Module'}) + /** *** */ } + /** *** */ Object.defineProperty(exports, '__esModule', {value: true}) + /** *** */ } + /** *** */ + /** *** */ // create a fake namespace object + /** *** */ // mode & 1: value is a module id, require it + /** *** */ // mode & 2: merge all properties of value into the ns + /** *** */ // mode & 4: return value when already ns object + /** *** */ // mode & 8|1: behave like require + /** *** */ __webpack_require__.t = function (value, mode) { + /** *** */ if (mode & 1) value = __webpack_require__(value) + /** *** */ if (mode & 8) return value + /** *** */ if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value + /** *** */ const ns = Object.create(null) + /** *** */ __webpack_require__.r(ns) + /** *** */ Object.defineProperty(ns, 'default', {enumerable: true, value}) + /** *** */ if (mode & 2 && typeof value !== 'string') for (const key in value) __webpack_require__.d(ns, key, function (key) { return value[key] }.bind(null, key)) + /** *** */ return ns + /** *** */ } + /** *** */ + /** *** */ // getDefaultExport function for compatibility with non-harmony modules + /** *** */ __webpack_require__.n = function (module) { + /** *** */ const getter = module && module.__esModule + /** *** */ ? function getDefault() { return module.default } + /** *** */ : function getModuleExports() { return module } + /** *** */ __webpack_require__.d(getter, 'a', getter) + /** *** */ return getter + /** *** */ } + /** *** */ + /** *** */ // Object.prototype.hasOwnProperty.call + /** *** */ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property) } + /** *** */ + /** *** */ // __webpack_public_path__ + /** *** */ __webpack_require__.p = '' + /** *** */ + /** *** */ + /** *** */ // Load entry module and return exports + /** *** */ return __webpack_require__(__webpack_require__.s = 12) + /** *** */ }({ + + /***/ 12: + /***/ (function (module, exports, __webpack_require__) { + const _typeof = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? function (obj) { return typeof obj } : function (obj) { return obj && typeof Symbol === 'function' && obj.constructor === Symbol && obj !== Symbol.prototype ? 'symbol' : typeof obj } + + Component({ + properties: { + span: { + type: Number, + value: 24 + }, + offset: { + type: Number, + value: 0 + }, + push: { + type: Number, + value: -1 + }, + pull: { + type: Number, + value: -1 + }, + xs: { + type: Number, + optionalTypes: [Object], + value: -1 + }, + sm: { + type: Number, + optionalTypes: [Object], + value: -1 + }, + md: { + type: Number, + optionalTypes: [Object], + value: -1 + }, + lg: { + type: Number, + optionalTypes: [Object], + value: -1 + }, + xl: { + type: Number, + optionalTypes: [Object], + value: -1 + } + }, + data: { + classList: ['weui-col'], + gutter: 0, + paddingLeft: 0, + paddingRight: 0 + }, + relations: { + '../row/index': { + type: 'parent', + linked: function linked(target) { + this.data.gutter = Number(target.data.gutter) + this.updateGutter() + }, + linkChanged: function linkChanged(target) { + this.data.gutter = Number(target.data.gutter) + this.updateGutter() + } + } + }, + attached: function attached() { + this.updateCol() + }, + + methods: { + updateCol: function updateCol() { + const classList = ['weui-col'] + let paddingLeft = void 0 + let paddingRight = 0 + classList.push('weui-col-' + this.data.span) + classList.push('weui-col-offset-' + this.data.offset) + if (this.data.gutter) { + paddingLeft = this.data.gutter / 2 + 'px' + paddingRight = paddingLeft + } + if (this.data.push !== -1) { + this.data.push && classList.push('weui-col-push-' + this.data.push) + } + if (this.data.pull !== -1) { + this.data.pull && classList.push('weui-col-pull-' + this.data.pull) + } + this.screenSizeSet('xs', classList) + this.screenSizeSet('sm', classList) + this.screenSizeSet('md', classList) + this.screenSizeSet('lg', classList) + this.screenSizeSet('xl', classList) + return this.setData({ + classList + }) + }, + updateGutter: function updateGutter() { + let paddingLeft = void 0 + let paddingRight = 0 + if (this.data.gutter) { + paddingLeft = this.data.gutter / 2 + 'px' + paddingRight = paddingLeft + } + this.setData({ + paddingLeft, + paddingRight + }) + }, + screenSizeSet: function screenSizeSet(screen, classList) { + if (typeof this.data[screen] === 'number' && this.data[screen] !== -1) { + classList.push('weui-col-' + screen + '-' + this.data[screen]) + } else if (_typeof(this.data[screen]) === 'object') { + typeof this.data[screen].offset === 'number' && classList.push('weui-col-' + screen + '-offset-' + this.data[screen].offset) + typeof this.data[screen].span === 'number' && classList.push('weui-col-' + screen + '-' + this.data[screen].span) + } + } + } + }) + /***/ }) + + /** *** */})) diff --git a/yunbainian/etms_wechat_mini/components/col/index.json b/yunbainian/etms_wechat_mini/components/col/index.json new file mode 100644 index 0000000..62389a9 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/col/index.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} + } \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/col/index.wxml b/yunbainian/etms_wechat_mini/components/col/index.wxml new file mode 100644 index 0000000..d719b79 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/col/index.wxml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/col/index.wxss b/yunbainian/etms_wechat_mini/components/col/index.wxss new file mode 100644 index 0000000..1b45bd2 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/col/index.wxss @@ -0,0 +1 @@ +.weui-col-0{display:none}.weui-col-24{width:100%;float:left;display:block}.weui-col-offset-24{margin-left:100%}.weui-col-pull-24{position:relative;right:100%}.weui-col-push-24{position:relative;left:100%}.weui-col-23{width:95.83333333%;float:left;display:block}.weui-col-offset-23{margin-left:95.83333333%}.weui-col-pull-23{position:relative;right:95.83333333%}.weui-col-push-23{position:relative;left:95.83333333%}.weui-col-22{width:91.66666667%;float:left;display:block}.weui-col-offset-22{margin-left:91.66666667%}.weui-col-pull-22{position:relative;right:91.66666667%}.weui-col-push-22{position:relative;left:91.66666667%}.weui-col-21{width:87.5%;float:left;display:block}.weui-col-offset-21{margin-left:87.5%}.weui-col-pull-21{position:relative;right:87.5%}.weui-col-push-21{position:relative;left:87.5%}.weui-col-20{width:83.33333333%;float:left;display:block}.weui-col-offset-20{margin-left:83.33333333%}.weui-col-pull-20{position:relative;right:83.33333333%}.weui-col-push-20{position:relative;left:83.33333333%}.weui-col-19{width:79.16666667%;float:left;display:block}.weui-col-offset-19{margin-left:79.16666667%}.weui-col-pull-19{position:relative;right:79.16666667%}.weui-col-push-19{position:relative;left:79.16666667%}.weui-col-18{width:75%;float:left;display:block}.weui-col-offset-18{margin-left:75%}.weui-col-pull-18{position:relative;right:75%}.weui-col-push-18{position:relative;left:75%}.weui-col-17{width:70.83333333%;float:left;display:block}.weui-col-offset-17{margin-left:70.83333333%}.weui-col-pull-17{position:relative;right:70.83333333%}.weui-col-push-17{position:relative;left:70.83333333%}.weui-col-16{width:66.66666667%;float:left;display:block}.weui-col-offset-16{margin-left:66.66666667%}.weui-col-pull-16{position:relative;right:66.66666667%}.weui-col-push-16{position:relative;left:66.66666667%}.weui-col-15{width:62.5%;float:left;display:block}.weui-col-offset-15{margin-left:62.5%}.weui-col-pull-15{position:relative;right:62.5%}.weui-col-push-15{position:relative;left:62.5%}.weui-col-14{width:58.33333333%;float:left;display:block}.weui-col-offset-14{margin-left:58.33333333%}.weui-col-pull-14{position:relative;right:58.33333333%}.weui-col-push-14{position:relative;left:58.33333333%}.weui-col-13{width:54.16666667%;float:left;display:block}.weui-col-offset-13{margin-left:54.16666667%}.weui-col-pull-13{position:relative;right:54.16666667%}.weui-col-push-13{position:relative;left:54.16666667%}.weui-col-12{width:50%;float:left;display:block}.weui-col-offset-12{margin-left:50%}.weui-col-pull-12{position:relative;right:50%}.weui-col-push-12{position:relative;left:50%}.weui-col-11{width:45.83333333%;float:left;display:block}.weui-col-offset-11{margin-left:45.83333333%}.weui-col-pull-11{position:relative;right:45.83333333%}.weui-col-push-11{position:relative;left:45.83333333%}.weui-col-10{width:41.66666667%;float:left;display:block}.weui-col-offset-10{margin-left:41.66666667%}.weui-col-pull-10{position:relative;right:41.66666667%}.weui-col-push-10{position:relative;left:41.66666667%}.weui-col-9{width:37.5%;float:left;display:block}.weui-col-offset-9{margin-left:37.5%}.weui-col-pull-9{position:relative;right:37.5%}.weui-col-push-9{position:relative;left:37.5%}.weui-col-8{width:33.33333333%;float:left;display:block}.weui-col-offset-8{margin-left:33.33333333%}.weui-col-pull-8{position:relative;right:33.33333333%}.weui-col-push-8{position:relative;left:33.33333333%}.weui-col-7{width:29.16666667%;float:left;display:block}.weui-col-offset-7{margin-left:29.16666667%}.weui-col-pull-7{position:relative;right:29.16666667%}.weui-col-push-7{position:relative;left:29.16666667%}.weui-col-6{width:25%;float:left;display:block}.weui-col-offset-6{margin-left:25%}.weui-col-pull-6{position:relative;right:25%}.weui-col-push-6{position:relative;left:25%}.weui-col-5{width:20.83333333%;float:left;display:block}.weui-col-offset-5{margin-left:20.83333333%}.weui-col-pull-5{position:relative;right:20.83333333%}.weui-col-push-5{position:relative;left:20.83333333%}.weui-col-4{width:16.66666667%;float:left;display:block}.weui-col-offset-4{margin-left:16.66666667%}.weui-col-pull-4{position:relative;right:16.66666667%}.weui-col-push-4{position:relative;left:16.66666667%}.weui-col-3{width:12.5%;float:left;display:block}.weui-col-offset-3{margin-left:12.5%}.weui-col-pull-3{position:relative;right:12.5%}.weui-col-push-3{position:relative;left:12.5%}.weui-col-2{width:8.33333333%;float:left;display:block}.weui-col-offset-2{margin-left:8.33333333%}.weui-col-pull-2{position:relative;right:8.33333333%}.weui-col-push-2{position:relative;left:8.33333333%}.weui-col-1{width:4.16666667%;float:left;display:block}.weui-col-offset-1{margin-left:4.16666667%}.weui-col-pull-1{position:relative;right:4.16666667%}.weui-col-push-1{position:relative;left:4.16666667%}@media screen and (max-width:767px){.weui-col-xs-0{display:none}.weui-col-xs-24{width:100%;float:left;display:block}.weui-col-xs-offset-24{margin-left:100%}.weui-col-xs-pull-24{position:relative;right:100%}.weui-col-xs-push-24{position:relative;left:100%}.weui-col-xs-23{width:95.83333333%;float:left;display:block}.weui-col-xs-offset-23{margin-left:95.83333333%}.weui-col-xs-pull-23{position:relative;right:95.83333333%}.weui-col-xs-push-23{position:relative;left:95.83333333%}.weui-col-xs-22{width:91.66666667%;float:left;display:block}.weui-col-xs-offset-22{margin-left:91.66666667%}.weui-col-xs-pull-22{position:relative;right:91.66666667%}.weui-col-xs-push-22{position:relative;left:91.66666667%}.weui-col-xs-21{width:87.5%;float:left;display:block}.weui-col-xs-offset-21{margin-left:87.5%}.weui-col-xs-pull-21{position:relative;right:87.5%}.weui-col-xs-push-21{position:relative;left:87.5%}.weui-col-xs-20{width:83.33333333%;float:left;display:block}.weui-col-xs-offset-20{margin-left:83.33333333%}.weui-col-xs-pull-20{position:relative;right:83.33333333%}.weui-col-xs-push-20{position:relative;left:83.33333333%}.weui-col-xs-19{width:79.16666667%;float:left;display:block}.weui-col-xs-offset-19{margin-left:79.16666667%}.weui-col-xs-pull-19{position:relative;right:79.16666667%}.weui-col-xs-push-19{position:relative;left:79.16666667%}.weui-col-xs-18{width:75%;float:left;display:block}.weui-col-xs-offset-18{margin-left:75%}.weui-col-xs-pull-18{position:relative;right:75%}.weui-col-xs-push-18{position:relative;left:75%}.weui-col-xs-17{width:70.83333333%;float:left;display:block}.weui-col-xs-offset-17{margin-left:70.83333333%}.weui-col-xs-pull-17{position:relative;right:70.83333333%}.weui-col-xs-push-17{position:relative;left:70.83333333%}.weui-col-xs-16{width:66.66666667%;float:left;display:block}.weui-col-xs-offset-16{margin-left:66.66666667%}.weui-col-xs-pull-16{position:relative;right:66.66666667%}.weui-col-xs-push-16{position:relative;left:66.66666667%}.weui-col-xs-15{width:62.5%;float:left;display:block}.weui-col-xs-offset-15{margin-left:62.5%}.weui-col-xs-pull-15{position:relative;right:62.5%}.weui-col-xs-push-15{position:relative;left:62.5%}.weui-col-xs-14{width:58.33333333%;float:left;display:block}.weui-col-xs-offset-14{margin-left:58.33333333%}.weui-col-xs-pull-14{position:relative;right:58.33333333%}.weui-col-xs-push-14{position:relative;left:58.33333333%}.weui-col-xs-13{width:54.16666667%;float:left;display:block}.weui-col-xs-offset-13{margin-left:54.16666667%}.weui-col-xs-pull-13{position:relative;right:54.16666667%}.weui-col-xs-push-13{position:relative;left:54.16666667%}.weui-col-xs-12{width:50%;float:left;display:block}.weui-col-xs-offset-12{margin-left:50%}.weui-col-xs-pull-12{position:relative;right:50%}.weui-col-xs-push-12{position:relative;left:50%}.weui-col-xs-11{width:45.83333333%;float:left;display:block}.weui-col-xs-offset-11{margin-left:45.83333333%}.weui-col-xs-pull-11{position:relative;right:45.83333333%}.weui-col-xs-push-11{position:relative;left:45.83333333%}.weui-col-xs-10{width:41.66666667%;float:left;display:block}.weui-col-xs-offset-10{margin-left:41.66666667%}.weui-col-xs-pull-10{position:relative;right:41.66666667%}.weui-col-xs-push-10{position:relative;left:41.66666667%}.weui-col-xs-9{width:37.5%;float:left;display:block}.weui-col-xs-offset-9{margin-left:37.5%}.weui-col-xs-pull-9{position:relative;right:37.5%}.weui-col-xs-push-9{position:relative;left:37.5%}.weui-col-xs-8{width:33.33333333%;float:left;display:block}.weui-col-xs-offset-8{margin-left:33.33333333%}.weui-col-xs-pull-8{position:relative;right:33.33333333%}.weui-col-xs-push-8{position:relative;left:33.33333333%}.weui-col-xs-7{width:29.16666667%;float:left;display:block}.weui-col-xs-offset-7{margin-left:29.16666667%}.weui-col-xs-pull-7{position:relative;right:29.16666667%}.weui-col-xs-push-7{position:relative;left:29.16666667%}.weui-col-xs-6{width:25%;float:left;display:block}.weui-col-xs-offset-6{margin-left:25%}.weui-col-xs-pull-6{position:relative;right:25%}.weui-col-xs-push-6{position:relative;left:25%}.weui-col-xs-5{width:20.83333333%;float:left;display:block}.weui-col-xs-offset-5{margin-left:20.83333333%}.weui-col-xs-pull-5{position:relative;right:20.83333333%}.weui-col-xs-push-5{position:relative;left:20.83333333%}.weui-col-xs-4{width:16.66666667%;float:left;display:block}.weui-col-xs-offset-4{margin-left:16.66666667%}.weui-col-xs-pull-4{position:relative;right:16.66666667%}.weui-col-xs-push-4{position:relative;left:16.66666667%}.weui-col-xs-3{width:12.5%;float:left;display:block}.weui-col-xs-offset-3{margin-left:12.5%}.weui-col-xs-pull-3{position:relative;right:12.5%}.weui-col-xs-push-3{position:relative;left:12.5%}.weui-col-xs-2{width:8.33333333%;float:left;display:block}.weui-col-xs-offset-2{margin-left:8.33333333%}.weui-col-xs-pull-2{position:relative;right:8.33333333%}.weui-col-xs-push-2{position:relative;left:8.33333333%}.weui-col-xs-1{width:4.16666667%;float:left;display:block}.weui-col-xs-offset-1{margin-left:4.16666667%}.weui-col-xs-pull-1{position:relative;right:4.16666667%}.weui-col-xs-push-1{position:relative;left:4.16666667%}}@media screen and (max-width:768px){.weui-col-sm-0{display:none}.weui-col-sm-24{width:100%;float:left;display:block}.weui-col-sm-offset-24{margin-left:100%}.weui-col-sm-pull-24{position:relative;right:100%}.weui-col-sm-push-24{position:relative;left:100%}.weui-col-sm-23{width:95.83333333%;float:left;display:block}.weui-col-sm-offset-23{margin-left:95.83333333%}.weui-col-sm-pull-23{position:relative;right:95.83333333%}.weui-col-sm-push-23{position:relative;left:95.83333333%}.weui-col-sm-22{width:91.66666667%;float:left;display:block}.weui-col-sm-offset-22{margin-left:91.66666667%}.weui-col-sm-pull-22{position:relative;right:91.66666667%}.weui-col-sm-push-22{position:relative;left:91.66666667%}.weui-col-sm-21{width:87.5%;float:left;display:block}.weui-col-sm-offset-21{margin-left:87.5%}.weui-col-sm-pull-21{position:relative;right:87.5%}.weui-col-sm-push-21{position:relative;left:87.5%}.weui-col-sm-20{width:83.33333333%;float:left;display:block}.weui-col-sm-offset-20{margin-left:83.33333333%}.weui-col-sm-pull-20{position:relative;right:83.33333333%}.weui-col-sm-push-20{position:relative;left:83.33333333%}.weui-col-sm-19{width:79.16666667%;float:left;display:block}.weui-col-sm-offset-19{margin-left:79.16666667%}.weui-col-sm-pull-19{position:relative;right:79.16666667%}.weui-col-sm-push-19{position:relative;left:79.16666667%}.weui-col-sm-18{width:75%;float:left;display:block}.weui-col-sm-offset-18{margin-left:75%}.weui-col-sm-pull-18{position:relative;right:75%}.weui-col-sm-push-18{position:relative;left:75%}.weui-col-sm-17{width:70.83333333%;float:left;display:block}.weui-col-sm-offset-17{margin-left:70.83333333%}.weui-col-sm-pull-17{position:relative;right:70.83333333%}.weui-col-sm-push-17{position:relative;left:70.83333333%}.weui-col-sm-16{width:66.66666667%;float:left;display:block}.weui-col-sm-offset-16{margin-left:66.66666667%}.weui-col-sm-pull-16{position:relative;right:66.66666667%}.weui-col-sm-push-16{position:relative;left:66.66666667%}.weui-col-sm-15{width:62.5%;float:left;display:block}.weui-col-sm-offset-15{margin-left:62.5%}.weui-col-sm-pull-15{position:relative;right:62.5%}.weui-col-sm-push-15{position:relative;left:62.5%}.weui-col-sm-14{width:58.33333333%;float:left;display:block}.weui-col-sm-offset-14{margin-left:58.33333333%}.weui-col-sm-pull-14{position:relative;right:58.33333333%}.weui-col-sm-push-14{position:relative;left:58.33333333%}.weui-col-sm-13{width:54.16666667%;float:left;display:block}.weui-col-sm-offset-13{margin-left:54.16666667%}.weui-col-sm-pull-13{position:relative;right:54.16666667%}.weui-col-sm-push-13{position:relative;left:54.16666667%}.weui-col-sm-12{width:50%;float:left;display:block}.weui-col-sm-offset-12{margin-left:50%}.weui-col-sm-pull-12{position:relative;right:50%}.weui-col-sm-push-12{position:relative;left:50%}.weui-col-sm-11{width:45.83333333%;float:left;display:block}.weui-col-sm-offset-11{margin-left:45.83333333%}.weui-col-sm-pull-11{position:relative;right:45.83333333%}.weui-col-sm-push-11{position:relative;left:45.83333333%}.weui-col-sm-10{width:41.66666667%;float:left;display:block}.weui-col-sm-offset-10{margin-left:41.66666667%}.weui-col-sm-pull-10{position:relative;right:41.66666667%}.weui-col-sm-push-10{position:relative;left:41.66666667%}.weui-col-sm-9{width:37.5%;float:left;display:block}.weui-col-sm-offset-9{margin-left:37.5%}.weui-col-sm-pull-9{position:relative;right:37.5%}.weui-col-sm-push-9{position:relative;left:37.5%}.weui-col-sm-8{width:33.33333333%;float:left;display:block}.weui-col-sm-offset-8{margin-left:33.33333333%}.weui-col-sm-pull-8{position:relative;right:33.33333333%}.weui-col-sm-push-8{position:relative;left:33.33333333%}.weui-col-sm-7{width:29.16666667%;float:left;display:block}.weui-col-sm-offset-7{margin-left:29.16666667%}.weui-col-sm-pull-7{position:relative;right:29.16666667%}.weui-col-sm-push-7{position:relative;left:29.16666667%}.weui-col-sm-6{width:25%;float:left;display:block}.weui-col-sm-offset-6{margin-left:25%}.weui-col-sm-pull-6{position:relative;right:25%}.weui-col-sm-push-6{position:relative;left:25%}.weui-col-sm-5{width:20.83333333%;float:left;display:block}.weui-col-sm-offset-5{margin-left:20.83333333%}.weui-col-sm-pull-5{position:relative;right:20.83333333%}.weui-col-sm-push-5{position:relative;left:20.83333333%}.weui-col-sm-4{width:16.66666667%;float:left;display:block}.weui-col-sm-offset-4{margin-left:16.66666667%}.weui-col-sm-pull-4{position:relative;right:16.66666667%}.weui-col-sm-push-4{position:relative;left:16.66666667%}.weui-col-sm-3{width:12.5%;float:left;display:block}.weui-col-sm-offset-3{margin-left:12.5%}.weui-col-sm-pull-3{position:relative;right:12.5%}.weui-col-sm-push-3{position:relative;left:12.5%}.weui-col-sm-2{width:8.33333333%;float:left;display:block}.weui-col-sm-offset-2{margin-left:8.33333333%}.weui-col-sm-pull-2{position:relative;right:8.33333333%}.weui-col-sm-push-2{position:relative;left:8.33333333%}.weui-col-sm-1{width:4.16666667%;float:left;display:block}.weui-col-sm-offset-1{margin-left:4.16666667%}.weui-col-sm-pull-1{position:relative;right:4.16666667%}.weui-col-sm-push-1{position:relative;left:4.16666667%}}@media screen and (max-width:992px){.weui-col-md-0{display:none}.weui-col-md-24{width:100%;float:left;display:block}.weui-col-md-offset-24{margin-left:100%}.weui-col-md-pull-24{position:relative;right:100%}.weui-col-md-push-24{position:relative;left:100%}.weui-col-md-23{width:95.83333333%;float:left;display:block}.weui-col-md-offset-23{margin-left:95.83333333%}.weui-col-md-pull-23{position:relative;right:95.83333333%}.weui-col-md-push-23{position:relative;left:95.83333333%}.weui-col-md-22{width:91.66666667%;float:left;display:block}.weui-col-md-offset-22{margin-left:91.66666667%}.weui-col-md-pull-22{position:relative;right:91.66666667%}.weui-col-md-push-22{position:relative;left:91.66666667%}.weui-col-md-21{width:87.5%;float:left;display:block}.weui-col-md-offset-21{margin-left:87.5%}.weui-col-md-pull-21{position:relative;right:87.5%}.weui-col-md-push-21{position:relative;left:87.5%}.weui-col-md-20{width:83.33333333%;float:left;display:block}.weui-col-md-offset-20{margin-left:83.33333333%}.weui-col-md-pull-20{position:relative;right:83.33333333%}.weui-col-md-push-20{position:relative;left:83.33333333%}.weui-col-md-19{width:79.16666667%;float:left;display:block}.weui-col-md-offset-19{margin-left:79.16666667%}.weui-col-md-pull-19{position:relative;right:79.16666667%}.weui-col-md-push-19{position:relative;left:79.16666667%}.weui-col-md-18{width:75%;float:left;display:block}.weui-col-md-offset-18{margin-left:75%}.weui-col-md-pull-18{position:relative;right:75%}.weui-col-md-push-18{position:relative;left:75%}.weui-col-md-17{width:70.83333333%;float:left;display:block}.weui-col-md-offset-17{margin-left:70.83333333%}.weui-col-md-pull-17{position:relative;right:70.83333333%}.weui-col-md-push-17{position:relative;left:70.83333333%}.weui-col-md-16{width:66.66666667%;float:left;display:block}.weui-col-md-offset-16{margin-left:66.66666667%}.weui-col-md-pull-16{position:relative;right:66.66666667%}.weui-col-md-push-16{position:relative;left:66.66666667%}.weui-col-md-15{width:62.5%;float:left;display:block}.weui-col-md-offset-15{margin-left:62.5%}.weui-col-md-pull-15{position:relative;right:62.5%}.weui-col-md-push-15{position:relative;left:62.5%}.weui-col-md-14{width:58.33333333%;float:left;display:block}.weui-col-md-offset-14{margin-left:58.33333333%}.weui-col-md-pull-14{position:relative;right:58.33333333%}.weui-col-md-push-14{position:relative;left:58.33333333%}.weui-col-md-13{width:54.16666667%;float:left;display:block}.weui-col-md-offset-13{margin-left:54.16666667%}.weui-col-md-pull-13{position:relative;right:54.16666667%}.weui-col-md-push-13{position:relative;left:54.16666667%}.weui-col-md-12{width:50%;float:left;display:block}.weui-col-md-offset-12{margin-left:50%}.weui-col-md-pull-12{position:relative;right:50%}.weui-col-md-push-12{position:relative;left:50%}.weui-col-md-11{width:45.83333333%;float:left;display:block}.weui-col-md-offset-11{margin-left:45.83333333%}.weui-col-md-pull-11{position:relative;right:45.83333333%}.weui-col-md-push-11{position:relative;left:45.83333333%}.weui-col-md-10{width:41.66666667%;float:left;display:block}.weui-col-md-offset-10{margin-left:41.66666667%}.weui-col-md-pull-10{position:relative;right:41.66666667%}.weui-col-md-push-10{position:relative;left:41.66666667%}.weui-col-md-9{width:37.5%;float:left;display:block}.weui-col-md-offset-9{margin-left:37.5%}.weui-col-md-pull-9{position:relative;right:37.5%}.weui-col-md-push-9{position:relative;left:37.5%}.weui-col-md-8{width:33.33333333%;float:left;display:block}.weui-col-md-offset-8{margin-left:33.33333333%}.weui-col-md-pull-8{position:relative;right:33.33333333%}.weui-col-md-push-8{position:relative;left:33.33333333%}.weui-col-md-7{width:29.16666667%;float:left;display:block}.weui-col-md-offset-7{margin-left:29.16666667%}.weui-col-md-pull-7{position:relative;right:29.16666667%}.weui-col-md-push-7{position:relative;left:29.16666667%}.weui-col-md-6{width:25%;float:left;display:block}.weui-col-md-offset-6{margin-left:25%}.weui-col-md-pull-6{position:relative;right:25%}.weui-col-md-push-6{position:relative;left:25%}.weui-col-md-5{width:20.83333333%;float:left;display:block}.weui-col-md-offset-5{margin-left:20.83333333%}.weui-col-md-pull-5{position:relative;right:20.83333333%}.weui-col-md-push-5{position:relative;left:20.83333333%}.weui-col-md-4{width:16.66666667%;float:left;display:block}.weui-col-md-offset-4{margin-left:16.66666667%}.weui-col-md-pull-4{position:relative;right:16.66666667%}.weui-col-md-push-4{position:relative;left:16.66666667%}.weui-col-md-3{width:12.5%;float:left;display:block}.weui-col-md-offset-3{margin-left:12.5%}.weui-col-md-pull-3{position:relative;right:12.5%}.weui-col-md-push-3{position:relative;left:12.5%}.weui-col-md-2{width:8.33333333%;float:left;display:block}.weui-col-md-offset-2{margin-left:8.33333333%}.weui-col-md-pull-2{position:relative;right:8.33333333%}.weui-col-md-push-2{position:relative;left:8.33333333%}.weui-col-md-1{width:4.16666667%;float:left;display:block}.weui-col-md-offset-1{margin-left:4.16666667%}.weui-col-md-pull-1{position:relative;right:4.16666667%}.weui-col-md-push-1{position:relative;left:4.16666667%}}@media screen and (max-width:1200px){.weui-col-lg-0{display:none}.weui-col-lg-24{width:100%;float:left;display:block}.weui-col-lg-offset-24{margin-left:100%}.weui-col-lg-pull-24{position:relative;right:100%}.weui-col-lg-push-24{position:relative;left:100%}.weui-col-lg-23{width:95.83333333%;float:left;display:block}.weui-col-lg-offset-23{margin-left:95.83333333%}.weui-col-lg-pull-23{position:relative;right:95.83333333%}.weui-col-lg-push-23{position:relative;left:95.83333333%}.weui-col-lg-22{width:91.66666667%;float:left;display:block}.weui-col-lg-offset-22{margin-left:91.66666667%}.weui-col-lg-pull-22{position:relative;right:91.66666667%}.weui-col-lg-push-22{position:relative;left:91.66666667%}.weui-col-lg-21{width:87.5%;float:left;display:block}.weui-col-lg-offset-21{margin-left:87.5%}.weui-col-lg-pull-21{position:relative;right:87.5%}.weui-col-lg-push-21{position:relative;left:87.5%}.weui-col-lg-20{width:83.33333333%;float:left;display:block}.weui-col-lg-offset-20{margin-left:83.33333333%}.weui-col-lg-pull-20{position:relative;right:83.33333333%}.weui-col-lg-push-20{position:relative;left:83.33333333%}.weui-col-lg-19{width:79.16666667%;float:left;display:block}.weui-col-lg-offset-19{margin-left:79.16666667%}.weui-col-lg-pull-19{position:relative;right:79.16666667%}.weui-col-lg-push-19{position:relative;left:79.16666667%}.weui-col-lg-18{width:75%;float:left;display:block}.weui-col-lg-offset-18{margin-left:75%}.weui-col-lg-pull-18{position:relative;right:75%}.weui-col-lg-push-18{position:relative;left:75%}.weui-col-lg-17{width:70.83333333%;float:left;display:block}.weui-col-lg-offset-17{margin-left:70.83333333%}.weui-col-lg-pull-17{position:relative;right:70.83333333%}.weui-col-lg-push-17{position:relative;left:70.83333333%}.weui-col-lg-16{width:66.66666667%;float:left;display:block}.weui-col-lg-offset-16{margin-left:66.66666667%}.weui-col-lg-pull-16{position:relative;right:66.66666667%}.weui-col-lg-push-16{position:relative;left:66.66666667%}.weui-col-lg-15{width:62.5%;float:left;display:block}.weui-col-lg-offset-15{margin-left:62.5%}.weui-col-lg-pull-15{position:relative;right:62.5%}.weui-col-lg-push-15{position:relative;left:62.5%}.weui-col-lg-14{width:58.33333333%;float:left;display:block}.weui-col-lg-offset-14{margin-left:58.33333333%}.weui-col-lg-pull-14{position:relative;right:58.33333333%}.weui-col-lg-push-14{position:relative;left:58.33333333%}.weui-col-lg-13{width:54.16666667%;float:left;display:block}.weui-col-lg-offset-13{margin-left:54.16666667%}.weui-col-lg-pull-13{position:relative;right:54.16666667%}.weui-col-lg-push-13{position:relative;left:54.16666667%}.weui-col-lg-12{width:50%;float:left;display:block}.weui-col-lg-offset-12{margin-left:50%}.weui-col-lg-pull-12{position:relative;right:50%}.weui-col-lg-push-12{position:relative;left:50%}.weui-col-lg-11{width:45.83333333%;float:left;display:block}.weui-col-lg-offset-11{margin-left:45.83333333%}.weui-col-lg-pull-11{position:relative;right:45.83333333%}.weui-col-lg-push-11{position:relative;left:45.83333333%}.weui-col-lg-10{width:41.66666667%;float:left;display:block}.weui-col-lg-offset-10{margin-left:41.66666667%}.weui-col-lg-pull-10{position:relative;right:41.66666667%}.weui-col-lg-push-10{position:relative;left:41.66666667%}.weui-col-lg-9{width:37.5%;float:left;display:block}.weui-col-lg-offset-9{margin-left:37.5%}.weui-col-lg-pull-9{position:relative;right:37.5%}.weui-col-lg-push-9{position:relative;left:37.5%}.weui-col-lg-8{width:33.33333333%;float:left;display:block}.weui-col-lg-offset-8{margin-left:33.33333333%}.weui-col-lg-pull-8{position:relative;right:33.33333333%}.weui-col-lg-push-8{position:relative;left:33.33333333%}.weui-col-lg-7{width:29.16666667%;float:left;display:block}.weui-col-lg-offset-7{margin-left:29.16666667%}.weui-col-lg-pull-7{position:relative;right:29.16666667%}.weui-col-lg-push-7{position:relative;left:29.16666667%}.weui-col-lg-6{width:25%;float:left;display:block}.weui-col-lg-offset-6{margin-left:25%}.weui-col-lg-pull-6{position:relative;right:25%}.weui-col-lg-push-6{position:relative;left:25%}.weui-col-lg-5{width:20.83333333%;float:left;display:block}.weui-col-lg-offset-5{margin-left:20.83333333%}.weui-col-lg-pull-5{position:relative;right:20.83333333%}.weui-col-lg-push-5{position:relative;left:20.83333333%}.weui-col-lg-4{width:16.66666667%;float:left;display:block}.weui-col-lg-offset-4{margin-left:16.66666667%}.weui-col-lg-pull-4{position:relative;right:16.66666667%}.weui-col-lg-push-4{position:relative;left:16.66666667%}.weui-col-lg-3{width:12.5%;float:left;display:block}.weui-col-lg-offset-3{margin-left:12.5%}.weui-col-lg-pull-3{position:relative;right:12.5%}.weui-col-lg-push-3{position:relative;left:12.5%}.weui-col-lg-2{width:8.33333333%;float:left;display:block}.weui-col-lg-offset-2{margin-left:8.33333333%}.weui-col-lg-pull-2{position:relative;right:8.33333333%}.weui-col-lg-push-2{position:relative;left:8.33333333%}.weui-col-lg-1{width:4.16666667%;float:left;display:block}.weui-col-lg-offset-1{margin-left:4.16666667%}.weui-col-lg-pull-1{position:relative;right:4.16666667%}.weui-col-lg-push-1{position:relative;left:4.16666667%}}@media screen and (max-width:1920px){.weui-col-xl-0{display:none}.weui-col-xl-24{width:100%;float:left;display:block}.weui-col-xl-offset-24{margin-left:100%}.weui-col-xl-pull-24{position:relative;right:100%}.weui-col-xl-push-24{position:relative;left:100%}.weui-col-xl-23{width:95.83333333%;float:left;display:block}.weui-col-xl-offset-23{margin-left:95.83333333%}.weui-col-xl-pull-23{position:relative;right:95.83333333%}.weui-col-xl-push-23{position:relative;left:95.83333333%}.weui-col-xl-22{width:91.66666667%;float:left;display:block}.weui-col-xl-offset-22{margin-left:91.66666667%}.weui-col-xl-pull-22{position:relative;right:91.66666667%}.weui-col-xl-push-22{position:relative;left:91.66666667%}.weui-col-xl-21{width:87.5%;float:left;display:block}.weui-col-xl-offset-21{margin-left:87.5%}.weui-col-xl-pull-21{position:relative;right:87.5%}.weui-col-xl-push-21{position:relative;left:87.5%}.weui-col-xl-20{width:83.33333333%;float:left;display:block}.weui-col-xl-offset-20{margin-left:83.33333333%}.weui-col-xl-pull-20{position:relative;right:83.33333333%}.weui-col-xl-push-20{position:relative;left:83.33333333%}.weui-col-xl-19{width:79.16666667%;float:left;display:block}.weui-col-xl-offset-19{margin-left:79.16666667%}.weui-col-xl-pull-19{position:relative;right:79.16666667%}.weui-col-xl-push-19{position:relative;left:79.16666667%}.weui-col-xl-18{width:75%;float:left;display:block}.weui-col-xl-offset-18{margin-left:75%}.weui-col-xl-pull-18{position:relative;right:75%}.weui-col-xl-push-18{position:relative;left:75%}.weui-col-xl-17{width:70.83333333%;float:left;display:block}.weui-col-xl-offset-17{margin-left:70.83333333%}.weui-col-xl-pull-17{position:relative;right:70.83333333%}.weui-col-xl-push-17{position:relative;left:70.83333333%}.weui-col-xl-16{width:66.66666667%;float:left;display:block}.weui-col-xl-offset-16{margin-left:66.66666667%}.weui-col-xl-pull-16{position:relative;right:66.66666667%}.weui-col-xl-push-16{position:relative;left:66.66666667%}.weui-col-xl-15{width:62.5%;float:left;display:block}.weui-col-xl-offset-15{margin-left:62.5%}.weui-col-xl-pull-15{position:relative;right:62.5%}.weui-col-xl-push-15{position:relative;left:62.5%}.weui-col-xl-14{width:58.33333333%;float:left;display:block}.weui-col-xl-offset-14{margin-left:58.33333333%}.weui-col-xl-pull-14{position:relative;right:58.33333333%}.weui-col-xl-push-14{position:relative;left:58.33333333%}.weui-col-xl-13{width:54.16666667%;float:left;display:block}.weui-col-xl-offset-13{margin-left:54.16666667%}.weui-col-xl-pull-13{position:relative;right:54.16666667%}.weui-col-xl-push-13{position:relative;left:54.16666667%}.weui-col-xl-12{width:50%;float:left;display:block}.weui-col-xl-offset-12{margin-left:50%}.weui-col-xl-pull-12{position:relative;right:50%}.weui-col-xl-push-12{position:relative;left:50%}.weui-col-xl-11{width:45.83333333%;float:left;display:block}.weui-col-xl-offset-11{margin-left:45.83333333%}.weui-col-xl-pull-11{position:relative;right:45.83333333%}.weui-col-xl-push-11{position:relative;left:45.83333333%}.weui-col-xl-10{width:41.66666667%;float:left;display:block}.weui-col-xl-offset-10{margin-left:41.66666667%}.weui-col-xl-pull-10{position:relative;right:41.66666667%}.weui-col-xl-push-10{position:relative;left:41.66666667%}.weui-col-xl-9{width:37.5%;float:left;display:block}.weui-col-xl-offset-9{margin-left:37.5%}.weui-col-xl-pull-9{position:relative;right:37.5%}.weui-col-xl-push-9{position:relative;left:37.5%}.weui-col-xl-8{width:33.33333333%;float:left;display:block}.weui-col-xl-offset-8{margin-left:33.33333333%}.weui-col-xl-pull-8{position:relative;right:33.33333333%}.weui-col-xl-push-8{position:relative;left:33.33333333%}.weui-col-xl-7{width:29.16666667%;float:left;display:block}.weui-col-xl-offset-7{margin-left:29.16666667%}.weui-col-xl-pull-7{position:relative;right:29.16666667%}.weui-col-xl-push-7{position:relative;left:29.16666667%}.weui-col-xl-6{width:25%;float:left;display:block}.weui-col-xl-offset-6{margin-left:25%}.weui-col-xl-pull-6{position:relative;right:25%}.weui-col-xl-push-6{position:relative;left:25%}.weui-col-xl-5{width:20.83333333%;float:left;display:block}.weui-col-xl-offset-5{margin-left:20.83333333%}.weui-col-xl-pull-5{position:relative;right:20.83333333%}.weui-col-xl-push-5{position:relative;left:20.83333333%}.weui-col-xl-4{width:16.66666667%;float:left;display:block}.weui-col-xl-offset-4{margin-left:16.66666667%}.weui-col-xl-pull-4{position:relative;right:16.66666667%}.weui-col-xl-push-4{position:relative;left:16.66666667%}.weui-col-xl-3{width:12.5%;float:left;display:block}.weui-col-xl-offset-3{margin-left:12.5%}.weui-col-xl-pull-3{position:relative;right:12.5%}.weui-col-xl-push-3{position:relative;left:12.5%}.weui-col-xl-2{width:8.33333333%;float:left;display:block}.weui-col-xl-offset-2{margin-left:8.33333333%}.weui-col-xl-pull-2{position:relative;right:8.33333333%}.weui-col-xl-push-2{position:relative;left:8.33333333%}.weui-col-xl-1{width:4.16666667%;float:left;display:block}.weui-col-xl-offset-1{margin-left:4.16666667%}.weui-col-xl-pull-1{position:relative;right:4.16666667%}.weui-col-xl-push-1{position:relative;left:4.16666667%}}.weui-col{box-sizing:border-box} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/comPart/compart.js b/yunbainian/etms_wechat_mini/components/comPart/compart.js new file mode 100644 index 0000000..19cb196 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/comPart/compart.js @@ -0,0 +1,148 @@ +const app = getApp(); +const { + getWxml, + getStyle, + getWxml1, + getStyle1, +} = require("../../pages/activitySharing/poster-data.js"); +const { + isCreateImageSuccess +} = require('../../utils/util.js') +Component({ + options: { + + }, + properties: { + metaData: { + type: Object, + value: {} + }, + + }, + data: { + isShowQrcode: false, + poster: null, + isShowPoster: false + }, + observers: { + + }, + relations: { + + }, + lifetimes: { + + }, + methods: { + shareQr() { + wx.showShareImageMenu({ + path: this.data.qrCode, + }); + }, + websiteClick() { + wx.navigateTo({ + url: `/pages/mywebsite/index`, + }) + }, + showQrcode() { + this.getImg1(); + }, + shareFriend() { + wx.showShareImageMenu({ + path: this.data.poster, + }); + }, + showPoster() { + + this.getImg() + }, + async getImg1() { + const obj = { + img: this.data.metaData.shareQRCode + } + console.log(obj); + const poster = this.selectComponent("#poster"); + wx.showLoading({ + title: '加载中', + }) + setTimeout(() => { + const wxml = getWxml1(obj); + const style = getStyle1(); + const p1 = poster.renderToCanvas({ + wxml, + style + }); + let container = null; + p1.then((res) => { + container = res; + return poster.canvasToTempFilePath(); + }).then((res) => { + console.log(res, 'res'); + this.setData({ + qrCode: res.tempFilePath, + width: container.layoutBox.width, + height: container.layoutBox.height, + isShowQrcode: true + }); + wx.hideLoading() + }); + }, 500); + }, + onVisibleChange2(e) { + this.setData({ + isShowPoster: e.detail.visible, + }); + }, + onVisibleChange(e) { + + this.setData({ + isShowQrcode: e.detail.visible, + }); + }, + async getImg() { + var isPortraitSuccess = false; + if (app.globalData.avatarUrl && app.globalData.avatarUrl != '') { + try { + isPortraitSuccess = await isCreateImageSuccess(app.globalData.avatarUrl, "canvas", this); + } catch (ex) { + console.log(ex) + } + } + var obj = { + title: this.data.metaData.title, + img: this.data.metaData.imageCoverUrl, + portrait: isPortraitSuccess ? app.globalData.avatarUrl : "https://pxboss.xiaohebang.cn/system/material/mini/fx/avatar.png", + name: app.globalData.nickName, + qrcode: this.data.metaData.shareQRCode, + }; + const poster = this.selectComponent("#poster"); + + wx.showLoading({ + title: '加载中', + }) + setTimeout(() => { + const wxml = getWxml(obj); + const style = getStyle(); + const p1 = poster.renderToCanvas({ + wxml, + style + }); + console.log(p1); + let container = null; + p1.then((res) => { + container = res; + console.log(container); + return poster.canvasToTempFilePath(); + }).then((res) => { + this.setData({ + poster: res.tempFilePath, + width: container.layoutBox.width, + height: container.layoutBox.height, + isShowPoster: true + }); + wx.hideLoading() + }); + }, 500); + }, + } +}) \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/comPart/compart.json b/yunbainian/etms_wechat_mini/components/comPart/compart.json new file mode 100644 index 0000000..a7dd1f0 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/comPart/compart.json @@ -0,0 +1,8 @@ +{ + "component": true, + "usingComponents": { + "t-progress": "tdesign-miniprogram/progress/progress", + "t-popup": "tdesign-miniprogram/popup/popup", + "wxml-to-canvas": "wxml-to-canvas" + } +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/comPart/compart.wxml b/yunbainian/etms_wechat_mini/components/comPart/compart.wxml new file mode 100644 index 0000000..65a77a2 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/comPart/compart.wxml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/comPart/compart.wxss b/yunbainian/etms_wechat_mini/components/comPart/compart.wxss new file mode 100644 index 0000000..f789f29 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/comPart/compart.wxss @@ -0,0 +1,51 @@ +/* components/comPart/compart.wxss */ +.btns { + position: fixed; + z-index: 999; + right: 10px; + bottom: 100px; +} +.ac_ks_inter { + background: rgba(0, 0, 0, 0.4); + height: 50px; + width: 50px; + line-height: 50px; + text-align: center; + border-radius: 50px; + color: white; + z-index: 999; + font-size: 12px; + overflow: hidden + } + .ac_ks_inter image { + width: 50px; + height: 50px; +} +.ac-poster-canvas { + position: absolute; + left: -100%; +} +.ac_ks_inter + .ac_ks_inter { + margin-top: 10px; +} +.ac-action { + margin: initial; + width: initial !important; + background: initial; + padding: initial; + font-weight: initial; + + text-align: center; + font-size: 16px; + display: flex; + flex-direction: column; + align-items: center; + } + .ac-action image { + width: 64px; + height: 64px; + margin-bottom: 8px; + } + .ac-action text { + color: #fff; + } \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/dialog/dialog.js b/yunbainian/etms_wechat_mini/components/dialog/dialog.js new file mode 100644 index 0000000..61d2e04 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/dialog/dialog.js @@ -0,0 +1,168 @@ +module.exports = +/** *** */ (function (modules) { // webpackBootstrap + /** *** */ // The module cache + /** *** */ const installedModules = {} + /** *** */ + /** *** */ // The require function + /** *** */ function __webpack_require__(moduleId) { + /** *** */ + /** *** */ // Check if module is in cache + /** *** */ if (installedModules[moduleId]) { + /** *** */ return installedModules[moduleId].exports + /** *** */ } + /** *** */ // Create a new module (and put it into the cache) + /** *** */ const module = installedModules[moduleId] = { + /** *** */ i: moduleId, + /** *** */ l: false, + /** *** */ exports: {} + /** *** */} + /** *** */ + /** *** */ // Execute the module function + /** *** */ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__) + /** *** */ + /** *** */ // Flag the module as loaded + /** *** */ module.l = true + /** *** */ + /** *** */ // Return the exports of the module + /** *** */ return module.exports + /** *** */ } + /** *** */ + /** *** */ + /** *** */ // expose the modules object (__webpack_modules__) + /** *** */ __webpack_require__.m = modules + /** *** */ + /** *** */ // expose the module cache + /** *** */ __webpack_require__.c = installedModules + /** *** */ + /** *** */ // define getter function for harmony exports + /** *** */ __webpack_require__.d = function (exports, name, getter) { + /** *** */ if (!__webpack_require__.o(exports, name)) { + /** *** */ Object.defineProperty(exports, name, {enumerable: true, get: getter}) + /** *** */ } + /** *** */ } + /** *** */ + /** *** */ // define __esModule on exports + /** *** */ __webpack_require__.r = function (exports) { + /** *** */ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { + /** *** */ Object.defineProperty(exports, Symbol.toStringTag, {value: 'Module'}) + /** *** */ } + /** *** */ Object.defineProperty(exports, '__esModule', {value: true}) + /** *** */ } + /** *** */ + /** *** */ // create a fake namespace object + /** *** */ // mode & 1: value is a module id, require it + /** *** */ // mode & 2: merge all properties of value into the ns + /** *** */ // mode & 4: return value when already ns object + /** *** */ // mode & 8|1: behave like require + /** *** */ __webpack_require__.t = function (value, mode) { + /** *** */ if (mode & 1) value = __webpack_require__(value) + /** *** */ if (mode & 8) return value + /** *** */ if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value + /** *** */ const ns = Object.create(null) + /** *** */ __webpack_require__.r(ns) + /** *** */ Object.defineProperty(ns, 'default', {enumerable: true, value}) + /** *** */ if (mode & 2 && typeof value !== 'string') for (const key in value) __webpack_require__.d(ns, key, function (key) { return value[key] }.bind(null, key)) + /** *** */ return ns + /** *** */ } + /** *** */ + /** *** */ // getDefaultExport function for compatibility with non-harmony modules + /** *** */ __webpack_require__.n = function (module) { + /** *** */ const getter = module && module.__esModule + /** *** */ ? function getDefault() { return module.default } + /** *** */ : function getModuleExports() { return module } + /** *** */ __webpack_require__.d(getter, 'a', getter) + /** *** */ return getter + /** *** */ } + /** *** */ + /** *** */ // Object.prototype.hasOwnProperty.call + /** *** */ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property) } + /** *** */ + /** *** */ // __webpack_public_path__ + /** *** */ __webpack_require__.p = '' + /** *** */ + /** *** */ + /** *** */ // Load entry module and return exports + /** *** */ return __webpack_require__(__webpack_require__.s = 20) + /** *** */ }({ + + /***/ 20: + /***/ (function (module, exports, __webpack_require__) { + Component({ + options: { + multipleSlots: true, + addGlobalClass: true + }, + properties: { + title: { + type: String, + value: '' + }, + extClass: { + type: String, + value: '' + }, + maskClosable: { + type: Boolean, + value: true + }, + mask: { + type: Boolean, + value: true + }, + show: { + type: Boolean, + value: false, + observer: '_showChange' + }, + buttons: { + type: Array, + value: [] + } + }, + data: { + innerShow: false + }, + ready() { + const buttons = this.data.buttons + const len = buttons.length + buttons.forEach((btn, index) => { + if (len === 1) { + btn.className = 'weui-dialog__btn_primary' + } else if (index === 0) { + btn.className = 'weui-dialog__btn_default' + } else { + btn.className = 'weui-dialog__btn_primary' + } + }) + this.setData({ + buttons + }) + }, + + methods: { + buttonTap(e) { + const { + index + } = e.currentTarget.dataset + this.triggerEvent('buttontap', { + index, + item: this.data.buttons[index] + }, {}) + }, + + close() { + const data = this.data + if (!data.maskClosable) return + this.setData({ + show: false + }) + this.triggerEvent('close', {}, {}) + }, + + stopEvent() {} + + } + }) + /***/ }) + + /** *** */})) diff --git a/yunbainian/etms_wechat_mini/components/dialog/dialog.json b/yunbainian/etms_wechat_mini/components/dialog/dialog.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/dialog/dialog.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/dialog/dialog.wxml b/yunbainian/etms_wechat_mini/components/dialog/dialog.wxml new file mode 100644 index 0000000..0a36131 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/dialog/dialog.wxml @@ -0,0 +1,21 @@ + + + + + {{title}} + + + + + + + + + {{item.text}} + + + + + + + diff --git a/yunbainian/etms_wechat_mini/components/dialog/dialog.wxss b/yunbainian/etms_wechat_mini/components/dialog/dialog.wxss new file mode 100644 index 0000000..63dea1f --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/dialog/dialog.wxss @@ -0,0 +1 @@ +.weui-dialog.weui-dialog_hidden{opacity:0;transform:scale3d(1, 1, 0)}.weui-dialog{opacity:1;-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1);transition:all .2s ease-in}.weui-mask.weui-mask_hidden{opacity:0;transform:scale3d(1, 1, 0)}.weui-mask{opacity:1;transform:scale3d(1, 1, 1);transition:all .2s ease-in} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/emoji/emoji.js b/yunbainian/etms_wechat_mini/components/emoji/emoji.js new file mode 100644 index 0000000..4393c04 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/emoji/emoji.js @@ -0,0 +1,547 @@ +module.exports = +/** *** */ (function (modules) { // webpackBootstrap + /** *** */ // The module cache + /** *** */ const installedModules = {} + /** *** */ + /** *** */ // The require function + /** *** */ function __webpack_require__(moduleId) { + /** *** */ + /** *** */ // Check if module is in cache + /** *** */ if (installedModules[moduleId]) { + /** *** */ return installedModules[moduleId].exports + /** *** */ } + /** *** */ // Create a new module (and put it into the cache) + /** *** */ const module = installedModules[moduleId] = { + /** *** */ i: moduleId, + /** *** */ l: false, + /** *** */ exports: {} + /** *** */} + /** *** */ + /** *** */ // Execute the module function + /** *** */ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__) + /** *** */ + /** *** */ // Flag the module as loaded + /** *** */ module.l = true + /** *** */ + /** *** */ // Return the exports of the module + /** *** */ return module.exports + /** *** */ } + /** *** */ + /** *** */ + /** *** */ // expose the modules object (__webpack_modules__) + /** *** */ __webpack_require__.m = modules + /** *** */ + /** *** */ // expose the module cache + /** *** */ __webpack_require__.c = installedModules + /** *** */ + /** *** */ // define getter function for harmony exports + /** *** */ __webpack_require__.d = function (exports, name, getter) { + /** *** */ if (!__webpack_require__.o(exports, name)) { + /** *** */ Object.defineProperty(exports, name, {enumerable: true, get: getter}) + /** *** */ } + /** *** */ } + /** *** */ + /** *** */ // define __esModule on exports + /** *** */ __webpack_require__.r = function (exports) { + /** *** */ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { + /** *** */ Object.defineProperty(exports, Symbol.toStringTag, {value: 'Module'}) + /** *** */ } + /** *** */ Object.defineProperty(exports, '__esModule', {value: true}) + /** *** */ } + /** *** */ + /** *** */ // create a fake namespace object + /** *** */ // mode & 1: value is a module id, require it + /** *** */ // mode & 2: merge all properties of value into the ns + /** *** */ // mode & 4: return value when already ns object + /** *** */ // mode & 8|1: behave like require + /** *** */ __webpack_require__.t = function (value, mode) { + /** *** */ if (mode & 1) value = __webpack_require__(value) + /** *** */ if (mode & 8) return value + /** *** */ if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value + /** *** */ const ns = Object.create(null) + /** *** */ __webpack_require__.r(ns) + /** *** */ Object.defineProperty(ns, 'default', {enumerable: true, value}) + /** *** */ if (mode & 2 && typeof value !== 'string') for (const key in value) __webpack_require__.d(ns, key, function (key) { return value[key] }.bind(null, key)) + /** *** */ return ns + /** *** */ } + /** *** */ + /** *** */ // getDefaultExport function for compatibility with non-harmony modules + /** *** */ __webpack_require__.n = function (module) { + /** *** */ const getter = module && module.__esModule + /** *** */ ? function getDefault() { return module.default } + /** *** */ : function getModuleExports() { return module } + /** *** */ __webpack_require__.d(getter, 'a', getter) + /** *** */ return getter + /** *** */ } + /** *** */ + /** *** */ // Object.prototype.hasOwnProperty.call + /** *** */ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property) } + /** *** */ + /** *** */ // __webpack_public_path__ + /** *** */ __webpack_require__.p = '' + /** *** */ + /** *** */ + /** *** */ // Load entry module and return exports + /** *** */ return __webpack_require__(__webpack_require__.s = 2) + /** *** */ }([ + /* 0 */ + /***/ (function (module, exports, __webpack_require__) { + Object.defineProperty(exports, '__esModule', {value: true}) + exports.default = [{ + id: 0, cn: '[微笑]', hk: '[微笑]', us: '[Smile]', code: '/::)', web_code: '/微笑', style: 'smiley_0' + }, { + id: 1, cn: '[撇嘴]', hk: '[撇嘴]', us: '[Grimace]', code: '/::~', web_code: '/撇嘴', style: 'smiley_1' + }, { + id: 2, cn: '[色]', hk: '[色]', us: '[Drool]', code: '/::B', web_code: '/色', style: 'smiley_2' + }, { + id: 3, cn: '[发呆]', hk: '[發呆]', us: '[Scowl]', code: '/::|', web_code: '/发呆', style: 'smiley_3' + }, { + id: 4, cn: '[得意]', hk: '[得意]', us: '[CoolGuy]', code: '/:8-)', web_code: '/得意', style: 'smiley_4' + }, { + id: 5, cn: '[流泪]', hk: '[流淚]', us: '[Sob]', code: '/::<', web_code: '/流泪', style: 'smiley_5' + }, { + id: 6, cn: '[害羞]', hk: '[害羞]', us: '[Shy]', code: '/::$', web_code: '/害羞', style: 'smiley_6' + }, { + id: 7, cn: '[闭嘴]', hk: '[閉嘴]', us: '[Silent]', code: '/::X', web_code: '/闭嘴', style: 'smiley_7' + }, { + id: 8, cn: '[睡]', hk: '[睡]', us: '[Sleep]', code: '/::Z', web_code: '/睡', style: 'smiley_8' + }, { + id: 9, cn: '[大哭]', hk: '[大哭]', us: '[Cry]', code: '/::"(', web_code: '/大哭', style: 'smiley_9' + }, { + id: 10, cn: '[尴尬]', hk: '[尷尬]', us: '[Awkward]', code: '/::-|', web_code: '/尴尬', style: 'smiley_10' + }, { + id: 11, cn: '[发怒]', hk: '[發怒]', us: '[Angry]', code: '/::@', web_code: '/发怒', style: 'smiley_11' + }, { + id: 12, cn: '[调皮]', hk: '[調皮]', us: '[Tongue]', code: '/::P', web_code: '/调皮', style: 'smiley_12' + }, { + id: 13, cn: '[呲牙]', hk: '[呲牙]', us: '[Grin]', code: '/::D', web_code: '/呲牙', style: 'smiley_13' + }, { + id: 14, cn: '[惊讶]', hk: '[驚訝]', us: '[Surprise]', code: '/::O', web_code: '/惊讶', style: 'smiley_14' + }, { + id: 15, cn: '[难过]', hk: '[難過]', us: '[Frown]', code: '/::(', web_code: '/难过', style: 'smiley_15' + }, { + id: 16, cn: '[酷]', hk: '[酷]', us: '[Ruthless]', code: '/::+', web_code: '/酷', style: 'smiley_16' + }, { + id: 17, cn: '[冷汗]', hk: '[冷汗]', us: '[Blush]', code: '/:--b', web_code: '/冷汗', style: 'smiley_17' + }, { + id: 18, cn: '[抓狂]', hk: '[抓狂]', us: '[Scream]', code: '/::Q', web_code: '/抓狂', style: 'smiley_18' + }, { + id: 19, cn: '[吐]', hk: '[吐]', us: '[Puke]', code: '/::T', web_code: '/吐', style: 'smiley_19' + }, { + id: 20, cn: '[偷笑]', hk: '[偷笑]', us: '[Chuckle]', code: '/:,@P', web_code: '/偷笑', style: 'smiley_20' + }, { + id: 21, cn: '[愉快]', hk: '[愉快]', us: '[Joyful]', code: '/:,@-D', web_code: '/可爱', style: 'smiley_21' + }, { + id: 22, cn: '[白眼]', hk: '[白眼]', us: '[Slight]', code: '/::d', web_code: '/白眼', style: 'smiley_22' + }, { + id: 23, cn: '[傲慢]', hk: '[傲慢]', us: '[Smug]', code: '/:,@o', web_code: '/傲慢', style: 'smiley_23' + }, { + id: 24, cn: '[饥饿]', hk: '[饑餓]', us: '[Hungry]', code: '/::g', web_code: '/饥饿', style: 'smiley_24' + }, { + id: 25, cn: '[困]', hk: '[累]', us: '[Drowsy]', code: '/:|-)', web_code: '/困', style: 'smiley_25' + }, { + id: 26, cn: '[惊恐]', hk: '[驚恐]', us: '[Panic]', code: '/::!', web_code: '/惊恐', style: 'smiley_26' + }, { + id: 27, cn: '[流汗]', hk: '[流汗]', us: '[Sweat]', code: '/::L', web_code: '/流汗', style: 'smiley_27' + }, { + id: 28, cn: '[憨笑]', hk: '[大笑]', us: '[Laugh]', code: '/::>', web_code: '/憨笑', style: 'smiley_28' + }, { + id: 29, cn: '[悠闲]', hk: '[悠閑]', us: '[Commando]', code: '/::,@', web_code: '/大兵', style: 'smiley_29' + }, { + id: 30, cn: '[奋斗]', hk: '[奮鬥]', us: '[Determined]', code: '/:,@f', web_code: '/奋斗', style: 'smiley_30' + }, { + id: 31, cn: '[咒骂]', hk: '[咒罵]', us: '[Scold]', code: '/::-S', web_code: '/咒骂', style: 'smiley_31' + }, { + id: 32, cn: '[疑问]', hk: '[疑問]', us: '[Shocked]', code: '/:?', web_code: '/疑问', style: 'smiley_32' + }, { + id: 33, cn: '[嘘]', hk: '[噓]', us: '[Shhh]', code: '/:,@x', web_code: '/嘘', style: 'smiley_33' + }, { + id: 34, cn: '[晕]', hk: '[暈]', us: '[Dizzy]', code: '/:,@@', web_code: '/晕', style: 'smiley_34' + }, { + id: 35, cn: '[疯了]', hk: '[瘋了]', us: '[Tormented]', code: '/::8', web_code: '/折磨', style: 'smiley_35' + }, { + id: 36, cn: '[衰]', hk: '[衰]', us: '[Toasted]', code: '/:,@!', web_code: '/衰', style: 'smiley_36' + }, { + id: 37, cn: '[骷髅]', hk: '[骷髏頭]', us: '[Skull]', code: '/:!!!', web_code: '/骷髅', style: 'smiley_37' + }, { + id: 38, cn: '[敲打]', hk: '[敲打]', us: '[Hammer]', code: '/:xx', web_code: '/敲打', style: 'smiley_38' + }, { + id: 39, cn: '[再见]', hk: '[再見]', us: '[Wave]', code: '/:bye', web_code: '/再见', style: 'smiley_39' + }, { + id: 40, cn: '[擦汗]', hk: '[擦汗]', us: '[Speechless]', code: '/:wipe', web_code: '/擦汗', style: 'smiley_40' + }, { + id: 41, cn: '[抠鼻]', hk: '[摳鼻]', us: '[NosePick]', code: '/:dig', web_code: '/抠鼻', style: 'smiley_41' + }, { + id: 42, cn: '[鼓掌]', hk: '[鼓掌]', us: '[Clap]', code: '/:handclap', web_code: '/鼓掌', style: 'smiley_42' + }, { + id: 43, cn: '[糗大了]', hk: '[羞辱]', us: '[Shame]', code: '/:&-(', web_code: '/糗大了', style: 'smiley_43' + }, { + id: 44, cn: '[坏笑]', hk: '[壞笑]', us: '[Trick]', code: '/:B-)', web_code: '/坏笑', style: 'smiley_44' + }, { + id: 45, cn: '[左哼哼]', hk: '[左哼哼]', us: '[Bah!L]', code: '/:<@', web_code: '/左哼哼', style: 'smiley_45' + }, { + id: 46, cn: '[右哼哼]', hk: '[右哼哼]', us: '[Bah!R]', code: '/:@>', web_code: '/右哼哼', style: 'smiley_46' + }, { + id: 47, cn: '[哈欠]', hk: '[哈欠]', us: '[Yawn]', code: '/::-O', web_code: '/哈欠', style: 'smiley_47' + }, { + id: 48, cn: '[鄙视]', hk: '[鄙視]', us: '[Pooh-pooh]', code: '/:>-|', web_code: '/鄙视', style: 'smiley_48' + }, { + id: 49, cn: '[委屈]', hk: '[委屈]', us: '[Shrunken]', code: '/:P-(', web_code: '/委屈', style: 'smiley_49' + }, { + id: 50, cn: '[快哭了]', hk: '[快哭了]', us: '[TearingUp]', code: '/::"|', web_code: '/快哭了', style: 'smiley_50' + }, { + id: 51, cn: '[阴险]', hk: '[陰險]', us: '[Sly]', code: '/:X-)', web_code: '/阴险', style: 'smiley_51' + }, { + id: 52, cn: '[亲亲]', hk: '[親親]', us: '[Kiss]', code: '/::*', web_code: '/亲亲', style: 'smiley_52' + }, { + id: 53, cn: '[吓]', hk: '[嚇]', us: '[Wrath]', code: '/:@x', web_code: '/吓', style: 'smiley_53' + }, { + id: 54, cn: '[可怜]', hk: '[可憐]', us: '[Whimper]', code: '/:8*', web_code: '/可怜', style: 'smiley_54' + }, { + id: 55, cn: '[菜刀]', hk: '[菜刀]', us: '[Cleaver]', code: '/:pd', web_code: '/菜刀', style: 'smiley_55' + }, { + id: 56, cn: '[西瓜]', hk: '[西瓜]', us: '[Watermelon]', code: '/:', web_code: '/西瓜', style: 'smiley_56' + }, { + id: 57, cn: '[啤酒]', hk: '[啤酒]', us: '[Beer]', code: '/:beer', web_code: '/啤酒', style: 'smiley_57' + }, { + id: 58, cn: '[篮球]', hk: '[籃球]', us: '[Basketball]', code: '/:basketb', web_code: '/篮球', style: 'smiley_58' + }, { + id: 59, cn: '[乒乓]', hk: '[乒乓]', us: '[PingPong]', code: '/:oo', web_code: '/乒乓', style: 'smiley_59' + }, { + id: 60, cn: '[咖啡]', hk: '[咖啡]', us: '[Coffee]', code: '/:coffee', web_code: '/咖啡', style: 'smiley_60' + }, { + id: 61, cn: '[饭]', hk: '[飯]', us: '[Rice]', code: '/:eat', web_code: '/饭', style: 'smiley_61' + }, { + id: 62, cn: '[猪头]', hk: '[豬頭]', us: '[Pig]', code: '/:pig', web_code: '/猪头', style: 'smiley_62' + }, { + id: 63, cn: '[玫瑰]', hk: '[玫瑰]', us: '[Rose]', code: '/:rose', web_code: '/玫瑰', style: 'smiley_63' + }, { + id: 64, cn: '[凋谢]', hk: '[枯萎]', us: '[Wilt]', code: '/:fade', web_code: '/凋谢', style: 'smiley_64' + }, { + id: 65, cn: '[嘴唇]', hk: '[嘴唇]', us: '[Lips]', code: '/:showlove', web_code: '/示爱', style: 'smiley_65' + }, { + id: 66, cn: '[爱心]', hk: '[愛心]', us: '[Heart]', code: '/:heart', web_code: '/爱心', style: 'smiley_66' + }, { + id: 67, cn: '[心碎]', hk: '[心碎]', us: '[BrokenHeart]', code: '/:break', web_code: '/心碎', style: 'smiley_67' + }, { + id: 68, cn: '[蛋糕]', hk: '[蛋糕]', us: '[Cake]', code: '/:cake', web_code: '/蛋糕', style: 'smiley_68' + }, { + id: 69, cn: '[闪电]', hk: '[閃電]', us: '[Lightning]', code: '/:li', web_code: '/闪电', style: 'smiley_69' + }, { + id: 70, cn: '[炸弹]', hk: '[炸彈]', us: '[Bomb]', code: '/:bome', web_code: '/炸弹', style: 'smiley_70' + }, { + id: 71, cn: '[刀]', hk: '[刀]', us: '[Dagger]', code: '/:kn', web_code: '/刀', style: 'smiley_71' + }, { + id: 72, cn: '[足球]', hk: '[足球]', us: '[Soccer]', code: '/:footb', web_code: '/足球', style: 'smiley_72' + }, { + id: 73, cn: '[瓢虫]', hk: '[甲蟲]', us: '[Ladybug]', code: '/:ladybug', web_code: '/瓢虫', style: 'smiley_73' + }, { + id: 74, cn: '[便便]', hk: '[便便]', us: '[Poop]', code: '/:shit', web_code: '/便便', style: 'smiley_74' + }, { + id: 75, cn: '[月亮]', hk: '[月亮]', us: '[Moon]', code: '/:moon', web_code: '/月亮', style: 'smiley_75' + }, { + id: 76, cn: '[太阳]', hk: '[太陽]', us: '[Sun]', code: '/:sun', web_code: '/太阳', style: 'smiley_76' + }, { + id: 77, cn: '[礼物]', hk: '[禮物]', us: '[Gift]', code: '/:gift', web_code: '/礼物', style: 'smiley_77' + }, { + id: 78, cn: '[拥抱]', hk: '[擁抱]', us: '[Hug]', code: '/:hug', web_code: '/拥抱', style: 'smiley_78' + }, { + id: 79, cn: '[强]', hk: '[強]', us: '[ThumbsUp]', code: '/:strong', web_code: '/强', style: 'smiley_79' + }, { + id: 80, cn: '[弱]', hk: '[弱]', us: '[ThumbsDown]', code: '/:weak', web_code: '/弱', style: 'smiley_80' + }, { + id: 81, cn: '[握手]', hk: '[握手]', us: '[Shake]', code: '/:share', web_code: '/握手', style: 'smiley_81' + }, { + id: 82, cn: '[胜利]', hk: '[勝利]', us: '[Peace]', code: '/:v', web_code: '/胜利', style: 'smiley_82' + }, { + id: 83, cn: '[抱拳]', hk: '[抱拳]', us: '[Fight]', code: '/:@)', web_code: '/抱拳', style: 'smiley_83' + }, { + id: 84, cn: '[勾引]', hk: '[勾引]', us: '[Beckon]', code: '/:jj', web_code: '/勾引', style: 'smiley_84' + }, { + id: 85, cn: '[拳头]', hk: '[拳頭]', us: '[Fist]', code: '/:@@', web_code: '/拳头', style: 'smiley_85' + }, { + id: 86, cn: '[差劲]', hk: '[差勁]', us: '[Pinky]', code: '/:bad', web_code: '/差劲', style: 'smiley_86' + }, { + id: 87, cn: '[爱你]', hk: '[愛你]', us: '[RockOn]', code: '/:lvu', web_code: '/爱你', style: 'smiley_87' + }, { + id: 88, cn: '[NO]', hk: '[NO]', us: '[Nuh-uh]', code: '/:no', web_code: '/NO', style: 'smiley_88' + }, { + id: 89, cn: '[OK]', hk: '[OK]', us: '[OK]', code: '/:ok', web_code: '/OK', style: 'smiley_89' + }, { + id: 90, cn: '[爱情]', hk: '[愛情]', us: '[InLove]', code: '/:love', web_code: '/爱情', style: 'smiley_90' + }, { + id: 91, cn: '[飞吻]', hk: '[飛吻]', us: '[Blowkiss]', code: '/:', web_code: '/飞吻', style: 'smiley_91' + }, { + id: 92, cn: '[跳跳]', hk: '[跳跳]', us: '[Waddle]', code: '/:jump', web_code: '/跳跳', style: 'smiley_92' + }, { + id: 93, cn: '[发抖]', hk: '[發抖]', us: '[Tremble]', code: '/:shake', web_code: '/发抖', style: 'smiley_93' + }, { + id: 94, cn: '[怄火]', hk: '[噴火]', us: '[Aaagh!]', code: '/:', web_code: '/怄火', style: 'smiley_94' + }, { + id: 95, cn: '[转圈]', hk: '[轉圈]', us: '[Twirl]', code: '/:circle', web_code: '/转圈', style: 'smiley_95' + }, { + id: 96, cn: '[磕头]', hk: '[磕頭]', us: '[Kotow]', code: '/:kotow', web_code: '/磕头', style: 'smiley_96' + }, { + id: 97, cn: '[回头]', hk: '[回頭]', us: '[Dramatic]', code: '/:turn', web_code: '/回头', style: 'smiley_97' + }, { + id: 98, cn: '[跳绳]', hk: '[跳繩]', us: '[JumpRope]', code: '/:skip', web_code: '/跳绳', style: 'smiley_98' + }, { + id: 99, cn: '[投降]', hk: '[投降]', us: '[Surrender]', code: '/:oY', web_code: '/挥手', style: 'smiley_99' + }, { + id: 100, cn: '[激动]', hk: '[激動]', us: '[Hooray]', code: '/:#-0', web_code: '/激动', style: 'smiley_100' + }, { + id: 101, cn: '[乱舞]', hk: '[亂舞]', us: '[Meditate]', code: '/:hiphot', web_code: '/街舞', style: 'smiley_101' + }, { + id: 102, cn: '[献吻]', hk: '[獻吻]', us: '[Smooch]', code: '/:kiss', web_code: '/献吻', style: 'smiley_102' + }, { + id: 103, cn: '[左太极]', hk: '[左太極]', us: '[TaiChi L]', code: '/:<&', web_code: '/左太极', style: 'smiley_103' + }, { + id: 104, cn: '[右太极]', hk: '[右太極]', us: '[TaiChi R]', code: '/:&>', web_code: '/右太极', style: 'smiley_104' + }, { + id: 204, cn: '[嘿哈]', hk: '[吼嘿]', us: '[Hey]', code: '', web_code: '', style: 'e2_04' + }, { + id: 205, cn: '[捂脸]', hk: '[掩面]', us: '[Facepalm]', code: '', web_code: '', style: 'e2_05' + }, { + id: 202, cn: '[奸笑]', hk: '[奸笑]', us: '[Smirk]', code: '', web_code: '', style: 'e2_02' + }, { + id: 206, cn: '[机智]', hk: '[機智]', us: '[Smart]', code: '', web_code: '', style: 'e2_06' + }, { + id: 212, cn: '[皱眉]', hk: '[皺眉]', us: '[Moue]', code: '', web_code: '', style: 'e2_12' + }, { + id: 211, cn: '[耶]', hk: '[歐耶]', us: '[Yeah!]', code: '', web_code: '', style: 'e2_11' + }, { + id: 207, cn: '[茶]', hk: '[茶]', us: '[Tea]', code: '', web_code: '', style: 'e2_07' + }, { + id: 209, cn: '[红包]', hk: '[Packet]', us: '[Packet]', code: '', web_code: '', style: 'e2_09' + }, { + id: 210, cn: '[蜡烛]', hk: '[蠟燭]', us: '[Candle]', code: '', web_code: '', style: 'e2_10' + }, { + id: 215, cn: '[福]', hk: '[福]', us: '[Blessing]', code: '', web_code: '', style: 'e2_15' + }, { + id: 214, cn: '[鸡]', hk: '[小雞]', us: '[Chick]', code: '', web_code: '', style: 'e2_14' + }, { + id: 300, cn: '[笑脸]', emoji: '😄', hk: '', us: '', code: '\\ue415', web_code: '', style: 'u1F604' + }, { + id: 301, cn: '[生病]', emoji: '😷', hk: '', us: '', code: '\\ue40c', web_code: '', style: 'u1F637' + }, { + id: 302, cn: '[破涕为笑]', emoji: '😂', hk: '', us: '', code: '\\ue412', web_code: '', style: 'u1F602' + }, { + id: 303, cn: '[吐舌]', emoji: '😝', hk: '', us: '', code: '\\ue409', web_code: '', style: 'u1F61D' + }, { + id: 304, cn: '[脸红]', emoji: '😳', hk: '', us: '', code: '\\ue40d', web_code: '', style: 'u1F633' + }, { + id: 305, cn: '[恐惧]', emoji: '😱', hk: '', us: '', code: '\\ue107', web_code: '', style: 'u1F631' + }, { + id: 306, cn: '[失望]', emoji: '😔', hk: '', us: '', code: '\\ue403', web_code: '', style: 'u1F614' + }, { + id: 307, cn: '[无语]', emoji: '😒', hk: '', us: '', code: '\\ue40e', web_code: '', style: 'u1F612' + }, { + id: 308, cn: '[鬼魂]', emoji: '👻', hk: '', us: '', code: '\\ue11b', web_code: '', style: 'u1F47B' + }, { + id: 309, cn: '[合十]', emoji: '🙏', hk: '', us: '', code: '\\ue41d', web_code: '', style: 'u1F64F' + }, { + id: 310, cn: '[强壮]', emoji: '💪', hk: '', us: '', code: '\\ue14c', web_code: '', style: 'u1F4AA' + }, { + id: 311, cn: '[庆祝]', emoji: '🎉', hk: '', us: '', code: '\\ue312', web_code: '', style: 'u1F389' + }, { + id: 312, cn: '[礼物]', hk: '', us: '', code: '\\ue112', web_code: '', style: 'u1F381' + }, { + id: 313, cn: '[吃瓜]', hk: '[]', us: '[]', code: '', web_code: '', style: 'smiley_313' + }, { + id: 314, cn: '[加油]', hk: '[]', us: '[]', code: '', web_code: '', style: 'smiley_314' + }, { + id: 315, cn: '[汗]', hk: '[]', us: '[]', code: '', web_code: '', style: 'smiley_315' + }, { + id: 316, cn: '[天啊]', hk: '[]', us: '[]', code: '', web_code: '', style: 'smiley_316' + }, { + id: 317, cn: '[Emm]', hk: '[]', us: '[]', code: '', web_code: '', style: 'smiley_317' + }, { + id: 318, cn: '[社会社会]', hk: '[]', us: '[]', code: '', web_code: '', style: 'smiley_318' + }, { + id: 319, cn: '[旺柴]', hk: '[]', us: '[]', code: '', web_code: '', style: 'smiley_319' + }, { + id: 320, cn: '[好的]', hk: '[]', us: '[]', code: '', web_code: '', style: 'smiley_320' + }, { + id: 321, cn: '[打脸]', hk: '[]', us: '[]', code: '', web_code: '', style: 'smiley_321' + }, { + id: 322, cn: '[哇]', hk: '[]', us: '[]', code: '', web_code: '', style: 'smiley_322' + }] + /***/ }), + /* 1 */, + /* 2 */ + /***/ (function (module, exports, __webpack_require__) { + Object.defineProperty(exports, '__esModule', {value: true}) + const emoji_data_1 = __webpack_require__(0) + const emoji_panel_data_1 = __webpack_require__(3) + const parser_1 = __webpack_require__(4) + const EMOTION_SIZE = 40 + const emotionMap = {} + const emotionNames = [] + emoji_data_1.default.forEach(function (item) { + emotionMap[item.id] = item + emotionNames.push(item.cn) + }) + const emotions = [] + emoji_panel_data_1.default.forEach(function (id) { + return emotions.push(emotionMap[id]) + }) + Component({ + options: { + styleIsolation: 'page-shared', + addGlobalClass: true, + pureDataPattern: /^_/ + }, + properties: { + padding: { + type: Number, + value: 15 + }, + backgroundColor: { + type: String, + value: '#EDEDED' + }, + showSend: { + type: Boolean, + value: true + }, + showDel: { + type: Boolean, + value: true + }, + showHistory: { + type: Boolean, + value: true + }, + height: { + type: Number, + value: 300 + }, + source: { + type: String, + value: '' + }, + // 适配 darkmode + theme: { + type: String, + value: 'light' // light dark + } + }, + data: { + history: [], + emotions, + extraPadding: 0, + perLine: 0 + }, + lifetimes: { + attached: function attached() { + const padding = this.data.padding + const systemInfo = wx.getSystemInfoSync() + const areaWidth = systemInfo.windowWidth + const perLine = Math.floor((areaWidth - padding * 2) / 45) + const extraPadding = Math.floor((areaWidth - padding * 2 - perLine * EMOTION_SIZE) / (perLine - 1)) + this.setData({ + perLine, + extraPadding, + hasSafeBottom: systemInfo.model.indexOf('iPhone X') >= 0 + }) + } + }, + methods: { + getEmojiNames() { + return emotionNames + }, + + parseEmoji: parser_1.parseEmoji, + insertEmoji(evt) { + const data = this.data + const idx = evt.currentTarget.dataset.idx + const emotionName = data.emotions[idx].cn + this.LRUCache(data.history, data.perLine, idx) + this.setData({history: data.history}) + this.triggerEvent('insertemoji', {emotionName}) + }, + deleteEmoji() { + this.triggerEvent('delemoji') + }, + send() { + this.triggerEvent('send') + }, + LRUCache(arr, limit, data) { + const idx = arr.indexOf(data) + if (idx >= 0) { + arr.splice(idx, 1) + arr.unshift(data) + } else if (arr.length < limit) { + arr.push(data) + } else if (arr.length === limit) { + arr[limit - 1] = data + } + } + } + }) + /***/ }), + /* 3 */ + /***/ (function (module, exports, __webpack_require__) { + Object.defineProperty(exports, '__esModule', {value: true}) + exports.default = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20, 21, 22, 23, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 49, 50, 51, 52, 54, 55, 56, 57, 60, 62, 63, 64, 65, 66, 67, 68, 70, 74, 75, 76, 78, 79, 80, 81, 82, 83, 84, 85, 89, 92, 93, 94, 95, 300, 301, 302, 303, 304, 305, 306, 307, 204, 205, 202, 206, 212, 211, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 308, 309, 310, 311, 312, 209] + /***/ }), + /* 4 */ + /***/ (function (module, exports, __webpack_require__) { + Object.defineProperty(exports, '__esModule', {value: true}) + const emoji_data_1 = __webpack_require__(0) + const emotionMap = {} + emoji_data_1.default.forEach(function (item, index) { + if (item.cn) { + emotionMap[item.cn] = item + } + if (item.code) emotionMap[item.code] = item + if (item.us) emotionMap[item.us] = item + }) + const parseEmoji = function parseEmoji(content) { + let emojiIndexList = [] + for (const k in emotionMap) { + let idx = content.indexOf(k) + while (idx >= 0) { + emojiIndexList.push({idx, code: k, type: 2}) + idx = content.indexOf(k, idx + k.length) + } + } + emojiIndexList = emojiIndexList.sort(function (a, b) { + return a.idx - b.idx + }) + const newContentList = [] + let lastTextIndex = 0 + emojiIndexList.forEach(function (item) { + if (lastTextIndex !== item.idx) { + newContentList.push({ + type: 1, + content: content.substring(lastTextIndex, item.idx) + }) + } + if (item.type === 2) { + newContentList.push({ + type: item.type, + content: content.substr(item.idx, item.code.length), + imageClass: emotionMap[item.code].style + }) + } else { + newContentList.push({ + type: item.type, + content: item.code, + imageClass: item.value + }) + } + lastTextIndex = item.idx + item.code.length + }) + const lastText = content.substring(lastTextIndex) + if (lastText) { + newContentList.push({ + type: 1, + content: lastText + }) + } + return newContentList + } + exports.parseEmoji = parseEmoji + /***/ }) + /** *** */ ])) diff --git a/yunbainian/etms_wechat_mini/components/emoji/emoji.json b/yunbainian/etms_wechat_mini/components/emoji/emoji.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/emoji/emoji.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/emoji/emoji.wxml b/yunbainian/etms_wechat_mini/components/emoji/emoji.wxml new file mode 100644 index 0000000..e293f9d --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/emoji/emoji.wxml @@ -0,0 +1,30 @@ + + + + + + 所有表情{{emotions.length}} + + + + + + + + + + + + 发送 + + \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/emoji/emoji.wxss b/yunbainian/etms_wechat_mini/components/emoji/emoji.wxss new file mode 100644 index 0000000..c1c5f83 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/emoji/emoji.wxss @@ -0,0 +1,870 @@ +/*!-----The css code below is created by----*/ +.e2_02, +.e2_04, +.e2_05, +.e2_06, +.e2_09, +.e2_11, +.e2_12, +.e2_14, +.smiley_0, +.smiley_1, +.smiley_10, +.smiley_11, +.smiley_12, +.smiley_13, +.smiley_14, +.smiley_15, +.smiley_17, +.smiley_18, +.smiley_19, +.smiley_2, +.smiley_20, +.smiley_21, +.smiley_22, +.smiley_23, +.smiley_25, +.smiley_26, +.smiley_27, +.smiley_28, +.smiley_29, +.smiley_3, +.smiley_30, +.smiley_31, +.smiley_313, +.smiley_314, +.smiley_315, +.smiley_316, +.smiley_317, +.smiley_318, +.smiley_319, +.smiley_32, +.smiley_320, +.smiley_321, +.smiley_322, +.smiley_33, +.smiley_34, +.smiley_36, +.smiley_37, +.smiley_38, +.smiley_39, +.smiley_4, +.smiley_40, +.smiley_41, +.smiley_42, +.smiley_44, +.smiley_45, +.smiley_46, +.smiley_47, +.smiley_48, +.smiley_49, +.smiley_5, +.smiley_50, +.smiley_51, +.smiley_52, +.smiley_54, +.smiley_55, +.smiley_56, +.smiley_57, +.smiley_6, +.smiley_60, +.smiley_61, +.smiley_62, +.smiley_63, +.smiley_64, +.smiley_65, +.smiley_66, +.smiley_67, +.smiley_68, +.smiley_7, +.smiley_70, +.smiley_74, +.smiley_75, +.smiley_76, +.smiley_78, +.smiley_79, +.smiley_8, +.smiley_80, +.smiley_81, +.smiley_82, +.smiley_83, +.smiley_84, +.smiley_85, +.smiley_89, +.smiley_9, +.smiley_92, +.smiley_93, +.smiley_94, +.smiley_95, +.u1F381, +.u1F389, +.u1F47B, +.u1F4AA, +.u1F602, +.u1F604, +.u1F612, +.u1F614, +.u1F61D, +.u1F631, +.u1F633, +.u1F637, +.u1F64F { + display: inline-block; + background-repeat: no-repeat +} + +.e2_02 { + width: 64px; + height: 64px; + background-position: -66px 0 +} + +.e2_04 { + width: 64px; + height: 64px; + background-position: -462px -396px +} + +.e2_05 { + width: 64px; + height: 64px; + background-position: 0 -66px +} + +.e2_06 { + width: 64px; + height: 64px; + background-position: -66px -66px +} + +.e2_09 { + width: 64px; + height: 64px; + background-position: -132px 0 +} + +.e2_11 { + width: 64px; + height: 64px; + background-position: -132px -66px +} + +.e2_12 { + width: 64px; + height: 64px; + background-position: 0 -132px +} + +.e2_14 { + width: 64px; + height: 64px; + background-position: -66px -132px +} + +.smiley_0 { + width: 64px; + height: 64px; + background-position: -132px -132px +} + +.smiley_1 { + width: 63px; + height: 64px; + background-position: -660px -594px +} + +.smiley_10 { + width: 64px; + height: 64px; + background-position: -198px -66px +} + +.smiley_11 { + width: 64px; + height: 64px; + background-position: -198px -132px +} + +.smiley_12 { + width: 64px; + height: 64px; + background-position: 0 -198px +} + +.smiley_13 { + width: 64px; + height: 64px; + background-position: -66px -198px +} + +.smiley_14 { + width: 64px; + height: 64px; + background-position: -132px -198px +} + +.smiley_15 { + width: 64px; + height: 64px; + background-position: -198px -198px +} + +.smiley_17 { + width: 64px; + height: 64px; + background-position: -264px 0 +} + +.smiley_18 { + width: 64px; + height: 64px; + background-position: -264px -66px +} + +.smiley_19 { + width: 64px; + height: 64px; + background-position: -264px -132px +} + +.smiley_2 { + width: 64px; + height: 64px; + background-position: -264px -198px +} + +.smiley_20 { + width: 64px; + height: 64px; + background-position: 0 -264px +} + +.smiley_21 { + width: 64px; + height: 64px; + background-position: -66px -264px +} + +.smiley_22 { + width: 64px; + height: 64px; + background-position: -132px -264px +} + +.smiley_23 { + width: 64px; + height: 64px; + background-position: -198px -264px +} + +.smiley_25 { + width: 64px; + height: 64px; + background-position: -264px -264px +} + +.smiley_26 { + width: 64px; + height: 64px; + background-position: -330px 0 +} + +.smiley_27 { + width: 64px; + height: 64px; + background-position: -330px -66px +} + +.smiley_28 { + width: 64px; + height: 64px; + background-position: -330px -132px +} + +.smiley_29 { + width: 64px; + height: 64px; + background-position: -330px -198px +} + +.smiley_3 { + width: 64px; + height: 64px; + background-position: -330px -264px +} + +.smiley_30 { + width: 64px; + height: 64px; + background-position: 0 -330px +} + +.smiley_31 { + width: 64px; + height: 64px; + background-position: -66px -330px +} + +.smiley_313 { + width: 64px; + height: 64px; + background-position: -132px -330px +} + +.smiley_314 { + width: 64px; + height: 64px; + background-position: -198px -330px +} + +.smiley_315 { + width: 64px; + height: 64px; + background-position: -264px -330px +} + +.smiley_316 { + width: 64px; + height: 64px; + background-position: -330px -330px +} + +.smiley_317 { + width: 64px; + height: 64px; + background-position: -396px 0 +} + +.smiley_318 { + width: 64px; + height: 64px; + background-position: -396px -66px +} + +.smiley_319 { + width: 64px; + height: 64px; + background-position: -396px -132px +} + +.smiley_32 { + width: 64px; + height: 64px; + background-position: -396px -198px +} + +.smiley_320 { + width: 64px; + height: 64px; + background-position: -396px -264px +} + +.smiley_321 { + width: 64px; + height: 64px; + background-position: -396px -330px +} + +.smiley_322 { + width: 64px; + height: 64px; + background-position: 0 -396px +} + +.smiley_33 { + width: 64px; + height: 64px; + background-position: -66px -396px +} + +.smiley_34 { + width: 64px; + height: 64px; + background-position: -132px -396px +} + +.smiley_36 { + width: 64px; + height: 64px; + background-position: -198px -396px +} + +.smiley_37 { + width: 64px; + height: 64px; + background-position: -264px -396px +} + +.smiley_38 { + width: 64px; + height: 64px; + background-position: -330px -396px +} + +.smiley_39 { + width: 64px; + height: 64px; + background-position: -396px -396px +} + +.smiley_4 { + width: 64px; + height: 64px; + background-position: -462px 0 +} + +.smiley_40 { + width: 64px; + height: 64px; + background-position: -462px -66px +} + +.smiley_41 { + width: 64px; + height: 64px; + background-position: -462px -132px +} + +.smiley_42 { + width: 64px; + height: 64px; + background-position: -462px -198px +} + +.smiley_44 { + width: 64px; + height: 64px; + background-position: -462px -264px +} + +.smiley_45 { + width: 64px; + height: 64px; + background-position: -462px -330px +} + +.smiley_46 { + width: 64px; + height: 64px; + background-position: 0 0 +} + +.smiley_47 { + width: 64px; + height: 64px; + background-position: 0 -462px +} + +.smiley_48 { + width: 64px; + height: 64px; + background-position: -66px -462px +} + +.smiley_49 { + width: 64px; + height: 64px; + background-position: -132px -462px +} + +.smiley_5 { + width: 64px; + height: 64px; + background-position: -198px -462px +} + +.smiley_50 { + width: 64px; + height: 64px; + background-position: -264px -462px +} + +.smiley_51 { + width: 64px; + height: 64px; + background-position: -330px -462px +} + +.smiley_52 { + width: 64px; + height: 64px; + background-position: -396px -462px +} + +.smiley_54 { + width: 64px; + height: 64px; + background-position: -462px -462px +} + +.smiley_55 { + width: 64px; + height: 64px; + background-position: -528px 0 +} + +.smiley_56 { + width: 64px; + height: 64px; + background-position: -528px -66px +} + +.smiley_57 { + width: 64px; + height: 64px; + background-position: -528px -132px +} + +.smiley_6 { + width: 64px; + height: 64px; + background-position: -528px -198px +} + +.smiley_60 { + width: 64px; + height: 64px; + background-position: -528px -264px +} + +.smiley_61 { + width: 64px; + height: 64px; + background-position: -528px -330px +} + +.smiley_62 { + width: 64px; + height: 64px; + background-position: -528px -396px +} + +.smiley_63 { + width: 64px; + height: 64px; + background-position: -528px -462px +} + +.smiley_64 { + width: 64px; + height: 64px; + background-position: 0 -528px +} + +.smiley_65 { + width: 64px; + height: 64px; + background-position: -66px -528px +} + +.smiley_66 { + width: 64px; + height: 64px; + background-position: -132px -528px +} + +.smiley_67 { + width: 64px; + height: 64px; + background-position: -198px -528px +} + +.smiley_68 { + width: 64px; + height: 64px; + background-position: -264px -528px +} + +.smiley_7 { + width: 64px; + height: 64px; + background-position: -330px -528px +} + +.smiley_70 { + width: 64px; + height: 64px; + background-position: -396px -528px +} + +.smiley_74 { + width: 64px; + height: 64px; + background-position: -462px -528px +} + +.smiley_75 { + width: 64px; + height: 64px; + background-position: -528px -528px +} + +.smiley_76 { + width: 64px; + height: 64px; + background-position: -594px 0 +} + +.smiley_78 { + width: 64px; + height: 64px; + background-position: -594px -66px +} + +.smiley_79 { + width: 64px; + height: 64px; + background-position: -594px -132px +} + +.smiley_8 { + width: 64px; + height: 64px; + background-position: -594px -198px +} + +.smiley_80 { + width: 64px; + height: 64px; + background-position: -594px -264px +} + +.smiley_81 { + width: 64px; + height: 64px; + background-position: -594px -330px +} + +.smiley_82 { + width: 64px; + height: 64px; + background-position: -594px -396px +} + +.smiley_83 { + width: 64px; + height: 64px; + background-position: -594px -462px +} + +.smiley_84 { + width: 64px; + height: 64px; + background-position: -594px -528px +} + +.smiley_85 { + width: 64px; + height: 64px; + background-position: 0 -594px +} + +.smiley_89 { + width: 64px; + height: 64px; + background-position: -66px -594px +} + +.smiley_9 { + width: 64px; + height: 64px; + background-position: -132px -594px +} + +.smiley_92 { + width: 64px; + height: 64px; + background-position: -198px -594px +} + +.smiley_93 { + width: 64px; + height: 64px; + background-position: -264px -594px +} + +.smiley_94 { + width: 64px; + height: 64px; + background-position: -330px -594px +} + +.smiley_95 { + width: 64px; + height: 64px; + background-position: -396px -594px +} + +.u1F381 { + width: 64px; + height: 64px; + background-position: -462px -594px +} + +.u1F389 { + width: 64px; + height: 64px; + background-position: -528px -594px +} + +.u1F47B { + width: 64px; + height: 64px; + background-position: -594px -594px +} + +.u1F4AA { + width: 64px; + height: 64px; + background-position: -660px 0 +} + +.u1F602 { + width: 64px; + height: 64px; + background-position: -660px -66px +} + +.u1F604 { + width: 64px; + height: 64px; + background-position: -660px -132px +} + +.u1F612 { + width: 64px; + height: 64px; + background-position: -660px -198px +} + +.u1F614 { + width: 64px; + height: 64px; + background-position: -660px -264px +} + +.u1F61D { + width: 64px; + height: 64px; + background-position: -660px -330px +} + +.u1F631 { + width: 64px; + height: 64px; + background-position: -660px -396px +} + +.u1F633 { + width: 64px; + height: 64px; + background-position: -660px -462px +} + +.u1F637 { + width: 64px; + height: 64px; + background-position: -198px 0 +} + +.u1F64F { + width: 64px; + height: 64px; + background-position: -660px -528px +} + +.weui-emotion_list { + padding: 0 10px; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + width: 100%; + height: 100%; + -webkit-box-sizing: border-box; + box-sizing: border-box; + white-space: normal; + font-size: 0; + padding-bottom: constant(safe-area-inset-bottom); + padding-bottom: env(safe-area-inset-bottom); +} + +.weui-emotion_item { + display: inline-block; + position: relative; + width: 40px; + height: 40px; + padding-bottom: 5px; + line-height: 40px +} + +.weui-icon_emotion { + position: absolute; + top: 4px; + left: 4px; + display: inline-block; + transform-origin: 0 0; + transform: scale(.5) +} + +.weui-emotion_head { + margin: 14px 5px 8px; + color: var(--weui-FG-0); + font-size: 14px; + text-align: left +} + + +.weui-emoji_area { + position: relative; + width: 100%; + background: var(--weui-BG-0) + +} + +.weui-emoji_area__has-safe-bottom { + padding-bottom: 34px +} + +.weui-emotion_del_btn { + display: inline-block; + width: 24px; + height: 24px; + position: absolute; + left: 50%; + top: 50%; + transform: translate(-50%, -50%) +} + +.weui-emoji__operation { + position: absolute; + bottom: 34px; + right: 12px; + width: 120px; + height: 44px; + display: flex; + align-items: center; + justify-content: flex-end +} + +.weui-emoji__operation__delete, +.weui-emoji__operation__send { + display: inline-block; + width: 56px; + height: 44px; + line-height: 44px; + text-align: center; + border-radius: 4px; + font-size: 16px +} + +.weui-emoji__operation__delete { + position: relative; + font-size: 0; + background-color: var(--weui-BG-3) +} + + +.weui-emoji__operation__send { + margin-left: 8px; + background-color: #04C160; + color: rgba(255, 255, 255, 0.9) +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/emoji/icon_emotion_del.png b/yunbainian/etms_wechat_mini/components/emoji/icon_emotion_del.png new file mode 100644 index 0000000000000000000000000000000000000000..05f36021c151792cd102255114ed935e2768256d GIT binary patch literal 869 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I3?%1nZ+ru!4g~mwxB}^78i1cafBydcyScd; zX!iH--zQ9%uwlc7$B!R(cXzK_x9-)eS6{w-dGX@KlP6DBuU@@!<;rEtmhIfRv$wbR z*|TQ{4<5XG_wLc7M<-31^x?yYH*elNc<|uTrArqtUOaQ=%-+3wuU@^ncJ12v^XH#C zckV>1ks{C!vL!)&!3@7S&K>pq`tIe`EpsR3TdUlj(bu9c$+D`#aG?>e!6AP;1_mZ` zPZ!6Kh{JEEMTajo5NU0^RK0rJ)^ird>>S^x-MaMKckciH>z^#*G_jnxRNt}hR(>Vs=9n=>AlkTOUr6E$K>+H2&}ofuI;9L+cnLfZhFizvYr>L>`vNE zj61pGvgrByg_j^X zVY|0HO{x8y*PJi4?ZQ3L>>7e=&ge8cs69$wuietHRzaB~cb3E7vJRmyi|?FKI`GwK zvj2+v#TTXSnBC#t9q6H;f2Cg_W2-7djN65l6%WLPdt@4Ajo4Nl6*=I*aV+b^pQUGQ zVnzOH9L(TLV)78a@khfkcfNE5Q?t!eMt>F+mbJ2O4r$MJr@1&4h%2+KoUi(TO4{ffVE+K?2GbH-CRPpr<&V=DXC)SJ2QlWD@Qrw*D-Cmu?Oh1=QK z2?z2i&skcCCgaT+aUU>n&s5~Z#%6V|5ZQd zs$AhS!9?Pam}-L;%a)@LxjmP#=!Ch>I-4jGuJnPOYtg=4>jIeL>jMn_UNwJybsB?~ vkp9|6wYSsSw}v@i%i))sx_aHO$SP*LST@HWY!_{SX^p|t)z4*}Q$iB}o9CXf literal 0 HcmV?d00001 diff --git a/yunbainian/etms_wechat_mini/components/form-page/form-page.js b/yunbainian/etms_wechat_mini/components/form-page/form-page.js new file mode 100644 index 0000000..af755e5 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/form-page/form-page.js @@ -0,0 +1,125 @@ +module.exports = +/** *** */ (function (modules) { // webpackBootstrap + /** *** */ // The module cache + /** *** */ const installedModules = {} + /** *** */ + /** *** */ // The require function + /** *** */ function __webpack_require__(moduleId) { + /** *** */ + /** *** */ // Check if module is in cache + /** *** */ if (installedModules[moduleId]) { + /** *** */ return installedModules[moduleId].exports + /** *** */ } + /** *** */ // Create a new module (and put it into the cache) + /** *** */ const module = installedModules[moduleId] = { + /** *** */ i: moduleId, + /** *** */ l: false, + /** *** */ exports: {} + /** *** */} + /** *** */ + /** *** */ // Execute the module function + /** *** */ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__) + /** *** */ + /** *** */ // Flag the module as loaded + /** *** */ module.l = true + /** *** */ + /** *** */ // Return the exports of the module + /** *** */ return module.exports + /** *** */ } + /** *** */ + /** *** */ + /** *** */ // expose the modules object (__webpack_modules__) + /** *** */ __webpack_require__.m = modules + /** *** */ + /** *** */ // expose the module cache + /** *** */ __webpack_require__.c = installedModules + /** *** */ + /** *** */ // define getter function for harmony exports + /** *** */ __webpack_require__.d = function (exports, name, getter) { + /** *** */ if (!__webpack_require__.o(exports, name)) { + /** *** */ Object.defineProperty(exports, name, {enumerable: true, get: getter}) + /** *** */ } + /** *** */ } + /** *** */ + /** *** */ // define __esModule on exports + /** *** */ __webpack_require__.r = function (exports) { + /** *** */ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { + /** *** */ Object.defineProperty(exports, Symbol.toStringTag, {value: 'Module'}) + /** *** */ } + /** *** */ Object.defineProperty(exports, '__esModule', {value: true}) + /** *** */ } + /** *** */ + /** *** */ // create a fake namespace object + /** *** */ // mode & 1: value is a module id, require it + /** *** */ // mode & 2: merge all properties of value into the ns + /** *** */ // mode & 4: return value when already ns object + /** *** */ // mode & 8|1: behave like require + /** *** */ __webpack_require__.t = function (value, mode) { + /** *** */ if (mode & 1) value = __webpack_require__(value) + /** *** */ if (mode & 8) return value + /** *** */ if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value + /** *** */ const ns = Object.create(null) + /** *** */ __webpack_require__.r(ns) + /** *** */ Object.defineProperty(ns, 'default', {enumerable: true, value}) + /** *** */ if (mode & 2 && typeof value !== 'string') for (const key in value) __webpack_require__.d(ns, key, function (key) { return value[key] }.bind(null, key)) + /** *** */ return ns + /** *** */ } + /** *** */ + /** *** */ // getDefaultExport function for compatibility with non-harmony modules + /** *** */ __webpack_require__.n = function (module) { + /** *** */ const getter = module && module.__esModule + /** *** */ ? function getDefault() { return module.default } + /** *** */ : function getModuleExports() { return module } + /** *** */ __webpack_require__.d(getter, 'a', getter) + /** *** */ return getter + /** *** */ } + /** *** */ + /** *** */ // Object.prototype.hasOwnProperty.call + /** *** */ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property) } + /** *** */ + /** *** */ // __webpack_public_path__ + /** *** */ __webpack_require__.p = '' + /** *** */ + /** *** */ + /** *** */ // Load entry module and return exports + /** *** */ return __webpack_require__(__webpack_require__.s = 2) + /** *** */ }({ + + /***/ 2: + /***/ (function (module, exports, __webpack_require__) { + Component({ + options: { + addGlobalClass: true, + multipleSlots: true + }, + properties: { + title: { + type: String, + value: '' + }, + subtitle: { + type: String, + value: '' + } + }, + relations: { + '../cells/cells': { + type: 'descendant', + linked(target) { + if (!this.data.firstItem) { + this.data.firstItem = target + } + target.setOuterClass('weui-cells__group weui-cells__group_form weui-cells_form') + if (target !== this.data.firstItem) { + target.setOuterClass('weui-cells__group_wxss weui-cells__group weui-cells__group_form weui-cells_form') + } + } + } + }, + data: { + firstItem: null + } + }) + /***/ }) + + /** *** */})) diff --git a/yunbainian/etms_wechat_mini/components/form-page/form-page.json b/yunbainian/etms_wechat_mini/components/form-page/form-page.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/form-page/form-page.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/form-page/form-page.wxml b/yunbainian/etms_wechat_mini/components/form-page/form-page.wxml new file mode 100644 index 0000000..b459fa6 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/form-page/form-page.wxml @@ -0,0 +1,31 @@ + + + + {{title}} + {{subtitle}} + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/yunbainian/etms_wechat_mini/components/form-page/form-page.wxss b/yunbainian/etms_wechat_mini/components/form-page/form-page.wxss new file mode 100644 index 0000000..e69de29 diff --git a/yunbainian/etms_wechat_mini/components/form/form.js b/yunbainian/etms_wechat_mini/components/form/form.js new file mode 100644 index 0000000..206fb2d --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/form/form.js @@ -0,0 +1,564 @@ +module.exports = +/** *** */ (function (modules) { // webpackBootstrap + /** *** */ // The module cache + /** *** */ const installedModules = {} + /** *** */ + /** *** */ // The require function + /** *** */ function __webpack_require__(moduleId) { + /** *** */ + /** *** */ // Check if module is in cache + /** *** */ if (installedModules[moduleId]) { + /** *** */ return installedModules[moduleId].exports + /** *** */ } + /** *** */ // Create a new module (and put it into the cache) + /** *** */ const module = installedModules[moduleId] = { + /** *** */ i: moduleId, + /** *** */ l: false, + /** *** */ exports: {} + /** *** */} + /** *** */ + /** *** */ // Execute the module function + /** *** */ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__) + /** *** */ + /** *** */ // Flag the module as loaded + /** *** */ module.l = true + /** *** */ + /** *** */ // Return the exports of the module + /** *** */ return module.exports + /** *** */ } + /** *** */ + /** *** */ + /** *** */ // expose the modules object (__webpack_modules__) + /** *** */ __webpack_require__.m = modules + /** *** */ + /** *** */ // expose the module cache + /** *** */ __webpack_require__.c = installedModules + /** *** */ + /** *** */ // define getter function for harmony exports + /** *** */ __webpack_require__.d = function (exports, name, getter) { + /** *** */ if (!__webpack_require__.o(exports, name)) { + /** *** */ Object.defineProperty(exports, name, {enumerable: true, get: getter}) + /** *** */ } + /** *** */ } + /** *** */ + /** *** */ // define __esModule on exports + /** *** */ __webpack_require__.r = function (exports) { + /** *** */ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { + /** *** */ Object.defineProperty(exports, Symbol.toStringTag, {value: 'Module'}) + /** *** */ } + /** *** */ Object.defineProperty(exports, '__esModule', {value: true}) + /** *** */ } + /** *** */ + /** *** */ // create a fake namespace object + /** *** */ // mode & 1: value is a module id, require it + /** *** */ // mode & 2: merge all properties of value into the ns + /** *** */ // mode & 4: return value when already ns object + /** *** */ // mode & 8|1: behave like require + /** *** */ __webpack_require__.t = function (value, mode) { + /** *** */ if (mode & 1) value = __webpack_require__(value) + /** *** */ if (mode & 8) return value + /** *** */ if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value + /** *** */ const ns = Object.create(null) + /** *** */ __webpack_require__.r(ns) + /** *** */ Object.defineProperty(ns, 'default', {enumerable: true, value}) + /** *** */ if (mode & 2 && typeof value !== 'string') for (const key in value) __webpack_require__.d(ns, key, function (key) { return value[key] }.bind(null, key)) + /** *** */ return ns + /** *** */ } + /** *** */ + /** *** */ // getDefaultExport function for compatibility with non-harmony modules + /** *** */ __webpack_require__.n = function (module) { + /** *** */ const getter = module && module.__esModule + /** *** */ ? function getDefault() { return module.default } + /** *** */ : function getModuleExports() { return module } + /** *** */ __webpack_require__.d(getter, 'a', getter) + /** *** */ return getter + /** *** */ } + /** *** */ + /** *** */ // Object.prototype.hasOwnProperty.call + /** *** */ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property) } + /** *** */ + /** *** */ // __webpack_public_path__ + /** *** */ __webpack_require__.p = '' + /** *** */ + /** *** */ + /** *** */ // Load entry module and return exports + /** *** */ return __webpack_require__(__webpack_require__.s = 4) + /** *** */ }([ + /* 0 */ + /***/ (function (module, exports, __webpack_require__) { + Object.defineProperty(exports, '__esModule', {value: true}) + exports.diff = function (old, newVal) { + if (!old && newVal || old && !newVal) return true + for (const k in newVal) { + if (old[k] !== newVal[k]) return true + } + for (const _k in old) { + if (old[_k] !== newVal[_k]) return true + } + return false + } + exports.diffObject = function (old, newVal) { + if (!old && newVal) return newVal + if (!newVal && old) return old + const diffObj = {} + let isDiff = false + for (const k in newVal) { + if (old[k] !== newVal[k]) { + isDiff = true + diffObj[k] = newVal[k] + } + } + for (const _k2 in old) { + if (old[_k2] !== newVal[_k2]) { + isDiff = true + diffObj[_k2] = newVal[_k2] + } + } + return isDiff ? diffObj : null + } + /***/ }), + /* 1 */, + /* 2 */, + /* 3 */, + /* 4 */ + /***/ (function (module, exports, __webpack_require__) { + Object.defineProperty(exports, '__esModule', {value: true}) + const form_validator_1 = __webpack_require__(5) + const object_1 = __webpack_require__(0) + function linked(target) { + if (target.data.prop) { + this.data.formItems[target.data.prop] = target + } + if (target.setInForm) { + target.setInForm() + } + if (!this.data.firstItem) { + this.data.firstItem = target + } + if (target !== this.data.firstItem) {} + } + function unlinked(target) { + if (target.data.prop) { + delete this.data.formItems[target.data.prop] + } + } + Component({ + properties: { + models: { + type: Object, + value: {}, + observer: '_modelChange' + }, + rules: { + type: Array, + value: [], + observer: '_rulesChange' + }, + extClass: { + type: String, + value: '' + } + }, + data: { + errors: {}, + formItems: {}, + firstItem: null + }, + relations: { + '../cell/cell': { + type: 'descendant', + linked, + unlinked + }, + '../checkbox-group/checkbox-group': { + type: 'descendant', + linked, + unlinked + } + }, + attached: function attached() { + this.initRules() + this.formValidator = new form_validator_1.default(this.data.models, this.data.newRules) + }, + + methods: { + initRules: function initRules(rules) { + const newRules = {}; + (rules || this.data.rules).forEach(function (rule) { + if (rule.name && rule.rules) { + newRules[rule.name] = rule.rules || [] + } + }) + this.setData({newRules}) + return newRules + }, + _modelChange: function _modelChange(newVal, oldVal, path) { + const _this = this + + if (!this.isInit) { + this.isInit = true + return newVal + } + this.formValidator.setModel(newVal) + this.isInit = true + const diffObj = object_1.diffObject(oldVal, newVal) + if (diffObj) { + (function () { + let isValid = true + const errors = [] + const errorMap = {} + + const _loop = function _loop(k) { + _this.formValidator.validateField(k, diffObj[k], function (isValided, error) { + if (error && error[k]) { + errors.push(error[k]) + errorMap[k] = error[k] + } + isValid = isValided + }) + } + + for (const k in diffObj) { + _loop(k) + } + _this._showErrors(diffObj, errorMap) + _this.triggerEvent(isValid ? 'success' : 'fail', isValid ? {trigger: 'change'} : {errors, trigger: 'change'}) + }()) + } + return newVal + }, + _rulesChange: function _rulesChange(newVal) { + const newRules = this.initRules(newVal) + if (this.formValidator) { + this.formValidator.setRules(newRules) + } + return newVal + }, + _showAllErrors: function _showAllErrors(errors) { + for (const k in this.data.newRules) { + this._showError(k, errors && errors[k]) + } + }, + _showErrors: function _showErrors(objs, errors) { + for (const k in objs) { + this._showError(k, errors && errors[k]) + } + }, + _showError: function _showError(prop, error) { + const formItem = this.data.formItems[prop] + if (formItem && formItem.data.showError) { + formItem.setError(error) + } + }, + validate: function validate(cb) { + const _this2 = this + + return this.formValidator.validate(function (isValid, errors) { + _this2._showAllErrors(errors) + const handleError = _this2.handleErrors(errors) + _this2.triggerEvent(isValid ? 'success' : 'fail', isValid ? {trigger: 'validate'} : {errors: handleError, trigger: 'validate'}) + cb && cb(isValid, handleError) + }) + }, + validateField: function validateField(name, value) { + const _this3 = this + + const cb = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : function (v) { + const error = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null + } + + return this.formValidator.validateField(name, value, function (isValid, errors) { + _this3._showError(name, errors) + const handleError = _this3.handleErrors(errors) + _this3.triggerEvent(isValid ? 'success' : 'fail', isValid ? {trigger: 'validate'} : {errors: handleError, trigger: 'validate'}) + cb && cb(isValid, handleError) + }) + }, + handleErrors: function handleErrors(errors) { + if (errors) { + const newErrors = [] + this.data.rules.forEach(function (rule) { + if (errors[rule.name]) { + errors[rule.name].name = rule.name + newErrors.push(errors[rule.name]) + } + }) + return newErrors + } + return errors + }, + addMethod: function addMethod(ruleName, method) { + return this.formValidator.addMethod(ruleName, method) + } + } + }) + exports.default = form_validator_1.default + /***/ }), + /* 5 */ + /***/ (function (module, exports, __webpack_require__) { + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function') } } + + Object.defineProperty(exports, '__esModule', {value: true}) + const validator_1 = __webpack_require__(6) + const object_1 = __webpack_require__(0) + const toString = Object.prototype.toString + const validateSingleRule = function validateSingleRule(rule, value) { + const param = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null + const models = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null + + let message = '' + for (const ruleKey in rule) { + if (ruleKey === 'name' || ruleKey === 'message') continue + const validateMethod = typeof rule.validator !== 'undefined' ? rule.validator : validator_1.default[ruleKey] + if (typeof validateMethod === 'function') { + message = validateMethod(rule, value, param, models) + if (message) { + return message + } + } + } + return message + } + + const FormValidator = (function () { + function FormValidator(models, rules) { + _classCallCheck(this, FormValidator) + + this.models = models + this.rules = rules + this.errors = {} + } + + FormValidator.prototype.validate = function validate(cb) { + const _this = this + + return new Promise(function (resolve) { + let fieldCount = 0 + let failCount = 0 + const errors = _this.errors + const models = _this.models + let errorChanged = false + + const _loop = function _loop(k) { + (function (fieldName) { + const oldError = errors[fieldName] + _this._innerValidateField(k, models[fieldName], function (valid, newError) { + fieldCount++ + if (!valid) failCount++ + if (object_1.diff(oldError, newError)) { + errors[fieldName] = newError + errorChanged = true + } + }) + }(k)) + } + + for (const k in _this.rules) { + _loop(k) + } + if (errorChanged) {} + const keys = Object.keys(errors) + keys.forEach(function (key) { + if (!errors[key]) delete errors[key] + }) + resolve({isValid: !failCount, errors: failCount ? errors : undefined}) + cb && cb(!failCount, failCount ? errors : undefined) + }) + } + + FormValidator.prototype.validateField = function validateField(name, value) { + const _this2 = this + + const cb = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : function (v) { + const error = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null + } + + return new Promise(function (resolve) { + _this2._innerValidateField(name, value, function (valid, error) { + const errObj = {} + errObj[name] = error + resolve({valid, error: valid ? undefined : error}) + cb(valid, valid ? undefined : errObj) + const oldError = _this2.errors[name] + const errorChanged = object_1.diff(oldError, error) + if (errorChanged) { + if (!error) delete _this2.errors[name] + _this2.errors[name] = error + } + }) + }) + } + + FormValidator.prototype._innerValidateField = function _innerValidateField(name, value) { + let cb = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : function (v) { + const errors = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null + } + + const rules = this.rules[name] + if (!rules) { + console.warn('[form-validtor] rule name ' + name + ' not exists.') + cb(true) + return + } + if (typeof value === 'function') { + cb = value + value = undefined + } + let isFail = false + const models = this.models + if (toString.call(rules) === '[object Array]') { + rules.forEach(function (rule) { + rule.name = name + const resMessage = validateSingleRule(rule, value || models[name], rule.param, models) + if (resMessage && !isFail) { + isFail = true + const error = resMessage ? {message: resMessage, rule} : undefined + cb(false, error) + } + }) + if (!isFail) { + cb(!isFail) + } + } else { + const rule = rules + rule.name = name + const resMessage = validateSingleRule(rule, value || models[name], rule.param, models) + const error = resMessage ? {message: resMessage, rule} : undefined + if (resMessage) { + isFail = true + } + cb(!isFail, error) + } + } + + FormValidator.prototype.addMethod = function addMethod(ruleName, method) { + validator_1.default[ruleName] = method + } + + FormValidator.prototype.setModel = function setModel(newModel) { + this.models = newModel + } + + FormValidator.prototype.setRules = function setRules(newRules) { + this.rules = newRules + } + + return FormValidator + }()) + + exports.default = FormValidator + /***/ }), + /* 6 */ + /***/ (function (module, exports, __webpack_require__) { + Object.defineProperty(exports, '__esModule', {value: true}) + const string_1 = __webpack_require__(7) + const defaultMessage = { + required: '%s必填', + minlength: '长度最少为%s', + maxlength: '长度最大为%s', + rangelength: '长度在%s和%s之间', + bytelength: '最多只能输入%s个字', + min: '值最小为%s', + max: '值最大为%s', + range: '值的范围为%s和%s之间', + mobile: '请输入正确的手机号', + email: '请输入正确的电子邮件', + url: '请输入正确的URL地址', + equalTo: '值和字段%s不相等' + } + exports.default = { + required: function required(r, val, param, models) { + if (r.required === false) return + if (!val) return string_1.sprintf(r.message || defaultMessage.required, r.name) + }, + minlength: function minlength(r, val) { + const minlen = r.minlength + val = val || '' + if (val.length < minlen) return string_1.sprintf(r.message || defaultMessage.minlength, minlen) + }, + maxlength: function maxlength(r, val) { + const maxlen = r.maxlength + val = val || '' + if (val.length > maxlen) return string_1.sprintf(r.message || defaultMessage.maxlength, maxlen) + }, + rangelength: function rangelength(r, val) { + const range = r.range + val = val || '' + if (val.length > range[1] || val.length < range[0]) return string_1.sprintf(r.message || defaultMessage.rangelength, range[0], range[1]) + }, + min: function min(r, val) { + const min = r.min + if (val < min) return string_1.sprintf(r.message || defaultMessage.min, min) + }, + max: function max(r, val) { + const max = r.max + if (val > max) return string_1.sprintf(r.message || defaultMessage.max, max) + }, + range: function range(r, val) { + const range = r.range + if (val < range[0] || val > range[1]) return string_1.sprintf(r.message || defaultMessage.range, range[0], range[1]) + }, + mobile: function mobile(r, val) { + if (r.mobile === false) return + val = val || '' + if (val.length !== 11) return string_1.sprintf(r.message || defaultMessage.mobile) + }, + email: function email(r, value) { + if (r.email === false) return + if (!/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(value)) { + return string_1.sprintf(r.message || defaultMessage.email) + } + }, + url: function url(r, value) { + if (r.url === false) return + if (!/^(https?|s?ftp|weixin):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(value)) { + return r.message || defaultMessage.url + } + }, + equalTo: function equalTo(r, value, param, models) { + const equalTo = r.equalTo + if (value !== models[equalTo]) return string_1.sprintf(r.message || defaultMessage.equalTo, r.name) + }, + bytelength: function bytelength(r, value, param, models) { + param = r.param + const len = value.replace(/[^\x00-\xff]/g, '**').length + if (len > param) return string_1.sprintf(r.message || defaultMessage.bytelength, param) + } + } + /***/ }), + /* 7 */ + /***/ (function (module, exports, __webpack_require__) { + Object.defineProperty(exports, '__esModule', {value: true}) + exports.sprintf = function () { + for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key] + } + + let i = void 0 + let result = args[0] || '' + let para = void 0 + let reg = void 0 + const length = args.length - 1 + if (length < 1) { + return result + } + i = 1 + while (i < length + 1) { + result = result.replace(/%s/, '{#' + i + '#}') + i++ + } + result.replace('%s', '') + i = 1 + while (true) { + para = args[i] + if (para === undefined) { + break + } + reg = new RegExp('{#' + i + '#}', 'g') + result = result.replace(reg, para) + i++ + } + return result + } + /***/ }) + /** *** */ ])) diff --git a/yunbainian/etms_wechat_mini/components/form/form.json b/yunbainian/etms_wechat_mini/components/form/form.json new file mode 100644 index 0000000..7e37c03 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/form/form.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/form/form.wxml b/yunbainian/etms_wechat_mini/components/form/form.wxml new file mode 100644 index 0000000..d58aa4d --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/form/form.wxml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/gallery/gallery.js b/yunbainian/etms_wechat_mini/components/gallery/gallery.js new file mode 100644 index 0000000..fed6027 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/gallery/gallery.js @@ -0,0 +1,176 @@ +module.exports = +/** *** */ (function (modules) { // webpackBootstrap + /** *** */ // The module cache + /** *** */ const installedModules = {} + /** *** */ + /** *** */ // The require function + /** *** */ function __webpack_require__(moduleId) { + /** *** */ + /** *** */ // Check if module is in cache + /** *** */ if (installedModules[moduleId]) { + /** *** */ return installedModules[moduleId].exports + /** *** */ } + /** *** */ // Create a new module (and put it into the cache) + /** *** */ const module = installedModules[moduleId] = { + /** *** */ i: moduleId, + /** *** */ l: false, + /** *** */ exports: {} + /** *** */} + /** *** */ + /** *** */ // Execute the module function + /** *** */ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__) + /** *** */ + /** *** */ // Flag the module as loaded + /** *** */ module.l = true + /** *** */ + /** *** */ // Return the exports of the module + /** *** */ return module.exports + /** *** */ } + /** *** */ + /** *** */ + /** *** */ // expose the modules object (__webpack_modules__) + /** *** */ __webpack_require__.m = modules + /** *** */ + /** *** */ // expose the module cache + /** *** */ __webpack_require__.c = installedModules + /** *** */ + /** *** */ // define getter function for harmony exports + /** *** */ __webpack_require__.d = function (exports, name, getter) { + /** *** */ if (!__webpack_require__.o(exports, name)) { + /** *** */ Object.defineProperty(exports, name, {enumerable: true, get: getter}) + /** *** */ } + /** *** */ } + /** *** */ + /** *** */ // define __esModule on exports + /** *** */ __webpack_require__.r = function (exports) { + /** *** */ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { + /** *** */ Object.defineProperty(exports, Symbol.toStringTag, {value: 'Module'}) + /** *** */ } + /** *** */ Object.defineProperty(exports, '__esModule', {value: true}) + /** *** */ } + /** *** */ + /** *** */ // create a fake namespace object + /** *** */ // mode & 1: value is a module id, require it + /** *** */ // mode & 2: merge all properties of value into the ns + /** *** */ // mode & 4: return value when already ns object + /** *** */ // mode & 8|1: behave like require + /** *** */ __webpack_require__.t = function (value, mode) { + /** *** */ if (mode & 1) value = __webpack_require__(value) + /** *** */ if (mode & 8) return value + /** *** */ if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value + /** *** */ const ns = Object.create(null) + /** *** */ __webpack_require__.r(ns) + /** *** */ Object.defineProperty(ns, 'default', {enumerable: true, value}) + /** *** */ if (mode & 2 && typeof value !== 'string') for (const key in value) __webpack_require__.d(ns, key, function (key) { return value[key] }.bind(null, key)) + /** *** */ return ns + /** *** */ } + /** *** */ + /** *** */ // getDefaultExport function for compatibility with non-harmony modules + /** *** */ __webpack_require__.n = function (module) { + /** *** */ const getter = module && module.__esModule + /** *** */ ? function getDefault() { return module.default } + /** *** */ : function getModuleExports() { return module } + /** *** */ __webpack_require__.d(getter, 'a', getter) + /** *** */ return getter + /** *** */ } + /** *** */ + /** *** */ // Object.prototype.hasOwnProperty.call + /** *** */ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property) } + /** *** */ + /** *** */ // __webpack_public_path__ + /** *** */ __webpack_require__.p = '' + /** *** */ + /** *** */ + /** *** */ // Load entry module and return exports + /** *** */ return __webpack_require__(__webpack_require__.s = 21) + /** *** */ }({ + + /***/ 21: + /***/ (function (module, exports, __webpack_require__) { + Component({ + options: { + addGlobalClass: true + }, + properties: { + imgUrls: { + type: Array, + value: [], + observer: function observer(newVal, oldVal, changedPath) { + this.setData({currentImgs: newVal}) + } + }, + showDelete: { + type: Boolean, + value: true + }, + show: { + type: Boolean, + value: true + }, + current: { + type: Number, + value: 0 + }, + hideOnClick: { + type: Boolean, + value: true + }, + extClass: { + type: Boolean, + value: '' + } + }, + data: { + currentImgs: [] + }, + ready() { + const data = this.data + this.setData({ + currentImgs: data.imgUrls + }) + }, + + methods: { + change(e) { + this.setData({ + current: e.detail.current + }) + this.triggerEvent('change', { + current: e.detail.current + }, {}) + }, + deleteImg() { + const data = this.data + const imgs = data.currentImgs + const url = imgs.splice(data.current, 1) + this.triggerEvent('delete', { + url: url[0], + index: data.current + }, {}) + + if (imgs.length === 0) { + // @ts-ignore + this.hideGallery() + return + } + + this.setData({ + current: 0, + currentImgs: imgs + }) + }, + hideGallery() { + const data = this.data + + if (data.hideOnClick) { + this.setData({ + show: false + }) + this.triggerEvent('hide', {}, {}) + } + } + } + }) + /***/ }) + + /** *** */})) diff --git a/yunbainian/etms_wechat_mini/components/gallery/gallery.json b/yunbainian/etms_wechat_mini/components/gallery/gallery.json new file mode 100644 index 0000000..7e37c03 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/gallery/gallery.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/gallery/gallery.wxml b/yunbainian/etms_wechat_mini/components/gallery/gallery.wxml new file mode 100644 index 0000000..c2b2086 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/gallery/gallery.wxml @@ -0,0 +1,13 @@ + + {{current+1}}/{{currentImgs.length}} + + + + + + + + + 删除 + + diff --git a/yunbainian/etms_wechat_mini/components/gallery/gallery.wxss b/yunbainian/etms_wechat_mini/components/gallery/gallery.wxss new file mode 100644 index 0000000..c6010c5 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/gallery/gallery.wxss @@ -0,0 +1 @@ +.weui-gallery{display:none}.weui-gallery_show.weui-gallery{display:flex} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/grids/grids.js b/yunbainian/etms_wechat_mini/components/grids/grids.js new file mode 100644 index 0000000..760f276 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/grids/grids.js @@ -0,0 +1,145 @@ + +/** *** */ (function (modules) { // webpackBootstrap +/** *** */ // The module cache +/** *** */ const installedModules = {} + /** *** */ + /** *** */ // The require function + /** *** */ function __webpack_require__(moduleId) { + /** *** */ + /** *** */ // Check if module is in cache + /** *** */ if (installedModules[moduleId]) { + /** *** */ return installedModules[moduleId].exports + /** *** */ } + /** *** */ // Create a new module (and put it into the cache) + /** *** */ const module = installedModules[moduleId] = { + /** *** */ i: moduleId, + /** *** */ l: false, + /** *** */ exports: {} + /** *** */} + /** *** */ + /** *** */ // Execute the module function + /** *** */ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__) + /** *** */ + /** *** */ // Flag the module as loaded + /** *** */ module.l = true + /** *** */ + /** *** */ // Return the exports of the module + /** *** */ return module.exports + /** *** */ } + /** *** */ + /** *** */ + /** *** */ // expose the modules object (__webpack_modules__) + /** *** */ __webpack_require__.m = modules + /** *** */ + /** *** */ // expose the module cache + /** *** */ __webpack_require__.c = installedModules + /** *** */ + /** *** */ // define getter function for harmony exports + /** *** */ __webpack_require__.d = function (exports, name, getter) { + /** *** */ if (!__webpack_require__.o(exports, name)) { + /** *** */ Object.defineProperty(exports, name, {enumerable: true, get: getter}) + /** *** */ } + /** *** */ } + /** *** */ + /** *** */ // define __esModule on exports + /** *** */ __webpack_require__.r = function (exports) { + /** *** */ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { + /** *** */ Object.defineProperty(exports, Symbol.toStringTag, {value: 'Module'}) + /** *** */ } + /** *** */ Object.defineProperty(exports, '__esModule', {value: true}) + /** *** */ } + /** *** */ + /** *** */ // create a fake namespace object + /** *** */ // mode & 1: value is a module id, require it + /** *** */ // mode & 2: merge all properties of value into the ns + /** *** */ // mode & 4: return value when already ns object + /** *** */ // mode & 8|1: behave like require + /** *** */ __webpack_require__.t = function (value, mode) { + /** *** */ if (mode & 1) value = __webpack_require__(value) + /** *** */ if (mode & 8) return value + /** *** */ if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value + /** *** */ const ns = Object.create(null) + /** *** */ __webpack_require__.r(ns) + /** *** */ Object.defineProperty(ns, 'default', {enumerable: true, value}) + /** *** */ if (mode & 2 && typeof value !== 'string') for (const key in value) __webpack_require__.d(ns, key, function (key) { return value[key] }.bind(null, key)) + /** *** */ return ns + /** *** */ } + /** *** */ + /** *** */ // getDefaultExport function for compatibility with non-harmony modules + /** *** */ __webpack_require__.n = function (module) { + /** *** */ const getter = module && module.__esModule + /** *** */ ? function getDefault() { return module.default } + /** *** */ : function getModuleExports() { return module } + /** *** */ __webpack_require__.d(getter, 'a', getter) + /** *** */ return getter + /** *** */ } + /** *** */ + /** *** */ // Object.prototype.hasOwnProperty.call + /** *** */ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property) } + /** *** */ + /** *** */ // __webpack_public_path__ + /** *** */ __webpack_require__.p = '' + /** *** */ + /** *** */ + /** *** */ // Load entry module and return exports + /** *** */ return __webpack_require__(__webpack_require__.s = 23) +/** *** */ }({ + + /***/ 23: + /***/ (function (module, exports, __webpack_require__) { + Component({ + options: { + addGlobalClass: true, + pureDataPattern: /^_/ + }, + properties: { + extClass: { + type: String, + value: '' + }, + grids: { + type: Array, + value: [], + } + }, + data: { + innerGrids: [], + _defaultGridProps: { + target: 'self', + url: '', + openType: 'navigate', + delta: 1, + appId: '', + path: '', + extraData: '', + version: 'release', + hoverClass: 'navigator-hover', + hoverStopPropagation: false, + hoverStartTime: 50, + hoverStayTime: 600, + + bindsuccess() {}, + + bindfail() {}, + + bindcomplete() {} + + } + }, + + ready() {}, + + lifetimes: { + attached() { + if (this.data.grids) { + this.setData({ + innerGrids: this.data.grids.map(grid => Object.assign({}, this.data._defaultGridProps, grid)) + }) + } + } + + } + }) + /***/ }) + +/** *** */})) diff --git a/yunbainian/etms_wechat_mini/components/grids/grids.json b/yunbainian/etms_wechat_mini/components/grids/grids.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/grids/grids.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/grids/grids.wxml b/yunbainian/etms_wechat_mini/components/grids/grids.wxml new file mode 100644 index 0000000..277f3a8 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/grids/grids.wxml @@ -0,0 +1,26 @@ + + + + + + + {{item.text}} + + + \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/grids/grids.wxss b/yunbainian/etms_wechat_mini/components/grids/grids.wxss new file mode 100644 index 0000000..9896a21 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/grids/grids.wxss @@ -0,0 +1 @@ +.weui-grid .weui-grid__icon_img{width:100%;height:100%} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/icon/icon.js b/yunbainian/etms_wechat_mini/components/icon/icon.js new file mode 100644 index 0000000..76e92cf --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/icon/icon.js @@ -0,0 +1,289 @@ +module.exports = +/** *** */ (function (modules) { // webpackBootstrap + /** *** */ // The module cache + /** *** */ const installedModules = {} + /** *** */ + /** *** */ // The require function + /** *** */ function __webpack_require__(moduleId) { + /** *** */ + /** *** */ // Check if module is in cache + /** *** */ if (installedModules[moduleId]) { + /** *** */ return installedModules[moduleId].exports + /** *** */ } + /** *** */ // Create a new module (and put it into the cache) + /** *** */ const module = installedModules[moduleId] = { + /** *** */ i: moduleId, + /** *** */ l: false, + /** *** */ exports: {} + /** *** */} + /** *** */ + /** *** */ // Execute the module function + /** *** */ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__) + /** *** */ + /** *** */ // Flag the module as loaded + /** *** */ module.l = true + /** *** */ + /** *** */ // Return the exports of the module + /** *** */ return module.exports + /** *** */ } + /** *** */ + /** *** */ + /** *** */ // expose the modules object (__webpack_modules__) + /** *** */ __webpack_require__.m = modules + /** *** */ + /** *** */ // expose the module cache + /** *** */ __webpack_require__.c = installedModules + /** *** */ + /** *** */ // define getter function for harmony exports + /** *** */ __webpack_require__.d = function (exports, name, getter) { + /** *** */ if (!__webpack_require__.o(exports, name)) { + /** *** */ Object.defineProperty(exports, name, {enumerable: true, get: getter}) + /** *** */ } + /** *** */ } + /** *** */ + /** *** */ // define __esModule on exports + /** *** */ __webpack_require__.r = function (exports) { + /** *** */ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { + /** *** */ Object.defineProperty(exports, Symbol.toStringTag, {value: 'Module'}) + /** *** */ } + /** *** */ Object.defineProperty(exports, '__esModule', {value: true}) + /** *** */ } + /** *** */ + /** *** */ // create a fake namespace object + /** *** */ // mode & 1: value is a module id, require it + /** *** */ // mode & 2: merge all properties of value into the ns + /** *** */ // mode & 4: return value when already ns object + /** *** */ // mode & 8|1: behave like require + /** *** */ __webpack_require__.t = function (value, mode) { + /** *** */ if (mode & 1) value = __webpack_require__(value) + /** *** */ if (mode & 8) return value + /** *** */ if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value + /** *** */ const ns = Object.create(null) + /** *** */ __webpack_require__.r(ns) + /** *** */ Object.defineProperty(ns, 'default', {enumerable: true, value}) + /** *** */ if (mode & 2 && typeof value !== 'string') for (const key in value) __webpack_require__.d(ns, key, function (key) { return value[key] }.bind(null, key)) + /** *** */ return ns + /** *** */ } + /** *** */ + /** *** */ // getDefaultExport function for compatibility with non-harmony modules + /** *** */ __webpack_require__.n = function (module) { + /** *** */ const getter = module && module.__esModule + /** *** */ ? function getDefault() { return module.default } + /** *** */ : function getModuleExports() { return module } + /** *** */ __webpack_require__.d(getter, 'a', getter) + /** *** */ return getter + /** *** */ } + /** *** */ + /** *** */ // Object.prototype.hasOwnProperty.call + /** *** */ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property) } + /** *** */ + /** *** */ // __webpack_public_path__ + /** *** */ __webpack_require__.p = '' + /** *** */ + /** *** */ + /** *** */ // Load entry module and return exports + /** *** */ return __webpack_require__(__webpack_require__.s = 10) + /** *** */ }({ + + /***/ 10: + /***/ (function (module, exports, __webpack_require__) { + const _base = _interopRequireDefault(__webpack_require__(11)) + + const _icondata = _interopRequireDefault(__webpack_require__(12)) + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {default: obj} } + + const getFixedIconType = function (type) { + // 兼容旧版本 typo + return type === 'field' ? 'filled' : type + } + + Component({ + options: { + addGlobalClass: true + }, + properties: { + extClass: { + type: String, + value: '' + }, + type: { + type: String, + value: 'outline', + observer: '_genSrcByType' + }, + icon: { + type: String, + value: '', + observer: '_genSrcByIcon' + }, + size: { + type: Number, + value: 20 + }, + color: { + type: String, + value: '#000000' + } + }, + data: { + src: '', + height: 20, + width: 20 + }, + methods: { + _genSrcByIcon(v) { + this._genSrc(_icondata.default[v][getFixedIconType(this.data.type)]) + }, + + _genSrcByType(v) { + this._genSrc(_icondata.default[this.data.icon][getFixedIconType(v)]) + }, + _genSrc(rawData) { + if (!rawData) return // type 不存在 + + const base64 = _base.default.encode(rawData) + + this.setData({ + src: 'data:image/svg+xml;base64,' + base64 + }) + } + } + }) + /***/ }), + + /***/ 11: + /***/ (function (module, exports, __webpack_require__) { + Object.defineProperty(exports, '__esModule', {value: true}) + const b64chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/' + const cb_encode = function cb_encode(ccc) { + const padlen = [0, 2, 1][ccc.length % 3] + const ord = ccc.charCodeAt(0) << 16 | (ccc.length > 1 ? ccc.charCodeAt(1) : 0) << 8 | (ccc.length > 2 ? ccc.charCodeAt(2) : 0) + const chars = [b64chars.charAt(ord >>> 18), b64chars.charAt(ord >>> 12 & 63), padlen >= 2 ? '=' : b64chars.charAt(ord >>> 6 & 63), padlen >= 1 ? '=' : b64chars.charAt(ord & 63)] + return chars.join('') + } + const btoa = global.btoa ? function (b) { + return global.btoa(b) + } : function (b) { + return b.replace(/[\s\S]{1,3}/g, cb_encode) + } + const fromCharCode = String.fromCharCode + const cb_utob = function cb_utob(c) { + let cc + if (c.length < 2) { + cc = c.charCodeAt(0) + return cc < 0x80 ? c : cc < 0x800 ? fromCharCode(0xc0 | cc >>> 6) + fromCharCode(0x80 | cc & 0x3f) : fromCharCode(0xe0 | cc >>> 12 & 0x0f) + fromCharCode(0x80 | cc >>> 6 & 0x3f) + fromCharCode(0x80 | cc & 0x3f) + } else { + cc = 0x10000 + (c.charCodeAt(0) - 0xD800) * 0x400 + (c.charCodeAt(1) - 0xDC00) + return fromCharCode(0xf0 | cc >>> 18 & 0x07) + fromCharCode(0x80 | cc >>> 12 & 0x3f) + fromCharCode(0x80 | cc >>> 6 & 0x3f) + fromCharCode(0x80 | cc & 0x3f) + } + } + const re_utob = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g + const utob = function utob(u) { + return u.replace(re_utob, cb_utob) + } + const _encode = function _encode(u) { + const isUint8Array = Object.prototype.toString.call(u) === '[object Uint8Array]' + return isUint8Array ? u.toString('base64') : btoa(utob(String(u))) + } + const encode = function encode(u) { + const urisafe = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false + + return !urisafe ? _encode(u) : _encode(String(u)).replace(/[+\/]/g, function (m0) { + return m0 == '+' ? '-' : '_' + }).replace(/[=]/g, '') + } + exports.default = { + encode + } + /***/ }), + + /***/ 12: + /***/ (function (module, exports, __webpack_require__) { + Object.defineProperty(exports, '__esModule', {value: true}) + exports.default = { + 'add-friends': {outline: '3.Icons/Outlined/add-friendsCreated with Sketch. ', field: ' 3.Icons/Filled/add-friends Created with Sketch. '}, + add: {outline: ' 3.Icons/Outlined/add Created with Sketch. ', field: ' 3.Icons/Filled/add Created with Sketch. '}, + add2: {outline: ' 3.Icons/Outlined/add2 Created with Sketch. ', field: ' 3.Icons/Filled/add2 Created with Sketch. '}, + album: {outline: ' 3.Icons/Outlined/album Created with Sketch. ', field: ' 3.Icons/Filled/album Created with Sketch. '}, + arrow: {outline: ' 3.Icons/Outlined/arrow Created with Sketch. ', field: ' 3.Icons/Filled/arrow Created with Sketch. '}, + at: {outline: ' 3.Icons/Outlined/at Created with Sketch. ', field: ' 3.Icons/Filled/at Created with Sketch. '}, + back: {outline: ' 3.Icons/Outlined/back Created with Sketch. ', field: ' 3.Icons/Filled/back Created with Sketch. '}, + back2: {outline: ' 3.Icons/Outlined/back2 Created with Sketch. ', field: ' 3.Icons/Filled/back2 Created with Sketch. '}, + 'bellring-off': {outline: ' 3.Icons/Outlined/bellring_off Created with Sketch. ', field: ' 3.Icons/Filled/bell-ring_off Created with Sketch. '}, + 'bellring-on': {outline: ' 3.Icons/Outlined/bellring_on Created with Sketch. ', field: ' 3.Icons/Filled/bell-ring_on Created with Sketch. '}, + camera: {outline: ' 3.Icons/Outlined/camera Created with Sketch. ', field: ' 3.Icons/Filled/camera Created with Sketch. '}, + cellphone: {outline: ' 3.Icons/Outlined/cellphone Created with Sketch. ', field: ' 3.Icons/Filled/cellphone Created with Sketch. '}, + clip: {outline: ' 3.Icons/Outlined/clip Created with Sketch. ', field: ' 3.Icons/Filled/clip Created with Sketch. '}, + close: {outline: ' 3.Icons/Outlined/close Created with Sketch. ', field: ' 3.Icons/Filled/close Created with Sketch. '}, + close2: {outline: ' 3.Icons/Outlined/close2 Created with Sketch. ', field: ' 3.Icons/Filled/close2 Created with Sketch. '}, + comment: {outline: ' 3.Icons/Outlined/comment Created with Sketch. ', field: ' 3.Icons/Filled/comment Created with Sketch. '}, + contacts: {outline: ' 3.Icons/Outlined/contacts Created with Sketch. ', field: ' 3.Icons/Filled/contacts Created with Sketch. '}, + copy: {outline: ' 3.Icons/Outlined/copy Created with Sketch. ', field: ' 3.Icons/Filled/copy Created with Sketch. '}, + 'delete-on': {outline: ' 3.Icons/Outlined/delete_on Created with Sketch. ', field: ' 3.Icons/Filled/delete_on Created with Sketch. '}, + delete: {outline: ' 3.Icons/Outlined/delete Created with Sketch. ', field: ' 3.Icons/Filled/delete Created with Sketch. '}, + discover: {outline: ' 3.Icons/Outlined/discover Created with Sketch. ', field: ' 3.Icons/Filled/discover Created with Sketch. '}, + display: {outline: ' 3.Icons/Outlined/display Created with Sketch. ', field: ' 3.Icons/Filled/display Created with Sketch. '}, + done: {outline: ' 3.Icons/Outlined/done Created with Sketch. ', field: ' 3.Icons/Filled/done Created with Sketch. '}, + done2: {outline: ' 3.Icons/Outlined/done2 Created with Sketch. ', field: ' 3.Icons/Filled/done2 Created with Sketch. '}, + download: {outline: ' 3.Icons/Outlined/download Created with Sketch. ', field: ' 3.Icons/Filled/download Created with Sketch. '}, + email: {outline: ' 3.Icons/Outlined/email Created with Sketch. ', field: ' 3.Icons/Filled/email Created with Sketch. '}, + error: {outline: ' 3.Icons/Outlined/error Created with Sketch. ', field: ' 3.Icons/Filled/error Created with Sketch. '}, + 'eyes-off': {outline: ' 3.Icons/Outlined/eyes_off Created with Sketch. ', field: ' 3.Icons/Filled/eyes_off Created with Sketch. '}, + 'eyes-on': {outline: ' 3.Icons/Outlined/eyes_on Created with Sketch. ', field: ' 3.Icons/Filled/eyes_on Created with Sketch. '}, + folder: {outline: ' 3.Icons/Outlined/folder Created with Sketch. ', field: ' 3.Icons/Filled/folder Created with Sketch. '}, + 'group-detail': {outline: ' 3.Icons/Outlined/group-detail Created with Sketch. ', field: ' 3.Icons/Filled/group-detail Created with Sketch. '}, + help: {outline: ' 3.Icons/Outlined/help Created with Sketch. ', field: ' 3.Icons/Filled/help Created with Sketch. '}, + home: {outline: ' 3.Icons/Outlined/home Created with Sketch. ', field: ' 3.Icons/Filled/home Created with Sketch. '}, + imac: {outline: ' 3.Icons/Outlined/imac Created with Sketch. ', field: ' 3.Icons/Filled/imac Created with Sketch. '}, + info: {outline: ' 3.Icons/Outlined/info Created with Sketch. ', field: ' 3.Icons/Filled/info Created with Sketch. '}, + keyboard: {outline: ' 3.Icons/Outlined/keyboard Created with Sketch. ', field: ' 3.Icons/Filled/keyboard Created with Sketch. '}, + like: {outline: ' 3.Icons/Outlined/like Created with Sketch. ', field: ' 3.Icons/Filled/like Created with Sketch. '}, + link: {outline: ' 3.Icons/Outlined/link Created with Sketch. ', field: ' 3.Icons/Filled/link Created with Sketch. '}, + location: {outline: ' 3.Icons/Outlined/location Created with Sketch. ', field: ' 3.Icons/Filled/location Created with Sketch. '}, + lock: {outline: ' 3.Icons/Outlined/lock Created with Sketch. ', field: ' 3.Icons/Filled/lock Created with Sketch. '}, + 'max-window': {outline: ' 3.Icons/Outlined/max-window Created with Sketch. ', field: ' 3.Icons/Filled/max-window Created with Sketch. '}, + me: {outline: ' 3.Icons/Outlined/me Created with Sketch. ', field: ' 3.Icons/Filled/me Created with Sketch. '}, + mike: {outline: ' 3.Icons/Outlined/mike Created with Sketch. ', field: ' 3.Icons/Filled/mike Created with Sketch. '}, + mike2: {outline: ' 3.Icons/Outlined/mike2 Created with Sketch. ', field: ' 3.Icons/Filled/mike2 Created with Sketch. '}, + 'mobile-contacts': {outline: ' 3.Icons/Outlined/mobile-contacts Created with Sketch. ', field: ' 3.Icons/Filled/mobile-contacts Created with Sketch. '}, + more: {outline: ' 3.Icons/Outlined/more Created with Sketch. ', field: ' 3.Icons/Filled/more Created with Sketch. '}, + more2: {outline: ' 3.Icons/Outlined/more2 Created with Sketch. ', field: ' 3.Icons/Filled/more2 Created with Sketch. '}, + mosaic: {outline: ' 3.Icons/Outlined/mosaic Created with Sketch. ', field: ' 3.Icons/Filled/mask Created with Sketch. '}, + 'music-off': {outline: ' 3.Icons/Outlined/music_off Created with Sketch. ', field: ' 3.Icons/Filled/music-off Created with Sketch. '}, + music: {outline: ' 3.Icons/Outlined/music Created with Sketch. ', field: ' 3.Icons/Filled/music Created with Sketch. '}, + note: {outline: ' 3.Icons/Outlined/note Created with Sketch. ', field: ' 3.Icons/Filled/note Created with Sketch. '}, + pad: {outline: ' 3.Icons/Outlined/pad Created with Sketch. ', field: ' 3.Icons/Filled/pad Created with Sketch. '}, + pause: {outline: ' 3.Icons/Outlined/pause Created with Sketch. ', field: ' 3.Icons/Filled/pause Created with Sketch. '}, + pencil: {outline: ' 3.Icons/Outlined/pencil Created with Sketch. ', field: ' 3.Icons/Filled/pencil Created with Sketch. '}, + 'photo-wall': {outline: ' 3.Icons/Outlined/photo-wall Created with Sketch. ', field: ' 3.Icons/Filled/photo-wall Created with Sketch. '}, + play: {outline: ' 3.Icons/Outlined/play Created with Sketch. ', field: ' 3.Icons/Filled/play Created with Sketch. '}, + play2: {outline: ' 3.Icons/Outlined/play2 Created with Sketch. ', field: ' 3.Icons/Filled/play2 Created with Sketch. '}, + previous: {outline: ' 3.Icons/Outlined/previous Created with Sketch. ', field: ' 3.Icons/Filled/previous Created with Sketch. '}, + previous2: {outline: ' 3.Icons/Outlined/previous2 Created with Sketch. ', field: ' 3.Icons/Filled/previous2 Created with Sketch. '}, + 'qr-code': {outline: ' 3.Icons/Outlined/qr-code Created with Sketch. ', field: ' 3.Icons/Filled/qr-code Created with Sketch. '}, + refresh: {outline: ' 3.Icons/Outlined/refresh Created with Sketch. ', field: ' 3.Icons/Filled/refresh Created with Sketch. '}, + 'report-problem': {outline: ' 3.Icons/Outlined/report_problem Created with Sketch. ', field: ' 3.Icons/Filled/report-problem Created with Sketch. '}, + search: {outline: ' 3.Icons/Outlined/search Created with Sketch. ', field: ' 3.Icons/Filled/search Created with Sketch. '}, + sending: {outline: ' 3.Icons/Outlined/sending Created with Sketch. ', field: ' 3.Icons/Filled/sending Created with Sketch. '}, + setting: {outline: ' 3.Icons/Outlined/setting Created with Sketch. ', field: ' 3.Icons/Filled/setting Created with Sketch. '}, + share: {outline: ' 3.Icons/Outlined/share Created with Sketch. ', field: ' 3.Icons/Filled/share Created with Sketch. '}, + shop: {outline: ' 3.Icons/Outlined/shop Created with Sketch. ', field: ' 3.Icons/Filled/shop Created with Sketch. '}, + star: {outline: ' 3.Icons/Outlined/star Created with Sketch. ', field: ' 3.Icons/Filled/star Created with Sketch. '}, + sticker: {outline: ' 3.Icons/Outlined/sticker Created with Sketch. ', field: ' 3.Icons/Filled/sticker Created with Sketch. '}, + tag: {outline: ' 3.Icons/Outlined/tag Created with Sketch. ', field: ' 3.Icons/Filled/tag Created with Sketch. '}, + text: {outline: ' 3.Icons/Outlined/text Created with Sketch. ', field: ' 3.Icons/Filled/text Created with Sketch. '}, + time: {outline: ' 3.Icons/Outlined/time Created with Sketch. ', field: ' 3.Icons/Filled/time Created with Sketch. '}, + 'transfer-text': {outline: ' 3.Icons/Outlined/transfer-text Created with Sketch. ', field: ' 3.Icons/Filled/transfer-text Created with Sketch. '}, + transfer2: {outline: ' 3.Icons/Outlined/transfer2 Created with Sketch. ', field: ' 3.Icons/Filled/transfer2 Created with Sketch. '}, + translate: {outline: ' 3.Icons/Outlined/translate Created with Sketch. ', field: ' 3.Icons/Filled/translate Created with Sketch. '}, + tv: {outline: ' 3.Icons/Outlined/tv Created with Sketch. ', field: ' 3.Icons/Filled/tv Created with Sketch. '}, + 'video-call': {outline: ' 3.Icons/Outlined/video-call Created with Sketch. ', field: ' 3.Icons/Filled/video-call Created with Sketch. '}, + voice: {outline: ' 3.Icons/Outlined/voice Created with Sketch. ', field: ' 3.Icons/Filled/voice Created with Sketch. '}, + 'volume-down': {outline: ' 3.Icons/Outlined/volume_down Created with Sketch. ', field: ' 3.Icons/Filled/volume-down Created with Sketch. '}, + 'volume-off': {outline: ' 3.Icons/Outlined/volume_off Created with Sketch. ', field: ' 3.Icons/Filled/volume-off Created with Sketch. '}, + 'volume-up': {outline: ' 3.Icons/Outlined/volume_up Created with Sketch. ', field: ' 3.Icons/Filled/volume-up Created with Sketch. '} + } + /***/ }) + + /** *** */})) diff --git a/yunbainian/etms_wechat_mini/components/icon/icon.json b/yunbainian/etms_wechat_mini/components/icon/icon.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/icon/icon.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/icon/icon.wxml b/yunbainian/etms_wechat_mini/components/icon/icon.wxml new file mode 100644 index 0000000..dba5634 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/icon/icon.wxml @@ -0,0 +1,14 @@ + + var double = function(a) { + return 2*a + }; + var ifSpecialIcon = function(v) { + return v === 'arrow' || v === 'back' + } + module.exports = { + double: double, + ifSpecialIcon: ifSpecialIcon + } + + + diff --git a/yunbainian/etms_wechat_mini/components/icon/icon.wxss b/yunbainian/etms_wechat_mini/components/icon/icon.wxss new file mode 100644 index 0000000..f84d9ca --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/icon/icon.wxss @@ -0,0 +1 @@ +.weui-icon{vertical-align:middle;display:inline-block;background:black;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;-moz-mask-repeat:no-repeat;mask-size:cover;-webkit-mask-size:cover;-moz-mask-size:cover} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/index-list/index-list.js b/yunbainian/etms_wechat_mini/components/index-list/index-list.js new file mode 100644 index 0000000..9b1fb4e --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/index-list/index-list.js @@ -0,0 +1,156 @@ +const throttle = function throttle(func, wait, options) { + let context = void 0 + let args = void 0 + let result = void 0 + let timeout = null + let previous = 0 + if (!options) options = {} + const later = function later() { + previous = options.leading === false ? 0 : Date.now() + timeout = null + result = func.apply(context, args) + if (!timeout) context = args = null + } + return function () { + const now = Date.now() + if (!previous && options.leading === false) previous = now + const remaining = wait - (now - previous) + context = this + args = arguments + if (remaining <= 0 || remaining > wait) { + clearTimeout(timeout) + timeout = null + previous = now + result = func.apply(context, args) + if (!timeout) context = args = null + } else if (!timeout && options.trailing !== false) { + timeout = setTimeout(later, remaining) + } + return result + } +} + +Component({ + behaviors: [], + options: { + addGlobalClass: true, + pureDataPattern: /^_/ + }, + properties: { + list: { + type: Array, + value: [], + observer: function observer(newVal) { + const _this = this + + if (newVal.length === 0) return + const data = this.data + const alphabet = data.list.map(function (item) { + return item.alpha + }) + this.setData({ + alphabet, + current: alphabet[0] + }, function () { + _this.computedSize() + }) + } + }, + vibrated: { + type: Boolean, + value: true + } + }, + + data: { + windowHeight: 612, + current: 'A', + intoView: '', + touching: false, + alphabet: [], + _tops: [], + _anchorItemH: 0, + _anchorItemW: 0, + _anchorTop: 0, + _listUpperBound: 0 + }, + + lifetimes: { + created() { + + }, + attached() { + this.__scrollTo = throttle(this._scrollTo, 100, {}) + this.__onScroll = throttle(this._onScroll, 100, {}) + + const _wx$getSystemInfoSync = wx.getSystemInfoSync(); const + windowHeight = _wx$getSystemInfoSync.windowHeight + + this.setData({windowHeight}) + }, + }, + methods: { + choose(e) { + const item = e.target.dataset.item + this.triggerEvent('choose', {item}) + }, + scrollTo(e) { + this.__scrollTo(e) + }, + _scrollTo(e) { + const data = this.data + const clientY = e.changedTouches[0].clientY + const index = Math.floor((clientY - data._anchorTop) / data._anchorItemH) + const current = data.alphabet[index] + this.setData({current, intoView: current, touching: true}) + if (data.vibrated) wx.vibrateShort() + }, + computedSize() { + const data = this.data + const query = this.createSelectorQuery() + query.selectAll('.city_list_item').boundingClientRect(function (rects) { + const result = rects + data._tops = result.map(function (item) { + return item.top + }) + }).exec() + query.select('.anchor-list').boundingClientRect(function (rect) { + data._anchorItemH = rect.height / data.alphabet.length + data._anchorItemW = rect.width + data._anchorTop = rect.top + }).exec() + query.select('.page-select-city').boundingClientRect(function (rect) { + data._listUpperBound = rect.top + }) + }, + removeTouching: function removeTouching() { + const _this2 = this + + setTimeout(function () { + _this2.setData({touching: false}) + }, 150) + }, + onScroll: function onScroll(e) { + this.__onScroll(e) + }, + _onScroll: function _onScroll(e) { + const data = this.data + const _tops = data._tops; const + alphabet = data.alphabet + + const scrollTop = e.detail.scrollTop + let current = '' + if (scrollTop < _tops[0]) { + current = alphabet[0] + } else { + for (let i = 0, len = _tops.length; i < len - 1; i++) { + if (scrollTop >= _tops[i] && scrollTop < _tops[i + 1]) { + current = alphabet[i] + } + } + } + if (!current) current = alphabet[alphabet.length - 1] + this.setData({current}) + } + } +}) diff --git a/yunbainian/etms_wechat_mini/components/index-list/index-list.json b/yunbainian/etms_wechat_mini/components/index-list/index-list.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/index-list/index-list.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/index-list/index-list.wxml b/yunbainian/etms_wechat_mini/components/index-list/index-list.wxml new file mode 100644 index 0000000..3ef2374 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/index-list/index-list.wxml @@ -0,0 +1,33 @@ + + + + + + {{item.alpha}} + + + + + {{subItem.name}} + + + + + + + + + + + + {{alpha}} + {{alpha}} + + + + + \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/index-list/index-list.wxss b/yunbainian/etms_wechat_mini/components/index-list/index-list.wxss new file mode 100644 index 0000000..2976ac2 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/index-list/index-list.wxss @@ -0,0 +1,216 @@ +.wx-flex { + display: flex; + align-items: center +} + +.wx-flex__item { + flex: 1 +} + +.thin-border-bottom { + position: relative +} + +.thin-border-bottom:after { + content: ""; + position: absolute; + left: 0; + bottom: 0; + right: 0; + height: 1px; + border-bottom: 1px solid #EAEAEA; + color: #e5e5e5; + -webkit-transform-origin: 0 0; + transform-origin: 0 0; + -webkit-transform: scaleY(.5); + transform: scaleY(.5); + z-index: 2 +} + +.thin-border-top { + position: relative +} + +.thin-border-top:after { + content: ""; + position: absolute; + left: 0; + top: 0; + right: 0; + height: 1px; + border-bottom: 1px solid #EAEAEA; + color: #e5e5e5; + -webkit-transform-origin: 0 0; + transform-origin: 0 0; + -webkit-transform: scaleY(.5); + transform: scaleY(.5); + z-index: 2 +} + +.square-tag { + color: #9a9a9a; + text-align: center; + height: 30px; + line-height: 30px; + box-sizing: border-box; + border-radius: 2px; + background-color: #f7f7f7; + font-size: 12px; + position: relative +} + +.square-tag:after { + content: ""; + width: 200%; + height: 200%; + border: 1px solid #f7f7f7; + transform: scale(.5); + transform-origin: 0 0; + position: absolute; + left: 0; + top: 0; + box-sizing: border-box; + border-radius: 4px +} + +.square-tag.selected { + background: rgba(26, 173, 25, 0.1); + color: #1AAD19 +} + +.square-tag.selected:after { + border: 1px solid #1AAD19 +} + +.select-city__hd { + padding: 0 15px; + position: fixed; + height: 50px; + background-color: #fff; + left: 0; + right: 0; + z-index: 990 +} + +.select-city__hd.thin-border-bottom:after { + left: 12px; + right: 12px +} + +.current-city__name { + display: inline-block; + margin-right: 10px; + margin-left: 11px +} + +.city-group_part .city-group__content { + padding: 0 15px +} + +.city-group_part .city-group__title { + padding-bottom: 12px +} + +.city-group__title { + padding: 12px 12px 11px +} + +.city-group__content { + font-size: 0 +} + +.square-tag { + width: 100px; + display: inline-block; + margin-right: 12px; + margin-bottom: 12px; + height: 40px; + line-height: 40px; + font-size: 15px; + color: #000; + background-color: rgba(0, 0, 0, 0.02); + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis +} + +.city-group__item { + padding: 15px 12px; + font-size: 15px +} + +.city-group__item.thin-border-bottom:after { + left: 12px +} + +.city-group_all { + padding-bottom: 50px +} + +.fixed__top { + position: fixed; + top: 0 +} + +.anchor-bar__wrp { + position: fixed; + top: 0; + bottom: 0; + right: 0; + width: 30px; + z-index: 999 +} + +.anchor-item { + font-size: 0; + text-align: center; + position: relative +} + +.anchor-item__inner { + line-height: 14px; + height: 14px; + width: 14px; + border-radius: 50%; + display: inline-block; + font-size: 10px; + margin: 1px 0; + font-weight: 500 +} + +.tapped .anchor-item__pop { + display: block +} + +.anchor-item__pop { + position: absolute; + font-size: 62px; + width: 50px; + height: 50px; + line-height: 50px; + color: #fff; + background-color: #C9C9C9; + border-radius: 50%; + right: 40px; + top: 50%; + transform: translateY(-50%); + display: none +} + +.anchor-item__pop:after { + content: ""; + display: block; + position: absolute; + width: 0; + height: 0; + left: 40px; + border: 20px solid; + border-color: transparent transparent transparent #C9C9C9; + top: 50%; + transform: translateY(-50%) +} + +.anchor-item.selected .anchor-item__inner { + color: #fff; + background-color: #1aad19 +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/index.js b/yunbainian/etms_wechat_mini/components/index.js new file mode 100644 index 0000000..c9c4a06 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/index.js @@ -0,0 +1,93 @@ +module.exports = +/** *** */ (function (modules) { // webpackBootstrap + /** *** */ // The module cache + /** *** */ const installedModules = {} + /** *** */ + /** *** */ // The require function + /** *** */ function __webpack_require__(moduleId) { + /** *** */ + /** *** */ // Check if module is in cache + /** *** */ if (installedModules[moduleId]) { + /** *** */ return installedModules[moduleId].exports + /** *** */ } + /** *** */ // Create a new module (and put it into the cache) + /** *** */ const module = installedModules[moduleId] = { + /** *** */ i: moduleId, + /** *** */ l: false, + /** *** */ exports: {} + /** *** */} + /** *** */ + /** *** */ // Execute the module function + /** *** */ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__) + /** *** */ + /** *** */ // Flag the module as loaded + /** *** */ module.l = true + /** *** */ + /** *** */ // Return the exports of the module + /** *** */ return module.exports + /** *** */ } + /** *** */ + /** *** */ + /** *** */ // expose the modules object (__webpack_modules__) + /** *** */ __webpack_require__.m = modules + /** *** */ + /** *** */ // expose the module cache + /** *** */ __webpack_require__.c = installedModules + /** *** */ + /** *** */ // define getter function for harmony exports + /** *** */ __webpack_require__.d = function (exports, name, getter) { + /** *** */ if (!__webpack_require__.o(exports, name)) { + /** *** */ Object.defineProperty(exports, name, {enumerable: true, get: getter}) + /** *** */ } + /** *** */ } + /** *** */ + /** *** */ // define __esModule on exports + /** *** */ __webpack_require__.r = function (exports) { + /** *** */ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { + /** *** */ Object.defineProperty(exports, Symbol.toStringTag, {value: 'Module'}) + /** *** */ } + /** *** */ Object.defineProperty(exports, '__esModule', {value: true}) + /** *** */ } + /** *** */ + /** *** */ // create a fake namespace object + /** *** */ // mode & 1: value is a module id, require it + /** *** */ // mode & 2: merge all properties of value into the ns + /** *** */ // mode & 4: return value when already ns object + /** *** */ // mode & 8|1: behave like require + /** *** */ __webpack_require__.t = function (value, mode) { + /** *** */ if (mode & 1) value = __webpack_require__(value) + /** *** */ if (mode & 8) return value + /** *** */ if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value + /** *** */ const ns = Object.create(null) + /** *** */ __webpack_require__.r(ns) + /** *** */ Object.defineProperty(ns, 'default', {enumerable: true, value}) + /** *** */ if (mode & 2 && typeof value !== 'string') for (const key in value) __webpack_require__.d(ns, key, function (key) { return value[key] }.bind(null, key)) + /** *** */ return ns + /** *** */ } + /** *** */ + /** *** */ // getDefaultExport function for compatibility with non-harmony modules + /** *** */ __webpack_require__.n = function (module) { + /** *** */ const getter = module && module.__esModule + /** *** */ ? function getDefault() { return module.default } + /** *** */ : function getModuleExports() { return module } + /** *** */ __webpack_require__.d(getter, 'a', getter) + /** *** */ return getter + /** *** */ } + /** *** */ + /** *** */ // Object.prototype.hasOwnProperty.call + /** *** */ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property) } + /** *** */ + /** *** */ // __webpack_public_path__ + /** *** */ __webpack_require__.p = '' + /** *** */ + /** *** */ + /** *** */ // Load entry module and return exports + /** *** */ return __webpack_require__(__webpack_require__.s = 27) + /** *** */ }({ + + /***/ 27: + /***/ (function (module, exports, __webpack_require__) { + exports.__esModule = true + /***/ }) + + /** *** */})) diff --git a/yunbainian/etms_wechat_mini/components/loading/loading.js b/yunbainian/etms_wechat_mini/components/loading/loading.js new file mode 100644 index 0000000..6607316 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/loading/loading.js @@ -0,0 +1,180 @@ +module.exports = +/** *** */ (function (modules) { // webpackBootstrap + /** *** */ // The module cache + /** *** */ const installedModules = {} + /** *** */ + /** *** */ // The require function + /** *** */ function __webpack_require__(moduleId) { + /** *** */ + /** *** */ // Check if module is in cache + /** *** */ if (installedModules[moduleId]) { + /** *** */ return installedModules[moduleId].exports + /** *** */ } + /** *** */ // Create a new module (and put it into the cache) + /** *** */ const module = installedModules[moduleId] = { + /** *** */ i: moduleId, + /** *** */ l: false, + /** *** */ exports: {} + /** *** */} + /** *** */ + /** *** */ // Execute the module function + /** *** */ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__) + /** *** */ + /** *** */ // Flag the module as loaded + /** *** */ module.l = true + /** *** */ + /** *** */ // Return the exports of the module + /** *** */ return module.exports + /** *** */ } + /** *** */ + /** *** */ + /** *** */ // expose the modules object (__webpack_modules__) + /** *** */ __webpack_require__.m = modules + /** *** */ + /** *** */ // expose the module cache + /** *** */ __webpack_require__.c = installedModules + /** *** */ + /** *** */ // define getter function for harmony exports + /** *** */ __webpack_require__.d = function (exports, name, getter) { + /** *** */ if (!__webpack_require__.o(exports, name)) { + /** *** */ Object.defineProperty(exports, name, {enumerable: true, get: getter}) + /** *** */ } + /** *** */ } + /** *** */ + /** *** */ // define __esModule on exports + /** *** */ __webpack_require__.r = function (exports) { + /** *** */ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { + /** *** */ Object.defineProperty(exports, Symbol.toStringTag, {value: 'Module'}) + /** *** */ } + /** *** */ Object.defineProperty(exports, '__esModule', {value: true}) + /** *** */ } + /** *** */ + /** *** */ // create a fake namespace object + /** *** */ // mode & 1: value is a module id, require it + /** *** */ // mode & 2: merge all properties of value into the ns + /** *** */ // mode & 4: return value when already ns object + /** *** */ // mode & 8|1: behave like require + /** *** */ __webpack_require__.t = function (value, mode) { + /** *** */ if (mode & 1) value = __webpack_require__(value) + /** *** */ if (mode & 8) return value + /** *** */ if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value + /** *** */ const ns = Object.create(null) + /** *** */ __webpack_require__.r(ns) + /** *** */ Object.defineProperty(ns, 'default', {enumerable: true, value}) + /** *** */ if (mode & 2 && typeof value !== 'string') for (const key in value) __webpack_require__.d(ns, key, function (key) { return value[key] }.bind(null, key)) + /** *** */ return ns + /** *** */ } + /** *** */ + /** *** */ // getDefaultExport function for compatibility with non-harmony modules + /** *** */ __webpack_require__.n = function (module) { + /** *** */ const getter = module && module.__esModule + /** *** */ ? function getDefault() { return module.default } + /** *** */ : function getModuleExports() { return module } + /** *** */ __webpack_require__.d(getter, 'a', getter) + /** *** */ return getter + /** *** */ } + /** *** */ + /** *** */ // Object.prototype.hasOwnProperty.call + /** *** */ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property) } + /** *** */ + /** *** */ // __webpack_public_path__ + /** *** */ __webpack_require__.p = '' + /** *** */ + /** *** */ + /** *** */ // Load entry module and return exports + /** *** */ return __webpack_require__(__webpack_require__.s = 14) + /** *** */ }({ + + /***/ 14: + /***/ (function (module, exports, __webpack_require__) { + Component({ + options: { + addGlobalClass: true + }, + properties: { + extClass: { + type: String, + value: '' + }, + show: { + type: Boolean, + value: true, + observer(newValue) { + this._computedStyle(newValue, this.data.animated) + } + }, + animated: { + type: Boolean, + value: false, + observer(newValue) { + this._computedStyle(this.data.show, newValue) + } + }, + duration: { + // 过渡动画时间 + type: Number, + value: 350 + }, + type: { + type: String, + value: 'dot-gray' // 取值dot-white、dot-gray、circle + }, + tips: { + // type是circle的时候才有效 + type: String, + value: '加载中' + } + }, + data: { + animationData: {}, + animationInstance: {}, + displayStyle: 'none' + }, + methods: { + _computedStyle(show, animated) { + if (!show) { + if (!animated) { + this.setData({ + displayStyle: 'none' + }) + } else { + this._startAnimation() + } + } else { + this.setData({ + displayStyle: '' + }) + } + }, + + _startAnimation() { + setTimeout(() => { + const data = this.data + const animation = data.animationInstance + animation.height(0).step() + this.setData({ + animationData: animation.export() + }) + }, 0) + } + + }, + lifetimes: { + attached() { + const data = this.data + const animationInstance = wx.createAnimation({ + duration: data.duration, + timingFunction: 'ease' + }) + this.setData({ + animationInstance + }) + + this._computedStyle(this.data.show, this.data.animated) + } + + } + }) + /***/ }) + + /** *** */})) diff --git a/yunbainian/etms_wechat_mini/components/loading/loading.json b/yunbainian/etms_wechat_mini/components/loading/loading.json new file mode 100644 index 0000000..7e37c03 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/loading/loading.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/loading/loading.wxml b/yunbainian/etms_wechat_mini/components/loading/loading.wxml new file mode 100644 index 0000000..00b30ec --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/loading/loading.wxml @@ -0,0 +1,9 @@ + + + + + + + {{tips}} + + \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/loading/loading.wxss b/yunbainian/etms_wechat_mini/components/loading/loading.wxss new file mode 100644 index 0000000..f84136a --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/loading/loading.wxss @@ -0,0 +1 @@ +.wx_loading_view{display:flex;justify-content:center;align-items:center;overflow:hidden}.loading{color:rgba(255,255,255,0.9);font-size:17px;text-align:center}.loading_view_translation{transition:height .2s .3s ease} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/msg/msg.js b/yunbainian/etms_wechat_mini/components/msg/msg.js new file mode 100644 index 0000000..1c01db6 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/msg/msg.js @@ -0,0 +1,127 @@ +module.exports = +/** *** */ (function (modules) { // webpackBootstrap + /** *** */ // The module cache + /** *** */ const installedModules = {} + /** *** */ + /** *** */ // The require function + /** *** */ function __webpack_require__(moduleId) { + /** *** */ + /** *** */ // Check if module is in cache + /** *** */ if (installedModules[moduleId]) { + /** *** */ return installedModules[moduleId].exports + /** *** */ } + /** *** */ // Create a new module (and put it into the cache) + /** *** */ const module = installedModules[moduleId] = { + /** *** */ i: moduleId, + /** *** */ l: false, + /** *** */ exports: {} + /** *** */} + /** *** */ + /** *** */ // Execute the module function + /** *** */ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__) + /** *** */ + /** *** */ // Flag the module as loaded + /** *** */ module.l = true + /** *** */ + /** *** */ // Return the exports of the module + /** *** */ return module.exports + /** *** */ } + /** *** */ + /** *** */ + /** *** */ // expose the modules object (__webpack_modules__) + /** *** */ __webpack_require__.m = modules + /** *** */ + /** *** */ // expose the module cache + /** *** */ __webpack_require__.c = installedModules + /** *** */ + /** *** */ // define getter function for harmony exports + /** *** */ __webpack_require__.d = function (exports, name, getter) { + /** *** */ if (!__webpack_require__.o(exports, name)) { + /** *** */ Object.defineProperty(exports, name, {enumerable: true, get: getter}) + /** *** */ } + /** *** */ } + /** *** */ + /** *** */ // define __esModule on exports + /** *** */ __webpack_require__.r = function (exports) { + /** *** */ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { + /** *** */ Object.defineProperty(exports, Symbol.toStringTag, {value: 'Module'}) + /** *** */ } + /** *** */ Object.defineProperty(exports, '__esModule', {value: true}) + /** *** */ } + /** *** */ + /** *** */ // create a fake namespace object + /** *** */ // mode & 1: value is a module id, require it + /** *** */ // mode & 2: merge all properties of value into the ns + /** *** */ // mode & 4: return value when already ns object + /** *** */ // mode & 8|1: behave like require + /** *** */ __webpack_require__.t = function (value, mode) { + /** *** */ if (mode & 1) value = __webpack_require__(value) + /** *** */ if (mode & 8) return value + /** *** */ if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value + /** *** */ const ns = Object.create(null) + /** *** */ __webpack_require__.r(ns) + /** *** */ Object.defineProperty(ns, 'default', {enumerable: true, value}) + /** *** */ if (mode & 2 && typeof value !== 'string') for (const key in value) __webpack_require__.d(ns, key, function (key) { return value[key] }.bind(null, key)) + /** *** */ return ns + /** *** */ } + /** *** */ + /** *** */ // getDefaultExport function for compatibility with non-harmony modules + /** *** */ __webpack_require__.n = function (module) { + /** *** */ const getter = module && module.__esModule + /** *** */ ? function getDefault() { return module.default } + /** *** */ : function getModuleExports() { return module } + /** *** */ __webpack_require__.d(getter, 'a', getter) + /** *** */ return getter + /** *** */ } + /** *** */ + /** *** */ // Object.prototype.hasOwnProperty.call + /** *** */ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property) } + /** *** */ + /** *** */ // __webpack_public_path__ + /** *** */ __webpack_require__.p = '' + /** *** */ + /** *** */ + /** *** */ // Load entry module and return exports + /** *** */ return __webpack_require__(__webpack_require__.s = 19) + /** *** */ }({ + + /***/ 19: + /***/ (function (module, exports, __webpack_require__) { + Component({ + options: { + addGlobalClass: true, + multipleSlots: true + }, + properties: { + title: { + type: String, + value: '' + }, + type: { + type: String, + value: '' + }, + icon: { + // 可以自行设置 icon, 设置icon 之后,type 失效 + type: String, + value: '' + }, + desc: { + type: String, + value: '' + }, + extClass: { + type: String, + value: '' + }, + size: { + // 可以自行设置 icon, 设置icon 之后,type 失效 + type: Number, + value: 64 + } + }, + data: {} + }) + /***/ }) + + /** *** */})) diff --git a/yunbainian/etms_wechat_mini/components/msg/msg.json b/yunbainian/etms_wechat_mini/components/msg/msg.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/msg/msg.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/msg/msg.wxml b/yunbainian/etms_wechat_mini/components/msg/msg.wxml new file mode 100644 index 0000000..3443683 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/msg/msg.wxml @@ -0,0 +1,28 @@ + + + + + + {{title}} + + {{desc}} + + + + + + + + + + + + + + + + + + + + diff --git a/yunbainian/etms_wechat_mini/components/msg/msg.wxss b/yunbainian/etms_wechat_mini/components/msg/msg.wxss new file mode 100644 index 0000000..298e308 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/msg/msg.wxss @@ -0,0 +1 @@ +.weui-msg__icon-img{width:95px;height:95px} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/navigation-bar/navigation-bar.js b/yunbainian/etms_wechat_mini/components/navigation-bar/navigation-bar.js new file mode 100644 index 0000000..ecb5b3e --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/navigation-bar/navigation-bar.js @@ -0,0 +1,188 @@ +module.exports = +/** *** */ (function (modules) { // webpackBootstrap + /** *** */ // The module cache + /** *** */ const installedModules = {} + /** *** */ + /** *** */ // The require function + /** *** */ function __webpack_require__(moduleId) { + /** *** */ + /** *** */ // Check if module is in cache + /** *** */ if (installedModules[moduleId]) { + /** *** */ return installedModules[moduleId].exports + /** *** */ } + /** *** */ // Create a new module (and put it into the cache) + /** *** */ const module = installedModules[moduleId] = { + /** *** */ i: moduleId, + /** *** */ l: false, + /** *** */ exports: {} + /** *** */} + /** *** */ + /** *** */ // Execute the module function + /** *** */ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__) + /** *** */ + /** *** */ // Flag the module as loaded + /** *** */ module.l = true + /** *** */ + /** *** */ // Return the exports of the module + /** *** */ return module.exports + /** *** */ } + /** *** */ + /** *** */ + /** *** */ // expose the modules object (__webpack_modules__) + /** *** */ __webpack_require__.m = modules + /** *** */ + /** *** */ // expose the module cache + /** *** */ __webpack_require__.c = installedModules + /** *** */ + /** *** */ // define getter function for harmony exports + /** *** */ __webpack_require__.d = function (exports, name, getter) { + /** *** */ if (!__webpack_require__.o(exports, name)) { + /** *** */ Object.defineProperty(exports, name, {enumerable: true, get: getter}) + /** *** */ } + /** *** */ } + /** *** */ + /** *** */ // define __esModule on exports + /** *** */ __webpack_require__.r = function (exports) { + /** *** */ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { + /** *** */ Object.defineProperty(exports, Symbol.toStringTag, {value: 'Module'}) + /** *** */ } + /** *** */ Object.defineProperty(exports, '__esModule', {value: true}) + /** *** */ } + /** *** */ + /** *** */ // create a fake namespace object + /** *** */ // mode & 1: value is a module id, require it + /** *** */ // mode & 2: merge all properties of value into the ns + /** *** */ // mode & 4: return value when already ns object + /** *** */ // mode & 8|1: behave like require + /** *** */ __webpack_require__.t = function (value, mode) { + /** *** */ if (mode & 1) value = __webpack_require__(value) + /** *** */ if (mode & 8) return value + /** *** */ if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value + /** *** */ const ns = Object.create(null) + /** *** */ __webpack_require__.r(ns) + /** *** */ Object.defineProperty(ns, 'default', {enumerable: true, value}) + /** *** */ if (mode & 2 && typeof value !== 'string') for (const key in value) __webpack_require__.d(ns, key, function (key) { return value[key] }.bind(null, key)) + /** *** */ return ns + /** *** */ } + /** *** */ + /** *** */ // getDefaultExport function for compatibility with non-harmony modules + /** *** */ __webpack_require__.n = function (module) { + /** *** */ const getter = module && module.__esModule + /** *** */ ? function getDefault() { return module.default } + /** *** */ : function getModuleExports() { return module } + /** *** */ __webpack_require__.d(getter, 'a', getter) + /** *** */ return getter + /** *** */ } + /** *** */ + /** *** */ // Object.prototype.hasOwnProperty.call + /** *** */ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property) } + /** *** */ + /** *** */ // __webpack_public_path__ + /** *** */ __webpack_require__.p = '' + /** *** */ + /** *** */ + /** *** */ // Load entry module and return exports + /** *** */ return __webpack_require__(__webpack_require__.s = 3) + /** *** */ }({ + + /***/ 3: + /***/ (function (module, exports, __webpack_require__) { + Component({ + options: { + multipleSlots: true, + addGlobalClass: true + }, + properties: { + extClass: { + type: String, + value: '' + }, + title: { + type: String, + value: '' + }, + background: { + type: String, + value: '' + }, + color: { + type: String, + value: '' + }, + back: { + type: Boolean, + value: true + }, + loading: { + type: Boolean, + value: false + }, + // 显示隐藏的时候opacity动画效果 + animated: { + type: Boolean, + value: true + }, + // 显示隐藏导航,隐藏的时候navigation-bar的高度占位还在 + show: { + type: Boolean, + value: true, + observer: '_showChange' + }, + delta: { + type: Number, + value: 1 + } + }, + data: { + displayStyle: '' + }, + attached() { + const isSupport = !!wx.getMenuButtonBoundingClientRect + const rect = wx.getMenuButtonBoundingClientRect ? wx.getMenuButtonBoundingClientRect() : null + wx.getSystemInfo({ + success: res => { + const ios = !!(res.system.toLowerCase().search('ios') + 1) + this.setData({ + ios, + statusBarHeight: res.statusBarHeight, + innerWidth: isSupport ? `width:${rect.left}px` : '', + innerPaddingRight: isSupport ? `padding-right:${res.windowWidth - rect.left}px` : '', + leftWidth: isSupport ? `width:${res.windowWidth - rect.left}px` : '' + }) + } + }) + }, + + methods: { + _showChange(show) { + const animated = this.data.animated + let displayStyle = '' + + if (animated) { + displayStyle = `opacity: ${show ? '1' : '0'};-webkit-transition:opacity 0.5s;transition:opacity 0.5s;` + } else { + displayStyle = `display: ${show ? '' : 'none'}` + } + + this.setData({ + displayStyle + }) + }, + back() { + const data = this.data + + if (data.delta) { + wx.navigateBack({ + delta: data.delta + }) + } + + this.triggerEvent('back', { + delta: data.delta + }, {}) + } + } + }) + /***/ }) + + /** *** */})) diff --git a/yunbainian/etms_wechat_mini/components/navigation-bar/navigation-bar.json b/yunbainian/etms_wechat_mini/components/navigation-bar/navigation-bar.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/navigation-bar/navigation-bar.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/navigation-bar/navigation-bar.wxml b/yunbainian/etms_wechat_mini/components/navigation-bar/navigation-bar.wxml new file mode 100644 index 0000000..6a8e1cc --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/navigation-bar/navigation-bar.wxml @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + {{title}} + + + + + + + + + + + diff --git a/yunbainian/etms_wechat_mini/components/navigation-bar/navigation-bar.wxss b/yunbainian/etms_wechat_mini/components/navigation-bar/navigation-bar.wxss new file mode 100644 index 0000000..e69de29 diff --git a/yunbainian/etms_wechat_mini/components/package.json b/yunbainian/etms_wechat_mini/components/package.json new file mode 100644 index 0000000..379389c --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/package.json @@ -0,0 +1,7 @@ +{ + "name": "weui-miniprogram", + "version": "1.0.0", + "description": "小程序 WeUI 组件库", + "author": "xushengni,tomylin,cunjinli,rockhou", + "license": "MIT" +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/row/index.js b/yunbainian/etms_wechat_mini/components/row/index.js new file mode 100644 index 0000000..9f41d15 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/row/index.js @@ -0,0 +1,106 @@ +module.exports = +/** *** */ (function (modules) { // webpackBootstrap + /** *** */ // The module cache + /** *** */ const installedModules = {} + /** *** */ + /** *** */ // The require function + /** *** */ function __webpack_require__(moduleId) { + /** *** */ + /** *** */ // Check if module is in cache + /** *** */ if (installedModules[moduleId]) { + /** *** */ return installedModules[moduleId].exports + /** *** */ } + /** *** */ // Create a new module (and put it into the cache) + /** *** */ const module = installedModules[moduleId] = { + /** *** */ i: moduleId, + /** *** */ l: false, + /** *** */ exports: {} + /** *** */} + /** *** */ + /** *** */ // Execute the module function + /** *** */ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__) + /** *** */ + /** *** */ // Flag the module as loaded + /** *** */ module.l = true + /** *** */ + /** *** */ // Return the exports of the module + /** *** */ return module.exports + /** *** */ } + /** *** */ + /** *** */ + /** *** */ // expose the modules object (__webpack_modules__) + /** *** */ __webpack_require__.m = modules + /** *** */ + /** *** */ // expose the module cache + /** *** */ __webpack_require__.c = installedModules + /** *** */ + /** *** */ // define getter function for harmony exports + /** *** */ __webpack_require__.d = function (exports, name, getter) { + /** *** */ if (!__webpack_require__.o(exports, name)) { + /** *** */ Object.defineProperty(exports, name, {enumerable: true, get: getter}) + /** *** */ } + /** *** */ } + /** *** */ + /** *** */ // define __esModule on exports + /** *** */ __webpack_require__.r = function (exports) { + /** *** */ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { + /** *** */ Object.defineProperty(exports, Symbol.toStringTag, {value: 'Module'}) + /** *** */ } + /** *** */ Object.defineProperty(exports, '__esModule', {value: true}) + /** *** */ } + /** *** */ + /** *** */ // create a fake namespace object + /** *** */ // mode & 1: value is a module id, require it + /** *** */ // mode & 2: merge all properties of value into the ns + /** *** */ // mode & 4: return value when already ns object + /** *** */ // mode & 8|1: behave like require + /** *** */ __webpack_require__.t = function (value, mode) { + /** *** */ if (mode & 1) value = __webpack_require__(value) + /** *** */ if (mode & 8) return value + /** *** */ if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value + /** *** */ const ns = Object.create(null) + /** *** */ __webpack_require__.r(ns) + /** *** */ Object.defineProperty(ns, 'default', {enumerable: true, value}) + /** *** */ if (mode & 2 && typeof value !== 'string') for (const key in value) __webpack_require__.d(ns, key, function (key) { return value[key] }.bind(null, key)) + /** *** */ return ns + /** *** */ } + /** *** */ + /** *** */ // getDefaultExport function for compatibility with non-harmony modules + /** *** */ __webpack_require__.n = function (module) { + /** *** */ const getter = module && module.__esModule + /** *** */ ? function getDefault() { return module.default } + /** *** */ : function getModuleExports() { return module } + /** *** */ __webpack_require__.d(getter, 'a', getter) + /** *** */ return getter + /** *** */ } + /** *** */ + /** *** */ // Object.prototype.hasOwnProperty.call + /** *** */ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property) } + /** *** */ + /** *** */ // __webpack_public_path__ + /** *** */ __webpack_require__.p = '' + /** *** */ + /** *** */ + /** *** */ // Load entry module and return exports + /** *** */ return __webpack_require__(__webpack_require__.s = 13) + /** *** */ }({ + + /***/ 13: + /***/ (function (module, exports, __webpack_require__) { + Component({ + properties: {}, + relations: { + '../col/index': { + type: 'child' + } + }, + data: { + classStyle: '' + }, + attached: function attached() {}, + + methods: {} + }) + /***/ }) + + /** *** */})) diff --git a/yunbainian/etms_wechat_mini/components/row/index.json b/yunbainian/etms_wechat_mini/components/row/index.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/row/index.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/row/index.wxml b/yunbainian/etms_wechat_mini/components/row/index.wxml new file mode 100644 index 0000000..2b7dd08 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/row/index.wxml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/row/index.wxss b/yunbainian/etms_wechat_mini/components/row/index.wxss new file mode 100644 index 0000000..3ce8527 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/row/index.wxss @@ -0,0 +1 @@ +:host{position:relative;box-sizing:border-box;width:100%}.weui-row-before{display:table}.weui-row-after{display:table;clear:both;content:""} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/searchbar/searchbar.js b/yunbainian/etms_wechat_mini/components/searchbar/searchbar.js new file mode 100644 index 0000000..3fe46ad --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/searchbar/searchbar.js @@ -0,0 +1,218 @@ +module.exports = +/** *** */ (function (modules) { // webpackBootstrap + /** *** */ // The module cache + /** *** */ const installedModules = {} + /** *** */ + /** *** */ // The require function + /** *** */ function __webpack_require__(moduleId) { + /** *** */ + /** *** */ // Check if module is in cache + /** *** */ if (installedModules[moduleId]) { + /** *** */ return installedModules[moduleId].exports + /** *** */ } + /** *** */ // Create a new module (and put it into the cache) + /** *** */ const module = installedModules[moduleId] = { + /** *** */ i: moduleId, + /** *** */ l: false, + /** *** */ exports: {} + /** *** */} + /** *** */ + /** *** */ // Execute the module function + /** *** */ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__) + /** *** */ + /** *** */ // Flag the module as loaded + /** *** */ module.l = true + /** *** */ + /** *** */ // Return the exports of the module + /** *** */ return module.exports + /** *** */ } + /** *** */ + /** *** */ + /** *** */ // expose the modules object (__webpack_modules__) + /** *** */ __webpack_require__.m = modules + /** *** */ + /** *** */ // expose the module cache + /** *** */ __webpack_require__.c = installedModules + /** *** */ + /** *** */ // define getter function for harmony exports + /** *** */ __webpack_require__.d = function (exports, name, getter) { + /** *** */ if (!__webpack_require__.o(exports, name)) { + /** *** */ Object.defineProperty(exports, name, {enumerable: true, get: getter}) + /** *** */ } + /** *** */ } + /** *** */ + /** *** */ // define __esModule on exports + /** *** */ __webpack_require__.r = function (exports) { + /** *** */ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { + /** *** */ Object.defineProperty(exports, Symbol.toStringTag, {value: 'Module'}) + /** *** */ } + /** *** */ Object.defineProperty(exports, '__esModule', {value: true}) + /** *** */ } + /** *** */ + /** *** */ // create a fake namespace object + /** *** */ // mode & 1: value is a module id, require it + /** *** */ // mode & 2: merge all properties of value into the ns + /** *** */ // mode & 4: return value when already ns object + /** *** */ // mode & 8|1: behave like require + /** *** */ __webpack_require__.t = function (value, mode) { + /** *** */ if (mode & 1) value = __webpack_require__(value) + /** *** */ if (mode & 8) return value + /** *** */ if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value + /** *** */ const ns = Object.create(null) + /** *** */ __webpack_require__.r(ns) + /** *** */ Object.defineProperty(ns, 'default', {enumerable: true, value}) + /** *** */ if (mode & 2 && typeof value !== 'string') for (const key in value) __webpack_require__.d(ns, key, function (key) { return value[key] }.bind(null, key)) + /** *** */ return ns + /** *** */ } + /** *** */ + /** *** */ // getDefaultExport function for compatibility with non-harmony modules + /** *** */ __webpack_require__.n = function (module) { + /** *** */ const getter = module && module.__esModule + /** *** */ ? function getDefault() { return module.default } + /** *** */ : function getModuleExports() { return module } + /** *** */ __webpack_require__.d(getter, 'a', getter) + /** *** */ return getter + /** *** */ } + /** *** */ + /** *** */ // Object.prototype.hasOwnProperty.call + /** *** */ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property) } + /** *** */ + /** *** */ // __webpack_public_path__ + /** *** */ __webpack_require__.p = '' + /** *** */ + /** *** */ + /** *** */ // Load entry module and return exports + /** *** */ return __webpack_require__(__webpack_require__.s = 25) + /** *** */ }({ + + /***/ 25: + /***/ (function (module, exports, __webpack_require__) { + Component({ + options: { + addGlobalClass: true + }, + properties: { + extClass: { + type: String, + value: '' + }, + focus: { + type: Boolean, + value: false + }, + placeholder: { + type: String, + value: '搜索' + }, + value: { + type: String, + value: '' + }, + search: { + type: Function, + value: null + }, + throttle: { + type: Number, + value: 500 + }, + cancelText: { + type: String, + value: '取消' + }, + cancel: { + type: Boolean, + value: true + } + }, + data: { + result: [] + }, + lastSearch: Date.now(), + lifetimes: { + attached: function attached() { + if (this.data.focus) { + this.setData({ + searchState: true + }) + } + } + }, + methods: { + clearInput() { + // @ts-ignore + this.setData({ + value: '', + focus: true, + result: [] + }) // @ts-ignore + + this.triggerEvent('clear') + }, + inputFocus(e) { + // this.setData({ + // searchState: true + // }) + // @ts-ignore + this.triggerEvent('focus', e.detail) + }, + inputBlur(e) { + this.setData({ + focus: false + }) + this.triggerEvent('blur', e.detail) + }, + showInput() { + this.setData({ + focus: true, + searchState: true + }) + }, + + hideInput() { + this.setData({ + searchState: false + }) + }, + + // @ts-ignore + inputChange(e) { + this.setData({ + value: e.detail.value + }) + this.triggerEvent('input', e.detail) + + if (Date.now() - this.lastSearch < this.data.throttle) { + return + } + + if (typeof this.data.search !== 'function') { + return + } + + this.lastSearch = Date.now() + this.timerId = setTimeout(() => { + this.data.search(e.detail.value).then(json => { + this.setData({ + result: json + }) + }).catch(err => { + console.error('search error', err) + }) + }, this.data.throttle) + }, + selectResult(e) { + const { + index + } = e.currentTarget.dataset + const item = this.data.result[index] + this.triggerEvent('selectresult', { + index, + item + }) + } + } + }) + /***/ }) + + /** *** */})) diff --git a/yunbainian/etms_wechat_mini/components/searchbar/searchbar.json b/yunbainian/etms_wechat_mini/components/searchbar/searchbar.json new file mode 100644 index 0000000..67ee694 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/searchbar/searchbar.json @@ -0,0 +1,7 @@ +{ + "component": true, + "usingComponents": { + "mp-cells": "../cells/cells", + "mp-cell": "../cell/cell" + } +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/searchbar/searchbar.wxml b/yunbainian/etms_wechat_mini/components/searchbar/searchbar.wxml new file mode 100644 index 0000000..48c791c --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/searchbar/searchbar.wxml @@ -0,0 +1,19 @@ + + + + + + + + + + {{cancelText}} + + + + {{item.text}} + + \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/searchbar/searchbar.wxss b/yunbainian/etms_wechat_mini/components/searchbar/searchbar.wxss new file mode 100644 index 0000000..b3424f5 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/searchbar/searchbar.wxss @@ -0,0 +1 @@ +.weui-search-bar__label text{display:inline-block;font-size:14px;vertical-align:middle} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/select-text/select-text.js b/yunbainian/etms_wechat_mini/components/select-text/select-text.js new file mode 100644 index 0000000..9772524 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/select-text/select-text.js @@ -0,0 +1,64 @@ + +Component({ + /** + * 组件的属性列表 + */ + properties: { + space: { + type: String, + value: '' + }, + decode: { + type: Boolean, + value: false + }, + placement: { + type: String, + value: 'top' + }, + showCopyBtn: { + type: Boolean, + value: false + }, + value: { + type: String, + value: '' + } + }, + observers: { + onDocumentTap() { + this.setData({ + showToolTip: false + }) + } + }, + + /** + * 组件的初始数据 + */ + data: { + showToolTip: false + }, + + /** + * 组件的方法列表 + */ + methods: { + handleLongPress() { + if (!this.data.showCopyBtn) return + this.setData({ + showToolTip: true, + }) + }, + handleCopy() { + this.setData({ + showToolTip: false + }) + wx.setClipboardData({ + data: this.data.value, + }) + this.triggerEvent('copy', {}) + }, + stopPropagation: function stopPropagation(e) {} + } +}) diff --git a/yunbainian/etms_wechat_mini/components/select-text/select-text.json b/yunbainian/etms_wechat_mini/components/select-text/select-text.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/select-text/select-text.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/select-text/select-text.wxml b/yunbainian/etms_wechat_mini/components/select-text/select-text.wxml new file mode 100644 index 0000000..3a43ef3 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/select-text/select-text.wxml @@ -0,0 +1,22 @@ + + + + {{value}} + + 复制 + + \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/select-text/select-text.wxs b/yunbainian/etms_wechat_mini/components/select-text/select-text.wxs new file mode 100644 index 0000000..9e9d9be --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/select-text/select-text.wxs @@ -0,0 +1,10 @@ +function containerStyle(data) { + if (data.showToolTip && data.showCopyBtn) { + return 'background-color: ' + data.activeBgColor + } + return '' +} + +module.exports = { + containerStyle: containerStyle, +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/select-text/select-text.wxss b/yunbainian/etms_wechat_mini/components/select-text/select-text.wxss new file mode 100644 index 0000000..2e26eb0 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/select-text/select-text.wxss @@ -0,0 +1,91 @@ +.weui-select-text { + display: inline; + position: relative +} + +.weui-tooltip { + box-sizing: border-box; + width: 60px; + background-color: #000000; + color: #ffffff; + text-align: center; + padding: 5px 0; + border-radius: 6px; + position: absolute; + font-size: 14px +} + +.weui-tooltip__top { + left: 50%; + top: 0; + transform: translate(-50%, -100%); + margin-top: -10px +} + +.weui-tooltip__top::after { + content: " "; + position: absolute; + top: 100%; + left: 50%; + transform: translate(-50%, 0); + border-width: 5px; + border-style: solid; + border-color: black transparent transparent transparent +} + +.weui-tooltip__bottom { + left: 50%; + top: 100%; + transform: translate(-50%, 0); + margin-top: 10px +} + +.weui-tooltip__bottom::after { + content: " "; + position: absolute; + top: 0; + left: 50%; + transform: translate(-50%, -100%); + border-width: 5px; + border-style: solid; + border-color: transparent transparent black transparent +} + +.weui-tooltip__left { + left: 0; + top: 50%; + transform: translate(-100%, -50%); + margin-left: -10px +} + +.weui-tooltip__left::after { + content: " "; + position: absolute; + top: 50%; + left: 100%; + transform: translate(0, -50%); + border-width: 5px; + border-style: solid; + border-color: transparent transparent transparent black +} + +.weui-tooltip__right { + left: 100%; + top: 50%; + transform: translate(0, -50%); + margin-left: 10px +} + +.weui-tooltip__right::after { + content: " "; + position: absolute; + top: 50%; + left: 0; + transform: translate(-100%, -50%); + border-width: 5px; + border-style: solid; + border-color: transparent black transparent transparent +} +textarea { + height: 16px; +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/sign-up-popup/index.js b/yunbainian/etms_wechat_mini/components/sign-up-popup/index.js new file mode 100644 index 0000000..45c4b3d --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/sign-up-popup/index.js @@ -0,0 +1,47 @@ +// components/sign-up-popup/index.js +Component({ + /** + * 组件的属性列表 + */ + properties: {}, + + /** + * 组件的初始数据 + */ + data: { + visible: false, + num: 0, + userList: [], + }, + + /** + * 组件的方法列表 + */ + methods: { + /** + * @param {Array} userList 用户列表 + */ + open(userList, totalCount) { + this.setData({ + visible: true, + userList: userList, + num: totalCount + }); + }, + handleClick() { + this.setData({ + visible: false, + }); + }, + onVisibleChange({ + detail: { + visible + } + }) { + console.log(visible); + this.setData({ + visible, + }); + }, + }, +}); \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/sign-up-popup/index.json b/yunbainian/etms_wechat_mini/components/sign-up-popup/index.json new file mode 100644 index 0000000..0c81131 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/sign-up-popup/index.json @@ -0,0 +1,7 @@ +{ + "component": true, + "usingComponents": { + "t-icon": "tdesign-miniprogram/icon/icon", + "t-popup": "tdesign-miniprogram/popup/popup" + } +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/sign-up-popup/index.wxml b/yunbainian/etms_wechat_mini/components/sign-up-popup/index.wxml new file mode 100644 index 0000000..13a2950 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/sign-up-popup/index.wxml @@ -0,0 +1,15 @@ + + + + 已有{{num}}人购买该课程 + + + + + + {{item.studentName}} + + + + + \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/sign-up-popup/index.wxss b/yunbainian/etms_wechat_mini/components/sign-up-popup/index.wxss new file mode 100644 index 0000000..dc79eb4 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/sign-up-popup/index.wxss @@ -0,0 +1,29 @@ +.sup-main { + border-radius: 10px 10px 0 0; + background-color: #fff; +} +.sup-header { + display: flex; + padding: 1rem; +} +.sup-title { + flex: auto; +} +.sup-body { + height: 60vh; +} +.sup-list { + display: grid; + grid-template-columns: repeat(5, 1fr); +} +.sup-user-item { + display: flex; + flex-direction: column; + align-items: center; + padding: 0.5rem 0; +} +.sup-user-head { + width: 48px; + height: 48px; + border-radius: 24px; +} diff --git a/yunbainian/etms_wechat_mini/components/slideview/slideview.js b/yunbainian/etms_wechat_mini/components/slideview/slideview.js new file mode 100644 index 0000000..55f6940 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/slideview/slideview.js @@ -0,0 +1,199 @@ +module.exports = +/** *** */ (function (modules) { // webpackBootstrap + /** *** */ // The module cache + /** *** */ const installedModules = {} + /** *** */ + /** *** */ // The require function + /** *** */ function __webpack_require__(moduleId) { + /** *** */ + /** *** */ // Check if module is in cache + /** *** */ if (installedModules[moduleId]) { + /** *** */ return installedModules[moduleId].exports + /** *** */ } + /** *** */ // Create a new module (and put it into the cache) + /** *** */ const module = installedModules[moduleId] = { + /** *** */ i: moduleId, + /** *** */ l: false, + /** *** */ exports: {} + /** *** */} + /** *** */ + /** *** */ // Execute the module function + /** *** */ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__) + /** *** */ + /** *** */ // Flag the module as loaded + /** *** */ module.l = true + /** *** */ + /** *** */ // Return the exports of the module + /** *** */ return module.exports + /** *** */ } + /** *** */ + /** *** */ + /** *** */ // expose the modules object (__webpack_modules__) + /** *** */ __webpack_require__.m = modules + /** *** */ + /** *** */ // expose the module cache + /** *** */ __webpack_require__.c = installedModules + /** *** */ + /** *** */ // define getter function for harmony exports + /** *** */ __webpack_require__.d = function (exports, name, getter) { + /** *** */ if (!__webpack_require__.o(exports, name)) { + /** *** */ Object.defineProperty(exports, name, {enumerable: true, get: getter}) + /** *** */ } + /** *** */ } + /** *** */ + /** *** */ // define __esModule on exports + /** *** */ __webpack_require__.r = function (exports) { + /** *** */ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { + /** *** */ Object.defineProperty(exports, Symbol.toStringTag, {value: 'Module'}) + /** *** */ } + /** *** */ Object.defineProperty(exports, '__esModule', {value: true}) + /** *** */ } + /** *** */ + /** *** */ // create a fake namespace object + /** *** */ // mode & 1: value is a module id, require it + /** *** */ // mode & 2: merge all properties of value into the ns + /** *** */ // mode & 4: return value when already ns object + /** *** */ // mode & 8|1: behave like require + /** *** */ __webpack_require__.t = function (value, mode) { + /** *** */ if (mode & 1) value = __webpack_require__(value) + /** *** */ if (mode & 8) return value + /** *** */ if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value + /** *** */ const ns = Object.create(null) + /** *** */ __webpack_require__.r(ns) + /** *** */ Object.defineProperty(ns, 'default', {enumerable: true, value}) + /** *** */ if (mode & 2 && typeof value !== 'string') for (const key in value) __webpack_require__.d(ns, key, function (key) { return value[key] }.bind(null, key)) + /** *** */ return ns + /** *** */ } + /** *** */ + /** *** */ // getDefaultExport function for compatibility with non-harmony modules + /** *** */ __webpack_require__.n = function (module) { + /** *** */ const getter = module && module.__esModule + /** *** */ ? function getDefault() { return module.default } + /** *** */ : function getModuleExports() { return module } + /** *** */ __webpack_require__.d(getter, 'a', getter) + /** *** */ return getter + /** *** */ } + /** *** */ + /** *** */ // Object.prototype.hasOwnProperty.call + /** *** */ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property) } + /** *** */ + /** *** */ // __webpack_public_path__ + /** *** */ __webpack_require__.p = '' + /** *** */ + /** *** */ + /** *** */ // Load entry module and return exports + /** *** */ return __webpack_require__(__webpack_require__.s = 18) + /** *** */ }({ + + /***/ 18: + /***/ (function (module, exports, __webpack_require__) { + Component({ + options: { + addGlobalClass: true, + multipleSlots: true + }, + properties: { + extClass: { + type: String, + value: '' + }, + buttons: { + type: Array, + value: [], + // type, data, text, src, extClass + observer() { + this.addClassNameForButton() + } + + }, + disable: { + type: Boolean, + value: false + }, + icon: { + type: Boolean, + value: false + }, + show: { + type: Boolean, + value: false + }, + duration: { + type: Number, + value: 350 + }, + throttle: { + type: Number, + value: 40 + }, + rebounce: { + type: Number, + value: 0 + } + }, + data: { + size: null + }, + ready() { + // @ts-ignore + this.updateRight() + this.addClassNameForButton() + }, + + methods: { + updateRight() { + // 获取右侧滑动显示区域的宽度 + const data = this.data + const query = wx.createSelectorQuery().in(this) + query.select('.left').boundingClientRect(res => { + const btnQuery = wx.createSelectorQuery().in(this) + btnQuery.selectAll('.btn').boundingClientRect(rects => { + this.setData({ + size: { + buttons: rects, + button: res, + show: data.show, + disable: data.disable, + throttle: data.throttle, + rebounce: data.rebounce + } + }) + }).exec() + }).exec() + }, + addClassNameForButton() { + // @ts-ignore + const { + buttons, + icon + } = this.data + buttons.forEach(btn => { + if (icon) { + btn.className = '' + } else if (btn.type === 'warn') { + btn.className = 'weui-slideview__btn-group_warn' + } else { + btn.className = 'weui-slideview__btn-group_default' + } + }) + this.setData({ + buttons + }) + }, + buttonTapByWxs(data) { + this.triggerEvent('buttontap', data, {}) + }, + hide() { + this.triggerEvent('hide', {}, {}) + }, + show() { + this.triggerEvent('show', {}, {}) + }, + + transitionEnd() {} + + } + }) + /***/ }) + + /** *** */})) diff --git a/yunbainian/etms_wechat_mini/components/slideview/slideview.json b/yunbainian/etms_wechat_mini/components/slideview/slideview.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/slideview/slideview.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/slideview/slideview.wxml b/yunbainian/etms_wechat_mini/components/slideview/slideview.wxml new file mode 100644 index 0000000..f1f49da --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/slideview/slideview.wxml @@ -0,0 +1,23 @@ + + + + + + + + + + + {{item.text}} + + + + + + diff --git a/yunbainian/etms_wechat_mini/components/slideview/slideview.wxs b/yunbainian/etms_wechat_mini/components/slideview/slideview.wxs new file mode 100644 index 0000000..c62d085 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/slideview/slideview.wxs @@ -0,0 +1,243 @@ +/* eslint-disable */ +var touchstart = function(event, ownerInstance) { + var ins = event.instance + var st = ins.getState() + if (st.disable) return // disable的逻辑 + // console.log('touchstart st', JSON.stringify(st)) + if (!st.size) return + // console.log('touchstart', JSON.stringify(event)) + st.isMoving = true + st.startX = event.touches[0].pageX + st.startY = event.touches[0].pageY + st.firstAngle = 0 +} +var touchmove = function(event, ownerInstance) { + var ins = event.instance + var st = ins.getState() + if (!st.size || !st.isMoving) return + // console.log('touchmove', JSON.stringify(event)) + var pagex = event.touches[0].pageX - st.startX + var pagey = event.touches[0].pageY - st.startY + // 左侧45度角为界限,大于45度则允许水平滑动 + if (st.firstAngle === 0) { + st.firstAngle = Math.abs(pagex) - Math.abs(pagey) + } + if (st.firstAngle < 0) { + return + } + var movex = pagex > 0 ? Math.min(st.max, pagex) : Math.max(-st.max, pagex) + // 往回滑动的情况 + if (st.out) { + // 已经是划出来了,还要往左滑动,忽略 + if (movex < 0) return + ins.setStyle({ + 'transform': 'translateX(' + (st.transformx + movex) + 'px)', + 'transition': '' + }) + var btns = ownerInstance.selectAllComponents('.btn') + var transformTotal = 0 + var len = btns.length + var i = len - 1; + for (;i >= 0; i--) { + var transform = st.size.buttons[i].width / st.max * movex + var transformx = st.size.buttons[i].max - Math.min(st.size.buttons[i].max, transform + transformTotal) + btns[i].setStyle({ + 'transform': 'translateX(' + (-transformx) + 'px)', + 'transition': '' + }) + transformTotal += transform + } + return false + } + if (movex > 0) movex = 0 + ins.setStyle({ + 'transform': 'translateX(' + movex + 'px)', + 'transition': '' + }) + st.transformx = movex + var btns = ownerInstance.selectAllComponents('.btn') + var transformTotal = 0 + var len = btns.length + var i = len - 1; + for (;i >= 0; i--) { + var transform = st.size.buttons[i].width / st.max * movex + var transformx = Math.max(-st.size.buttons[i].max, transform + transformTotal) + btns[i].setStyle({ + 'transform': 'translateX(' + transformx + 'px)', + 'transition': '' + }) + st.size.buttons[i].transformx = transformx + transformTotal += transform + } + return false // 禁止垂直方向的滑动 +} +var touchend = function(event, ownerInstance) { + var ins = event.instance + var st = ins.getState() + if (!st.size || !st.isMoving) return + // 左侧45度角为界限,大于45度则允许水平滑动 + if (st.firstAngle < 0) { + return + } + var duration = st.duration / 1000 + st.isMoving = false + // console.log('touchend', JSON.stringify(event)) + var btns = ownerInstance.selectAllComponents('.btn') + var len = btns.length + var i = len - 1 + // console.log('len size', len) + if (Math.abs(event.changedTouches[0].pageX - st.startX) < st.throttle || event.changedTouches[0].pageX - st.startX > 0) { // 方向也要控制 + st.out = false + ins.setStyle({ + 'transform': 'translate3d(0px, 0, 0)', + 'transition': 'transform ' + (duration) + 's' + }) + for (;i >= 0; i--) { + btns[i].setStyle({ + 'transform': 'translate3d(0px, 0, 0)', + 'transition': 'transform ' + (duration) + 's' + }) + } + ownerInstance.callMethod('hide') + return + } + showButtons(ins, ownerInstance, duration) + ownerInstance.callMethod('show') +} +var REBOUNCE_TIME = 0.2 +var showButtons = function(ins, ownerInstance, withDuration) { + var st = ins.getState() + if (!st.size) return + var rebounceTime = st.rebounce ? REBOUNCE_TIME : 0 + var movex = st.max + st.out = true + var btns = ownerInstance.selectAllComponents('.btn') + var rebounce = st.rebounce || 0 + var len = btns.length + var i = len - 1 + ins.setStyle({ + 'transform': 'translate3d(' + (-movex - rebounce) + 'px, 0, 0)', + 'transition': 'transform ' + (withDuration) + 's' + }) + st.transformx = -movex + var transformTotal = 0 + for (;i >= 0; i--) { + var transform = st.size.buttons[i].width / st.max * movex + var transformx = (-(transform + transformTotal)) + btns[i].setStyle({ + 'transform': 'translate3d(' + transformx + 'px, 0, 0)', + 'transition': 'transform ' + (withDuration ? withDuration + rebounceTime : withDuration) + 's' + }) + st.size.buttons[i].transformx = transformx + transformTotal += transform + } +} +var innerHideButton = function(ownerInstance) { + var ins = ownerInstance.selectComponent('.left') + var st = ins.getState() + if (!st.size) return + var duration = st.duration ? st.duration / 1000 : 0 + var btns = ownerInstance.selectAllComponents('.btn') + var len = btns.length + var i = len - 1 + ins.setStyle({ + 'transform': 'translate3d(0px, 0, 0)', + 'transition': 'transform ' + (duration) + 's' + }) + st.transformx = 0 + for (;i >= 0; i--) { + btns[i].setStyle({ + 'transform': 'translate3d(0px, 0, 0)', + 'transition': 'transform ' + (duration) + 's' + }) + st.size.buttons[i].transformx = 0 + } +} +var hideButton = function(event, ownerInstance) { + innerHideButton(ownerInstance) + ownerInstance.callMethod('buttonTapByWxs', {index: event.currentTarget.dataset.index, data: event.currentTarget.dataset.data}) + return false +} +var sizeReady = function(newVal, oldVal, ownerInstance, ins) { + var st = ins.getState() + // st.disable = newVal && newVal.disable + if (newVal && newVal.button && newVal.buttons) { + st.size = newVal + st.transformx = 0 + // var min = newVal.button.width + var max = 0 + var len = newVal.buttons.length + var i = newVal.buttons.length - 1; + var total = 0 + for (; i >= 0; i--) { + max += newVal.buttons[i].width + // if (min > newVal.buttons[i]) { + // min = newVal.buttons[i].width + // } + total += newVal.buttons[i].width + newVal.buttons[i].max = total + newVal.buttons[i].transformx = 0 + } + st.throttle = st.size.throttle || 40 // 固定值 + st.rebounce = st.size.rebounce + st.max = max + ownerInstance.selectComponent('.right').setStyle({ + 'line-height': newVal.button.height + 'px', + left: (newVal.button.width) + 'px', + width: max + 'px' + }) + // console.log('st size', JSON.stringify(newVal)) + if (!st.size.disable && st.size.show) { + showButtons(ins, ownerInstance) + } + } +} +var disableChange = function(newVal, oldVal, ownerInstance, ins) { + var st = ins.getState() + st.disable = newVal +} +var durationChange = function(newVal, oldVal, ownerInstance, ins) { + var st = ins.getState() + st.duration = newVal || 400 +} +var showChange = function(newVal, oldVal, ownerInstance, ins) { + var st = ins.getState() + st.show = newVal + if (st.disable) return + // console.log('show change') + if (st.show) { + showButtons(ins, ownerInstance, st.duration) + } else { + innerHideButton(ownerInstance) + } +} +var rebounceChange = function(newVal, oldVal, ownerInstance, ins) { + var st = ins.getState() + // console.log('rebounce', st.rebounce) + st.rebounce = newVal +} +var transitionEnd = function(event, ownerInstance) { + // console.log('transition') + var ins = event.instance + var st = ins.getState() + // 回弹效果 + if (st.out && st.rebounce) { + console.log('transition rebounce', st.rebounce) + ins.setStyle({ + 'transform': 'translate3d(' + (-st.max) + 'px, 0, 0)', + 'transition': 'transform ' + REBOUNCE_TIME +'s' + }) + } +} +module.exports = { + touchstart: touchstart, + touchmove: touchmove, + touchend: touchend, + hideButton: hideButton, + sizeReady: sizeReady, + disableChange: disableChange, + durationChange: durationChange, + showChange: showChange, + rebounceChange: rebounceChange, + transitionEnd: transitionEnd +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/slideview/slideview.wxss b/yunbainian/etms_wechat_mini/components/slideview/slideview.wxss new file mode 100644 index 0000000..e69de29 diff --git a/yunbainian/etms_wechat_mini/components/static/icon/s-arrow-back.png b/yunbainian/etms_wechat_mini/components/static/icon/s-arrow-back.png new file mode 100644 index 0000000000000000000000000000000000000000..720481d574ef15d62d15f7641daca6f8ad575604 GIT binary patch literal 987 zcmV<110?*3P)Px&l}SWFRA>e5S-rApF%*tFx6rE?l`$0PR0=a@yn&%mcnXy#PC>*aF_lU^1_5U>nS_cL zIy{j`kkM!)BLPw@7H`AhkfLMo`G9=4jI(P<4TT%HV3((HPs{=*P2wW3wiW>lXtV!fBKT53u1Q}G zVZGL1!@zpIE)03(rf8H-OVQy9T8XO>`)oN)XMCf2JAnkTrGGpmz!LE$G$4 z0t + + + Icons/Filled/arrow Copy 2 + Created with Sketch. + + + + + + + + + + + + + + + diff --git a/yunbainian/etms_wechat_mini/components/sticky/sticky.js b/yunbainian/etms_wechat_mini/components/sticky/sticky.js new file mode 100644 index 0000000..c8a1f3e --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/sticky/sticky.js @@ -0,0 +1,275 @@ +module.exports = +/** *** */ (function (modules) { // webpackBootstrap + /** *** */ // The module cache + /** *** */ const installedModules = {} + /** *** */ + /** *** */ // The require function + /** *** */ function __webpack_require__(moduleId) { + /** *** */ + /** *** */ // Check if module is in cache + /** *** */ if (installedModules[moduleId]) { + /** *** */ return installedModules[moduleId].exports + /** *** */ } + /** *** */ // Create a new module (and put it into the cache) + /** *** */ const module = installedModules[moduleId] = { + /** *** */ i: moduleId, + /** *** */ l: false, + /** *** */ exports: {} + /** *** */} + /** *** */ + /** *** */ // Execute the module function + /** *** */ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__) + /** *** */ + /** *** */ // Flag the module as loaded + /** *** */ module.l = true + /** *** */ + /** *** */ // Return the exports of the module + /** *** */ return module.exports + /** *** */ } + /** *** */ + /** *** */ + /** *** */ // expose the modules object (__webpack_modules__) + /** *** */ __webpack_require__.m = modules + /** *** */ + /** *** */ // expose the module cache + /** *** */ __webpack_require__.c = installedModules + /** *** */ + /** *** */ // define getter function for harmony exports + /** *** */ __webpack_require__.d = function (exports, name, getter) { + /** *** */ if (!__webpack_require__.o(exports, name)) { + /** *** */ Object.defineProperty(exports, name, {enumerable: true, get: getter}) + /** *** */ } + /** *** */ } + /** *** */ + /** *** */ // define __esModule on exports + /** *** */ __webpack_require__.r = function (exports) { + /** *** */ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { + /** *** */ Object.defineProperty(exports, Symbol.toStringTag, {value: 'Module'}) + /** *** */ } + /** *** */ Object.defineProperty(exports, '__esModule', {value: true}) + /** *** */ } + /** *** */ + /** *** */ // create a fake namespace object + /** *** */ // mode & 1: value is a module id, require it + /** *** */ // mode & 2: merge all properties of value into the ns + /** *** */ // mode & 4: return value when already ns object + /** *** */ // mode & 8|1: behave like require + /** *** */ __webpack_require__.t = function (value, mode) { + /** *** */ if (mode & 1) value = __webpack_require__(value) + /** *** */ if (mode & 8) return value + /** *** */ if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value + /** *** */ const ns = Object.create(null) + /** *** */ __webpack_require__.r(ns) + /** *** */ Object.defineProperty(ns, 'default', {enumerable: true, value}) + /** *** */ if (mode & 2 && typeof value !== 'string') for (const key in value) __webpack_require__.d(ns, key, function (key) { return value[key] }.bind(null, key)) + /** *** */ return ns + /** *** */ } + /** *** */ + /** *** */ // getDefaultExport function for compatibility with non-harmony modules + /** *** */ __webpack_require__.n = function (module) { + /** *** */ const getter = module && module.__esModule + /** *** */ ? function getDefault() { return module.default } + /** *** */ : function getModuleExports() { return module } + /** *** */ __webpack_require__.d(getter, 'a', getter) + /** *** */ return getter + /** *** */ } + /** *** */ + /** *** */ // Object.prototype.hasOwnProperty.call + /** *** */ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property) } + /** *** */ + /** *** */ // __webpack_public_path__ + /** *** */ __webpack_require__.p = '' + /** *** */ + /** *** */ + /** *** */ // Load entry module and return exports + /** *** */ return __webpack_require__(__webpack_require__.s = 8) + /** *** */ }({ + + /***/ 8: + /***/ (function (module, exports, __webpack_require__) { + const selectQuery = __webpack_require__(9) + const target = '.weui-sticky' + + Component({ + options: { + addGlobalClass: true, + pureDataPattern: /^_/, + multipleSlots: true + }, + behaviors: [selectQuery], + properties: { + offsetTop: { + type: Number, + value: 0 + }, + zIndex: { + type: Number, + value: 99 + }, + disabled: { + type: Boolean, + value: false + }, + container: { + type: null + } + }, + data: { + fixed: false, + height: 0, + _attached: false, + _containerHeight: 0 + }, + observers: { + disabled(newVal) { + if (!this._attached) return + newVal ? this.disconnectObserver() : this.initObserver() + }, + container(newVal) { + if (typeof newVal !== 'function' || !this.data.height) return + this.observerContainer() + } + }, + lifetimes: { + attached() { + this.data._attached = true + if (!this.data.disabled) this.initObserver() + }, + detached() { + this.data._attached = false + this.disconnectObserver() + } + }, + methods: { + getContainerRect() { + const nodesRef = this.data.container() + return new Promise(function (resolve) { + return nodesRef.boundingClientRect(resolve).exec() + }) + }, + initObserver() { + const _this = this + + this.disconnectObserver() + this.getRect(target).then(function (rect) { + _this.setData({ + height: rect.height + }) + _this.observerContent() + _this.observerContainer() + }) + }, + disconnectObserver(observerName) { + if (observerName) { + const observer = this[observerName] + observer && observer.disconnect() + } else { + this.contentObserver && this.contentObserver.disconnect() + this.containerObserver && this.containerObserver.disconnect() + } + }, + observerContent() { + const _this2 = this + + const offsetTop = this.data.offsetTop + + this.disconnectObserver('contentObserver') + const contentObserver = this.createIntersectionObserver({ + thresholds: [1], + initialRatio: 1 + }) + contentObserver.relativeToViewport({ + top: -offsetTop + }) + contentObserver.observe(target, function (res) { + if (_this2.data.disabled) return + _this2.setFixed(res.boundingClientRect.top) + }) + this.contentObserver = contentObserver + }, + observerContainer() { + const _this3 = this + + const _data = this.data + const container = _data.container + const height = _data.height + const offsetTop = _data.offsetTop + + if (typeof container !== 'function') return + this.disconnectObserver('containerObserver') + this.getContainerRect().then(function (rect) { + _this3.getRect(target).then(function (contentRect) { + const _contentTop = contentRect.top + const _containerTop = rect.top + const _containerHeight = rect.height + const _relativeTop = _contentTop - _containerTop + const containerObserver = _this3.createIntersectionObserver({ + thresholds: [1], + initialRatio: 1 + }) + containerObserver.relativeToViewport({ + top: _containerHeight - height - offsetTop - _relativeTop + }) + containerObserver.observe(target, function (res) { + if (_this3.data.disabled) return + _this3.setFixed(res.boundingClientRect.top) + }) + _this3.data._relativeTop = _relativeTop + _this3.data._containerHeight = _containerHeight + _this3.containerObserver = containerObserver + }) + }) + }, + setFixed(top) { + const _data2 = this.data + const height = _data2.height + const _containerHeight = _data2._containerHeight + const _relativeTop = _data2._relativeTop + const offsetTop = _data2.offsetTop + + const fixed = _containerHeight && height ? top >= height + offsetTop + _relativeTop - _containerHeight && top < offsetTop : top < offsetTop + this.triggerEvent('scroll', { + scrollTop: top, + isFixed: fixed + }) + this.setData({fixed}) + } + } + }) + /***/ }), + + /***/ 9: + /***/ (function (module, exports, __webpack_require__) { + module.exports = Behavior({ + methods: { + getRect(selector) { + const _this = this + + return new Promise(function (resolve, reject) { + _this.createSelectorQuery().select(selector).boundingClientRect(function (rect) { + if (rect) { + resolve(rect) + } else { + reject(new Error('can not find selector: ' + selector)) + } + }).exec() + }) + }, + getAllRects(selector) { + const _this2 = this + + return new Promise(function (resolve, reject) { + _this2.createSelectorQuery().selectAll(selector).boundingClientRect(function (rects) { + if (rects && rects.lenght > 0) { + resolve(rects) + } else { + reject(new Error('can not find selector: ' + selector)) + } + }).exec() + }) + } + } + }) + /***/ }) + + /** *** */})) diff --git a/yunbainian/etms_wechat_mini/components/sticky/sticky.json b/yunbainian/etms_wechat_mini/components/sticky/sticky.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/sticky/sticky.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/sticky/sticky.wxml b/yunbainian/etms_wechat_mini/components/sticky/sticky.wxml new file mode 100644 index 0000000..e31324a --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/sticky/sticky.wxml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/sticky/sticky.wxs b/yunbainian/etms_wechat_mini/components/sticky/sticky.wxs new file mode 100644 index 0000000..266810f --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/sticky/sticky.wxs @@ -0,0 +1,20 @@ + +/* eslint-disable */ +function wrapStyle(data) { + if (data.fixed) { + return 'top: ' + data.offsetTop + 'px;' + } + return '' +} + +function containerStyle(data) { + if (data.fixed) { + return 'height: ' + data.height + 'px; z-index: ' + data.zIndex + ';' + } + return '' +} + +module.exports = { + wrapStyle: wrapStyle, + containerStyle: containerStyle +} diff --git a/yunbainian/etms_wechat_mini/components/sticky/sticky.wxss b/yunbainian/etms_wechat_mini/components/sticky/sticky.wxss new file mode 100644 index 0000000..08d4396 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/sticky/sticky.wxss @@ -0,0 +1,9 @@ +.weui-sticky { + position: relative +} + +.weui-sticky__fixed { + position: fixed; + left: 0; + top: 0 +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/tabbar/tabbar.js b/yunbainian/etms_wechat_mini/components/tabbar/tabbar.js new file mode 100644 index 0000000..1daf820 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/tabbar/tabbar.js @@ -0,0 +1,129 @@ +module.exports = +/** *** */ (function (modules) { // webpackBootstrap + /** *** */ // The module cache + /** *** */ const installedModules = {} + /** *** */ + /** *** */ // The require function + /** *** */ function __webpack_require__(moduleId) { + /** *** */ + /** *** */ // Check if module is in cache + /** *** */ if (installedModules[moduleId]) { + /** *** */ return installedModules[moduleId].exports + /** *** */ } + /** *** */ // Create a new module (and put it into the cache) + /** *** */ const module = installedModules[moduleId] = { + /** *** */ i: moduleId, + /** *** */ l: false, + /** *** */ exports: {} + /** *** */} + /** *** */ + /** *** */ // Execute the module function + /** *** */ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__) + /** *** */ + /** *** */ // Flag the module as loaded + /** *** */ module.l = true + /** *** */ + /** *** */ // Return the exports of the module + /** *** */ return module.exports + /** *** */ } + /** *** */ + /** *** */ + /** *** */ // expose the modules object (__webpack_modules__) + /** *** */ __webpack_require__.m = modules + /** *** */ + /** *** */ // expose the module cache + /** *** */ __webpack_require__.c = installedModules + /** *** */ + /** *** */ // define getter function for harmony exports + /** *** */ __webpack_require__.d = function (exports, name, getter) { + /** *** */ if (!__webpack_require__.o(exports, name)) { + /** *** */ Object.defineProperty(exports, name, {enumerable: true, get: getter}) + /** *** */ } + /** *** */ } + /** *** */ + /** *** */ // define __esModule on exports + /** *** */ __webpack_require__.r = function (exports) { + /** *** */ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { + /** *** */ Object.defineProperty(exports, Symbol.toStringTag, {value: 'Module'}) + /** *** */ } + /** *** */ Object.defineProperty(exports, '__esModule', {value: true}) + /** *** */ } + /** *** */ + /** *** */ // create a fake namespace object + /** *** */ // mode & 1: value is a module id, require it + /** *** */ // mode & 2: merge all properties of value into the ns + /** *** */ // mode & 4: return value when already ns object + /** *** */ // mode & 8|1: behave like require + /** *** */ __webpack_require__.t = function (value, mode) { + /** *** */ if (mode & 1) value = __webpack_require__(value) + /** *** */ if (mode & 8) return value + /** *** */ if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value + /** *** */ const ns = Object.create(null) + /** *** */ __webpack_require__.r(ns) + /** *** */ Object.defineProperty(ns, 'default', {enumerable: true, value}) + /** *** */ if (mode & 2 && typeof value !== 'string') for (const key in value) __webpack_require__.d(ns, key, function (key) { return value[key] }.bind(null, key)) + /** *** */ return ns + /** *** */ } + /** *** */ + /** *** */ // getDefaultExport function for compatibility with non-harmony modules + /** *** */ __webpack_require__.n = function (module) { + /** *** */ const getter = module && module.__esModule + /** *** */ ? function getDefault() { return module.default } + /** *** */ : function getModuleExports() { return module } + /** *** */ __webpack_require__.d(getter, 'a', getter) + /** *** */ return getter + /** *** */ } + /** *** */ + /** *** */ // Object.prototype.hasOwnProperty.call + /** *** */ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property) } + /** *** */ + /** *** */ // __webpack_public_path__ + /** *** */ __webpack_require__.p = '' + /** *** */ + /** *** */ + /** *** */ // Load entry module and return exports + /** *** */ return __webpack_require__(__webpack_require__.s = 16) + /** *** */ }({ + + /***/ 16: + /***/ (function (module, exports, __webpack_require__) { + Component({ + options: { + addGlobalClass: true + }, + properties: { + extClass: { + type: String, + value: '' + }, + list: { + type: Array, + value: [] + }, + current: { + type: Number, + value: 0 + } + }, + methods: { + tabChange(e) { + const { + index + } = e.currentTarget.dataset + + if (index === this.data.current) { + return + } + this.setData({ + current: index + }) + this.triggerEvent('change', { + index, + item: this.data.list[index] + }) + } + } + }) + /***/ }) + + /** *** */})) diff --git a/yunbainian/etms_wechat_mini/components/tabbar/tabbar.json b/yunbainian/etms_wechat_mini/components/tabbar/tabbar.json new file mode 100644 index 0000000..e083792 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/tabbar/tabbar.json @@ -0,0 +1,6 @@ +{ + "component": true, + "usingComponents": { + "mp-badge": "../badge/badge" + } +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/tabbar/tabbar.wxml b/yunbainian/etms_wechat_mini/components/tabbar/tabbar.wxml new file mode 100644 index 0000000..e7270e2 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/tabbar/tabbar.wxml @@ -0,0 +1,10 @@ + + + + + + + + {{item.text}} + + \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/tabbar/tabbar.wxss b/yunbainian/etms_wechat_mini/components/tabbar/tabbar.wxss new file mode 100644 index 0000000..e69de29 diff --git a/yunbainian/etms_wechat_mini/components/tabs/tabs.js b/yunbainian/etms_wechat_mini/components/tabs/tabs.js new file mode 100644 index 0000000..628854c --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/tabs/tabs.js @@ -0,0 +1,51 @@ + +Component({ + options: { + addGlobalClass: true, + pureDataPattern: /^_/, + multipleSlots: true + }, + properties: { + tabs: {type: Array, value: []}, + tabClass: {type: String, value: ''}, + swiperClass: {type: String, value: ''}, + activeClass: {type: String, value: ''}, + tabUnderlineColor: {type: String, value: '#07c160'}, + tabActiveTextColor: {type: String, value: '#000000'}, + tabInactiveTextColor: {type: String, value: '#000000'}, + tabBackgroundColor: {type: String, value: '#ffffff'}, + activeTab: {type: Number, value: 0}, + swipeable: {type: Boolean, value: true}, + animation: {type: Boolean, value: true}, + duration: {type: Number, value: 500}, + theme: {type: String, value: 'light'} // light dark + }, + data: { + currentView: 0 + }, + observers: { + activeTab: function activeTab(_activeTab) { + const len = this.data.tabs.length + if (len === 0) return + let currentView = _activeTab - 1 + if (currentView < 0) currentView = 0 + if (currentView > len - 1) currentView = len - 1 + this.setData({currentView}) + } + }, + lifetimes: { + created: function created() {} + }, + methods: { + handleTabClick: function handleTabClick(e) { + const index = e.currentTarget.dataset.index + this.setData({activeTab: index}) + this.triggerEvent('tabclick', {index}) + }, + handleSwiperChange: function handleSwiperChange(e) { + const index = e.detail.current + this.setData({activeTab: index}) + this.triggerEvent('change', {index}) + } + } +}) diff --git a/yunbainian/etms_wechat_mini/components/tabs/tabs.json b/yunbainian/etms_wechat_mini/components/tabs/tabs.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/tabs/tabs.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/tabs/tabs.wxml b/yunbainian/etms_wechat_mini/components/tabs/tabs.wxml new file mode 100644 index 0000000..105ed9c --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/tabs/tabs.wxml @@ -0,0 +1,20 @@ + + + + + + + + {{item.title}} + + + + + + + + + + + + \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/tabs/tabs.wxss b/yunbainian/etms_wechat_mini/components/tabs/tabs.wxss new file mode 100644 index 0000000..242eb0b --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/tabs/tabs.wxss @@ -0,0 +1,30 @@ +/* @import '../../../common/lib/weui.wxss'; */ + +.weui-tabs { + width: 100%; + height: 100%; +} + +.weui-tabs-bar__wrp { + width: 100%; + background: var(--weui-BG-2); + margin-top: 0; + padding-top: 10px; +} + +.weui-tabs-bar__content { + width: 100%; + white-space: nowrap +} + +.weui-tabs-bar__item { + display: inline-block; +} + +.weui-tabs-bar__title { + display: inline-block; + border-bottom-width: 2px; + border-bottom-style: solid; + border-bottom-color: transparent; +} + diff --git a/yunbainian/etms_wechat_mini/components/toptips/toptips.js b/yunbainian/etms_wechat_mini/components/toptips/toptips.js new file mode 100644 index 0000000..bfbc545 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/toptips/toptips.js @@ -0,0 +1,73 @@ + +Component({ + options: { + addGlobalClass: true + }, + properties: { + type: { + type: String, + value: 'error', + observer: '_typeChange' + }, + show: { + type: Boolean, + value: false, + observer: '_showChange' + }, + msg: { + type: String, + value: '' + }, + delay: { + type: Number, + value: 2000 + }, + extClass: { + type: String, + value: '' + } + }, + data: { + typeClassMap: { + warn: 'weui-toptips_warn', + info: 'weui-toptips_info', + success: 'weui-toptips_success', + error: 'weui-toptips_error' + } + }, + lifetimes: { + attached() { + const data = this.data + this.setData({ + className: data.typeClassMap[data.type] || '' + }) + }, + }, + + methods: { + _typeChange(newVal) { + this.setData({ + className: this.data.typeClassMap[newVal] || '' + }) + return newVal + }, + _showChange(newVal) { + this._showToptips(newVal) + }, + _showToptips(newVal) { + if (newVal && this.data.delay) { + setTimeout(() => { + this.setData({ + show: false + }, () => { + // tooltips 隐藏了,触发 hide 事件 + this.triggerEvent('hide', {}, {}) + }) + }, this.data.delay) + } + this.setData({ + show: newVal + }) + } + } +}) diff --git a/yunbainian/etms_wechat_mini/components/toptips/toptips.json b/yunbainian/etms_wechat_mini/components/toptips/toptips.json new file mode 100644 index 0000000..7e37c03 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/toptips/toptips.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/toptips/toptips.wxml b/yunbainian/etms_wechat_mini/components/toptips/toptips.wxml new file mode 100644 index 0000000..61a337c --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/toptips/toptips.wxml @@ -0,0 +1,6 @@ + + {{msg}} + + + + \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/toptips/toptips.wxss b/yunbainian/etms_wechat_mini/components/toptips/toptips.wxss new file mode 100644 index 0000000..e159c28 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/toptips/toptips.wxss @@ -0,0 +1,44 @@ +.weui-toptips { + position: fixed; + -webkit-transform: translateZ(0) translateY(calc(-100% - 8px)); + transform: translateZ(0) translateY(calc(-100% - 8px)); + text-align: center; + top: 8px; + left: 16px; + right: 16px; + border-radius: 4px; + padding: 8px; + -webkit-border-radius: 4px; + color: rgba(255, 255, 255, 0.9); + font-size: 17px; + line-height: 1.4; + background: rgba(250, 81, 81, 0.9); + z-index: 5000; + word-wrap: break-word; + word-break: break-all; + -webkit-transition: all .4s ease-in-out; + transition: all .4s ease-in-out +} + +.weui-toptips_show { + -webkit-transform: translateZ(0) translateY(0); + transform: translateZ(0) translateY(0); + opacity: 1; + display: block +} + +.weui-toptips_warn { + background-color: #FA5151 +} + +.weui-toptips_success { + background-color: #09BB07 +} + +.weui-toptips_error { + background-color: #FA5151 +} + +.weui-toptips_info { + background-color: #10AEFF +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/uploader/uploader.js b/yunbainian/etms_wechat_mini/components/uploader/uploader.js new file mode 100644 index 0000000..fcaea9f --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/uploader/uploader.js @@ -0,0 +1,257 @@ +module.exports = +/** *** */ (function (modules) { // webpackBootstrap + /** *** */ // The module cache + /** *** */ const installedModules = {} + /** *** */ + /** *** */ // The require function + /** *** */ function __webpack_require__(moduleId) { + /** *** */ + /** *** */ // Check if module is in cache + /** *** */ if (installedModules[moduleId]) { + /** *** */ return installedModules[moduleId].exports + /** *** */ } + /** *** */ // Create a new module (and put it into the cache) + /** *** */ const module = installedModules[moduleId] = { + /** *** */ i: moduleId, + /** *** */ l: false, + /** *** */ exports: {} + /** *** */} + /** *** */ + /** *** */ // Execute the module function + /** *** */ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__) + /** *** */ + /** *** */ // Flag the module as loaded + /** *** */ module.l = true + /** *** */ + /** *** */ // Return the exports of the module + /** *** */ return module.exports + /** *** */ } + /** *** */ + /** *** */ + /** *** */ // expose the modules object (__webpack_modules__) + /** *** */ __webpack_require__.m = modules + /** *** */ + /** *** */ // expose the module cache + /** *** */ __webpack_require__.c = installedModules + /** *** */ + /** *** */ // define getter function for harmony exports + /** *** */ __webpack_require__.d = function (exports, name, getter) { + /** *** */ if (!__webpack_require__.o(exports, name)) { + /** *** */ Object.defineProperty(exports, name, {enumerable: true, get: getter}) + /** *** */ } + /** *** */ } + /** *** */ + /** *** */ // define __esModule on exports + /** *** */ __webpack_require__.r = function (exports) { + /** *** */ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { + /** *** */ Object.defineProperty(exports, Symbol.toStringTag, {value: 'Module'}) + /** *** */ } + /** *** */ Object.defineProperty(exports, '__esModule', {value: true}) + /** *** */ } + /** *** */ + /** *** */ // create a fake namespace object + /** *** */ // mode & 1: value is a module id, require it + /** *** */ // mode & 2: merge all properties of value into the ns + /** *** */ // mode & 4: return value when already ns object + /** *** */ // mode & 8|1: behave like require + /** *** */ __webpack_require__.t = function (value, mode) { + /** *** */ if (mode & 1) value = __webpack_require__(value) + /** *** */ if (mode & 8) return value + /** *** */ if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value + /** *** */ const ns = Object.create(null) + /** *** */ __webpack_require__.r(ns) + /** *** */ Object.defineProperty(ns, 'default', {enumerable: true, value}) + /** *** */ if (mode & 2 && typeof value !== 'string') for (const key in value) __webpack_require__.d(ns, key, function (key) { return value[key] }.bind(null, key)) + /** *** */ return ns + /** *** */ } + /** *** */ + /** *** */ // getDefaultExport function for compatibility with non-harmony modules + /** *** */ __webpack_require__.n = function (module) { + /** *** */ const getter = module && module.__esModule + /** *** */ ? function getDefault() { return module.default } + /** *** */ : function getModuleExports() { return module } + /** *** */ __webpack_require__.d(getter, 'a', getter) + /** *** */ return getter + /** *** */ } + /** *** */ + /** *** */ // Object.prototype.hasOwnProperty.call + /** *** */ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property) } + /** *** */ + /** *** */ // __webpack_public_path__ + /** *** */ __webpack_require__.p = '' + /** *** */ + /** *** */ + /** *** */ // Load entry module and return exports + /** *** */ return __webpack_require__(__webpack_require__.s = 22) + /** *** */ }({ + + /***/ 22: + /***/ (function (module, exports, __webpack_require__) { + console.log(module, exports) + Component({ + options: { + addGlobalClass: true + }, + properties: { + title: { + type: String, + value: '图片上传' + }, + sizeType: { + type: Array, + value: ['original', 'compressed'] + }, + sourceType: { + type: Array, + value: ['album', 'camera'] + }, + maxSize: { + type: Number, + value: 5 * 1024 * 1024 + }, + maxCount: { + type: Number, + value: 1 + }, + files: { + type: Array, + value: [], + observer: function observer(newVal) { + this.setData({ + currentFiles: newVal + }) + } + }, + select: { + type: Function, + value: function value() {} + }, + upload: { + type: Function, + value: null + }, + tips: { + type: String, + value: '' + }, + extClass: { + type: String, + value: '' + }, + showDelete: { + type: Boolean, + value: true + } + }, + data: { + currentFiles: [], + showPreview: false, + previewImageUrls: [] + }, + ready: function ready() {}, + + methods: { + previewImage: function previewImage(e) { + const index = e.currentTarget.dataset.index + + const previewImageUrls = [] + this.data.files.map(function (item) { + previewImageUrls.push(item.url) + }) + this.setData({ + previewImageUrls, + previewCurrent: index, + showPreview: true + }) + }, + chooseImage: function chooseImage() { + const _this = this + + if (this.uploading) return + wx.chooseImage({ + count: this.data.maxCount - this.data.files.length, + success: function success(res) { + let invalidIndex = -1 + res.tempFiles.forEach(function (item, index) { + if (item.size > _this.data.maxSize) { + invalidIndex = index + } + }) + if (typeof _this.data.select === 'function') { + const ret = _this.data.select(res) + if (ret === false) { + return + } + } + if (invalidIndex >= 0) { + _this.triggerEvent('fail', { + type: 1, errMsg: 'chooseImage:fail size exceed ' + _this.data.maxSize, total: res.tempFilePaths.length, index: invalidIndex + }, {}) + return + } + const mgr = wx.getFileSystemManager() + const contents = res.tempFilePaths.map(function (item) { + const fileContent = mgr.readFileSync(item) + return fileContent + }) + const obj = {tempFilePaths: res.tempFilePaths, tempFiles: res.tempFiles, contents} + _this.triggerEvent('select', obj, {}) + const files = res.tempFilePaths.map(function (item, i) { + return {loading: true, url: 'data:image/jpg;base64,' + wx.arrayBufferToBase64(contents[i])} + }) + if (!files || !files.length) return + if (typeof _this.data.upload === 'function') { + const len = _this.data.files.length + const newFiles = _this.data.files.concat(files) + _this.setData({files: newFiles, currentFiles: newFiles}) + _this.loading = true + _this.data.upload(obj).then(function (json) { + _this.loading = false + if (json.urls) { + const oldFiles = _this.data.files + json.urls.forEach(function (url, index) { + oldFiles[len + index].url = url + oldFiles[len + index].loading = false + }) + _this.setData({files: oldFiles, currentFiles: newFiles}) + _this.triggerEvent('success', json, {}) + } else { + _this.triggerEvent('fail', {type: 3, errMsg: 'upload file fail, urls not found'}, {}) + } + }).catch(function (err) { + _this.loading = false + const oldFiles = _this.data.files + res.tempFilePaths.map(function (item, index) { + oldFiles[len + index].error = true + oldFiles[len + index].loading = false + }) + _this.setData({files: oldFiles, currentFiles: newFiles}) + _this.triggerEvent('fail', {type: 3, errMsg: 'upload file fail', error: err}, {}) + }) + } + }, + fail: function fail(_fail) { + if (_fail.errMsg.indexOf('chooseImage:fail cancel') >= 0) { + _this.triggerEvent('cancel', {}, {}) + return + } + _fail.type = 2 + _this.triggerEvent('fail', _fail, {}) + } + }) + }, + deletePic: function deletePic(e) { + const index = e.detail.index + const files = this.data.files + const file = files.splice(index, 1) + this.setData({ + files, + currentFiles: files + }) + this.triggerEvent('delete', {index, item: file[0]}) + } + } + }) + /***/ }) + + /** *** */})) diff --git a/yunbainian/etms_wechat_mini/components/uploader/uploader.json b/yunbainian/etms_wechat_mini/components/uploader/uploader.json new file mode 100644 index 0000000..e3479ce --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/uploader/uploader.json @@ -0,0 +1,6 @@ +{ + "component": true, + "usingComponents": { + "mp-gallery": "../gallery/gallery" + } +} diff --git a/yunbainian/etms_wechat_mini/components/uploader/uploader.wxml b/yunbainian/etms_wechat_mini/components/uploader/uploader.wxml new file mode 100644 index 0000000..3ad9358 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/uploader/uploader.wxml @@ -0,0 +1,36 @@ + + + + {{title}} + {{currentFiles.length}}/{{maxCount}} + + + {{tips}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/yunbainian/etms_wechat_mini/components/uploader/uploader.wxss b/yunbainian/etms_wechat_mini/components/uploader/uploader.wxss new file mode 100644 index 0000000..e69de29 diff --git a/yunbainian/etms_wechat_mini/components/video-swiper/video-swiper.js b/yunbainian/etms_wechat_mini/components/video-swiper/video-swiper.js new file mode 100644 index 0000000..986d27e --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/video-swiper/video-swiper.js @@ -0,0 +1,166 @@ +Component({ + behaviors: [], + options: { + addGlobalClass: true, + pureDataPattern: /^_/ + }, + properties: { + duration: { + type: Number, + value: 500 + }, + easingFunction: { + type: String, + value: 'default' + }, + loop: { + type: Boolean, + value: false, + }, + videoList: { + type: Array, + value: [], + observer: function observer(...args) { + const newVal = args.length > 0 && args[0] !== undefined ? args[0] : [] + console.log(newVal) + this._videoListChanged(newVal) + } + } + }, + data: { + nextQueue: [], + prevQueue: [], + curQueue: [], + circular: false, + _last: 1, + _change: -1, + _invalidUp: 0, + _invalidDown: 0, + _videoContexts: [] + }, + lifetimes: { + attached() { + this.data._videoContexts = [ + wx.createVideoContext('video_0', this), wx.createVideoContext('video_1', this), wx.createVideoContext('video_2', this)] + }, + }, + methods: { + _videoListChanged(newVal) { + const _this = this + const data = this.data + newVal.forEach(function (item) { + data.nextQueue.push(item) + }) + if (data.curQueue.length === 0) { + this.setData({ + curQueue: data.nextQueue.splice(0, 3) + }, function () { + _this.playCurrent(0) + }) + } + }, + + animationfinish(e) { + const _data = this.data + const _last = _data._last + const _change = _data._change + const curQueue = _data.curQueue + const prevQueue = _data.prevQueue + const nextQueue = _data.nextQueue + const current = e.detail.current + const diff = current - _last + if (diff === 0) return + this.data._last = current + this.playCurrent(current) + this.triggerEvent('change', {activeId: curQueue[current].id}) + const direction = diff === 1 || diff === -2 ? 'up' : 'down' + if (direction === 'up') { + console.log(this.data) + if (this.data._invalidDown === 0) { + const change = (_change + 1) % 3 + const add = nextQueue.shift() + const remove = curQueue[change] + if (add) { + prevQueue.push(remove) + curQueue[change] = add + this.data._change = change + } else { + this.data._invalidUp += 1 + } + } else { + this.data._invalidDown -= 1 + } + } + if (direction === 'down') { + if (this.data._invalidUp === 0) { + const _change2 = _change + const _remove = curQueue[_change2] + const _add = prevQueue.pop() + if (_add) { + curQueue[_change2] = _add + nextQueue.unshift(_remove) + this.data._change = (_change2 - 1 + 3) % 3 + } else { + this.data._invalidDown += 1 + } + } else { + this.data._invalidUp -= 1 + } + } + let circular = true + if (nextQueue.length === 0 && current !== 0) { + circular = false + } + if (prevQueue.length === 0 && current !== 2) { + circular = false + } + this.setData({ + curQueue, + circular + }) + }, + + playCurrent(current) { + this.data._videoContexts.forEach(function (ctx, index) { + if (index !== current) { + ctx.pause() + } else { + ctx.play() + } + }) + }, + onPlay: function onPlay(e) { + this.trigger(e, 'play') + }, + onPause: function onPause(e) { + this.trigger(e, 'pause') + }, + onEnded: function onEnded(e) { + this.trigger(e, 'ended') + }, + onError: function onError(e) { + this.trigger(e, 'error') + }, + onTimeUpdate: function onTimeUpdate(e) { + this.trigger(e, 'timeupdate') + }, + onWaiting: function onWaiting(e) { + this.trigger(e, 'wait') + }, + onProgress: function onProgress(e) { + this.trigger(e, 'progress') + }, + onLoadedMetaData: function onLoadedMetaData(e) { + this.trigger(e, 'loadedmetadata') + }, + trigger: function trigger(e, type, ...args) { + const ext = args.length > 2 && args[2] !== undefined ? args[2] : {} + + const detail = e.detail + const activeId = e.target.dataset.id + this.triggerEvent( + type, Object.assign(Object.assign(Object.assign({}, detail), {activeId}), ext) + ) + } + }, +}) diff --git a/yunbainian/etms_wechat_mini/components/video-swiper/video-swiper.json b/yunbainian/etms_wechat_mini/components/video-swiper/video-swiper.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/video-swiper/video-swiper.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/video-swiper/video-swiper.wxml b/yunbainian/etms_wechat_mini/components/video-swiper/video-swiper.wxml new file mode 100644 index 0000000..146dd3c --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/video-swiper/video-swiper.wxml @@ -0,0 +1,37 @@ + + + + + + + + + diff --git a/yunbainian/etms_wechat_mini/components/video-swiper/video-swiper.wxss b/yunbainian/etms_wechat_mini/components/video-swiper/video-swiper.wxss new file mode 100644 index 0000000..e51b55c --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/video-swiper/video-swiper.wxss @@ -0,0 +1,14 @@ +.container { + width: 100%; + height: 100% +} + +.video-swiper { + width: 100%; + height: 100% +} + +.video_item { + height: 100%; + width: 100% +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/vtabs-content/vtabs-content.js b/yunbainian/etms_wechat_mini/components/vtabs-content/vtabs-content.js new file mode 100644 index 0000000..42219c0 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/vtabs-content/vtabs-content.js @@ -0,0 +1,30 @@ + + +Component({ + options: { + addGlobalClass: true, + multipleSlots: true + }, + properties: { + tabIndex: { + type: Number, + value: 0 + } + }, + relations: { + '../vtabs/vtabs': { + type: 'parent' + } + }, + lifetimes: { + attached: function attached() {} + }, + methods: { + calcHeight: function calcHeight(callback) { + const query = this.createSelectorQuery() + query.select('.weui-vtabs-content__item').boundingClientRect(function (rect) { + callback && callback(rect) + }).exec() + } + } +}) diff --git a/yunbainian/etms_wechat_mini/components/vtabs-content/vtabs-content.json b/yunbainian/etms_wechat_mini/components/vtabs-content/vtabs-content.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/vtabs-content/vtabs-content.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/vtabs-content/vtabs-content.wxml b/yunbainian/etms_wechat_mini/components/vtabs-content/vtabs-content.wxml new file mode 100644 index 0000000..10cf25b --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/vtabs-content/vtabs-content.wxml @@ -0,0 +1,3 @@ + + + diff --git a/yunbainian/etms_wechat_mini/components/vtabs-content/vtabs-content.wxss b/yunbainian/etms_wechat_mini/components/vtabs-content/vtabs-content.wxss new file mode 100644 index 0000000..4152eba --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/vtabs-content/vtabs-content.wxss @@ -0,0 +1,4 @@ +.weui-tabs-content__item { + width: 100%; + height: 100% +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/vtabs/vtabs.js b/yunbainian/etms_wechat_mini/components/vtabs/vtabs.js new file mode 100644 index 0000000..afd346e --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/vtabs/vtabs.js @@ -0,0 +1,105 @@ + + +Component({ + options: { + addGlobalClass: true, + pureDataPattern: /^_/, + multipleSlots: true + }, + properties: { + vtabs: {type: Array, value: []}, + tabBarClass: {type: String, value: ''}, + activeClass: {type: String, value: ''}, + tabBarLineColor: {type: String, value: '#07c160'}, + tabBarInactiveTextColor: {type: String, value: '#000000'}, + tabBarActiveTextColor: {type: String, value: '#07c160'}, + tabBarInactiveBgColor: {type: String, value: '#eeeeee'}, + tabBarActiveBgColor: {type: String, value: '#ffffff'}, + activeTab: {type: Number, value: 0}, + animation: {type: Boolean, value: true} + }, + data: { + currentView: 0, + contentScrollTop: 0, + _heightRecords: [], + _contentHeight: {} + }, + observers: { + activeTab: function activeTab(_activeTab) { + this.scrollTabBar(_activeTab) + } + }, + relations: { + '../vtabs-content/vtabs-content': { + type: 'child', + linked: function linked(target) { + const _this = this + + target.calcHeight(function (rect) { + _this.data._contentHeight[target.data.tabIndex] = rect.height + if (_this._calcHeightTimer) { + clearTimeout(_this._calcHeightTimer) + } + _this._calcHeightTimer = setTimeout(function () { + _this.calcHeight() + }, 100) + }) + }, + unlinked: function unlinked(target) { + delete this.data._contentHeight[target.data.tabIndex] + } + } + }, + lifetimes: { + attached: function attached() {} + }, + methods: { + calcHeight: function calcHeight() { + const length = this.data.vtabs.length + const _contentHeight = this.data._contentHeight + const _heightRecords = [] + let temp = 0 + for (let i = 0; i < length; i++) { + _heightRecords[i] = temp + (_contentHeight[i] || 0) + temp = _heightRecords[i] + } + this.data._heightRecords = _heightRecords + }, + scrollTabBar: function scrollTabBar(index) { + const len = this.data.vtabs.length + if (len === 0) return + let currentView = index < 6 ? 0 : index - 5 + if (currentView >= len) currentView = len - 1 + this.setData({currentView}) + }, + handleTabClick: function handleTabClick(e) { + const _heightRecords = this.data._heightRecords + const index = e.currentTarget.dataset.index + const contentScrollTop = _heightRecords[index - 1] || 0 + this.triggerEvent('tabclick', {index}) + this.setData({ + activeTab: index, + contentScrollTop + }) + }, + handleContentScroll: function handleContentScroll(e) { + const _heightRecords = this.data._heightRecords + if (_heightRecords.length === 0) return + const length = this.data.vtabs.length + const scrollTop = e.detail.scrollTop + let index = 0 + if (scrollTop >= _heightRecords[0]) { + for (let i = 1; i < length; i++) { + if (scrollTop >= _heightRecords[i - 1] && scrollTop < _heightRecords[i]) { + index = i + break + } + } + } + if (index !== this.data.activeTab) { + this.triggerEvent('change', {index}) + this.setData({activeTab: index}) + } + } + } +}) diff --git a/yunbainian/etms_wechat_mini/components/vtabs/vtabs.json b/yunbainian/etms_wechat_mini/components/vtabs/vtabs.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/vtabs/vtabs.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/vtabs/vtabs.wxml b/yunbainian/etms_wechat_mini/components/vtabs/vtabs.wxml new file mode 100644 index 0000000..074726f --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/vtabs/vtabs.wxml @@ -0,0 +1,42 @@ + + + + + + + + + + {{item.title}} + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/vtabs/vtabs.wxss b/yunbainian/etms_wechat_mini/components/vtabs/vtabs.wxss new file mode 100644 index 0000000..b31d581 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/vtabs/vtabs.wxss @@ -0,0 +1,53 @@ +.weui-vtabs { + width: 100%; + height: 100%; + display: flex +} + +.weui-vtabs-bar__wrp { + width: 110px; + height: 100%; + background: #eeeeee; +} + +.weui-vtabs-bar__scrollview { + height: 100% +} + +.weui-vtabs-bar__content { + width: 110px; + height: 100% +} + +.weui-vtabs-bar__item { + display: inline-block; + width: 110px; + height: 55px; + border-left: 4px solid transparent +} + +.weui-vtabs-bar__title { + box-sizing: border-box; + width: 100%; + height: 100%; + display: flex; + align-items: center; + justify-content: center; + font-size: 14px; + white-space: nowrap; + overflow: hidden +} + +.weui-vtabs-content__wrp { + overflow: hidden; + flex: 1; + height: 100% +} + +.weui-vtabs-content__scrollview { + height: 100% +} + +.weui-vtabs-content { + height: 100% +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/weui-wxss/dist/style/icon/weui-icon.wxss b/yunbainian/etms_wechat_mini/components/weui-wxss/dist/style/icon/weui-icon.wxss new file mode 100644 index 0000000..120559c --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/weui-wxss/dist/style/icon/weui-icon.wxss @@ -0,0 +1,6 @@ +/*! + * WeUI v2.3.0 (https://github.com/weui/weui-wxss) + * Copyright 2020 Tencent, Inc. + * Licensed under the MIT license + */ +[data-weui-theme=light],page{--weui-BG-0:#ededed;--weui-BG-1:#f7f7f7;--weui-BG-2:#fff;--weui-BG-3:#f7f7f7;--weui-BG-4:#4c4c4c;--weui-BG-5:#fff;--weui-FG-0:rgba(0,0,0,.9);--weui-FG-HALF:rgba(0,0,0,.9);--weui-FG-1:rgba(0,0,0,.5);--weui-FG-2:rgba(0,0,0,.3);--weui-FG-3:rgba(0,0,0,.1);--weui-RED:#fa5151;--weui-ORANGE:#fa9d3b;--weui-YELLOW:#ffc300;--weui-GREEN:#91d300;--weui-LIGHTGREEN:#95ec69;--weui-BRAND:#07c160;--weui-BLUE:#10aeff;--weui-INDIGO:#1485ee;--weui-PURPLE:#6467f0;--weui-WHITE:#fff;--weui-LINK:#576b95;--weui-TEXTGREEN:#06ae56;--weui-FG:#000;--weui-BG:#fff;--weui-TAG-TEXT-ORANGE:#fa9d3b;--weui-TAG-BACKGROUND-ORANGE:rgba(250,157,59,.1);--weui-TAG-TEXT-GREEN:#06ae56;--weui-TAG-BACKGROUND-GREEN:rgba(6,174,86,.1);--weui-TAG-TEXT-BLUE:#10aeff;--weui-TAG-BACKGROUND-BLUE:rgba(16,174,255,.1);--weui-TAG-TEXT-BLACK:rgba(0,0,0,.5);--weui-TAG-BACKGROUND-BLACK:rgba(0,0,0,.05)}[data-weui-theme=dark]{--weui-BG-0:#191919;--weui-BG-1:#1f1f1f;--weui-BG-2:#232323;--weui-BG-3:#2f2f2f;--weui-BG-4:#606060;--weui-BG-5:#2c2c2c;--weui-FG-0:hsla(0,0%,100%,.8);--weui-FG-HALF:hsla(0,0%,100%,.6);--weui-FG-1:hsla(0,0%,100%,.5);--weui-FG-2:hsla(0,0%,100%,.3);--weui-FG-3:hsla(0,0%,100%,.05);--weui-RED:#fa5151;--weui-ORANGE:#c87d2f;--weui-YELLOW:#cc9c00;--weui-GREEN:#74a800;--weui-LIGHTGREEN:#28b561;--weui-BRAND:#07c160;--weui-BLUE:#10aeff;--weui-INDIGO:#1196ff;--weui-PURPLE:#8183ff;--weui-WHITE:hsla(0,0%,100%,.8);--weui-LINK:#7d90a9;--weui-TEXTGREEN:#259c5c;--weui-FG:#fff;--weui-BG:#000;--weui-TAG-TEXT-ORANGE:rgba(250,157,59,.6);--weui-TAG-BACKGROUND-ORANGE:rgba(250,157,59,.1);--weui-TAG-TEXT-GREEN:rgba(6,174,86,.6);--weui-TAG-BACKGROUND-GREEN:rgba(6,174,86,.1);--weui-TAG-TEXT-BLUE:rgba(16,174,255,.6);--weui-TAG-BACKGROUND-BLUE:rgba(16,174,255,.1);--weui-TAG-TEXT-BLACK:hsla(0,0%,100%,.5);--weui-TAG-BACKGROUND-BLACK:hsla(0,0%,100%,.05)}[data-weui-theme=light],page{--weui-BG-COLOR-ACTIVE:#ececec}[data-weui-theme=dark]{--weui-BG-COLOR-ACTIVE:#373737}[class*=" weui-icon-"],[class^=weui-icon-]{display:inline-block;vertical-align:middle;width:24px;height:24px;-webkit-mask-position:50% 50%;mask-position:50% 50%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100%;mask-size:100%;background-color:currentColor}.weui-icon-circle{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%221000%22%20height%3D%221000%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M500%20916.667C269.881%20916.667%2083.333%20730.119%2083.333%20500%2083.333%20269.881%20269.881%2083.333%20500%2083.333c230.119%200%20416.667%20186.548%20416.667%20416.667%200%20230.119-186.548%20416.667-416.667%20416.667zm0-50c202.504%200%20366.667-164.163%20366.667-366.667%200-202.504-164.163-366.667-366.667-366.667-202.504%200-366.667%20164.163-366.667%20366.667%200%20202.504%20164.163%20366.667%20366.667%20366.667z%22%20fill-rule%3D%22evenodd%22%20fill-opacity%3D%22.9%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%221000%22%20height%3D%221000%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M500%20916.667C269.881%20916.667%2083.333%20730.119%2083.333%20500%2083.333%20269.881%20269.881%2083.333%20500%2083.333c230.119%200%20416.667%20186.548%20416.667%20416.667%200%20230.119-186.548%20416.667-416.667%20416.667zm0-50c202.504%200%20366.667-164.163%20366.667-366.667%200-202.504-164.163-366.667-366.667-366.667-202.504%200-366.667%20164.163-366.667%20366.667%200%20202.504%20164.163%20366.667%20366.667%20366.667z%22%20fill-rule%3D%22evenodd%22%20fill-opacity%3D%22.9%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-download{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M11.25%2012.04l-1.72-1.72-1.06%201.06%202.828%202.83a1%201%200%20001.414-.001l2.828-2.828-1.06-1.061-1.73%201.73V7h-1.5v5.04zm0-5.04V2h1.5v5h6.251c.55%200%20.999.446.999.996v13.008a.998.998%200%2001-.996.996H4.996A.998.998%200%20014%2021.004V7.996A1%201%200%20014.999%207h6.251z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M11.25%2012.04l-1.72-1.72-1.06%201.06%202.828%202.83a1%201%200%20001.414-.001l2.828-2.828-1.06-1.061-1.73%201.73V7h-1.5v5.04zm0-5.04V2h1.5v5h6.251c.55%200%20.999.446.999.996v13.008a.998.998%200%2001-.996.996H4.996A.998.998%200%20014%2021.004V7.996A1%201%200%20014.999%207h6.251z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-info{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-.75-12v7h1.5v-7h-1.5zM12%209a1%201%200%20100-2%201%201%200%20000%202z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-.75-12v7h1.5v-7h-1.5zM12%209a1%201%200%20100-2%201%201%200%20000%202z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-safe-success{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201000%201000%22%3E%3Cpath%20d%3D%22M500.9%204.6C315.5%2046.7%20180.4%2093.1%2057.6%20132c0%20129.3.2%20231.7.2%20339.7%200%20304.2%20248.3%20471.6%20443.1%20523.7C695.7%20943.3%20944%20775.9%20944%20471.7c0-108%20.2-210.4.2-339.7C821.4%2093.1%20686.3%2046.7%20500.9%204.6zm248.3%20349.1l-299.7%20295c-2.1%202-5.3%202-7.4-.1L304.4%20506.1c-2-2.1-2.3-5.7-.6-8l18.3-24.9c1.7-2.3%205-2.8%207.2-1l112.2%2086c2.3%201.8%206%201.7%208.1-.1l274.7-228.9c2.2-1.8%205.7-1.7%207.7.3l17%2016.8c2.2%202.1%202.2%205.3.2%207.4z%22%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20fill%3D%22%23070202%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201000%201000%22%3E%3Cpath%20d%3D%22M500.9%204.6C315.5%2046.7%20180.4%2093.1%2057.6%20132c0%20129.3.2%20231.7.2%20339.7%200%20304.2%20248.3%20471.6%20443.1%20523.7C695.7%20943.3%20944%20775.9%20944%20471.7c0-108%20.2-210.4.2-339.7C821.4%2093.1%20686.3%2046.7%20500.9%204.6zm248.3%20349.1l-299.7%20295c-2.1%202-5.3%202-7.4-.1L304.4%20506.1c-2-2.1-2.3-5.7-.6-8l18.3-24.9c1.7-2.3%205-2.8%207.2-1l112.2%2086c2.3%201.8%206%201.7%208.1-.1l274.7-228.9c2.2-1.8%205.7-1.7%207.7.3l17%2016.8c2.2%202.1%202.2%205.3.2%207.4z%22%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20fill%3D%22%23070202%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-safe-warn{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201000%201000%22%3E%3Cpath%20d%3D%22M500.9%204.5c-185.4%2042-320.4%2088.4-443.2%20127.3%200%20129.3.2%20231.7.2%20339.6%200%20304.1%20248.2%20471.4%20443%20523.6%20194.7-52.2%20443-219.5%20443-523.6%200-107.9.2-210.3.2-339.6C821.3%2092.9%20686.2%2046.5%20500.9%204.5zm-26.1%20271.1h52.1c5.8%200%2010.3%204.7%2010.1%2010.4l-11.6%20313.8c-.1%202.8-2.5%205.2-5.4%205.2h-38.2c-2.9%200-5.3-2.3-5.4-5.2L464.8%20286c-.2-5.8%204.3-10.4%2010-10.4zm26.1%20448.3c-20.2%200-36.5-16.3-36.5-36.5s16.3-36.5%2036.5-36.5%2036.5%2016.3%2036.5%2036.5-16.4%2036.5-36.5%2036.5z%22%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20fill%3D%22%23020202%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201000%201000%22%3E%3Cpath%20d%3D%22M500.9%204.5c-185.4%2042-320.4%2088.4-443.2%20127.3%200%20129.3.2%20231.7.2%20339.6%200%20304.1%20248.2%20471.4%20443%20523.6%20194.7-52.2%20443-219.5%20443-523.6%200-107.9.2-210.3.2-339.6C821.3%2092.9%20686.2%2046.5%20500.9%204.5zm-26.1%20271.1h52.1c5.8%200%2010.3%204.7%2010.1%2010.4l-11.6%20313.8c-.1%202.8-2.5%205.2-5.4%205.2h-38.2c-2.9%200-5.3-2.3-5.4-5.2L464.8%20286c-.2-5.8%204.3-10.4%2010-10.4zm26.1%20448.3c-20.2%200-36.5-16.3-36.5-36.5s16.3-36.5%2036.5-36.5%2036.5%2016.3%2036.5%2036.5-16.4%2036.5-36.5%2036.5z%22%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20fill%3D%22%23020202%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-success{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-1.177-7.86l-2.765-2.767L7%2012.431l3.119%203.121a1%201%200%20001.414%200l5.952-5.95-1.062-1.062-5.6%205.6z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-1.177-7.86l-2.765-2.767L7%2012.431l3.119%203.121a1%201%200%20001.414%200l5.952-5.95-1.062-1.062-5.6%205.6z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-success-circle{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6zm-1.172-6.242l5.809-5.808.848.849-5.95%205.95a1%201%200%2001-1.414%200L7%2012.426l.849-.849%202.98%202.98z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6zm-1.172-6.242l5.809-5.808.848.849-5.95%205.95a1%201%200%2001-1.414%200L7%2012.426l.849-.849%202.98%202.98z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-success-no-circle{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.657%2018.435L3%2012.778l1.414-1.414%204.95%204.95L20.678%205l1.414%201.414-12.02%2012.021a1%201%200%2001-1.415%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.657%2018.435L3%2012.778l1.414-1.414%204.95%204.95L20.678%205l1.414%201.414-12.02%2012.021a1%201%200%2001-1.415%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-waiting{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.75%2011.38V6h-1.5v6l4.243%204.243%201.06-1.06-3.803-3.804zM12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.75%2011.38V6h-1.5v6l4.243%204.243%201.06-1.06-3.803-3.804zM12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-waiting-circle{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.6%2011.503l3.891%203.891-.848.849L11.4%2012V6h1.2v5.503zM12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.6%2011.503l3.891%203.891-.848.849L11.4%2012V6h1.2v5.503zM12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-warn{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-.763-15.864l.11%207.596h1.305l.11-7.596h-1.525zm.759%2010.967c.512%200%20.902-.383.902-.882%200-.5-.39-.882-.902-.882a.878.878%200%2000-.896.882c0%20.499.396.882.896.882z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-.763-15.864l.11%207.596h1.305l.11-7.596h-1.525zm.759%2010.967c.512%200%20.902-.383.902-.882%200-.5-.39-.882-.902-.882a.878.878%200%2000-.896.882c0%20.499.396.882.896.882z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-info-circle{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6zM11.4%2010h1.2v7h-1.2v-7zm.6-1a1%201%200%20110-2%201%201%200%20010%202z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6zM11.4%2010h1.2v7h-1.2v-7zm.6-1a1%201%200%20110-2%201%201%200%20010%202z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-cancel{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6z%22%20fill-rule%3D%22nonzero%22%2F%3E%3Cpath%20d%3D%22M12.849%2012l3.11%203.111-.848.849L12%2012.849l-3.111%203.11-.849-.848L11.151%2012l-3.11-3.111.848-.849L12%2011.151l3.111-3.11.849.848L12.849%2012z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6z%22%20fill-rule%3D%22nonzero%22%2F%3E%3Cpath%20d%3D%22M12.849%2012l3.11%203.111-.848.849L12%2012.849l-3.111%203.11-.849-.848L11.151%2012l-3.11-3.111.848-.849L12%2011.151l3.111-3.11.849.848L12.849%2012z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E)}.weui-icon-search{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M16.31%2015.561l4.114%204.115-.848.848-4.123-4.123a7%207%200%2011.857-.84zM16.8%2011a5.8%205.8%200%2010-11.6%200%205.8%205.8%200%200011.6%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M16.31%2015.561l4.114%204.115-.848.848-4.123-4.123a7%207%200%2011.857-.84zM16.8%2011a5.8%205.8%200%2010-11.6%200%205.8%205.8%200%200011.6%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-clear{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M13.06%2012l3.006-3.005-1.06-1.06L12%2010.938%208.995%207.934l-1.06%201.06L10.938%2012l-3.005%203.005%201.06%201.06L12%2013.062l3.005%203.005%201.06-1.06L13.062%2012zM12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M13.06%2012l3.006-3.005-1.06-1.06L12%2010.938%208.995%207.934l-1.06%201.06L10.938%2012l-3.005%203.005%201.06%201.06L12%2013.062l3.005%203.005%201.06-1.06L13.062%2012zM12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-back{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm1.999-6.563L10.68%2012%2014%208.562%2012.953%207.5%209.29%2011.277a1.045%201.045%200%20000%201.446l3.663%203.777L14%2015.437z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm1.999-6.563L10.68%2012%2014%208.562%2012.953%207.5%209.29%2011.277a1.045%201.045%200%20000%201.446l3.663%203.777L14%2015.437z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-delete{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M6.774%206.4l.812%2013.648a.8.8%200%2000.798.752h7.232a.8.8%200%2000.798-.752L17.226%206.4H6.774zm11.655%200l-.817%2013.719A2%202%200%200115.616%2022H8.384a2%202%200%2001-1.996-1.881L5.571%206.4H3.5v-.7a.5.5%200%2001.5-.5h16a.5.5%200%2001.5.5v.7h-2.071zM14%203a.5.5%200%2001.5.5v.7h-5v-.7A.5.5%200%200110%203h4zM9.5%209h1.2l.5%209H10l-.5-9zm3.8%200h1.2l-.5%209h-1.2l.5-9z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M6.774%206.4l.812%2013.648a.8.8%200%2000.798.752h7.232a.8.8%200%2000.798-.752L17.226%206.4H6.774zm11.655%200l-.817%2013.719A2%202%200%200115.616%2022H8.384a2%202%200%2001-1.996-1.881L5.571%206.4H3.5v-.7a.5.5%200%2001.5-.5h16a.5.5%200%2001.5.5v.7h-2.071zM14%203a.5.5%200%2001.5.5v.7h-5v-.7A.5.5%200%200110%203h4zM9.5%209h1.2l.5%209H10l-.5-9zm3.8%200h1.2l-.5%209h-1.2l.5-9z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-success-no-circle-thin{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.864%2016.617l-5.303-5.303-1.061%201.06%205.657%205.657a1%201%200%20001.414%200L21.238%206.364l-1.06-1.06L8.864%2016.616z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.864%2016.617l-5.303-5.303-1.061%201.06%205.657%205.657a1%201%200%20001.414%200L21.238%206.364l-1.06-1.06L8.864%2016.616z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-arrow{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-arrow-bold{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20height%3D%2224%22%20width%3D%2212%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10.157%2012.711L4.5%2018.368l-1.414-1.414%204.95-4.95-4.95-4.95L4.5%205.64l5.657%205.657a1%201%200%20010%201.414z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20height%3D%2224%22%20width%3D%2212%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10.157%2012.711L4.5%2018.368l-1.414-1.414%204.95-4.95-4.95-4.95L4.5%205.64l5.657%205.657a1%201%200%20010%201.414z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-back-arrow{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M3.343%2012l7.071%207.071L9%2020.485l-7.778-7.778a1%201%200%20010-1.414L9%203.515l1.414%201.414L3.344%2012z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M3.343%2012l7.071%207.071L9%2020.485l-7.778-7.778a1%201%200%20010-1.414L9%203.515l1.414%201.414L3.344%2012z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-back-arrow-thin{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10%2019.438L8.955%2020.5l-7.666-7.79a1.02%201.02%200%20010-1.42L8.955%203.5%2010%204.563%202.682%2012%2010%2019.438z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10%2019.438L8.955%2020.5l-7.666-7.79a1.02%201.02%200%20010-1.42L8.955%203.5%2010%204.563%202.682%2012%2010%2019.438z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-close{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2010.586l5.657-5.657%201.414%201.414L13.414%2012l5.657%205.657-1.414%201.414L12%2013.414l-5.657%205.657-1.414-1.414L10.586%2012%204.929%206.343%206.343%204.93%2012%2010.586z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2010.586l5.657-5.657%201.414%201.414L13.414%2012l5.657%205.657-1.414%201.414L12%2013.414l-5.657%205.657-1.414-1.414L10.586%2012%204.929%206.343%206.343%204.93%2012%2010.586z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-close-thin{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.25%2010.693L6.057%204.5%205%205.557l6.193%206.193L5%2017.943%206.057%2019l6.193-6.193L18.443%2019l1.057-1.057-6.193-6.193L19.5%205.557%2018.443%204.5z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.25%2010.693L6.057%204.5%205%205.557l6.193%206.193L5%2017.943%206.057%2019l6.193-6.193L18.443%2019l1.057-1.057-6.193-6.193L19.5%205.557%2018.443%204.5z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-back-circle{-webkit-mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6zm1.999-5.363L12.953%2016.5%209.29%2012.723a1.045%201.045%200%20010-1.446L12.953%207.5%2014%208.563%2010.68%2012%2014%2015.438z%22%2F%3E%3C%2Fsvg%3E);mask-image:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6zm1.999-5.363L12.953%2016.5%209.29%2012.723a1.045%201.045%200%20010-1.446L12.953%207.5%2014%208.563%2010.68%2012%2014%2015.438z%22%2F%3E%3C%2Fsvg%3E)}.weui-icon-success{color:var(--weui-BRAND)}.weui-icon-waiting{color:var(--weui-BLUE)}.weui-icon-warn{color:var(--weui-RED)}.weui-icon-info{color:var(--weui-BLUE)}.weui-icon-success-circle,.weui-icon-success-no-circle,.weui-icon-success-no-circle-thin{color:var(--weui-BRAND)}.weui-icon-waiting-circle{color:var(--weui-BLUE)}.weui-icon-circle{color:var(--weui-FG-2)}.weui-icon-download{color:var(--weui-BRAND)}.weui-icon-info-circle{color:var(--weui-FG-2)}.weui-icon-safe-success{color:var(--weui-BRAND)}.weui-icon-safe-warn{color:var(--weui-YELLOW)}.weui-icon-cancel{color:var(--weui-RED)}.weui-icon-search{color:var(--weui-FG-1)}.weui-icon-clear{color:var(--weui-FG-2)}.weui-icon-clear:active{color:var(--weui-FG-1)}.weui-icon-delete.weui-icon_gallery-delete{color:var(--weui-WHITE)}.weui-icon-arrow,.weui-icon-arrow-bold,.weui-icon-back-arrow,.weui-icon-back-arrow-thin{width:12px}.weui-icon-arrow,.weui-icon-arrow-bold{color:var(--weui-FG-2)}.weui-icon-back,.weui-icon-back-arrow,.weui-icon-back-arrow-thin,.weui-icon-back-circle{color:var(--weui-FG-0)}.weui-icon_msg{width:64px;height:64px}.weui-icon_msg.weui-icon-warn{color:var(--weui-RED)}.weui-icon_msg-primary{width:64px;height:64px}.weui-icon_msg-primary.weui-icon-warn{color:var(--weui-YELLOW)} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/components/weui-wxss/dist/style/weui.wxss b/yunbainian/etms_wechat_mini/components/weui-wxss/dist/style/weui.wxss new file mode 100644 index 0000000..d317f81 --- /dev/null +++ b/yunbainian/etms_wechat_mini/components/weui-wxss/dist/style/weui.wxss @@ -0,0 +1,4365 @@ +/*! + * WeUI v2.3.0 (https://github.com/weui/weui-wxss) + * Copyright 2020 Tencent, Inc. + * Licensed under the MIT license + */ +[data-weui-theme=light], +page { + --weui-BTN-DISABLED-FONT-COLOR: rgba(0, 0, 0, .2) +} + +[data-weui-theme=dark] { + --weui-BTN-DISABLED-FONT-COLOR: hsla(0, 0%, 100%, .2) +} + +[data-weui-theme=light], +page { + --weui-BTN-DEFAULT-BG: #f2f2f2 +} + +[data-weui-theme=dark] { + --weui-BTN-DEFAULT-BG: hsla(0, 0%, 100%, .08) +} + +[data-weui-theme=light], +page { + --weui-BTN-DEFAULT-COLOR: #06ae56 +} + +[data-weui-theme=dark] { + --weui-BTN-DEFAULT-COLOR: hsla(0, 0%, 100%, .8) +} + +[data-weui-theme=light], +page { + --weui-BTN-DEFAULT-ACTIVE-BG: #e6e6e6 +} + +[data-weui-theme=dark] { + --weui-BTN-DEFAULT-ACTIVE-BG: hsla(0, 0%, 100%, .126) +} + +[data-weui-theme=light], +page { + --weui-DIALOG-LINE-COLOR: rgba(0, 0, 0, .1) +} + +[data-weui-theme=dark] { + --weui-DIALOG-LINE-COLOR: hsla(0, 0%, 100%, .1) +} + +page { + line-height: 1.6; + font-family: -apple-system-font, Helvetica Neue, sans-serif +} + +icon { + vertical-align: middle +} + +[data-weui-theme=light], +page { + --weui-BG-0: #ededed; + --weui-BG-1: #f7f7f7; + --weui-BG-2: #fff; + --weui-BG-3: #f7f7f7; + --weui-BG-4: #4c4c4c; + --weui-BG-5: #fff; + --weui-FG-0: rgba(0, 0, 0, .9); + --weui-FG-HALF: rgba(0, 0, 0, .9); + --weui-FG-1: rgba(0, 0, 0, .5); + --weui-FG-2: rgba(0, 0, 0, .3); + --weui-FG-3: rgba(0, 0, 0, .1); + --weui-RED: #fa5151; + --weui-ORANGE: #fa9d3b; + --weui-YELLOW: #ffc300; + --weui-GREEN: #91d300; + --weui-LIGHTGREEN: #95ec69; + --weui-BRAND: #07c160; + --weui-BLUE: #10aeff; + --weui-INDIGO: #1485ee; + --weui-PURPLE: #6467f0; + --weui-WHITE: #fff; + --weui-LINK: #576b95; + --weui-TEXTGREEN: #06ae56; + --weui-FG: #000; + --weui-BG: #fff; + --weui-TAG-TEXT-ORANGE: #fa9d3b; + --weui-TAG-BACKGROUND-ORANGE: rgba(250, 157, 59, .1); + --weui-TAG-TEXT-GREEN: #06ae56; + --weui-TAG-BACKGROUND-GREEN: rgba(6, 174, 86, .1); + --weui-TAG-TEXT-BLUE: #10aeff; + --weui-TAG-BACKGROUND-BLUE: rgba(16, 174, 255, .1); + --weui-TAG-TEXT-BLACK: rgba(0, 0, 0, .5); + --weui-TAG-BACKGROUND-BLACK: rgba(0, 0, 0, .05) +} + +[data-weui-theme=dark] { + --weui-BG-0: #191919; + --weui-BG-1: #1f1f1f; + --weui-BG-2: #232323; + --weui-BG-3: #2f2f2f; + --weui-BG-4: #606060; + --weui-BG-5: #2c2c2c; + --weui-FG-0: hsla(0, 0%, 100%, .8); + --weui-FG-HALF: hsla(0, 0%, 100%, .6); + --weui-FG-1: hsla(0, 0%, 100%, .5); + --weui-FG-2: hsla(0, 0%, 100%, .3); + --weui-FG-3: hsla(0, 0%, 100%, .05); + --weui-RED: #fa5151; + --weui-ORANGE: #c87d2f; + --weui-YELLOW: #cc9c00; + --weui-GREEN: #74a800; + --weui-LIGHTGREEN: #28b561; + --weui-BRAND: #07c160; + --weui-BLUE: #10aeff; + --weui-INDIGO: #1196ff; + --weui-PURPLE: #8183ff; + --weui-WHITE: hsla(0, 0%, 100%, .8); + --weui-LINK: #7d90a9; + --weui-TEXTGREEN: #259c5c; + --weui-FG: #fff; + --weui-BG: #000; + --weui-TAG-TEXT-ORANGE: rgba(250, 157, 59, .6); + --weui-TAG-BACKGROUND-ORANGE: rgba(250, 157, 59, .1); + --weui-TAG-TEXT-GREEN: rgba(6, 174, 86, .6); + --weui-TAG-BACKGROUND-GREEN: rgba(6, 174, 86, .1); + --weui-TAG-TEXT-BLUE: rgba(16, 174, 255, .6); + --weui-TAG-BACKGROUND-BLUE: rgba(16, 174, 255, .1); + --weui-TAG-TEXT-BLACK: hsla(0, 0%, 100%, .5); + --weui-TAG-BACKGROUND-BLACK: hsla(0, 0%, 100%, .05) +} + +[data-weui-theme=light], +page { + --weui-BG-COLOR-ACTIVE: #ececec +} + +[data-weui-theme=dark] { + --weui-BG-COLOR-ACTIVE: #373737 +} + +[class*=" weui-icon-"], +[class^=weui-icon-] { + display: inline-block; + vertical-align: middle; + width: 24px; + height: 24px; + -webkit-mask-position: 50% 50%; + mask-position: 50% 50%; + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; + -webkit-mask-size: 100%; + mask-size: 100%; + background-color: currentColor +} + +.weui-icon-circle { + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%221000%22%20height%3D%221000%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M500%20916.667C269.881%20916.667%2083.333%20730.119%2083.333%20500%2083.333%20269.881%20269.881%2083.333%20500%2083.333c230.119%200%20416.667%20186.548%20416.667%20416.667%200%20230.119-186.548%20416.667-416.667%20416.667zm0-50c202.504%200%20366.667-164.163%20366.667-366.667%200-202.504-164.163-366.667-366.667-366.667-202.504%200-366.667%20164.163-366.667%20366.667%200%20202.504%20164.163%20366.667%20366.667%20366.667z%22%20fill-rule%3D%22evenodd%22%20fill-opacity%3D%22.9%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%221000%22%20height%3D%221000%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M500%20916.667C269.881%20916.667%2083.333%20730.119%2083.333%20500%2083.333%20269.881%20269.881%2083.333%20500%2083.333c230.119%200%20416.667%20186.548%20416.667%20416.667%200%20230.119-186.548%20416.667-416.667%20416.667zm0-50c202.504%200%20366.667-164.163%20366.667-366.667%200-202.504-164.163-366.667-366.667-366.667-202.504%200-366.667%20164.163-366.667%20366.667%200%20202.504%20164.163%20366.667%20366.667%20366.667z%22%20fill-rule%3D%22evenodd%22%20fill-opacity%3D%22.9%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-icon-download { + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M11.25%2012.04l-1.72-1.72-1.06%201.06%202.828%202.83a1%201%200%20001.414-.001l2.828-2.828-1.06-1.061-1.73%201.73V7h-1.5v5.04zm0-5.04V2h1.5v5h6.251c.55%200%20.999.446.999.996v13.008a.998.998%200%2001-.996.996H4.996A.998.998%200%20014%2021.004V7.996A1%201%200%20014.999%207h6.251z%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M11.25%2012.04l-1.72-1.72-1.06%201.06%202.828%202.83a1%201%200%20001.414-.001l2.828-2.828-1.06-1.061-1.73%201.73V7h-1.5v5.04zm0-5.04V2h1.5v5h6.251c.55%200%20.999.446.999.996v13.008a.998.998%200%2001-.996.996H4.996A.998.998%200%20014%2021.004V7.996A1%201%200%20014.999%207h6.251z%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-icon-info { + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-.75-12v7h1.5v-7h-1.5zM12%209a1%201%200%20100-2%201%201%200%20000%202z%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-.75-12v7h1.5v-7h-1.5zM12%209a1%201%200%20100-2%201%201%200%20000%202z%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-icon-safe-success { + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201000%201000%22%3E%3Cpath%20d%3D%22M500.9%204.6C315.5%2046.7%20180.4%2093.1%2057.6%20132c0%20129.3.2%20231.7.2%20339.7%200%20304.2%20248.3%20471.6%20443.1%20523.7C695.7%20943.3%20944%20775.9%20944%20471.7c0-108%20.2-210.4.2-339.7C821.4%2093.1%20686.3%2046.7%20500.9%204.6zm248.3%20349.1l-299.7%20295c-2.1%202-5.3%202-7.4-.1L304.4%20506.1c-2-2.1-2.3-5.7-.6-8l18.3-24.9c1.7-2.3%205-2.8%207.2-1l112.2%2086c2.3%201.8%206%201.7%208.1-.1l274.7-228.9c2.2-1.8%205.7-1.7%207.7.3l17%2016.8c2.2%202.1%202.2%205.3.2%207.4z%22%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20fill%3D%22%23070202%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201000%201000%22%3E%3Cpath%20d%3D%22M500.9%204.6C315.5%2046.7%20180.4%2093.1%2057.6%20132c0%20129.3.2%20231.7.2%20339.7%200%20304.2%20248.3%20471.6%20443.1%20523.7C695.7%20943.3%20944%20775.9%20944%20471.7c0-108%20.2-210.4.2-339.7C821.4%2093.1%20686.3%2046.7%20500.9%204.6zm248.3%20349.1l-299.7%20295c-2.1%202-5.3%202-7.4-.1L304.4%20506.1c-2-2.1-2.3-5.7-.6-8l18.3-24.9c1.7-2.3%205-2.8%207.2-1l112.2%2086c2.3%201.8%206%201.7%208.1-.1l274.7-228.9c2.2-1.8%205.7-1.7%207.7.3l17%2016.8c2.2%202.1%202.2%205.3.2%207.4z%22%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20fill%3D%22%23070202%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-icon-safe-warn { + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201000%201000%22%3E%3Cpath%20d%3D%22M500.9%204.5c-185.4%2042-320.4%2088.4-443.2%20127.3%200%20129.3.2%20231.7.2%20339.6%200%20304.1%20248.2%20471.4%20443%20523.6%20194.7-52.2%20443-219.5%20443-523.6%200-107.9.2-210.3.2-339.6C821.3%2092.9%20686.2%2046.5%20500.9%204.5zm-26.1%20271.1h52.1c5.8%200%2010.3%204.7%2010.1%2010.4l-11.6%20313.8c-.1%202.8-2.5%205.2-5.4%205.2h-38.2c-2.9%200-5.3-2.3-5.4-5.2L464.8%20286c-.2-5.8%204.3-10.4%2010-10.4zm26.1%20448.3c-20.2%200-36.5-16.3-36.5-36.5s16.3-36.5%2036.5-36.5%2036.5%2016.3%2036.5%2036.5-16.4%2036.5-36.5%2036.5z%22%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20fill%3D%22%23020202%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201000%201000%22%3E%3Cpath%20d%3D%22M500.9%204.5c-185.4%2042-320.4%2088.4-443.2%20127.3%200%20129.3.2%20231.7.2%20339.6%200%20304.1%20248.2%20471.4%20443%20523.6%20194.7-52.2%20443-219.5%20443-523.6%200-107.9.2-210.3.2-339.6C821.3%2092.9%20686.2%2046.5%20500.9%204.5zm-26.1%20271.1h52.1c5.8%200%2010.3%204.7%2010.1%2010.4l-11.6%20313.8c-.1%202.8-2.5%205.2-5.4%205.2h-38.2c-2.9%200-5.3-2.3-5.4-5.2L464.8%20286c-.2-5.8%204.3-10.4%2010-10.4zm26.1%20448.3c-20.2%200-36.5-16.3-36.5-36.5s16.3-36.5%2036.5-36.5%2036.5%2016.3%2036.5%2036.5-16.4%2036.5-36.5%2036.5z%22%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20fill%3D%22%23020202%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-icon-success { + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-1.177-7.86l-2.765-2.767L7%2012.431l3.119%203.121a1%201%200%20001.414%200l5.952-5.95-1.062-1.062-5.6%205.6z%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-1.177-7.86l-2.765-2.767L7%2012.431l3.119%203.121a1%201%200%20001.414%200l5.952-5.95-1.062-1.062-5.6%205.6z%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-icon-success-circle { + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6zm-1.172-6.242l5.809-5.808.848.849-5.95%205.95a1%201%200%2001-1.414%200L7%2012.426l.849-.849%202.98%202.98z%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6zm-1.172-6.242l5.809-5.808.848.849-5.95%205.95a1%201%200%2001-1.414%200L7%2012.426l.849-.849%202.98%202.98z%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-icon-success-no-circle { + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.657%2018.435L3%2012.778l1.414-1.414%204.95%204.95L20.678%205l1.414%201.414-12.02%2012.021a1%201%200%2001-1.415%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.657%2018.435L3%2012.778l1.414-1.414%204.95%204.95L20.678%205l1.414%201.414-12.02%2012.021a1%201%200%2001-1.415%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-icon-waiting { + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.75%2011.38V6h-1.5v6l4.243%204.243%201.06-1.06-3.803-3.804zM12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.75%2011.38V6h-1.5v6l4.243%204.243%201.06-1.06-3.803-3.804zM12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-icon-waiting-circle { + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.6%2011.503l3.891%203.891-.848.849L11.4%2012V6h1.2v5.503zM12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6z%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.6%2011.503l3.891%203.891-.848.849L11.4%2012V6h1.2v5.503zM12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6z%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-icon-warn { + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-.763-15.864l.11%207.596h1.305l.11-7.596h-1.525zm.759%2010.967c.512%200%20.902-.383.902-.882%200-.5-.39-.882-.902-.882a.878.878%200%2000-.896.882c0%20.499.396.882.896.882z%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-.763-15.864l.11%207.596h1.305l.11-7.596h-1.525zm.759%2010.967c.512%200%20.902-.383.902-.882%200-.5-.39-.882-.902-.882a.878.878%200%2000-.896.882c0%20.499.396.882.896.882z%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-icon-info-circle { + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6zM11.4%2010h1.2v7h-1.2v-7zm.6-1a1%201%200%20110-2%201%201%200%20010%202z%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6zM11.4%2010h1.2v7h-1.2v-7zm.6-1a1%201%200%20110-2%201%201%200%20010%202z%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-icon-cancel { + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6z%22%20fill-rule%3D%22nonzero%22%2F%3E%3Cpath%20d%3D%22M12.849%2012l3.11%203.111-.848.849L12%2012.849l-3.111%203.11-.849-.848L11.151%2012l-3.11-3.111.848-.849L12%2011.151l3.111-3.11.849.848L12.849%2012z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6z%22%20fill-rule%3D%22nonzero%22%2F%3E%3Cpath%20d%3D%22M12.849%2012l3.11%203.111-.848.849L12%2012.849l-3.111%203.11-.849-.848L11.151%2012l-3.11-3.111.848-.849L12%2011.151l3.111-3.11.849.848L12.849%2012z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E) +} + +.weui-icon-search { + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M16.31%2015.561l4.114%204.115-.848.848-4.123-4.123a7%207%200%2011.857-.84zM16.8%2011a5.8%205.8%200%2010-11.6%200%205.8%205.8%200%200011.6%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M16.31%2015.561l4.114%204.115-.848.848-4.123-4.123a7%207%200%2011.857-.84zM16.8%2011a5.8%205.8%200%2010-11.6%200%205.8%205.8%200%200011.6%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-icon-clear { + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M13.06%2012l3.006-3.005-1.06-1.06L12%2010.938%208.995%207.934l-1.06%201.06L10.938%2012l-3.005%203.005%201.06%201.06L12%2013.062l3.005%203.005%201.06-1.06L13.062%2012zM12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010z%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M13.06%2012l3.006-3.005-1.06-1.06L12%2010.938%208.995%207.934l-1.06%201.06L10.938%2012l-3.005%203.005%201.06%201.06L12%2013.062l3.005%203.005%201.06-1.06L13.062%2012zM12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010z%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-icon-back { + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm1.999-6.563L10.68%2012%2014%208.562%2012.953%207.5%209.29%2011.277a1.045%201.045%200%20000%201.446l3.663%203.777L14%2015.437z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm1.999-6.563L10.68%2012%2014%208.562%2012.953%207.5%209.29%2011.277a1.045%201.045%200%20000%201.446l3.663%203.777L14%2015.437z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-icon-delete { + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M6.774%206.4l.812%2013.648a.8.8%200%2000.798.752h7.232a.8.8%200%2000.798-.752L17.226%206.4H6.774zm11.655%200l-.817%2013.719A2%202%200%200115.616%2022H8.384a2%202%200%2001-1.996-1.881L5.571%206.4H3.5v-.7a.5.5%200%2001.5-.5h16a.5.5%200%2001.5.5v.7h-2.071zM14%203a.5.5%200%2001.5.5v.7h-5v-.7A.5.5%200%200110%203h4zM9.5%209h1.2l.5%209H10l-.5-9zm3.8%200h1.2l-.5%209h-1.2l.5-9z%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M6.774%206.4l.812%2013.648a.8.8%200%2000.798.752h7.232a.8.8%200%2000.798-.752L17.226%206.4H6.774zm11.655%200l-.817%2013.719A2%202%200%200115.616%2022H8.384a2%202%200%2001-1.996-1.881L5.571%206.4H3.5v-.7a.5.5%200%2001.5-.5h16a.5.5%200%2001.5.5v.7h-2.071zM14%203a.5.5%200%2001.5.5v.7h-5v-.7A.5.5%200%200110%203h4zM9.5%209h1.2l.5%209H10l-.5-9zm3.8%200h1.2l-.5%209h-1.2l.5-9z%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-icon-success-no-circle-thin { + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.864%2016.617l-5.303-5.303-1.061%201.06%205.657%205.657a1%201%200%20001.414%200L21.238%206.364l-1.06-1.06L8.864%2016.616z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.864%2016.617l-5.303-5.303-1.061%201.06%205.657%205.657a1%201%200%20001.414%200L21.238%206.364l-1.06-1.06L8.864%2016.616z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-icon-arrow { + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-icon-arrow-bold { + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20height%3D%2224%22%20width%3D%2212%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10.157%2012.711L4.5%2018.368l-1.414-1.414%204.95-4.95-4.95-4.95L4.5%205.64l5.657%205.657a1%201%200%20010%201.414z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20height%3D%2224%22%20width%3D%2212%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10.157%2012.711L4.5%2018.368l-1.414-1.414%204.95-4.95-4.95-4.95L4.5%205.64l5.657%205.657a1%201%200%20010%201.414z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-icon-back-arrow { + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M3.343%2012l7.071%207.071L9%2020.485l-7.778-7.778a1%201%200%20010-1.414L9%203.515l1.414%201.414L3.344%2012z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M3.343%2012l7.071%207.071L9%2020.485l-7.778-7.778a1%201%200%20010-1.414L9%203.515l1.414%201.414L3.344%2012z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-icon-back-arrow-thin { + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10%2019.438L8.955%2020.5l-7.666-7.79a1.02%201.02%200%20010-1.42L8.955%203.5%2010%204.563%202.682%2012%2010%2019.438z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10%2019.438L8.955%2020.5l-7.666-7.79a1.02%201.02%200%20010-1.42L8.955%203.5%2010%204.563%202.682%2012%2010%2019.438z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-icon-close { + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2010.586l5.657-5.657%201.414%201.414L13.414%2012l5.657%205.657-1.414%201.414L12%2013.414l-5.657%205.657-1.414-1.414L10.586%2012%204.929%206.343%206.343%204.93%2012%2010.586z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2010.586l5.657-5.657%201.414%201.414L13.414%2012l5.657%205.657-1.414%201.414L12%2013.414l-5.657%205.657-1.414-1.414L10.586%2012%204.929%206.343%206.343%204.93%2012%2010.586z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-icon-close-thin { + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.25%2010.693L6.057%204.5%205%205.557l6.193%206.193L5%2017.943%206.057%2019l6.193-6.193L18.443%2019l1.057-1.057-6.193-6.193L19.5%205.557%2018.443%204.5z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.25%2010.693L6.057%204.5%205%205.557l6.193%206.193L5%2017.943%206.057%2019l6.193-6.193L18.443%2019l1.057-1.057-6.193-6.193L19.5%205.557%2018.443%204.5z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-icon-back-circle { + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6zm1.999-5.363L12.953%2016.5%209.29%2012.723a1.045%201.045%200%20010-1.446L12.953%207.5%2014%208.563%2010.68%2012%2014%2015.438z%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm0-1.2a8.8%208.8%200%20100-17.6%208.8%208.8%200%20000%2017.6zm1.999-5.363L12.953%2016.5%209.29%2012.723a1.045%201.045%200%20010-1.446L12.953%207.5%2014%208.563%2010.68%2012%2014%2015.438z%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-icon-success { + color: var(--weui-BRAND) +} + +.weui-icon-waiting { + color: var(--weui-BLUE) +} + +.weui-icon-warn { + color: var(--weui-RED) +} + +.weui-icon-info { + color: var(--weui-BLUE) +} + +.weui-icon-success-circle, +.weui-icon-success-no-circle, +.weui-icon-success-no-circle-thin { + color: var(--weui-BRAND) +} + +.weui-icon-waiting-circle { + color: var(--weui-BLUE) +} + +.weui-icon-circle { + color: var(--weui-FG-2) +} + +.weui-icon-download { + color: var(--weui-BRAND) +} + +.weui-icon-info-circle { + color: var(--weui-FG-2) +} + +.weui-icon-safe-success { + color: var(--weui-BRAND) +} + +.weui-icon-safe-warn { + color: var(--weui-YELLOW) +} + +.weui-icon-cancel { + color: var(--weui-RED) +} + +.weui-icon-search { + color: var(--weui-FG-1) +} + +.weui-icon-clear { + color: var(--weui-FG-2) +} + +.weui-icon-clear:active { + color: var(--weui-FG-1) +} + +.weui-icon-delete.weui-icon_gallery-delete { + color: var(--weui-WHITE) +} + +.weui-icon-arrow, +.weui-icon-arrow-bold, +.weui-icon-back-arrow, +.weui-icon-back-arrow-thin { + width: 12px +} + +.weui-icon-arrow, +.weui-icon-arrow-bold { + color: var(--weui-FG-2) +} + +.weui-icon-back, +.weui-icon-back-arrow, +.weui-icon-back-arrow-thin, +.weui-icon-back-circle { + color: var(--weui-FG-0) +} + +.weui-icon_msg { + width: 64px; + height: 64px +} + +.weui-icon_msg.weui-icon-warn { + color: var(--weui-RED) +} + +.weui-icon_msg-primary { + width: 64px; + height: 64px +} + +.weui-icon_msg-primary.weui-icon-warn { + color: var(--weui-YELLOW) +} + +.weui-link { + -webkit-tap-highlight-color: rgba(0, 0, 0, 0) +} + +.weui-link, +.weui-link:visited { + color: var(--weui-LINK) +} + +.weui-btn { + position: relative; + display: block; + width: 184px; + margin-left: auto; + margin-right: auto; + padding: 8px 24px; + box-sizing: border-box; + font-weight: 700; + font-size: 17px; + text-align: center; + text-decoration: none; + color: #fff; + line-height: 1.41176471; + border-radius: 4px; + overflow: hidden; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0) +} + +.weui-btn_block { + width: auto +} + +.weui-btn_inline { + display: inline-block +} + +.weui-btn_default { + background-color: var(--weui-BTN-DEFAULT-BG) +} + +.weui-btn_default, +.weui-btn_default:not(.weui-btn_disabled):visited { + color: var(--weui-BTN-DEFAULT-COLOR) +} + +.weui-btn_default:not(.weui-btn_disabled):active { + background-color: var(--weui-BTN-DEFAULT-ACTIVE-BG) +} + +.weui-btn_primary { + background-color: var(--weui-BRAND) +} + +.weui-btn_primary:not(.weui-btn_disabled):visited { + color: #fff +} + +.weui-btn_primary:not(.weui-btn_disabled):active { + background-color: var(--weui-TAG-TEXT-GREEN) +} + +.weui-btn_warn { + background-color: var(--weui-BTN-DEFAULT-BG) +} + +.weui-btn_warn, +.weui-btn_warn:not(.weui-btn_disabled):visited { + color: var(--weui-RED) +} + +.weui-btn_warn:not(.weui-btn_disabled):active { + background-color: var(--weui-BTN-DEFAULT-ACTIVE-BG) +} + +.weui-btn_disabled { + color: var(--weui-BTN-DISABLED-FONT-COLOR); + background-color: var(--weui-BTN-DEFAULT-BG) +} + +.weui-btn_loading .weui-loading { + margin: -.2em .34em 0 0 +} + +.weui-btn_loading.weui-btn_primary { + background-color: var(--weui-TAG-TEXT-GREEN); + color: var(--weui-WHITE) +} + +.weui-btn_loading.weui-btn_default, +.weui-btn_loading.weui-btn_warn { + background-color: var(--weui-BTN-DEFAULT-ACTIVE-BG) +} + +.weui-btn_cell { + position: relative; + display: block; + margin-left: auto; + margin-right: auto; + box-sizing: border-box; + font-size: 17px; + text-align: center; + text-decoration: none; + color: #fff; + line-height: 1.41176471; + padding: 16px; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); + overflow: hidden; + background-color: var(--weui-BG-5) +} + +.weui-btn_cell+.weui-btn_cell { + margin-top: 16px +} + +.weui-btn_cell:active { + background-color: var(--weui-BG-COLOR-ACTIVE) +} + +.weui-btn_cell__icon { + display: inline-block; + vertical-align: middle; + width: 24px; + height: 24px; + margin: -.2em .34em 0 0 +} + +.weui-btn_cell-default { + color: var(--weui-FG-0) +} + +.weui-btn_cell-primary { + color: var(--weui-LINK) +} + +.weui-btn_cell-warn { + color: var(--weui-RED) +} + +button.weui-btn, +input.weui-btn { + border-width: 0; + outline: 0; + -webkit-appearance: none +} + +button.weui-btn:focus, +input.weui-btn:focus { + outline: 0 +} + +button.weui-btn_inline, +button.weui-btn_mini, +input.weui-btn_inline, +input.weui-btn_mini { + width: auto +} + +.weui-btn_mini { + display: inline-block; + width: auto; + padding: 0 .75em; + line-height: 2; + font-size: 16px +} + +.weui-btn:not(.weui-btn_mini)+.weui-btn:not(.weui-btn_mini) { + margin-top: 16px +} + +.weui-btn.weui-btn_inline+.weui-btn.weui-btn_inline { + margin-top: auto; + margin-left: 16px +} + +.weui-btn-area { + margin: 48px 16px 8px +} + +.weui-btn-area_inline { + display: -webkit-box; + display: -webkit-flex; + display: flex +} + +.weui-btn-area_inline .weui-btn { + margin-top: auto; + margin-right: 16px; + width: 100%; + -webkit-box-flex: 1; + -webkit-flex: 1; + flex: 1 +} + +.weui-btn-area_inline .weui-btn:last-child { + margin-right: 0 +} + +.weui-btn_reset { + background: transparent; + border: 0; + padding: 0; + outline: 0 +} + +.weui-btn_icon { + font-size: 0 +} + +.weui-btn_icon:active [class*=weui-icon-] { + color: var(--weui-FG-1) +} + +.weui-cells { + margin-top: 8px; + background-color: var(--weui-BG-2); + line-height: 1.41176471; + font-size: 17px; + overflow: hidden; + position: relative +} + +.weui-cells:before { + top: 0; + border-top: 1px solid var(--weui-FG-3); + -webkit-transform-origin: 0 0; + transform-origin: 0 0; + -webkit-transform: scaleY(.5); + transform: scaleY(.5) +} + +.weui-cells:after, +.weui-cells:before { + content: " "; + position: absolute; + left: 0; + right: 0; + height: 1px; + color: var(--weui-FG-3); + z-index: 2 +} + +.weui-cells:after { + bottom: 0; + border-bottom: 1px solid var(--weui-FG-3); + -webkit-transform-origin: 0 100%; + transform-origin: 0 100%; + -webkit-transform: scaleY(.5); + transform: scaleY(.5) +} + +.weui-cells__title { + margin-top: 16px; + margin-bottom: 3px; + padding-left: 16px; + padding-right: 16px; + color: var(--weui-FG-1); + font-size: 14px; + line-height: 1.4 +} + +.weui-cells__title+.weui-cells { + margin-top: 0 +} + +.weui-cells__tips { + margin-top: 8px; + color: var(--weui-FG-1); + padding-left: 16px; + padding-right: 16px; + font-size: 14px; + line-height: 1.4 +} + +.weui-cells__tips a, +.weui-cells__tips navigator { + color: var(--weui-LINK) +} + +.weui-cells__tips navigator { + display: inline +} + +.weui-cell { + padding: 16px; + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center +} + +.weui-cell:before { + content: " "; + position: absolute; + left: 0; + top: 0; + right: 0; + height: 1px; + border-top: 1px solid var(--weui-FG-3); + color: var(--weui-FG-3); + -webkit-transform-origin: 0 0; + transform-origin: 0 0; + -webkit-transform: scaleY(.5); + transform: scaleY(.5); + left: 16px; + z-index: 2 +} + +.weui-cell:first-child:before { + display: none +} + +.weui-cell_active:active { + background-color: var(--weui-BG-COLOR-ACTIVE) +} + +.weui-cell_primary { + -webkit-box-align: start; + -webkit-align-items: flex-start; + align-items: flex-start +} + +.weui-cell__bd { + -webkit-box-flex: 1; + -webkit-flex: 1; + flex: 1 +} + +.weui-cell__ft { + text-align: right; + color: var(--weui-FG-1) +} + +.weui-cell_swiped { + display: block; + padding: 0 +} + +.weui-cell_swiped>.weui-cell__bd { + position: relative; + z-index: 1; + background-color: var(--weui-BG-2) +} + +.weui-cell_swiped>.weui-cell__ft { + position: absolute; + right: 0; + top: 0; + bottom: 0; + display: -webkit-box; + display: -webkit-flex; + display: flex; + color: #fff +} + +.weui-swiped-btn { + display: block; + padding: 16px 1em; + line-height: 1.41176471; + color: inherit +} + +.weui-swiped-btn_default { + background-color: var(--weui-BG-0) +} + +.weui-swiped-btn_warn { + background-color: var(--weui-RED) +} + +.weui-cell_access { + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); + color: inherit +} + +.weui-cell_access:active { + background-color: var(--weui-BG-COLOR-ACTIVE) +} + +.weui-cell_access .weui-cell__ft { + padding-right: 22px; + position: relative +} + +.weui-cell_access .weui-cell__ft:after { + content: " "; + width: 12px; + height: 24px; + -webkit-mask-position: 0 0; + mask-position: 0 0; + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; + -webkit-mask-size: 100%; + mask-size: 100%; + background-color: currentColor; + color: var(--weui-FG-2); + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E); + position: absolute; + top: 50%; + right: 0; + margin-top: -12px +} + +.weui-cell_link { + color: var(--weui-LINK); + font-size: 17px +} + +.weui-cell_link:first-child:before { + display: block +} + +.weui-check__label { + -webkit-tap-highlight-color: rgba(0, 0, 0, 0) +} + +.weui-check__label:active { + background-color: var(--weui-BG-COLOR-ACTIVE) +} + +.weui-check { + position: absolute; + left: -9999px +} + +.weui-cells_radio .weui-cell__ft { + padding-left: 16px; + font-size: 0 +} + +.weui-cells_radio .weui-check+.weui-icon-checked { + min-width: 16px; + color: transparent +} + +.weui-cells_radio .weui-check:checked+.weui-icon-checked, +.weui-cells_radio .weui-check[aria-checked=true]+.weui-icon-checked { + color: var(--weui-BRAND); + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.657%2018.435L3%2012.778l1.414-1.414%204.95%204.95L20.678%205l1.414%201.414-12.02%2012.021a1%201%200%2001-1.415%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.657%2018.435L3%2012.778l1.414-1.414%204.95%204.95L20.678%205l1.414%201.414-12.02%2012.021a1%201%200%2001-1.415%200z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-cells_checkbox .weui-check__label:before { + left: 55px +} + +.weui-cells_checkbox .weui-cell__hd { + padding-right: 16px; + font-size: 0 +} + +.weui-cells_checkbox .weui-icon-checked { + color: var(--weui-FG-2); + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%221000%22%20height%3D%221000%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M500%20916.667C269.881%20916.667%2083.333%20730.119%2083.333%20500%2083.333%20269.881%20269.881%2083.333%20500%2083.333c230.119%200%20416.667%20186.548%20416.667%20416.667%200%20230.119-186.548%20416.667-416.667%20416.667zm0-50c202.504%200%20366.667-164.163%20366.667-366.667%200-202.504-164.163-366.667-366.667-366.667-202.504%200-366.667%20164.163-366.667%20366.667%200%20202.504%20164.163%20366.667%20366.667%20366.667z%22%20fill-rule%3D%22evenodd%22%20fill-opacity%3D%22.9%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%221000%22%20height%3D%221000%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M500%20916.667C269.881%20916.667%2083.333%20730.119%2083.333%20500%2083.333%20269.881%20269.881%2083.333%20500%2083.333c230.119%200%20416.667%20186.548%20416.667%20416.667%200%20230.119-186.548%20416.667-416.667%20416.667zm0-50c202.504%200%20366.667-164.163%20366.667-366.667%200-202.504-164.163-366.667-366.667-366.667-202.504%200-366.667%20164.163-366.667%20366.667%200%20202.504%20164.163%20366.667%20366.667%20366.667z%22%20fill-rule%3D%22evenodd%22%20fill-opacity%3D%22.9%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-cells_checkbox .weui-check:checked+.weui-icon-checked, +.weui-cells_checkbox .weui-check[aria-checked=true]+.weui-icon-checked { + color: var(--weui-BRAND); + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-1.177-7.86l-2.765-2.767L7%2012.431l3.119%203.121a1%201%200%20001.414%200l5.952-5.95-1.062-1.062-5.6%205.6z%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-1.177-7.86l-2.765-2.767L7%2012.431l3.119%203.121a1%201%200%20001.414%200l5.952-5.95-1.062-1.062-5.6%205.6z%22%2F%3E%3C%2Fsvg%3E) +} + +.weui-label { + display: block; + width: 105px; + word-wrap: break-word; + word-break: break-all +} + +.weui-input { + width: 100%; + border: 0; + outline: 0; + -webkit-appearance: none; + background-color: transparent; + font-size: inherit; + color: inherit; + height: 1.41176471em; + line-height: 1.41176471 +} + +.weui-input::-webkit-inner-spin-button, +.weui-input::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0 +} + +.weui-input:focus:not(:placeholder-shown)+.weui-btn_input-clear { + display: inline +} + +.weui-input::-webkit-input-placeholder, +.weui-input__placeholder { + color: var(--weui-FG-2) +} + +.weui-input::placeholder, +.weui-input__placeholder { + color: var(--weui-FG-2) +} + +.weui-textarea { + display: block; + border: 0; + resize: none; + background: transparent; + width: 100%; + color: inherit; + font-size: 1em; + line-height: inherit; + outline: 0 +} + +.weui-textarea-counter { + color: var(--weui-FG-2); + text-align: right; + font-size: 14px +} + +.weui-cell_warn .weui-textarea-counter { + color: var(--weui-RED) +} + +.weui-cells_form .weui-cell_disabled:active, +.weui-cells_form .weui-cell_readonly:active, +.weui-cells_form .weui-cell_switch:active, +.weui-cells_form .weui-cell_vcode:active { + background-color: transparent +} + +.weui-cells_form .weui-cell__ft { + font-size: 0 +} + +.weui-cells_form .weui-icon-warn { + display: none +} + +.weui-cells_form input, +.weui-cells_form label[for], +.weui-cells_form textarea { + -webkit-tap-highlight-color: rgba(0, 0, 0, 0) +} + +.weui-cell_warn { + color: var(--weui-RED) +} + +.weui-cell_warn .weui-icon-warn { + display: inline-block +} + +.weui-cell_disabled .weui-input:disabled, +.weui-cell_disabled .weui-textarea:disabled, +.weui-cell_readonly .weui-input:disabled, +.weui-cell_readonly .weui-textarea:disabled { + opacity: 1; + -webkit-text-fill-color: var(--weui-FG-1) +} + +.weui-cell_disabled .weui-input[disabled], +.weui-cell_disabled .weui-input[readonly], +.weui-cell_disabled .weui-textarea[disabled], +.weui-cell_disabled .weui-textarea[readonly], +.weui-cell_readonly .weui-input[disabled], +.weui-cell_readonly .weui-input[readonly], +.weui-cell_readonly .weui-textarea[disabled], +.weui-cell_readonly .weui-textarea[readonly] { + color: var(--weui-FG-1) +} + +.weui-btn_input-clear { + display: none; + padding-left: 8px +} + +.weui-btn_input-clear [class*=weui-icon-] { + width: 18px +} + +.weui-form-preview { + position: relative; + background-color: var(--weui-BG-2) +} + +.weui-form-preview:before { + top: 0; + border-top: 1px solid var(--weui-FG-3); + -webkit-transform-origin: 0 0; + transform-origin: 0 0; + -webkit-transform: scaleY(.5); + transform: scaleY(.5) +} + +.weui-form-preview:after, +.weui-form-preview:before { + content: " "; + position: absolute; + left: 0; + right: 0; + height: 1px; + color: var(--weui-FG-3) +} + +.weui-form-preview:after { + bottom: 0; + border-bottom: 1px solid var(--weui-FG-3); + -webkit-transform-origin: 0 100%; + transform-origin: 0 100%; + -webkit-transform: scaleY(.5); + transform: scaleY(.5) +} + +.weui-form-preview__hd { + position: relative; + padding: 16px; + text-align: right; + line-height: 2.5em +} + +.weui-form-preview__hd:after { + content: " "; + position: absolute; + left: 0; + bottom: 0; + right: 0; + height: 1px; + border-bottom: 1px solid var(--weui-FG-3); + color: var(--weui-FG-3); + -webkit-transform-origin: 0 100%; + transform-origin: 0 100%; + -webkit-transform: scaleY(.5); + transform: scaleY(.5); + left: 16px +} + +.weui-form-preview__hd .weui-form-preview__value { + font-style: normal; + font-size: 1.6em +} + +.weui-form-preview__bd { + padding: 16px; + font-size: .9em; + text-align: right; + color: var(--weui-FG-1); + line-height: 2 +} + +.weui-form-preview__ft { + position: relative; + line-height: 50px; + display: -webkit-box; + display: -webkit-flex; + display: flex +} + +.weui-form-preview__ft:before { + content: " "; + position: absolute; + left: 0; + top: 0; + right: 0; + height: 1px; + border-top: 1px solid var(--weui-DIALOG-LINE-COLOR); + color: var(--weui-DIALOG-LINE-COLOR); + -webkit-transform-origin: 0 0; + transform-origin: 0 0; + -webkit-transform: scaleY(.5); + transform: scaleY(.5) +} + +.weui-form-preview__item { + overflow: hidden +} + +.weui-form-preview__label { + float: left; + margin-right: 1em; + min-width: 4em; + color: var(--weui-FG-1); + text-align: justify; + text-align-last: justify +} + +.weui-form-preview__value { + display: block; + overflow: hidden; + word-break: normal; + word-wrap: break-word; + color: var(--weui-FG-0) +} + +.weui-form-preview__btn { + position: relative; + display: block; + -webkit-box-flex: 1; + -webkit-flex: 1; + flex: 1; + color: var(--weui-LINK); + text-align: center; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0) +} + +button.weui-form-preview__btn { + background-color: transparent; + border: 0; + outline: 0; + line-height: inherit; + font-size: inherit +} + +.weui-form-preview__btn:active { + background-color: var(--weui-BG-COLOR-ACTIVE) +} + +.weui-form-preview__btn:after { + content: " "; + position: absolute; + left: 0; + top: 0; + width: 1px; + bottom: 0; + border-left: 1px solid var(--weui-DIALOG-LINE-COLOR); + color: var(--weui-DIALOG-LINE-COLOR); + -webkit-transform-origin: 0 0; + transform-origin: 0 0; + -webkit-transform: scaleX(.5); + transform: scaleX(.5) +} + +.weui-form-preview__btn:first-child:after { + display: none +} + +.weui-form-preview__btn_default { + color: var(--weui-FG-HALF) +} + +.weui-form-preview__btn_primary { + color: var(--weui-LINK) +} + +.weui-cell_select { + padding: 0 +} + +.weui-cell_select .weui-select { + padding-right: 30px +} + +.weui-cell_select .weui-cell__bd:after { + content: " "; + width: 12px; + height: 24px; + -webkit-mask-position: 0 0; + mask-position: 0 0; + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; + -webkit-mask-size: 100%; + mask-size: 100%; + background-color: currentColor; + color: var(--weui-FG-2); + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E); + position: absolute; + top: 50%; + right: 16px; + margin-top: -12px +} + +.weui-select { + -webkit-appearance: none; + border: 0; + outline: 0; + background-color: transparent; + width: 100%; + font-size: inherit; + height: 56px; + line-height: 56px; + position: relative; + z-index: 1; + padding-left: 16px; + color: var(--weui-FG-0) +} + +.weui-cell_select-before { + padding-right: 16px +} + +.weui-cell_select-before .weui-select { + width: 105px; + box-sizing: border-box +} + +.weui-cell_select-before .weui-cell__hd { + position: relative +} + +.weui-cell_select-before .weui-cell__hd:after { + content: " "; + position: absolute; + right: 0; + top: 0; + width: 1px; + bottom: 0; + border-right: 1px solid var(--weui-FG-3); + color: var(--weui-FG-3); + -webkit-transform-origin: 100% 0; + transform-origin: 100% 0; + -webkit-transform: scaleX(.5); + transform: scaleX(.5) +} + +.weui-cell_select-before .weui-cell__hd:before { + content: " "; + width: 12px; + height: 24px; + -webkit-mask-position: 0 0; + mask-position: 0 0; + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; + -webkit-mask-size: 100%; + mask-size: 100%; + background-color: currentColor; + color: var(--weui-FG-2); + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.454%206.58l1.06-1.06%205.78%205.779a.996.996%200%20010%201.413l-5.78%205.779-1.06-1.061%205.425-5.425-5.425-5.424z%22%20fill%3D%22%23B2B2B2%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E); + position: absolute; + top: 50%; + right: 16px; + margin-top: -12px +} + +.weui-cell_select-before .weui-cell__bd { + padding-left: 16px +} + +.weui-cell_select-before .weui-cell__bd:after { + display: none +} + +.weui-cell_select-before.weui-cell_access .weui-cell__hd { + line-height: 56px; + padding-left: 32px +} + +.weui-cell_select-after { + padding-left: 16px +} + +.weui-cell_select-after .weui-select { + padding-left: 0 +} + +.weui-cell_select-after.weui-cell_access .weui-cell__bd { + line-height: 56px +} + +.weui-cell_vcode { + padding-top: 0; + padding-right: 0; + padding-bottom: 0 +} + +.weui-vcode-btn, +.weui-vcode-img { + margin-left: 5px; + height: 56px; + vertical-align: middle +} + +.weui-vcode-btn { + display: inline-block; + padding: 0 .6em 0 .7em; + line-height: 56px; + font-size: 17px; + color: var(--weui-LINK); + position: relative +} + +.weui-vcode-btn:before { + content: " "; + position: absolute; + left: 0; + top: 0; + width: 1px; + bottom: 0; + border-left: 1px solid var(--weui-FG-3); + color: var(--weui-FG-3); + -webkit-transform-origin: 0 0; + transform-origin: 0 0; + -webkit-transform: scaleX(.5); + transform: scaleX(.5) +} + +button.weui-vcode-btn { + background-color: transparent; + border: 0; + outline: 0 +} + +.weui-vcode-btn:active { + color: #767676 +} + +.weui-gallery { + display: none; + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + background-color: #000; + z-index: 1000 +} + +.weui-gallery__img, +.weui-gallery__opr { + position: absolute; + left: 0; + left: constant(safe-area-inset-left); + left: env(safe-area-inset-left); + right: 0; + right: constant(safe-area-inset-right); + right: env(safe-area-inset-right) +} + +.weui-gallery__img { + top: 0; + top: constant(safe-area-inset-top); + top: env(safe-area-inset-top); + bottom: 60px; + bottom: calc(60px + constant(safe-area-inset-bottom)); + bottom: calc(60px + env(safe-area-inset-bottom)); + background: 50% no-repeat; + background-size: contain +} + +.weui-gallery__opr { + position: absolute; + bottom: 0; + padding-bottom: 0; + padding-bottom: constant(safe-area-inset-bottom); + padding-bottom: env(safe-area-inset-bottom); + background-color: #0d0d0d; + color: var(--weui-WHITE); + line-height: 60px; + text-align: center +} + +.weui-gallery__del { + display: block +} + +.weui-cell_switch { + padding-top: 12px; + padding-bottom: 12px +} + +.weui-switch { + -webkit-appearance: none; + appearance: none +} + +.weui-switch, +.weui-switch-cp__box { + position: relative; + width: 52px; + height: 32px; + border: 2px solid var(--weui-FG-3); + outline: 0; + border-radius: 16px; + box-sizing: border-box; + -webkit-transition: background-color .1s, border .1s; + transition: background-color .1s, border .1s +} + +.weui-switch-cp__box:before, +.weui-switch:before { + content: " "; + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; + border-radius: 15px; + background-color: var(--weui-BG-3); + -webkit-transition: -webkit-transform .35s cubic-bezier(.45, 1, .4, 1); + transition: -webkit-transform .35s cubic-bezier(.45, 1, .4, 1); + transition: transform .35s cubic-bezier(.45, 1, .4, 1); + transition: transform .35s cubic-bezier(.45, 1, .4, 1), -webkit-transform .35s cubic-bezier(.45, 1, .4, 1) +} + +.weui-switch-cp__box:after, +.weui-switch:after { + content: " "; + position: absolute; + top: 0; + left: 0; + width: 28px; + height: 28px; + border-radius: 15px; + background-color: #fff; + box-shadow: 0 1px 3px rgba(0, 0, 0, .4); + -webkit-transition: -webkit-transform .35s cubic-bezier(.4, .4, .25, 1.35); + transition: -webkit-transform .35s cubic-bezier(.4, .4, .25, 1.35); + transition: transform .35s cubic-bezier(.4, .4, .25, 1.35); + transition: transform .35s cubic-bezier(.4, .4, .25, 1.35), -webkit-transform .35s cubic-bezier(.4, .4, .25, 1.35) +} + +.weui-switch-cp__input:checked+.weui-switch-cp__box, +.weui-switch-cp__input[aria-checked=true]+.weui-switch-cp__box, +.weui-switch:checked { + border-color: var(--weui-BRAND); + background-color: var(--weui-BRAND) +} + +.weui-switch-cp__input:checked+.weui-switch-cp__box:before, +.weui-switch-cp__input[aria-checked=true]+.weui-switch-cp__box:before, +.weui-switch:checked:before { + -webkit-transform: scale(0); + transform: scale(0) +} + +.weui-switch-cp__input:checked+.weui-switch-cp__box:after, +.weui-switch-cp__input[aria-checked=true]+.weui-switch-cp__box:after, +.weui-switch:checked:after { + -webkit-transform: translateX(20px); + transform: translateX(20px) +} + +.weui-switch-cp__input { + position: absolute; + left: -9999px +} + +.weui-switch-cp__box { + display: block +} + +.weui-uploader { + -webkit-box-flex: 1; + -webkit-flex: 1; + flex: 1 +} + +.weui-uploader__hd { + display: -webkit-box; + display: -webkit-flex; + display: flex; + padding-bottom: 16px; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center +} + +.weui-uploader__title { + -webkit-box-flex: 1; + -webkit-flex: 1; + flex: 1 +} + +.weui-uploader__info { + color: var(--weui-FG-2) +} + +.weui-uploader__bd { + margin-bottom: -8px; + margin-right: -8px; + overflow: hidden +} + +.weui-uploader__files { + list-style: none +} + +.weui-uploader__file { + float: left; + margin-right: 8px; + margin-bottom: 8px; + width: 96px; + height: 96px; + background: no-repeat 50%; + background-size: cover +} + +.weui-uploader__file_status { + position: relative +} + +.weui-uploader__file_status:before { + content: " "; + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + background-color: rgba(0, 0, 0, .5) +} + +.weui-uploader__file_status .weui-uploader__file-content { + display: block +} + +.weui-uploader__file-content { + display: none; + position: absolute; + top: 50%; + left: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + color: var(--weui-WHITE) +} + +.weui-uploader__file-content .weui-icon-warn { + display: inline-block +} + +.weui-uploader__input-box { + float: left; + position: relative; + margin-right: 8px; + margin-bottom: 8px; + width: 96px; + height: 96px; + box-sizing: border-box; + background-color: #ededed +} + +[data-weui-theme=dark] .weui-uploader__input-box { + background-color: #2e2e2e +} + +.weui-uploader__input-box:after, +.weui-uploader__input-box:before { + content: " "; + position: absolute; + top: 50%; + left: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + background-color: #a3a3a3 +} + +[data-weui-theme=dark] .weui-uploader__input-box:after, +[data-weui-theme=dark] .weui-uploader__input-box:before { + background-color: #6d6d6d +} + +.weui-uploader__input-box:before { + width: 2px; + height: 32px +} + +.weui-uploader__input-box:after { + width: 32px; + height: 2px +} + +.weui-uploader__input-box:active:after, +.weui-uploader__input-box:active:before { + opacity: .7 +} + +.weui-uploader__input { + position: absolute; + z-index: 1; + top: 0; + left: 0; + width: 100%; + height: 100%; + opacity: 0; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0) +} + +.weui-msg { + padding-top: 48px; + padding: calc(48px + constant(safe-area-inset-top)) constant(safe-area-inset-right) constant(safe-area-inset-bottom) constant(safe-area-inset-left); + padding: calc(48px + env(safe-area-inset-top)) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); + text-align: center; + line-height: 1.4; + min-height: 100%; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + flex-direction: column; + background-color: var(--weui-BG-2) +} + +.weui-msg a:not(.weui-btn) { + color: var(--weui-LINK); + display: inline-block; + vertical-align: baseline +} + +.weui-msg__icon-area { + margin-bottom: 32px +} + +.weui-msg__text-area { + margin-bottom: 32px; + padding: 0 32px; + -webkit-box-flex: 1; + -webkit-flex: 1; + flex: 1; + line-height: 1.6 +} + +.weui-msg__text-area:first-child { + padding-top: 96px +} + +.weui-msg__title { + font-weight: 700; + font-size: 22px +} + +.weui-msg__desc, +.weui-msg__title { + margin-bottom: 16px; + color: var(--weui-FG-0); + word-wrap: break-word; + word-break: break-all +} + +.weui-msg__desc { + font-size: 17px +} + +.weui-msg__desc-primary { + font-size: 14px; + color: var(--weui-FG-1); + word-wrap: break-word; + word-break: break-all; + margin-bottom: 16px +} + +.weui-msg__opr-area { + margin-bottom: 16px +} + +.weui-msg__opr-area .weui-btn-area { + margin: 0 +} + +.weui-msg__opr-area .weui-btn+.weui-btn { + margin-bottom: 16px +} + +.weui-msg__opr-area:last-child { + margin-bottom: 96px +} + +.weui-msg__opr-area+.weui-msg__extra-area { + margin-top: 48px +} + +.weui-msg__tips-area { + margin-bottom: 16px; + padding: 0 40px +} + +.weui-msg__opr-area+.weui-msg__tips-area { + margin-bottom: 48px +} + +.weui-msg__tips-area:last-child { + margin-bottom: 64px +} + +.weui-msg__extra-area, +.weui-msg__tips { + font-size: 12px; + color: var(--weui-FG-1) +} + +.weui-msg__extra-area { + margin-bottom: 24px +} + +.weui-msg__extra-area a, +.weui-msg__extra-area navigator { + color: var(--weui-LINK) +} + +.weui-msg__extra-area navigator { + display: inline +} + +.weui-cells__group_form:first-child .weui-cells__title { + margin-top: 0 +} + +.weui-cells__group_form .weui-cells__title { + margin-top: 24px; + margin-bottom: 8px; + padding: 0 32px +} + +.weui-cells__group_form .weui-cell:before, +.weui-cells__group_form .weui-cells:before { + left: 32px; + right: 32px +} + +.weui-cells__group_form .weui-cells_checkbox .weui-check__label:before { + left: 72px +} + +.weui-cells__group_form .weui-cells:after { + left: 32px; + right: 32px +} + +.weui-cells__group_form .weui-cell { + padding: 16px 32px +} + +.weui-cells__group_form .weui-cell:not(.weui-cell_link) { + color: var(--weui-FG-0) +} + +.weui-cells__group_form .weui-cell__hd { + padding-right: 16px +} + +.weui-cells__group_form .weui-cell__ft { + padding-left: 16px +} + +.weui-cells__group_form .weui-cell_warn input { + color: var(--weui-RED) +} + +.weui-cells__group_form .weui-label { + max-width: 5em; + margin-right: 8px +} + +.weui-cells__group_form .weui-cells__tips { + margin-top: 8px; + padding: 0 32px; + color: rgba(0, 0, 0, .3) +} + +.weui-cells__group_form .weui-cells__tips a { + font-weight: 700 +} + +.weui-cells__group_form .weui-cell_vcode { + padding: 12px 32px +} + +.weui-cells__group_form .weui-vcode-btn { + font-size: 16px; + padding: 0 12px; + margin-left: 0; + height: auto; + width: auto; + line-height: 2em; + color: var(--weui-BTN-DEFAULT-COLOR); + background-color: var(--weui-BTN-DEFAULT-BG) +} + +.weui-cells__group_form .weui-vcode-btn:before { + display: none +} + +.weui-cells__group_form .weui-cell_select { + padding: 0 +} + +.weui-cells__group_form .weui-cell_select .weui-select { + padding: 0 32px +} + +.weui-cells__group_form .weui-cell_select .weui-cell__bd:after { + right: 32px +} + +.weui-cells__group_form .weui-cell_select-before .weui-label { + margin-right: 24px +} + +.weui-cells__group_form .weui-cell_select-before .weui-select { + padding-right: 24px; + box-sizing: initial +} + +.weui-cells__group_form .weui-cell_select-after { + padding-left: 32px +} + +.weui-cells__group_form .weui-cell_select-after .weui-select { + padding-left: 0 +} + +.weui-cells__group_form .weui-cell_switch { + padding: 12px 32px +} + +.weui-form { + padding: 56px 0 0; + padding: calc(56px + constant(safe-area-inset-top)) constant(safe-area-inset-right) constant(safe-area-inset-bottom) constant(safe-area-inset-left); + padding: calc(56px + env(safe-area-inset-top)) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + flex-direction: column; + line-height: 1.4; + min-height: 100%; + box-sizing: border-box; + background-color: var(--weui-BG-2) +} + +.weui-form .weui-footer, +.weui-form .weui-footer__link { + font-size: 14px +} + +.weui-form .weui-agree { + padding: 0 +} + +.weui-form__text-area { + padding: 0 32px; + color: var(--weui-FG-0); + text-align: center +} + +.weui-form__control-area { + -webkit-box-flex: 1; + -webkit-flex: 1; + flex: 1; + margin: 48px 0 +} + +.weui-form__tips-area { + overflow: hidden +} + +.weui-form__extra-area, +.weui-form__tips-area { + margin-bottom: 24px; + text-align: center +} + +.weui-form__opr-area { + margin-bottom: 64px +} + +.weui-form__opr-area:last-child { + margin-bottom: 96px +} + +.weui-form__title { + font-size: 22px; + font-weight: 700; + line-height: 1.36 +} + +.weui-form__desc { + font-size: 17px; + margin-top: 16px +} + +.weui-form__tips { + color: var(--weui-FG-1); + font-size: 14px +} + +.weui-form__tips a, +.weui-form__tips navigator { + color: var(--weui-LINK) +} + +.weui-form__tips navigator { + display: inline +} + +.weui-article { + padding: 24px 16px; + padding: 24px calc(16px + constant(safe-area-inset-right)) calc(24px + constant(safe-area-inset-bottom)) calc(16px + constant(safe-area-inset-left)); + padding: 24px calc(16px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left)); + font-size: 17px; + color: var(--weui-FG-0) +} + +.weui-article__section { + margin-bottom: 1.5em +} + +.weui-article__h1 { + font-size: 22px; + font-weight: 700; + margin-bottom: .9em; + line-height: 1.4 +} + +.weui-article__h2 { + font-size: 17px +} + +.weui-article__h2, +.weui-article__h3 { + font-weight: 700; + margin-bottom: .34em; + line-height: 1.4 +} + +.weui-article__h3 { + font-size: 15px +} + +.weui-article__p { + margin: 0 0 .8em +} + +.weui-tabbar { + display: -webkit-box; + display: -webkit-flex; + display: flex; + position: relative; + z-index: 500; + background-color: var(--weui-BG-1) +} + +.weui-tabbar:before { + content: " "; + position: absolute; + left: 0; + top: 0; + right: 0; + height: 1px; + border-top: 1px solid var(--weui-FG-3); + color: var(--weui-FG-3); + -webkit-transform-origin: 0 0; + transform-origin: 0 0; + -webkit-transform: scaleY(.5); + transform: scaleY(.5) +} + +.weui-tabbar__item { + display: block; + -webkit-box-flex: 1; + -webkit-flex: 1; + flex: 1; + padding: 8px 0; + padding-bottom: calc(8px + constant(safe-area-inset-bottom)); + padding-bottom: calc(8px + env(safe-area-inset-bottom)); + font-size: 0; + color: var(--weui-FG-1); + text-align: center; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0) +} + +.weui-tabbar__item:first-child { + padding-left: constant(safe-area-inset-left); + padding-left: env(safe-area-inset-left) +} + +.weui-tabbar__item:last-child { + padding-right: constant(safe-area-inset-right); + padding-right: env(safe-area-inset-right) +} + +.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon, +.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon>i, +.weui-tabbar__item.weui-bar__item_on .weui-tabbar__label { + color: var(--weui-BRAND) +} + +.weui-tabbar__icon { + display: inline-block; + width: 28px; + height: 28px; + margin-bottom: 2px +} + +.weui-tabbar__icon>i, +i.weui-tabbar__icon { + font-size: 24px; + color: var(--weui-FG-1) +} + +.weui-tabbar__icon img { + width: 100%; + height: 100% +} + +.weui-tabbar__label { + color: var(--weui-FG-0); + font-size: 10px; + line-height: 1.4 +} + +.weui-navbar { + display: -webkit-box; + display: -webkit-flex; + display: flex; + position: relative; + z-index: 500; + background-color: var(--weui-BG-2); + padding-top: constant(safe-area-inset-top); + padding-top: env(safe-area-inset-top) +} + +.weui-navbar:after { + content: " "; + position: absolute; + left: 0; + bottom: 0; + right: 0; + height: 1px; + border-bottom: 1px solid var(--weui-FG-3); + color: var(--weui-FG-3); + -webkit-transform-origin: 0 100%; + transform-origin: 0 100%; + -webkit-transform: scaleY(.5); + transform: scaleY(.5) +} + +.weui-navbar+.weui-tab__panel { + padding-bottom: constant(safe-area-inset-bottom); + padding-bottom: env(safe-area-inset-bottom) +} + +.weui-navbar__item { + position: relative; + display: block; + -webkit-box-flex: 1; + -webkit-flex: 1; + flex: 1; + padding: 16px 0; + padding-top: calc(16px + constant(safe-area-inset-top)); + padding-top: calc(16px + env(safe-area-inset-top)); + text-align: center; + font-size: 17px; + line-height: 1.41176471; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0) +} + +.weui-navbar__item.weui-bar__item_on, +.weui-navbar__item:active { + background-color: var(--weui-BG-COLOR-ACTIVE) +} + +.weui-navbar__item:after { + content: " "; + position: absolute; + right: 0; + top: 0; + width: 1px; + bottom: 0; + border-right: 1px solid var(--weui-FG-3); + color: var(--weui-FG-3); + -webkit-transform-origin: 100% 0; + transform-origin: 100% 0; + -webkit-transform: scaleX(.5); + transform: scaleX(.5) +} + +.weui-navbar__item:first-child { + padding-left: constant(safe-area-inset-left); + padding-left: env(safe-area-inset-left) +} + +.weui-navbar__item:last-child { + padding-right: constant(safe-area-inset-right); + padding-right: env(safe-area-inset-right) +} + +.weui-navbar__item:last-child:after { + display: none +} + +.weui-tab { + display: -webkit-box; + display: -webkit-flex; + display: flex; + height: 100%; + box-sizing: border-box; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + flex-direction: column +} + +.weui-tab__panel { + box-sizing: border-box; + -webkit-box-flex: 1; + -webkit-flex: 1; + flex: 1; + overflow: auto; + -webkit-overflow-scrolling: touch +} + +.weui-tab__content { + display: none +} + +.weui-progress { + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center +} + +.weui-progress__bar { + background-color: var(--weui-BG-0); + height: 3px; + -webkit-box-flex: 1; + -webkit-flex: 1; + flex: 1 +} + +.weui-progress__inner-bar { + width: 0; + height: 100%; + background-color: var(--weui-BRAND) +} + +.weui-progress__opr { + display: block; + margin-left: 15px; + font-size: 0 +} + +.weui-panel { + background-color: var(--weui-BG-2); + margin-top: 10px; + position: relative; + overflow: hidden +} + +.weui-panel:first-child { + margin-top: 0 +} + +.weui-panel:before { + top: 0; + border-top: 1px solid var(--weui-FG-3); + -webkit-transform-origin: 0 0; + transform-origin: 0 0; + -webkit-transform: scaleY(.5); + transform: scaleY(.5) +} + +.weui-panel:after, +.weui-panel:before { + content: " "; + position: absolute; + left: 0; + right: 0; + height: 1px; + color: var(--weui-FG-3) +} + +.weui-panel:after { + bottom: 0; + border-bottom: 1px solid var(--weui-FG-3); + -webkit-transform-origin: 0 100%; + transform-origin: 0 100%; + -webkit-transform: scaleY(.5); + transform: scaleY(.5) +} + +.weui-panel__hd { + padding: 16px 16px 13px; + color: var(--weui-FG-0); + font-size: 15px; + font-weight: 700; + position: relative +} + +.weui-panel__hd:after { + content: " "; + position: absolute; + left: 0; + bottom: 0; + right: 0; + height: 1px; + border-bottom: 1px solid var(--weui-FG-3); + color: var(--weui-FG-3); + -webkit-transform-origin: 0 100%; + transform-origin: 0 100%; + -webkit-transform: scaleY(.5); + transform: scaleY(.5); + left: 15px +} + +.weui-media-box { + padding: 16px; + position: relative +} + +.weui-media-box:before { + content: " "; + position: absolute; + left: 0; + top: 0; + right: 0; + height: 1px; + border-top: 1px solid var(--weui-FG-3); + color: var(--weui-FG-3); + -webkit-transform-origin: 0 0; + transform-origin: 0 0; + -webkit-transform: scaleY(.5); + transform: scaleY(.5); + left: 16px +} + +.weui-media-box:first-child:before { + display: none +} + +a.weui-media-box { + color: #000; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0) +} + +a.weui-media-box:active { + background-color: var(--weui-BG-COLOR-ACTIVE) +} + +.weui-media-box__title { + font-weight: 400; + font-size: 17px; + color: var(--weui-FG-0); + width: auto; + white-space: nowrap; + word-wrap: normal; + word-wrap: break-word; + word-break: break-all +} + +.weui-media-box__desc, +.weui-media-box__title { + line-height: 1.4; + overflow: hidden; + text-overflow: ellipsis +} + +.weui-media-box__desc { + color: var(--weui-FG-2); + font-size: 14px; + padding-top: 4px; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 2 +} + +.weui-media-box__info { + margin-top: 16px; + padding-bottom: 4px; + font-size: 13px; + color: var(--weui-FG-2); + line-height: 1em; + list-style: none; + overflow: hidden +} + +.weui-media-box__info__meta { + float: left; + padding-right: 1em +} + +.weui-media-box__info__meta_extra { + padding-left: 1em; + border-left: 1px solid var(--weui-FG-2) +} + +.weui-media-box_appmsg { + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center +} + +.weui-media-box_appmsg .weui-media-box__hd { + margin-right: 16px; + width: 60px; + height: 60px; + line-height: 60px; + text-align: center +} + +.weui-media-box_appmsg .weui-media-box__thumb { + width: 100%; + max-height: 100%; + vertical-align: top +} + +.weui-media-box_appmsg .weui-media-box__bd { + -webkit-box-flex: 1; + -webkit-flex: 1; + flex: 1; + min-width: 0 +} + +.weui-media-box_small-appmsg { + padding: 0 +} + +.weui-media-box_small-appmsg .weui-cells { + margin-top: 0 +} + +.weui-media-box_small-appmsg .weui-cells:before { + display: none +} + +.weui-grids { + position: relative; + overflow: hidden +} + +.weui-grids:before { + right: 0; + height: 1px; + border-top: 1px solid var(--weui-FG-3); + -webkit-transform-origin: 0 0; + transform-origin: 0 0; + -webkit-transform: scaleY(.5); + transform: scaleY(.5) +} + +.weui-grids:after, +.weui-grids:before { + content: " "; + position: absolute; + left: 0; + top: 0; + color: var(--weui-FG-3) +} + +.weui-grids:after { + width: 1px; + bottom: 0; + border-left: 1px solid var(--weui-FG-3); + -webkit-transform-origin: 0 0; + transform-origin: 0 0; + -webkit-transform: scaleX(.5); + transform: scaleX(.5) +} + +.weui-grid { + position: relative; + float: left; + padding: 20px 10px; + width: 33.33333333%; + box-sizing: border-box +} + +.weui-grid:before { + top: 0; + width: 1px; + border-right: 1px solid var(--weui-FG-3); + -webkit-transform-origin: 100% 0; + transform-origin: 100% 0; + -webkit-transform: scaleX(.5); + transform: scaleX(.5) +} + +.weui-grid:after, +.weui-grid:before { + content: " "; + position: absolute; + right: 0; + bottom: 0; + color: var(--weui-FG-3) +} + +.weui-grid:after { + left: 0; + height: 1px; + border-bottom: 1px solid var(--weui-FG-3); + -webkit-transform-origin: 0 100%; + transform-origin: 0 100%; + -webkit-transform: scaleY(.5); + transform: scaleY(.5) +} + +.weui-grid:active { + background-color: var(--weui-BG-COLOR-ACTIVE) +} + +.weui-grid__icon { + width: 28px; + height: 28px; + margin: 0 auto +} + +.weui-grid__icon img { + display: block; + width: 100%; + height: 100% +} + +.weui-grid__icon+.weui-grid__label { + margin-top: 4px +} + +.weui-grid__label { + display: block; + color: var(--weui-FG-0); + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden +} + +.weui-footer, +.weui-grid__label { + text-align: center; + font-size: 14px +} + +.weui-footer { + color: var(--weui-FG-2); + line-height: 1.4 +} + +.weui-footer a, +.weui-footer navigator { + color: var(--weui-LINK) +} + +.weui-footer navigator { + display: inline +} + +.weui-footer_fixed-bottom { + position: fixed; + bottom: 0; + left: 0; + right: 0; + padding-top: 16px; + padding-bottom: 16px; + padding-bottom: calc(16px + constant(safe-area-inset-bottom)); + padding-bottom: calc(16px + env(safe-area-inset-bottom)); + left: constant(safe-area-inset-left); + left: env(safe-area-inset-left); + right: constant(safe-area-inset-right); + right: env(safe-area-inset-right) +} + +.weui-footer__links { + font-size: 0 +} + +.weui-footer__link { + display: inline-block; + vertical-align: top; + margin: 0 8px; + position: relative; + font-size: 14px +} + +.weui-footer__link:before { + content: " "; + position: absolute; + left: 0; + top: 0; + width: 1px; + bottom: 0; + border-left: 1px solid var(--weui-FG-3); + color: var(--weui-FG-3); + -webkit-transform-origin: 0 0; + transform-origin: 0 0; + -webkit-transform: scaleX(.5); + transform: scaleX(.5); + left: -8px; + top: .36em; + bottom: .36em +} + +.weui-footer__link:first-child:before { + display: none +} + +.weui-footer__text { + padding: 0 16px; + font-size: 12px +} + +.weui-flex { + display: -webkit-box; + display: -webkit-flex; + display: flex +} + +.weui-flex__item { + -webkit-box-flex: 1; + -webkit-flex: 1; + flex: 1 +} + +.weui-dialog { + position: fixed; + z-index: 5000; + top: 50%; + left: 16px; + right: 16px; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + background-color: var(--weui-BG-2); + text-align: center; + border-radius: 12px; + overflow: hidden; + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-flex-direction: column; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + flex-direction: column; + max-height: 90% +} + +.weui-dialog__hd { + padding: 32px 24px 16px +} + +.weui-dialog__title { + font-weight: 700; + font-size: 17px; + line-height: 1.4 +} + +.weui-dialog__bd { + overflow-y: auto; + -webkit-overflow-scrolling: touch; + padding: 0 24px; + margin-bottom: 32px; + font-size: 17px; + line-height: 1.4; + word-wrap: break-word; + -webkit-hyphens: auto; + hyphens: auto; + color: var(--weui-FG-1) +} + +.weui-dialog__bd:first-child { + min-height: 40px; + padding: 32px 24px 0; + font-weight: 700; + color: var(--weui-FG-0); + -webkit-flex-direction: column; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + flex-direction: column; + -webkit-box-pack: center; + -webkit-justify-content: center; + justify-content: center +} + +.weui-dialog__bd:first-child, +.weui-dialog__ft { + display: -webkit-box; + display: -webkit-flex; + display: flex +} + +.weui-dialog__ft { + position: relative; + line-height: 56px; + min-height: 56px; + font-size: 17px +} + +.weui-dialog__ft:after { + content: " "; + position: absolute; + left: 0; + top: 0; + right: 0; + height: 1px; + border-top: 1px solid var(--weui-DIALOG-LINE-COLOR); + color: var(--weui-DIALOG-LINE-COLOR); + -webkit-transform-origin: 0 0; + transform-origin: 0 0; + -webkit-transform: scaleY(.5); + transform: scaleY(.5) +} + +.weui-dialog__btn { + display: block; + -webkit-box-flex: 1; + -webkit-flex: 1; + flex: 1; + color: var(--weui-LINK); + font-weight: 700; + text-decoration: none; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); + position: relative +} + +.weui-dialog__btn:active { + background-color: var(--weui-BG-COLOR-ACTIVE) +} + +.weui-dialog__btn:after { + content: " "; + position: absolute; + left: 0; + top: 0; + width: 1px; + bottom: 0; + border-left: 1px solid var(--weui-DIALOG-LINE-COLOR); + color: var(--weui-DIALOG-LINE-COLOR); + -webkit-transform-origin: 0 0; + transform-origin: 0 0; + -webkit-transform: scaleX(.5); + transform: scaleX(.5) +} + +.weui-dialog__btn:first-child:after { + display: none +} + +.weui-dialog__btn_default { + color: var(--weui-FG-HALF) +} + +.weui-skin_android .weui-dialog { + text-align: left; + box-shadow: 0 6px 30px 0 rgba(0, 0, 0, .1) +} + +.weui-skin_android .weui-dialog__title { + font-size: 22px; + line-height: 1.4 +} + +.weui-skin_android .weui-dialog__hd { + text-align: left +} + +.weui-skin_android .weui-dialog__bd { + color: var(--weui-FG-1); + text-align: left +} + +.weui-skin_android .weui-dialog__bd:first-child { + color: var(--weui-FG-0) +} + +.weui-skin_android .weui-dialog__ft { + display: block; + text-align: right; + line-height: 40px; + min-height: 40px; + padding: 0 24px 16px +} + +.weui-skin_android .weui-dialog__ft:after { + display: none +} + +.weui-skin_android .weui-dialog__btn { + display: inline-block; + vertical-align: top; + padding: 0 .8em +} + +.weui-skin_android .weui-dialog__btn:after { + display: none +} + +.weui-skin_android .weui-dialog__btn:last-child { + margin-right: -.8em +} + +.weui-skin_android .weui-dialog__btn_default { + color: var(--weui-FG-HALF) +} + +@media screen and (min-width:352px) { + .weui-dialog { + width: 320px; + margin: 0 auto + } +} + +.weui-half-screen-dialog { + position: fixed; + left: 0; + right: 0; + bottom: 0; + max-height: 75%; + z-index: 5000; + line-height: 1.4; + background-color: var(--weui-BG-2); + border-top-left-radius: 12px; + border-top-right-radius: 12px; + overflow: hidden; + padding: 0 24px; + padding: 0 calc(24px + constant(safe-area-inset-right)) constant(safe-area-inset-bottom) calc(24px + constant(safe-area-inset-left)); + padding: 0 calc(24px + env(safe-area-inset-right)) env(safe-area-inset-bottom) calc(24px + env(safe-area-inset-left)) +} + +@media only screen and (max-height:558px) { + .weui-half-screen-dialog { + max-height: none + } +} + +.weui-half-screen-dialog__hd { + font-size: 8px; + height: 8em; + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center +} + +.weui-half-screen-dialog__hd .weui-icon-btn { + position: absolute; + top: 50%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%) +} + +.weui-half-screen-dialog__hd .weui-icon-btn:active { + opacity: .5 +} + +.weui-half-screen-dialog__hd__side { + position: relative; + left: -8px +} + +.weui-half-screen-dialog__hd__main { + -webkit-box-flex: 1; + -webkit-flex: 1; + flex: 1 +} + +.weui-half-screen-dialog__hd__side+.weui-half-screen-dialog__hd__main { + text-align: center; + padding: 0 40px +} + +.weui-half-screen-dialog__hd__main+.weui-half-screen-dialog__hd__side { + right: -8px; + left: auto +} + +.weui-half-screen-dialog__hd__main+.weui-half-screen-dialog__hd__side .weui-icon-btn { + right: 0 +} + +.weui-half-screen-dialog__title { + display: block; + color: var(--weui-FG-0); + font-weight: 700; + font-size: 15px +} + +.weui-half-screen-dialog__subtitle { + display: block; + color: var(--weui-FG-1); + font-size: 10px +} + +. { + word-wrap: break-word; + -webkit-hyphens: auto; + hyphens: auto; + overflow-y: auto; + padding-top: 4px; + padding-bottom: 40px; + font-size: 14px; + color: var(--weui-FG-0) +} + +.weui-half-screen-dialog__desc { + font-size: 17px; + font-weight: 700; + color: var(--weui-FG-0); + line-height: 1.4 +} + +.weui-half-screen-dialog__tips { + padding-top: 16px; + font-size: 14px; + color: var(--weui-FG-2); + line-height: 1.4 +} + +.weui-half-screen-dialog__ft { + padding: 0 24px 32px; + text-align: center +} + +.weui-half-screen-dialog__ft .weui-btn:nth-last-child(n+2), +.weui-half-screen-dialog__ft .weui-btn:nth-last-child(n+2)+.weui-btn { + display: inline-block; + vertical-align: top; + margin: 0 8px; + width: 120px +} + +.weui-icon-btn { + outline: 0; + -webkit-appearance: none; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); + border-width: 0; + background-color: transparent; + color: var(--weui-FG-0); + font-size: 0 +} + +.weui-icon-more { + width: 24px; + -webkit-mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E %3Cpath fill-opacity='.9' fill-rule='evenodd' d='M5 10.25a1.75 1.75 0 1 1 0 3.5 1.75 1.75 0 0 1 0-3.5zm7 0a1.75 1.75 0 1 1 0 3.5 1.75 1.75 0 0 1 0-3.5zm7 0a1.75 1.75 0 1 1 0 3.5 1.75 1.75 0 0 1 0-3.5z'/%3E%3C/svg%3E") no-repeat 50% 50%; + mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E %3Cpath fill-opacity='.9' fill-rule='evenodd' d='M5 10.25a1.75 1.75 0 1 1 0 3.5 1.75 1.75 0 0 1 0-3.5zm7 0a1.75 1.75 0 1 1 0 3.5 1.75 1.75 0 0 1 0-3.5zm7 0a1.75 1.75 0 1 1 0 3.5 1.75 1.75 0 0 1 0-3.5z'/%3E%3C/svg%3E") no-repeat 50% 50%; + -webkit-mask-size: cover; + mask-size: cover +} + +.weui-icon-btn_goback, +.weui-icon-more { + display: inline-block; + vertical-align: middle; + height: 24px; + background-color: currentColor; + color: var(--weui-FG-0) +} + +.weui-icon-btn_goback { + width: 12px; + -webkit-mask: url("data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10%2019.438L8.955%2020.5l-7.666-7.79a1.02%201.02%200%20010-1.42L8.955%203.5%2010%204.563%202.682%2012%2010%2019.438z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat 50% 50%; + mask: url("data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10%2019.438L8.955%2020.5l-7.666-7.79a1.02%201.02%200%20010-1.42L8.955%203.5%2010%204.563%202.682%2012%2010%2019.438z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat 50% 50%; + -webkit-mask-size: cover; + mask-size: cover +} + +.weui-icon-btn_close { + color: var(--weui-FG-0); + display: inline-block; + vertical-align: middle; + width: 14px; + height: 24px; + -webkit-mask: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.25%2010.693L6.057%204.5%205%205.557l6.193%206.193L5%2017.943%206.057%2019l6.193-6.193L18.443%2019l1.057-1.057-6.193-6.193L19.5%205.557%2018.443%204.5z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat 50% 50%; + mask: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12.25%2010.693L6.057%204.5%205%205.557l6.193%206.193L5%2017.943%206.057%2019l6.193-6.193L18.443%2019l1.057-1.057-6.193-6.193L19.5%205.557%2018.443%204.5z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat 50% 50%; + -webkit-mask-size: cover; + mask-size: cover; + background-color: currentColor +} + +.weui-toast { + position: fixed; + z-index: 5000; + width: 120px; + height: 120px; + top: 40%; + left: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + text-align: center; + border-radius: 5px; + color: hsla(0, 0%, 100%, .9); + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + flex-direction: column; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + justify-content: center; + background-color: #4c4c4c +} + +[data-weui-theme=dark] .weui-toast { + background-color: #606060 +} + +.weui-icon_toast { + display: block +} + +.weui-icon_toast.weui-icon-success-no-circle { + color: hsla(0, 0%, 100%, .9); + width: 55px; + height: 55px +} + +.weui-icon_toast.weui-loading { + margin: 8px 0; + width: 38px; + height: 38px; + vertical-align: baseline +} + +.weui-toast__content { + font-size: 14px +} + +.weui-mask { + background: rgba(0, 0, 0, .6) +} + +.weui-mask, +.weui-mask_transparent { + position: fixed; + z-index: 1000; + top: 0; + right: 0; + left: 0; + bottom: 0 +} + +.weui-actionsheet { + position: fixed; + left: 0; + bottom: 0; + -webkit-transform: translateY(100%); + transform: translateY(100%); + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + z-index: 5000; + width: 100%; + background-color: var(--weui-BG-1); + -webkit-transition: -webkit-transform .3s; + transition: -webkit-transform .3s; + transition: transform .3s; + transition: transform .3s, -webkit-transform .3s; + border-top-left-radius: 12px; + border-top-right-radius: 12px; + overflow: hidden +} + +.weui-actionsheet__title { + position: relative; + height: 56px; + padding: 0 24px; + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + flex-direction: column; + text-align: center; + font-size: 12px; + color: var(--weui-FG-1); + line-height: 1.4; + background: var(--weui-BG-2) +} + +.weui-actionsheet__title:before { + content: " "; + position: absolute; + left: 0; + bottom: 0; + right: 0; + height: 1px; + border-bottom: 1px solid var(--weui-FG-3); + color: var(--weui-FG-3); + -webkit-transform-origin: 0 100%; + transform-origin: 0 100%; + -webkit-transform: scaleY(.5); + transform: scaleY(.5) +} + +.weui-actionsheet__title .weui-actionsheet__title-text { + overflow: hidden; + text-overflow: ellipsis; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 2 +} + +.weui-actionsheet__menu { + color: var(--weui-FG-0); + background-color: var(--weui-BG-2) +} + +.weui-actionsheet__action { + margin-top: 8px; + background-color: var(--weui-BG-2); + padding-bottom: constant(safe-area-inset-bottom); + padding-bottom: env(safe-area-inset-bottom) +} + +.weui-actionsheet__cell { + position: relative; + padding: 16px; + text-align: center; + font-size: 17px; + line-height: 1.41176471 +} + +.weui-actionsheet__cell:before { + content: " "; + position: absolute; + left: 0; + top: 0; + right: 0; + height: 1px; + border-top: 1px solid var(--weui-FG-3); + color: var(--weui-FG-3); + -webkit-transform-origin: 0 0; + transform-origin: 0 0; + -webkit-transform: scaleY(.5); + transform: scaleY(.5) +} + +.weui-actionsheet__cell:active { + background-color: var(--weui-BG-COLOR-ACTIVE) +} + +.weui-actionsheet__cell:first-child:before { + display: none +} + +.weui-actionsheet__cell_warn { + color: var(--weui-RED) +} + +.weui-skin_android .weui-actionsheet { + position: fixed; + left: 50%; + top: 50%; + bottom: auto; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + width: 274px; + box-sizing: border-box; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + background: transparent; + -webkit-transition: -webkit-transform .3s; + transition: -webkit-transform .3s; + transition: transform .3s; + transition: transform .3s, -webkit-transform .3s; + border-top-left-radius: 0; + border-top-right-radius: 0 +} + +.weui-skin_android .weui-actionsheet__action { + display: none +} + +.weui-skin_android .weui-actionsheet__menu { + border-radius: 2px; + box-shadow: 0 6px 30px 0 rgba(0, 0, 0, .1) +} + +.weui-skin_android .weui-actionsheet__cell { + padding: 16px; + font-size: 17px; + line-height: 1.41176471; + color: var(--weui-FG-0); + text-align: left +} + +.weui-skin_android .weui-actionsheet__cell:first-child { + border-top-left-radius: 2px; + border-top-right-radius: 2px +} + +.weui-skin_android .weui-actionsheet__cell:last-child { + border-bottom-left-radius: 2px; + border-bottom-right-radius: 2px +} + +.weui-actionsheet_toggle { + -webkit-transform: translate(0); + transform: translate(0) +} + +.weui-loadmore { + width: 65%; + margin: 1.5em auto; + line-height: 1.6em; + font-size: 14px; + text-align: center +} + +.weui-loadmore__tips { + display: inline-block; + vertical-align: middle; + color: var(--weui-FG-0) +} + +.weui-loadmore_line { + border-top: 1px solid var(--weui-FG-3); + margin-top: 2.4em +} + +.weui-loadmore_line .weui-loadmore__tips { + position: relative; + top: -.9em; + padding: 0 .55em; + background-color: var(--weui-BG-2); + color: var(--weui-FG-1) +} + +.weui-loadmore_dot .weui-loadmore__tips { + padding: 0 .16em +} + +.weui-loadmore_dot .weui-loadmore__tips:before { + content: " "; + width: 4px; + height: 4px; + border-radius: 50%; + background-color: var(--weui-FG-3); + display: inline-block; + position: relative; + vertical-align: 0; + top: -.16em +} + +.weui-badge { + display: inline-block; + padding: .15em .4em; + min-width: 8px; + border-radius: 18px; + background-color: var(--weui-RED); + color: #fff; + line-height: 1.2; + text-align: center; + font-size: 12px; + vertical-align: middle +} + +.weui-badge_dot { + padding: .4em; + min-width: 0 +} + +.weui-toptips { + display: none; + position: fixed; + -webkit-transform: translateZ(0); + transform: translateZ(0); + top: 8px; + left: 8px; + right: 8px; + padding: 10px; + border-radius: 8px; + font-size: 14px; + text-align: center; + color: #fff; + z-index: 5000; + word-wrap: break-word; + word-break: break-all +} + +.weui-toptips_warn { + background-color: var(--weui-RED) +} + +.weui-search-bar { + position: relative; + padding: 8px; + display: -webkit-box; + display: -webkit-flex; + display: flex; + box-sizing: border-box; + background-color: var(--weui-BG-0); + -webkit-text-size-adjust: 100%; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center +} + +.weui-search-bar.weui-search-bar_focusing .weui-search-bar__cancel-btn { + display: block +} + +.weui-search-bar.weui-search-bar_focusing .weui-search-bar__label { + display: none +} + +.weui-search-bar .weui-icon-search { + width: 16px; + height: 16px +} + +.weui-search-bar__form { + position: relative; + -webkit-box-flex: 1; + -webkit-flex: auto; + flex: auto; + background-color: var(--weui-BG-2); + border-radius: 4px +} + +.weui-search-bar__box { + position: relative; + padding-left: 28px; + padding-right: 32px; + height: 100%; + width: 100%; + box-sizing: border-box; + z-index: 1 +} + +.weui-search-bar__box .weui-search-bar__input { + padding: 8px 0; + width: 100%; + height: 1.14285714em; + border: 0; + font-size: 14px; + line-height: 1.14285714em; + box-sizing: content-box; + background: transparent; + caret-color: var(--weui-BRAND); + color: var(--weui-FG-0) +} + +.weui-search-bar__box .weui-search-bar__input:focus { + outline: none +} + +.weui-search-bar__box .weui-icon-search { + position: absolute; + top: 50%; + left: 8px; + margin-top: -8px +} + +.weui-search-bar__box .weui-icon-clear { + position: absolute; + top: 50%; + right: 0; + margin-top: -16px; + padding: 8px; + width: 16px; + height: 16px; + -webkit-mask-size: 16px; + mask-size: 16px +} + +.weui-search-bar__label { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 2; + font-size: 0; + border-radius: 4px; + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + justify-content: center; + color: var(--weui-FG-1); + background: var(--weui-BG-2) +} + +.weui-search-bar__label span { + display: inline-block; + font-size: 14px; + vertical-align: middle +} + +.weui-search-bar__label .weui-icon-search { + margin-right: 4px +} + +.weui-search-bar__cancel-btn { + display: none; + margin-left: 8px; + line-height: 28px; + color: var(--weui-LINK); + white-space: nowrap +} + +.weui-search-bar__input:not(:valid)+.weui-icon-clear { + display: none +} + +input[type=search]::-webkit-search-cancel-button, +input[type=search]::-webkit-search-decoration, +input[type=search]::-webkit-search-results-button, +input[type=search]::-webkit-search-results-decoration { + display: none +} + +.weui-picker { + position: fixed; + width: 100%; + box-sizing: border-box; + left: 0; + bottom: 0; + z-index: 5000; + background-color: var(--weui-BG-2); + padding-bottom: constant(safe-area-inset-bottom); + padding-bottom: env(safe-area-inset-bottom); + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transform: translateY(100%); + transform: translateY(100%); + -webkit-transition: -webkit-transform .3s; + transition: -webkit-transform .3s; + transition: transform .3s; + transition: transform .3s, -webkit-transform .3s +} + +.weui-picker__hd { + display: -webkit-box; + display: -webkit-flex; + display: flex; + padding: 16px; + padding: 16px calc(16px + constant(safe-area-inset-right)) 16px calc(16px + constant(safe-area-inset-left)); + padding: 16px calc(16px + env(safe-area-inset-right)) 16px calc(16px + env(safe-area-inset-left)); + position: relative; + text-align: center; + font-size: 17px; + line-height: 1.4 +} + +.weui-picker__hd:after { + content: " "; + position: absolute; + left: 0; + bottom: 0; + right: 0; + height: 1px; + border-bottom: 1px solid var(--weui-FG-3); + color: var(--weui-FG-3); + -webkit-transform-origin: 0 100%; + transform-origin: 0 100%; + -webkit-transform: scaleY(.5); + transform: scaleY(.5) +} + +.weui-picker__bd { + display: -webkit-box; + display: -webkit-flex; + display: flex; + position: relative; + background-color: var(--weui-BG-2); + height: 240px; + overflow: hidden +} + +.weui-picker__group { + -webkit-box-flex: 1; + -webkit-flex: 1; + flex: 1; + position: relative; + height: 100% +} + +.weui-picker__group:first-child .weui-picker__item { + padding-left: constant(safe-area-inset-left); + padding-left: env(safe-area-inset-left) +} + +.weui-picker__group:last-child .weui-picker__item { + padding-right: constant(safe-area-inset-right); + padding-right: env(safe-area-inset-right) +} + +.weui-picker__mask { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + margin: 0 auto; + z-index: 3; + background-image: -webkit-linear-gradient(top, hsla(0, 0%, 100%, .95), hsla(0, 0%, 100%, .6)), -webkit-linear-gradient(bottom, hsla(0, 0%, 100%, .95), hsla(0, 0%, 100%, .6)); + background-image: linear-gradient(180deg, hsla(0, 0%, 100%, .95), hsla(0, 0%, 100%, .6)), linear-gradient(0deg, hsla(0, 0%, 100%, .95), hsla(0, 0%, 100%, .6)); + background-position: top, bottom; + background-size: 100% 92px; + background-repeat: no-repeat; + -webkit-transform: translateZ(0); + transform: translateZ(0) +} + +[data-weui-theme=dark] .weui-picker__mask { + background-image: -webkit-linear-gradient(top, rgba(35, 35, 35, .95), rgba(35, 35, 35, .6)), -webkit-linear-gradient(bottom, rgba(35, 35, 35, .95), rgba(35, 35, 35, .6)); + background-image: linear-gradient(180deg, rgba(35, 35, 35, .95), rgba(35, 35, 35, .6)), linear-gradient(0deg, rgba(35, 35, 35, .95), rgba(35, 35, 35, .6)) +} + +.weui-picker__indicator { + width: 100%; + height: 56px; + position: absolute; + left: 0; + top: 92px; + z-index: 3 +} + +.weui-picker__indicator:before { + top: 0; + border-top: 1px solid var(--weui-FG-3); + -webkit-transform-origin: 0 0; + transform-origin: 0 0; + -webkit-transform: scaleY(.5); + transform: scaleY(.5) +} + +.weui-picker__indicator:after, +.weui-picker__indicator:before { + content: " "; + position: absolute; + left: 0; + right: 0; + height: 1px; + color: var(--weui-FG-3) +} + +.weui-picker__indicator:after { + bottom: 0; + border-bottom: 1px solid var(--weui-FG-3); + -webkit-transform-origin: 0 100%; + transform-origin: 0 100%; + -webkit-transform: scaleY(.5); + transform: scaleY(.5) +} + +.weui-picker__content { + position: absolute; + top: 0; + left: 0; + width: 100% +} + +.weui-picker__item { + height: 48px; + line-height: 48px; + text-align: center; + color: var(--weui-FG-0); + text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden +} + +.weui-picker__item_disabled { + color: var(--weui-FG-1) +} + +@-webkit-keyframes a { + 0% { + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0) + } + + to { + -webkit-transform: translateZ(0); + transform: translateZ(0) + } +} + +@keyframes a { + 0% { + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0) + } + + to { + -webkit-transform: translateZ(0); + transform: translateZ(0) + } +} + +.weui-animate-slide-up { + -webkit-animation: a ease .3s forwards; + animation: a ease .3s forwards +} + +@-webkit-keyframes b { + 0% { + -webkit-transform: translateZ(0); + transform: translateZ(0) + } + + to { + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0) + } +} + +@keyframes b { + 0% { + -webkit-transform: translateZ(0); + transform: translateZ(0) + } + + to { + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0) + } +} + +.weui-animate-slide-down { + -webkit-animation: b ease .3s forwards; + animation: b ease .3s forwards +} + +@-webkit-keyframes c { + 0% { + opacity: 0 + } + + to { + opacity: 1 + } +} + +@keyframes c { + 0% { + opacity: 0 + } + + to { + opacity: 1 + } +} + +.weui-animate-fade-in { + -webkit-animation: c ease .3s forwards; + animation: c ease .3s forwards +} + +@-webkit-keyframes d { + 0% { + opacity: 1 + } + + to { + opacity: 0 + } +} + +@keyframes d { + 0% { + opacity: 1 + } + + to { + opacity: 0 + } +} + +.weui-animate-fade-out { + -webkit-animation: d ease .3s forwards; + animation: d ease .3s forwards +} + +.weui-agree { + display: block; + padding: 8px 15px 0; + font-size: 14px; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0) +} + +.weui-agree a, +.weui-agree navigator { + color: var(--weui-LINK) +} + +.weui-agree navigator { + display: inline +} + +.weui-agree__text { + color: var(--weui-FG-1); + margin-left: 2px +} + +.weui-agree__checkbox { + -webkit-appearance: none; + appearance: none; + display: inline-block; + border: 0; + outline: 0; + vertical-align: middle; + background-color: currentColor; + -webkit-mask-position: 0 0; + mask-position: 0 0; + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; + -webkit-mask-size: 100%; + mask-size: 100%; + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%221000%22%20height%3D%221000%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M500%20916.667C269.881%20916.667%2083.333%20730.119%2083.333%20500%2083.333%20269.881%20269.881%2083.333%20500%2083.333c230.119%200%20416.667%20186.548%20416.667%20416.667%200%20230.119-186.548%20416.667-416.667%20416.667zm0-50c202.504%200%20366.667-164.163%20366.667-366.667%200-202.504-164.163-366.667-366.667-366.667-202.504%200-366.667%20164.163-366.667%20366.667%200%20202.504%20164.163%20366.667%20366.667%20366.667z%22%20fill-rule%3D%22evenodd%22%20fill-opacity%3D%22.9%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%221000%22%20height%3D%221000%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M500%20916.667C269.881%20916.667%2083.333%20730.119%2083.333%20500%2083.333%20269.881%20269.881%2083.333%20500%2083.333c230.119%200%20416.667%20186.548%20416.667%20416.667%200%20230.119-186.548%20416.667-416.667%20416.667zm0-50c202.504%200%20366.667-164.163%20366.667-366.667%200-202.504-164.163-366.667-366.667-366.667-202.504%200-366.667%20164.163-366.667%20366.667%200%20202.504%20164.163%20366.667%20366.667%20366.667z%22%20fill-rule%3D%22evenodd%22%20fill-opacity%3D%22.9%22%2F%3E%3C%2Fsvg%3E); + color: var(--weui-FG-2); + width: 1em; + height: 1em; + font-size: 17px; + margin-top: -.2em +} + +.weui-agree__checkbox-check { + position: absolute; + left: -9999px +} + +.weui-agree__checkbox-check[aria-checked=true]+.weui-agree__checkbox, +.weui-agree__checkbox:checked { + -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-1.177-7.86l-2.765-2.767L7%2012.431l3.119%203.121a1%201%200%20001.414%200l5.952-5.95-1.062-1.062-5.6%205.6z%22%2F%3E%3C%2Fsvg%3E); + mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-1.177-7.86l-2.765-2.767L7%2012.431l3.119%203.121a1%201%200%20001.414%200l5.952-5.95-1.062-1.062-5.6%205.6z%22%2F%3E%3C%2Fsvg%3E); + color: var(--weui-BRAND) +} + +.weui-agree_animate { + -webkit-animation: e .3s 1; + animation: e .3s 1 +} + +@-webkit-keyframes e { + 0% { + -webkit-transform: translateX(0); + transform: translateX(0) + } + + 16% { + -webkit-transform: translateX(-8px); + transform: translateX(-8px) + } + + 28% { + -webkit-transform: translateX(-16px); + transform: translateX(-16px) + } + + 44% { + -webkit-transform: translateX(0); + transform: translateX(0) + } + + 59% { + -webkit-transform: translateX(-16px); + transform: translateX(-16px) + } + + 73% { + -webkit-transform: translateX(0); + transform: translateX(0) + } + + 82% { + -webkit-transform: translateX(16px); + transform: translateX(16px) + } + + 94% { + -webkit-transform: translateX(8px); + transform: translateX(8px) + } + + to { + -webkit-transform: translateX(0); + transform: translateX(0) + } +} + +@keyframes e { + 0% { + -webkit-transform: translateX(0); + transform: translateX(0) + } + + 16% { + -webkit-transform: translateX(-8px); + transform: translateX(-8px) + } + + 28% { + -webkit-transform: translateX(-16px); + transform: translateX(-16px) + } + + 44% { + -webkit-transform: translateX(0); + transform: translateX(0) + } + + 59% { + -webkit-transform: translateX(-16px); + transform: translateX(-16px) + } + + 73% { + -webkit-transform: translateX(0); + transform: translateX(0) + } + + 82% { + -webkit-transform: translateX(16px); + transform: translateX(16px) + } + + 94% { + -webkit-transform: translateX(8px); + transform: translateX(8px) + } + + to { + -webkit-transform: translateX(0); + transform: translateX(0) + } +} + +.weui-loading { + width: 20px; + height: 20px; + display: inline-block; + vertical-align: middle; + -webkit-animation: f 1s steps(12) infinite; + animation: f 1s steps(12) infinite; + background: transparent url("data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E9E9E9' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23989697' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%239B999A' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23A3A1A2' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23ABA9AA' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23B2B2B2' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23BAB8B9' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23C2C0C1' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23CBCBCB' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23D2D2D2' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23DADADA' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E2E2E2' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E") no-repeat; + background-size: 100% +} + +.weui-btn_loading.weui-btn_primary .weui-loading, +.weui-loading.weui-loading_transparent { + background-image: url("data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect xmlns='http://www.w3.org/2000/svg' width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.56)' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.5)' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.43)' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.38)' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.32)' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.28)' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.25)' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.2)' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.17)' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.14)' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.1)' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='rgba(255,255,255,.03)' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E") +} + +@-webkit-keyframes f { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg) + } + + to { + -webkit-transform: rotate(1turn); + transform: rotate(1turn) + } +} + +@keyframes f { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg) + } + + to { + -webkit-transform: rotate(1turn); + transform: rotate(1turn) + } +} + +.weui-slider { + padding: 15px 18px; + -webkit-user-select: none; + user-select: none +} + +.weui-slider__inner { + position: relative; + height: 2px; + background-color: var(--weui-FG-3) +} + +.weui-slider__track { + height: 2px; + background-color: var(--weui-BRAND); + width: 0 +} + +.weui-slider__handler { + position: absolute; + left: 0; + top: 50%; + width: 28px; + height: 28px; + margin-left: -14px; + margin-top: -14px; + border-radius: 50%; + background-color: #fff; + box-shadow: 0 0 4px var(--weui-FG-3) +} + +.weui-slider-box { + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center +} + +.weui-slider-box .weui-slider { + -webkit-box-flex: 1; + -webkit-flex: 1; + flex: 1 +} + +.weui-slider-box__value { + margin-left: .5em; + min-width: 24px; + color: var(--weui-FG-1); + text-align: center; + font-size: 14px +} + +.wx_dot_loading, +.wx_dot_loading:after, +.wx_dot_loading:before { + display: inline-block; + vertical-align: middle; + width: 6px; + height: 6px; + border-radius: 50%; + background-color: rgba(0, 0, 0, .3); + font-size: 0; + -webkit-animation: h 1.6s step-start infinite; + animation: h 1.6s step-start infinite +} + +.wx_dot_loading { + position: relative +} + +.wx_dot_loading:before { + content: ""; + position: absolute; + left: -12px; + background-color: rgba(0, 0, 0, .1); + -webkit-animation: g 1.6s step-start infinite; + animation: g 1.6s step-start infinite +} + +.wx_dot_loading:after { + content: ""; + position: absolute; + right: -12px; + background-color: rgba(0, 0, 0, .5); + -webkit-animation: i 1.6s step-start infinite; + animation: i 1.6s step-start infinite +} + +@-webkit-keyframes g { + + 0%, + to { + background-color: rgba(0, 0, 0, .1) + } + + 30% { + background-color: rgba(0, 0, 0, .5) + } + + 60% { + background-color: rgba(0, 0, 0, .3) + } +} + +@keyframes g { + + 0%, + to { + background-color: rgba(0, 0, 0, .1) + } + + 30% { + background-color: rgba(0, 0, 0, .5) + } + + 60% { + background-color: rgba(0, 0, 0, .3) + } +} + +@-webkit-keyframes h { + + 0%, + to { + background-color: rgba(0, 0, 0, .3) + } + + 30% { + background-color: rgba(0, 0, 0, .1) + } + + 60% { + background-color: rgba(0, 0, 0, .5) + } +} + +@keyframes h { + + 0%, + to { + background-color: rgba(0, 0, 0, .3) + } + + 30% { + background-color: rgba(0, 0, 0, .1) + } + + 60% { + background-color: rgba(0, 0, 0, .5) + } +} + +@-webkit-keyframes i { + + 0%, + to { + background-color: rgba(0, 0, 0, .5) + } + + 30% { + background-color: rgba(0, 0, 0, .3) + } + + 60% { + background-color: rgba(0, 0, 0, .1) + } +} + +@keyframes i { + + 0%, + to { + background-color: rgba(0, 0, 0, .5) + } + + 30% { + background-color: rgba(0, 0, 0, .3) + } + + 60% { + background-color: rgba(0, 0, 0, .1) + } +} + +.wx_dot_loading_white { + background-color: hsla(0, 0%, 100%, .3); + -webkit-animation: k 1.6s step-start infinite; + animation: k 1.6s step-start infinite +} + +.wx_dot_loading_white:before { + background-color: hsla(0, 0%, 100%, .5); + -webkit-animation: j 1.6s step-start infinite; + animation: j 1.6s step-start infinite +} + +.wx_dot_loading_white:after { + background-color: hsla(0, 0%, 100%, .1); + -webkit-animation: l 1.6s step-start infinite; + animation: l 1.6s step-start infinite +} + +@-webkit-keyframes j { + + 0%, + to { + background-color: hsla(0, 0%, 100%, .5) + } + + 30% { + background-color: hsla(0, 0%, 100%, .1) + } + + 60% { + background-color: hsla(0, 0%, 100%, .3) + } +} + +@keyframes j { + + 0%, + to { + background-color: hsla(0, 0%, 100%, .5) + } + + 30% { + background-color: hsla(0, 0%, 100%, .1) + } + + 60% { + background-color: hsla(0, 0%, 100%, .3) + } +} + +@-webkit-keyframes k { + + 0%, + to { + background-color: hsla(0, 0%, 100%, .3) + } + + 30% { + background-color: hsla(0, 0%, 100%, .5) + } + + 60% { + background-color: hsla(0, 0%, 100%, .1) + } +} + +@keyframes k { + + 0%, + to { + background-color: hsla(0, 0%, 100%, .3) + } + + 30% { + background-color: hsla(0, 0%, 100%, .5) + } + + 60% { + background-color: hsla(0, 0%, 100%, .1) + } +} + +@-webkit-keyframes l { + + 0%, + to { + background-color: hsla(0, 0%, 100%, .1) + } + + 30% { + background-color: hsla(0, 0%, 100%, .3) + } + + 60% { + background-color: hsla(0, 0%, 100%, .5) + } +} + +@keyframes l { + + 0%, + to { + background-color: hsla(0, 0%, 100%, .1) + } + + 30% { + background-color: hsla(0, 0%, 100%, .3) + } + + 60% { + background-color: hsla(0, 0%, 100%, .5) + } +} + +:host { + width: 100% +} + +.weui-slideview { + position: relative; + overflow: hidden +} + +.weui-slideview__left { + position: relative; + z-index: 10 +} + +.weui-slideview__right { + position: absolute; + z-index: 1; + left: 100%; + top: 0; + height: 100% +} + +.weui-slideview__btn__wrp { + position: absolute; + left: 0; + bottom: 0; + text-align: center; + min-width: 69px; + height: 100%; + white-space: nowrap +} + +.weui-slideview__btn { + color: #fff; + padding: 0 17px +} + +.weui-slideview__btn-group_default .weui-slideview__btn { + background: #c7c7cc +} + +[data-weui-theme=dark] .weui-slideview__btn-group_default .weui-slideview__btn { + background: var(--weui-BG-4) +} + +.weui-slideview__btn-group_default~.weui-slideview__btn-group_default:before { + content: " "; + position: absolute; + left: 0; + top: 0; + width: 1px; + bottom: 0; + border-left: 1px solid #fff; + color: #fff; + -webkit-transform-origin: 0 0; + transform-origin: 0 0; + -webkit-transform: scaleX(.5); + transform: scaleX(.5) +} + +[data-weui-theme=dark] .weui-slideview__btn-group_default~.weui-slideview__btn-group_default:before { + border-left-color: var(--weui-FG-3) +} + +.weui-slideview__btn-group_default:first-child:before { + display: none +} + +.weui-slideview__btn-group_warn .weui-slideview__btn { + background: #fe3b30 +} + +.weui-slideview__btn-group_warn~.weui-slideview__btn-group_warn:before { + content: " "; + position: absolute; + left: 0; + top: 0; + width: 1px; + bottom: 0; + border-left: 1px solid #fff; + color: #fff; + -webkit-transform-origin: 0 0; + transform-origin: 0 0; + -webkit-transform: scaleX(.5); + transform: scaleX(.5) +} + +.weui-slideview__btn-group_warn:first-child:before { + display: none +} + +.weui-slideview_icon .weui-slideview__btn__wrp { + background: transparent; + font-size: 0 +} + +.weui-slideview_icon .weui-slideview__btn__wrp:first-child { + padding-left: 16px +} + +.weui-slideview_icon .weui-slideview__btn__wrp:last-child { + padding-right: 8px +} + +.weui-slideview_icon .weui-slideview__btn { + width: 48px; + height: 48px; + line-height: 48px; + padding: 0; + display: inline-block; + vertical-align: middle; + border-radius: 50%; + background-color: #fff +} + +[data-weui-theme=dark] .weui-slideview_icon .weui-slideview__btn { + background-color: var(--weui-BG-4) +} + +.weui-slideview_icon .weui-slideview__btn__icon { + display: inline-block; + vertical-align: middle; + width: 22px; + height: 22px +} + +page { + --height: 44px; + --right: 95px +} + +.weui-navigation-bar { + overflow: hidden; + color: var(--weui-FG-0) +} + +.weui-navigation-bar .android { + --height: 48px; + --right: 221px +} + +.weui-navigation-bar__inner { + position: fixed; + top: 0; + left: 0; + z-index: 5001; + height: var(--height); + padding-right: var(--right); + width: calc(100% - var(--right)) +} + +.weui-navigation-bar__inner, +.weui-navigation-bar__inner .weui-navigation-bar__left { + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center +} + +.weui-navigation-bar__inner .weui-navigation-bar__left { + position: relative; + width: var(--right); + padding-left: 16px +} + +.weui-navigation-bar__inner .weui-navigation-bar__left .weui-navigation-bar__btn { + display: inline-block; + vertical-align: middle; + background-repeat: no-repeat +} + +.weui-navigation-bar__inner .weui-navigation-bar__left .weui-navigation-bar__btn_goback { + font-size: 12px; + width: 1em; + height: 2em; + -webkit-mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='24' viewBox='0 0 12 24'%3E %3Cpath fill-opacity='.9' fill-rule='evenodd' d='M10 19.438L8.955 20.5l-7.666-7.79a1.02 1.02 0 0 1 0-1.42L8.955 3.5 10 4.563 2.682 12 10 19.438z'/%3E%3C/svg%3E") no-repeat 50% 50%; + mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='24' viewBox='0 0 12 24'%3E %3Cpath fill-opacity='.9' fill-rule='evenodd' d='M10 19.438L8.955 20.5l-7.666-7.79a1.02 1.02 0 0 1 0-1.42L8.955 3.5 10 4.563 2.682 12 10 19.438z'/%3E%3C/svg%3E") no-repeat 50% 50%; + -webkit-mask-size: cover; + mask-size: cover; + background-color: currentColor +} + +.weui-navigation-bar__inner .weui-navigation-bar__left .weui-navigation-bar__btn_goback:active { + opacity: .5 +} + +.weui-navigation-bar__inner .weui-navigation-bar__center { + font-size: 17px; + text-align: center; + position: relative; + -webkit-box-flex: 1; + -webkit-flex: 1; + flex: 1; + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center; + -webkit-box-pack: center; + -webkit-justify-content: center; + justify-content: center +} + +.weui-navigation-bar__inner .weui-navigation-bar__loading { + margin-right: 4px; + font-size: 0 +} + +.weui-navigation-bar__inner .weui-navigation-bar__loading .weui-loading { + margin-left: 0 +} + +.weui-navigation-bar__inner .weui-navigation-bar__right { + margin-right: 16px +} + +.weui-navigation-bar__placeholder { + height: var(--height); + background: var(--weui-BG-1); + position: relative; + z-index: 50 +} + +.weui-uploader__hd { + display: block +} + +.weui-uploader__overview { + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center +} + +.weui-uploader__tips { + color: var(--weui-FG-2); + font-size: 14px; + line-height: 1.4; + padding-top: 4px +} + +.weui-uploader__img { + display: block; + width: 100%; + height: 100% +} + +.weui-gallery { + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -webkit-flex-direction: column; + flex-direction: column; + -webkit-flex-wrap: nowrap; + flex-wrap: nowrap +} + +.weui-gallery__info { + color: #fff; + font-size: 17px; + line-height: 60px; + min-height: 60px; + text-align: center +} + +.weui-gallery__img__wrp { + -webkit-box-flex: 1; + -webkit-flex: 1; + flex: 1; + position: relative; + font-size: 0 +} + +.weui-gallery__img { + position: absolute; + width: 100%; + height: 100% +} + +.weui-gallery__opr { + position: static +} + +.weui-search-bar .weui-search-bar__box .weui-search-bar__input { + height: inherit; + line-height: inherit +} + +.weui-search-bar .weui-search-bar__box .weui-icon-clear { + display: block +} + +.weui-loadmore .weui-loading { + margin-right: .3em +} + +.weui-btn_input-clear { + display: block +} \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/config.js b/yunbainian/etms_wechat_mini/config.js new file mode 100644 index 0000000..273630d --- /dev/null +++ b/yunbainian/etms_wechat_mini/config.js @@ -0,0 +1,6 @@ +const config = { + bascUrl:'https://pxbapi.yinglang.net/api/', + upLoadMiniProgramAvatar:"https://pxbapi.yinglang.net/api/openParent2/WxMiniEditUserInfoUpload" +} + +module.exports = config \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/image/activity0.png b/yunbainian/etms_wechat_mini/image/activity0.png new file mode 100644 index 0000000000000000000000000000000000000000..a4643998bb43d7c583b5009c82c35162627201b0 GIT binary patch literal 2916 zcmV-q3!C(bP)Px=9!W$&RCr$9oCT~kM-|6^g#t~GP@p)4QnW}41&S4ScY;$~gBN!TPH=Z8xVyW% zyE_3wum@TN9PY0q`Pic?$}xGHdS;KU>N{uOu`@DAWzBgSuRNDUD04%`_yOV3jX&UcIJ z96(+t=o#~U;F-WvH-^j_6Hfv0aNwc9wL0_tG`8lOf$spnTC$!q1Lp&-23#FDdFNhv zJRJD)8qYNQtz$t{`ULQ#vEo0*R(w0~feBCHk>GU`;AFw)&jIAFmCAKNJQ46x;5r3R zuLK?gd~*VL-Jyp84+t>xw>JW}0RC2So+_-?0r3pLTLHJR^bO##fFQOaCG!5jxncsh z^)-N>wVH4Y-=QF$2lzN}l9=RGz+C~iacgp0KL@yeO!ODv;=tEhPdt?W5D+f`e57Fb z0^qhoC#ZPe>k1%cdr9D<75R^5wF<=J0sktvd$`|YjoGvp)x2j1o*l;Z8pC(o+6D6X zz`v(3tTA>Kh@OF(9@3+L2M?T71@s8uHihA>sq(Oa+ec>wB~ec=W@Mo|~U8vw5jPOm85av$>-0=Fsvbo|`pxqH)?^nJiZ0Ih>{N#XHa z)e1RwoxxoY-wj+b7^qx6w1k=dvsybPa1#JJ_oaK3%1?kVhO`-3`eCfq$WdNe5?%U4 z04WxOs02~)a-dP>GRV+n=Js&=cn%t6F^c`IK{K|w$>4<1bjjmKMfjQl!HNUoIj_6m zd7lg%Gejy&5FZ_p6BnX^z09W5Xf_lkJqU2@CP}YI!&@?rI5mZ3|(oX`*i<)0h}UsNGg~y)7>$^JU9l6i)U_c zQBc4HRNxUixos| zLY;9*DO4K!C>QBj=$W|NNGVhrB?AxIjy1{5rlyYMnd{k$AesWzXqL3I_H1EMm>`~u zl9d&;D=YZ_JMqE=Qrw<34zhcIb@^JAYkp;w`?@aQ?)|qf z?CFCO#L`GLplRrTuaOzbEO1)oG)#Rqy%j6tq{9+KJIsS9W|zI6GlXRKLt z+FkQiqCnsOKe9{@n0Gz2au}%I8V*lSA<_{J(jJ!KbRd=f~XsF>-fR&xJB!G zg)H6sb}ZIhxYcMasZ19iUVQ+0*hNO5S>08oj19ei?;L%i2C_tjko2DHZ9UZUsbnINu8}fxX-5p1_l0 zk#i}<5~l;YAePdow$@M-n+G>h7783k2!76;NwQp z%38>+97`X$O|;5QUYi=VUePSyrm2ixTUd3u3jHxdpGhk~Ye4cme%>k&{oV9vme_eN zx~(&+J9Ofj_m#y|^0lPSCi6Myj3I?a%(oTVFO$Svn01KR#G?^w)8euU+Ex#wM^ZK; z&83a=c}lBgpA-&}#AHzBE^JVAOIh$f7kR8`B_z$A3o28kJK8;lNMbJB7+n@HSr~rb z!c%Aork+#T52NvKkIh_NrYDSormR)mQMR`ZhyrE)#om@AyX>vcnbK|F_X3nW)03qH z=DntPjoi#Zy1v;Iy0Bz#T@YRLHA4!w)O(OxOHGye>nRT>IJN>Sfk~G0S&{3f4Lpye zInKmV8=JSWtZqmB_81U-0PQ5VvsX5f`~OO$9SDZb^&*Cnk#$=*G^4T+$+4clg6EaJ zC7G`DcWYy^hh^woL+>klbgY8YGFVuBI~K%Th_07FF7jwT9A6?4OtrdyTEb_wt>HFP zv|i^dK2K0Spf5u3EZpo;38WoW#t^j`YmkMkmJhn)ByD70RPVQXrh=G@w(iA}Tqm|H zWh`0t@s@bwSs&EL%fN`mm-(Q6ctbC%Y;s>`9V!sP^V&ZKTE1*e;?l%jEfCAaUMfW2 zz7RW?mbHkPqP5e>?@QQYr}VBvWh~KghVKN@YiI$g>(jlpy{^nvYYVGTR(feIKT%?yxuP_ex%R(DTbfqKAesZj zvYpmqAdS`9WKp_72&HLCt+q#r4U(ow22*PgeZy*4NfRi|lfesI^G44#ffUf8Wh9zq zYGPZ^M)fDQ2GP`OE^O}FM|0?2W-+q^)*c-DQfx7^h|6o;b9l#lZ4F}C_hQw+CO+x+ z&M?yLwpZy@uZ(C7qD_YO9ZPcu4N_vVy`)*Oerpgdv{Wk^;N8^6F8&*6x@~pas#9wa zU2qx7-xi0f{xpjjmLEtmgy&}&s?r=F>KdlOx(R74qx075*iQG`nkdczqU$ZYST`Y! zWmNiUz}@yDh~_5@XPML9gfxm-rdV|cyPsX1gy~$8=py|nMRw_LS{hX_lkLMqeohe8 z)Jmf@EH(R)he(m>gmmS$>Su-w8hX#1AiAb(rJcLLzC06`eGY3VZrkpg8^rQEWUcF} z%LlbB!}z25p&H+C+$f0Ks_w@+{G-IB;h?!CF}Kwp;u|&%A8kI?bAnj5Ef}}!ekp#w zr>;EHoFHb4gpc4S`!-qAQx(QdfN0p=q|*Nl%?YAWZtb;dM(%ET3;zQsP9diTU$svF O0000Px^E=fc|RCr$9TnUg}Rhj<2bMJW_8Jr@Z1dK965Xpd2U>K0@cV7}RfCwt!gei6+ z$TC0;i>xya%S0$dz#2!{4T~TXiXBH}1jD*Z~n9%^DVaFPA8xg_Y_-4%iQ28i;8UwgNN_;50z10InkOI)qgq zRz=VB z$pAjuW)yz{utLBJNGm|jBrp@re|>Feo)_>fC-A?q!H}7N;7Nlh+rJCsTp;4W5%N|N zyeCwAuN(5$g#TJQecqi?ozWL_R|p3P_$+`e@_i}X3q}_)SoYKe#?vrb0X( zbi=a<+Oa`&Yxj#vt{xDz&}j^Qr4yma0R$UeEa14-#aq%vPB?gBC-h_W$y+4F2N>2r z*DcR(>Dz)RTRU0Mzoi0%yG-c+Z70IyRzD3g0r0PL{U2wn3mFYQ*a?rZ`Uvx;$u=Ga zuyeLQpTeO2t#0{tLq95ra%+2uYToyV*8^Z)-#Awo;X;GTqZdp1$K3M26>emEpYoX4>KXg5G~Lpv&nvGslqU{=C7299?F|N1elqp!9-VqGs_cB`Mnvz)O0 z^=_0Ki#Bp=UnX^V*5`2(_`8)QYdpT|ff!ov7y~S7u43Hm1pYB&FR%VBWu0W1wwCYH zk$9F3>&cQUwaI$72skpE>;-P%-!z&)!TVrf@sZ?jHo!}S|N9~pTMxw8R_g%0=1RsM z4E&$96DaK0r^?&+L)fR;hj%itr*?Y^cRD~>Z+8JdZT6RMg27t)ldT;kXaSG{_u)|- z9cux+3?zW+P8j!Lu3hqcr*cR38wO%nsU2dZf6uJ&yH4Pzv)mR$Tf0%v7h3?Dpnk|? z6`3quWW8Gn9FYO}p8)p+u<0cD)hRuSaO;J{ozX<-hk+PZyoVs{o7$AjUJM`maa#Z@ zwSy(ywIKmaC)=GpSBytHRDK8X2@)^GidV|uH|e-y%mB>{QZpcYdK9Z#3TYw3!G}5p zatK7Z-o7H5gyKCWtPeREMlws5G3?uZc8z(HWIr4A|LIg{(fwk#b~mVlGQK~Hf$N>X zxnn$Mg)nCdD)GUJ<1gf$Dk<2&l?b*vyA!J%0x_z1U!`zz{TfLBE;tB)B ze_~kwYSF+lz^jrJxFxE{=wBA($PD?vG z&bEAa$!|wfK-hf?*}gZL)~m%%F!*=fC|V?~rp)wE^7KkeVY(MVR##WCMcuUi~Ihz}aQ?vzE?yB>g3H*;0 z0b+BdR*x5WZM$XN0x>yMHWP4-6Zj{!6CPEnmr_hlu8=`Etry{ei2xBAA9^(5h%B}T_N>1kl-Fv`sp9=WspEpH7)(oE zb`jNA+g`Df(-|>zlp74*TBOik@(OMBNYlDK7=Embhk#t~yyShJKVX=D@|Eqb_^D_6z1URoeyB9w!>3G8-?gkUM6P!hiLW(5Ogu)(fwIms{I&`F$)pOG zrSF9J#@0)+ayK3C`8pw{qjZjJ?F2&UeVQ(}X?bymE~%8MF?`JLR#30$<<9oRI8AUG z@6ph$ZegW*s1a{ZWsy5JL9BQ?N_aN?xuBexZWWy<{jet=u~U&rrz3TdQ~QjJzMoCl z9=Y&xc)L=4f&_2!BAQ3|4BZ(X3uR&OA9Z2AWi z&*a*rzb-^#516QLUwSg9#m(i#;~3O$ELg-acCyt40>6{|XT#BU>p+CJHC+5$#D@sHh`{+|H^H7V z2a)HUytrVaCj@Lu;Z=m#ZLG47BJ`5=P7`odI%$FP!C@H?`OR6EWbuwU<^H+3MdDOw*fVAkB#!HB&aSwUe3UYYX_E6Zol1d}C_s-pR?ehNn0^%G-{t zcL#wq-rkDQw@rMHthb0jnkCyyB|Dj@oXab5)8FI-ev;5xddrHUl0Db~_!AS@1TnQh z$J<{9t+I*d33C{O$5OBEhG?p+OQuSdk8uDaKYhcN-87~DFBGK#y(FGJEYZHLCAO53 zTfIPJvxtXyjj=g=tPI++1{1m7#UzG`k$QC+x5hL4*0RnD$F;8`Ec zUlw2^`Nq~u9{cl#Cbs1Aj*;@^&fZ&$Th$Qjm3xe9i9WcWbUT( z@)p?YOJD^9e}^(BZ^-JccV&`Nmo3{-Q}!kVV!|k_c%L`IIRMh*Jp~uK!Wdk~wS#H= zx|^1`wc?mxB6wzw&+?eKjM9DtPe^6~X6g}$51|s>&NWM4?G()Pa|N*uA+cAh5GkX5i^63Hx4NvA#h(jTCU?Z!oWRd& zSUQ!~S-;3uZzP!2=pc-V`R%fACk5h=1y;PBA)eDp@)@Dt5&^Fn@YPuHYsTQ!FvcHg z%oa|p4}qL6X*!9&TK9Q^bsW;_e(Ewd{HI3_I}ap*pEejB*VkC~OlR)c26^=}tO?skUpu>_kX#KIdQ7aQRv7`+_EdU>Mz z@Ms25E{M6h7sl~tivAWvCl(!7YX1RgKLEccF{g~oh;l)kGO&#z^Sjgtdh9f40UTQ| zD=#T8S-)Hmu~S8M>dNL9Jcs+>IK|1A>8(m_m=jjVSSTUD&N z*hG;78H?A5So*&*sQ*KevU>tz8lQ-rsPV43adx%1Vq{DEP<`3T$(@A30u?6_(7shEUeQ$J+;K#vigGw{10@h + + Layer 1 + + + + \ No newline at end of file diff --git a/yunbainian/etms_wechat_mini/image/my0.png b/yunbainian/etms_wechat_mini/image/my0.png new file mode 100644 index 0000000000000000000000000000000000000000..880002fa067c7bc22d605a16cb3d380b8efe3192 GIT binary patch literal 2303 zcmVPx-xk*GpRCr$HoOi4}MHz-4;vb5LfJ77piD+U0f&~?0P%Nm39i_#F9Rv$VP&A5B z(O6K41v^o}LXChLLB$e9uu!E+5m1VSW-JjkkJ**^4YOy@nVH?Y_uenr+;Yy&eDm(? z%vauT)?zxcJ@8cE-odqT^ZT{H9{_*0*LQ)_rl9^>OQ^&Kz>|O{11|vXnW4)Kz%ju0 zfbRo;$!MeamZbo3J>Ye~-oSl}M{s)s*8racJ^|cRvEAOL#su+B0eBDU)hz!D7X@J6 zmfy_$ca8<3>)nTeN6ev`>)egO<*ah{t{+^s*C)RM_8(*290SA`0iOZZ?ilr-fo}(w zfA`5ffE|O&zflSCgb0pF?J_Yfd%2mC0Z=+A+t0Jqj2M54XB0jC0wNqqKr;Kwy}s14%7o89p4 zk&=VGNoW!s2&49c6uWJEW6GZL6GZJRZ(ZDXX6wYYp8^8;r`!s(Z4OFosYl4{C ziO&Zf3H&2t@U?EaGw@4bi>SeBJ9aG)HHKaDVoyZBSf6&OMIT-NIutz{*UVxUu@;C2 z0q>2J)Qr(~n~G>s#pci3fI~_ZtO26Ym~*3Gf`+tfPE9+obgbHuuGyhMu93f0Y4oQC zh`Rz`i$?f9z}Y!9an`*xQffEg>m`cT0P%CcD*`199&8DexN;?9nsu)(;(1LVqy66J zfmfDvSOdi00hDo ztcxt2OF>Kp88!k8+fP+YLtGyzSL9KZg81nsUf1emK=p}JMK93n2aW63{>ymhYjX82 z1@W7}vx3e~0G^kt%!v0L4?H*M??m9)x&4=d_>0D^Yx_R}*fUp|5%2pV@Uoyk-NJ2h z`!5AiGv+=)=N|>$l&j2$_k9F-W6o=I@tj<}OJ}0-xc3B||Eo#T`*X@-QvWW2 zf(HU0$W^!$MAMTRs-fuIYs^knOq+fyQtoMhRJ|-I1@ZoXi*hI$vf-kgrPzQs$%NQ9 zYF|#|b-8_(f@r@#1kB~O@+V;HiN+Jv@e<&Hfxbm9pY7BD(X5%CN+?r}Z0k*FBZl%S zz`%00)Bw?d>~8>B2dzvo$0DudXA!-`OrIIb>{q$gOtc-jFRzUr<)>0Wj%0y7WF!((*BE`U z7bI9>Z*JJTr5IM(SXw2_q{#*geQ7_F8DS1%sl*&m%ns8g)HbXlHD{s2Q@Gfn9wzk4W= zhiyQ_OJjd<856{IFz%j~ipguNE%FSdgbca+-$CawK{SSEa!3GUucjuL28jjIq}io4 z8}4dr3=k!N3Z4u6*ka+OV45NwOojx}#a}0Xrv*8eKLqnDA z4gsP;TEWvZ=@ZK!TJvVn;|Idy4_s&GDMZ(k5lq>!)uc9v(&|3g!zM6MZvC;Q%vse& z0uO6Aht^kHfYc?%58qL<2D&DQv%C`rBzP|PUPFtUm)9&X4{s`7i*>01q8t`yUl+M^ zOz>hr`oOf3z&e&9DFxBAfbqjr#6-p3pQsxtQaJPGRMfp~N;bq@Gu!>&Z6zSi0#N(R zRDtHjR75k&hZ^RbTip!Mnk&zeTo7jgXmynU>ibSjHfw;iiYk`u`kNdOjhM(9NWH>E zr3@n?-n9v4)n?~_coeXEV!+DfVt>mGz&;=s%EK%IqG?A1 zr|U#dX}JP83&@2sf{TDC3)V{dP;{f5oy%R~k_^W)cW!!K5KZt{xgN^J4W+J#3^Wn+ zJ%`LvHC@M03?O%%F!lfM%>$w|3|S1CHKDu|_|il`sG){sYB9rCKikwsTu`}2fAfGS zpIIX{l&=DN)X;olZKPgntM%okcS;|K(r}%HVNtaOKr&-Z#IH0-z1DwiW}|*~Qu;tl zF-v=&%rZyTbPo(?FN<}Uhm$lDlM&s=Ct7pwb*`*<4!Rw#jq;1?a6H~U~qX4T)SBs=x z>Ey`*T_DEQqq=q;Q}FNAf?zXFkLV9~>EvlET_9Ro7FMFmBzVRu1JL1GNEtFWEFRJz zUqezLdZei*U4}9UO?MeQ6sgJYj`Vc1UBgaJfhhgMh(;(TdCWnqHc4S&r047qh!lwC zkwZ3>zVe2v4ZUEz9^@OIx#%%jf9wO%&&@x`=JIe!IW?nD)F%3%#Nr7JMMdVV2Pmx} Z{{;$0hG93>UwHrk002ovPDHLkV1jYGU9Px=;z>k7RCr$HoC}Z~MIFY!Zypy;Py!Y)JS~JO9!dd%kdU3_3$2f&P%i;X`+a&usnM<(2fcT=IE39DLLgMb%bFBA23KmJ$!FZU#u0yd`?vX^}LIz%&3`HpsJ<#0*ya z8=Be7@_R=ihHhaN!Jjk`_$G-3u!DtM`@oB73!&c0+ah#kN;n0;`|H^eG}|`i`DuML z%hxf8p;I`Yt!e15C;+DX?Dh;j;t zDQ=!M4}}*Xoy4&G+jc~@lU8=&vmmb&vE6Y0n#Q2~`*!TLk~VjUat`#ws8q-K3L5)h zqW`T{gk?!1^lc_Lyc@v&!$Dd_2KW0}><_bXyhz}&~s)J2wB>i#<=ZUOs z!fz1lqbdD0ud?S>6XS89+?9VCK8)dF%ap#Dm*95oL~ikBKu6c)dx&P@etC@}bAwp# zOHAM~n9cSfmacEN@Oh;drj3L9)`J2*TGcvo{9@+?s~2>Bg$2LR`#> ze|FY_=bc|Y-bE6=SFM%DvQoM!i?8eu-NMxZPe_PZLnruHmZ@Bp0*yH2>7Bf-0_V|z z#f-s+&^0vWZ)WkC8Divm{{gW5kSOU^2Ic8lM0GN+oWc^3MvFDPNIAR44PwEu1WHVbVtcP3ke_6>0ruf>>{nfd&%@|CO|YI-O7Owvvlg zRU?UvGpcM5-Qrb*W+VjlTgLxnr$J=3AGzLr$%S2ki)>RmF|FN95akqa7j^i?{t&-m z;2)V*OtuIL7`dME?4Y{^vEB#K zGJa|nsWZj}j$AL^RN5j@6ECOnPwy6tw0`7zmkCI=nAa@hH`?rK>Lx41e*^f)Mu_}5 zO({8hX)0he638uHBj_6m-%ne{-zlw@tPra|EW#27ejE}qrXM-pEh3V$s?qzfL{8y$ zkQ;|Mz}+7Du}?fG=8$vPOGgW`9jy5PvF!l&8BA}anH+X9cF?UJC*C*FQAwZ@G6~P z&#}0k7;B7N?_U6R-q;`V4lBcyFSe5d#Nup0^QxQl7+u+Rz0(9-R?~96MdM$cwif0C zvA4Lr0{sKPW(gr;;2x4kfz&N-GPWX6jlo-V`7?k4Z-ONvZ5Z~EJi=)AY=F)@eR#?WL zlv!y?1Ci^+dq7puVI=Ni#XmHq$zj=YgE&|lkCu3Itrtq?Gbmq>m*`gQ)DJY(%OnqB z#ecX}JI&JN3UL6W>zyi~PG~O|(`@>cZUi^QK}>SrzP?U07$WGajwxT?3`{$}=MHh; zYuzB!IF1qv#95sTa*BhO9BO`T6xhHECNH!rrE}W>)JocpKpY9=Kw+T#W43$ywu^%B z^x9#}1_%VNpefaj=WYemNNG9-u^C7Jxttyt>_SeHaC*%^dZ^qYF19-u8`M#VaVd;b zILxjS1fO`bYbf1|_;#N2Q)l)b+l64rNc%OU6Ml~grrnwymc2D~2IK+2q%9Ke0 zuLZbk3r(k=z_XF`oXBS-JxgK-%Gv?c4)On?ffH5ZMz*CV2pvzetSZc<1^;a)=?cUF zkOO^IFo$5gRcW`awDk;OydYvZ&OEN|f1&kk=~H$M;s%Lwic>+&5O7R-+4XZ0xC!DS zb~(hkYY;WAZ)b$TbdhoFPVKBFPo7UxS_Io!!u9=6Dv%Q>OaL_j-~<5izoDRk zruK>7g^@1p)Un;%A*#2yeH7pfLbI9{4tP?)y=kr=sJZ@NDq1**E^xl(;8LzFJ>P=1 zmXqWPQ9XqtC0+txq-cWpV9pH|!hV|Ne`{H3lZ0{)*einFN8q?*q*`q@0?&Z>ex7Hb zbAve2(cHm;JV2+0gl;||zKp>qkSM!}t3 zgI5crIZQojnerZ4L1uy&Zwo-Ux!#INER57#R?1c9MzRV{lfT}od&16I%lPk0V|PQI z)DW8he2T}<5Fpa-wT7Rh^js#G^jg}pr#dXV{ODn2V z`LxLaAC5wME`ei*`H*h4Ql7tQ8=^KT?ubx#)Lrz3Nw>X6RddZgD1| z1vQ2JCrzbDtVkW#H`?$v_!s)d%Z=^>v{zLt1LxSL)aZt(p`=YA4uoO2VSK;C?lraW zYc!=_j1>@Bbp$=$5tdLJ;rk3tIEh$Zb)d4=S5t_gQ#g}kJV+gS1pL}I{+F`~A8Yv= zH0z64@y{7a>xdAAzKL?fINB?DsCqRS6Pmv0wKY8DgEt zQV|!~P2Nn_!i;8qx!xQBmsfXPSU}@f#d+8K-dJ+vdiSF`9(x_FXfLi`_T*?5w3EJt z117+A9v1YWME~^ygWg?{DwIsaFot=+h;Ty<_IR#z9I9B+z=sg9mxwaz?WgBZbO_O zy(b6`7E*3;Wz|<2sC(N=eTc62YVz7;l1o`BefqrwFfOZlig&6ya^rQ&_(NA@ZQwBs zV#O`)?LZGz^#$aG>_C|ASbr&Uisy>@K@|%t+O>9^JPhLC?d8zA)9qWb8 zTVGuk&|Wmij>EQNWIl4(i$f0000=e?t:""+Array(e+1-r.length).join(n)+t},g={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(v=i),i||!r&&v},w=function(t,e){if(p(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=g;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t)}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(l);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return O},m.isValid=function(){return!(this.$d.toString()===$)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)=e?t:\"\"+Array(e+1-r.length).join(n)+t},g={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?\"+\":\"-\")+m(r,2,\"0\")+\":\"+m(i,2,\"0\")},m:function t(e,n){if(e.date()1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(v=i),i||!r&&v},w=function(t,e){if(p(t))return t.clone();var n=\"object\"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=g;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t)}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if(\"string\"==typeof e&&!/Z$/i.test(e)){var r=e.match(l);if(r){var i=r[2]-1||0,s=(r[7]||\"0\").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return O},m.isValid=function(){return!(this.$d.toString()===$)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)", + "path": "./action-sheet/action-sheet" + }, + "t-avatar-group": { + "key": "t-avatar-group", + "label": "头像组", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-avatar.png", + "properties": [ + { + "key": "cascading", + "type": ["String"], + "desc": "图片之间的层叠关系,可选值:左侧图片在上和右侧图片在上", + "label": "" + }, + { + "key": "collapseAvatar", + "type": ["String"], + "desc": "头像数量超出时,会出现一个头像折叠元素。该元素内容可自定义。默认为 `+N`。示例:`+5`,`...`, `更多`", + "label": "" + }, + { + "key": "max", + "type": ["Number"], + "desc": "能够同时显示的最多头像数量", + "label": "" + }, + { + "key": "size", + "type": ["String"], + "desc": "尺寸,示例值:small/medium/large/24px/38px 等。优先级低于 Avatar.size", + "label": "" + } + ], + "externalClasses": ["t-class", "t-class-image", "t-class-content"], + "tpl": "", + "require": { + "t-avatar": "./avatar/avatar" + }, + "path": "./avatar/avatar-group" + }, + "t-avatar": { + "key": "t-avatar", + "label": "头像", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-avatar.png", + "properties": [ + { + "key": "alt", + "type": ["String"], + "desc": "头像替换文本,仅当图片加载失败时有效", + "label": "" + }, + { + "key": "badgeProps", + "type": ["Object"], + "desc": "头像右上角提示信息,继承 Badge 组件的全部特性。如:小红点,或者数字", + "label": "" + }, + { + "key": "hideOnLoadFailed", + "type": ["Boolean"], + "desc": "加载失败时隐藏图片", + "label": "" + }, + { + "key": "icon", + "type": ["String"], + "desc": "图标", + "label": "" + }, + { + "key": "image", + "type": ["String"], + "desc": "图片地址", + "label": "" + }, + { + "key": "shape", + "type": ["String"], + "desc": "形状", + "label": "" + }, + { + "key": "size", + "type": ["String"], + "desc": "尺寸,示例值:small/medium/large/24px/38px 等,默认为 large", + "label": "" + } + ], + "externalClasses": ["t-class"], + "events": [ + { + "key": "bind:error", + "desc": "图片加载失败时触发", + "label": "" + } + ], + "tpl": "", + "path": "./avatar/avatar" + }, + "t-back-top": { + "key": "t-back-top", + "label": "回到顶部", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-backtop.png", + "properties": [ + { + "key": "fixed", + "type": ["Boolean"], + "desc": "是否绝对定位固定到屏幕右下方", + "label": "" + }, + { + "key": "icon", + "type": ["String"], + "desc": "图标", + "label": "" + }, + { + "key": "text", + "type": ["String"], + "desc": "文案", + "label": "" + }, + { + "key": "theme", + "type": ["String"], + "desc": "预设的样式类型", + "label": "" + } + ], + "externalClasses": ["t-class", "t-class-icon", "t-class-text"], + "events": [ + { + "key": "bind:to-top", + "desc": "点击触发", + "label": "" + } + ], + "tpl": "", + "path": "./back-top/back-top" + }, + "t-badge": { + "key": "t-badge", + "label": "徽标数", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-badge.png", + "properties": [ + { + "key": "color", + "type": ["String"], + "desc": "颜色", + "label": "" + }, + { + "key": "content", + "type": ["String"], + "desc": "徽标内容,示例:`content='自定义内容'`。也可以使用默认插槽定义", + "label": "" + }, + { + "key": "count", + "type": ["String", "Number"], + "desc": "徽标右上角内容。可以是数字,也可以是文字。如:'new'/3/99+。特殊:值为空表示使用插槽渲染", + "label": "" + }, + { + "key": "dot", + "type": ["Boolean"], + "desc": "是否为红点", + "label": "" + }, + { + "key": "maxCount", + "type": ["Number"], + "desc": "封顶的数字值", + "label": "" + }, + { + "key": "offset", + "type": ["Array"], + "desc": "设置状态点的位置偏移,示例:[-10, 20] 或 ['10em', '8rem']", + "label": "" + }, + { + "key": "shape", + "type": ["String"], + "desc": "形状", + "label": "" + }, + { + "key": "showZero", + "type": ["Boolean"], + "desc": "当数值为 0 时,是否展示徽标", + "label": "" + }, + { + "key": "size", + "type": ["String"], + "desc": "尺寸", + "label": "" + } + ], + "externalClasses": ["t-class", "t-class-content", "t-class-count"], + "tpl": "", + "path": "./badge/badge" + }, + "t-button": { + "key": "t-button", + "label": "按钮", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-button.png", + "properties": [ + { + "key": "block", + "type": ["Boolean"], + "desc": "是否为块级元素", + "label": "" + }, + { + "key": "content", + "type": ["String"], + "desc": "按钮内容", + "label": "" + }, + { + "key": "customDataset", + "type": ["Object"], + "desc": "自定义 dataset,可通过 event.currentTarget.dataset.custom 获取", + "label": "" + }, + { + "key": "disabled", + "type": ["Boolean"], + "desc": "是否禁用按钮", + "label": "" + }, + { + "key": "ghost", + "type": ["Boolean"], + "desc": "是否为幽灵按钮(镂空按钮)", + "label": "" + }, + { + "key": "icon", + "type": ["String"], + "desc": "图标名称", + "label": "" + }, + { + "key": "loading", + "type": ["Boolean"], + "desc": "是否显示为加载状态", + "label": "" + }, + { + "key": "shape", + "type": ["String"], + "desc": "按钮形状,有 4 种:长方形、正方形、圆角长方形、圆形", + "label": "" + }, + { + "key": "size", + "type": ["String"], + "desc": "组件尺寸", + "label": "" + }, + { + "key": "theme", + "type": ["String"], + "desc": "组件风格,依次为品牌色、危险色", + "label": "" + }, + { + "key": "type", + "type": ["String"], + "desc": "同小程序的 formType", + "label": "" + }, + { + "key": "variant", + "type": ["String"], + "desc": "按钮形式,基础、线框、文字", + "label": "" + } + ], + "externalClasses": ["t-class", "t-class-icon"], + "events": [ + { + "key": "bind:click", + "desc": "点击时触发", + "label": "" + } + ], + "tpl": "", + "path": "./button/button" + }, + "t-cell-group": { + "key": "t-cell-group", + "label": "单元格组", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-cell.png", + "properties": [ + { + "key": "bordered", + "type": ["Boolean"], + "desc": "是否显示组边框", + "label": "" + }, + { + "key": "title", + "type": ["String"], + "desc": "单元格组标题", + "label": "" + } + ], + "externalClasses": ["t-class"], + "tpl": "", + "require": { + "t-cell": "./cell/cell" + }, + "path": "./cell-group/cell-group" + }, + "t-cell": { + "key": "t-cell", + "label": "单元格", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-cell.png", + "properties": [ + { + "key": "align", + "type": ["String"], + "desc": "内容的对齐方式,默认居中对齐", + "label": "" + }, + { + "key": "arrow", + "type": ["Boolean"], + "desc": "是否显示右侧箭头", + "label": "" + }, + { + "key": "bordered", + "type": ["Boolean"], + "desc": "是否显示下边框", + "label": "" + }, + { + "key": "description", + "type": ["String"], + "desc": "下方内容描述", + "label": "" + }, + { + "key": "hover", + "type": ["Boolean"], + "desc": "是否开启点击反馈", + "label": "" + }, + { + "key": "image", + "type": ["String"], + "desc": "主图", + "label": "" + }, + { + "key": "jumpType", + "type": ["String"], + "desc": "链接跳转类型", + "label": "" + }, + { + "key": "leftIcon", + "type": ["String"], + "desc": "左侧图标,出现在单元格标题的左侧", + "label": "" + }, + { + "key": "note", + "type": ["String"], + "desc": "和标题同行的说明文字", + "label": "" + }, + { + "key": "required", + "type": ["Boolean"], + "desc": "是否显示表单必填星号", + "label": "" + }, + { + "key": "rightIcon", + "type": ["String"], + "desc": "最右侧图标", + "label": "" + }, + { + "key": "title", + "type": ["String"], + "desc": "标题", + "label": "" + }, + { + "key": "url", + "type": ["String"], + "desc": "点击后跳转链接地址。如果值为空,则表示不需要跳转", + "label": "" + } + ], + "externalClasses": [ + "t-class", + "t-class-title", + "t-class-note", + "t-class-description", + "t-class-thumb", + "t-class-hover", + "t-class-left", + "t-class-right" + ], + "events": [ + { + "key": "bind:click", + "desc": "右侧内容", + "label": "" + } + ], + "tpl": "", + "path": "./cell/cell" + }, + "t-check-tag": { + "key": "t-check-tag", + "label": "可选标签", + "icon": "", + "properties": [ + { + "key": "checked", + "type": ["Boolean"], + "desc": "标签选中的状态,默认风格(theme=default)才有选中态", + "label": "" + }, + { + "key": "closable", + "type": ["Boolean"], + "desc": "标签是否可关闭", + "label": "" + }, + { + "key": "content", + "type": ["String", "Number"], + "desc": "组件子元素", + "label": "" + }, + { + "key": "disabled", + "type": ["Boolean"], + "desc": "标签禁用态,失效标签不能触发事件。默认风格(theme=default)才有禁用态", + "label": "" + }, + { + "key": "icon", + "type": ["String"], + "desc": "标签中的图标,可自定义图标呈现", + "label": "" + }, + { + "key": "shape", + "type": ["String"], + "desc": "标签类型,有三种:方形、圆角方形、标记型", + "label": "" + }, + { + "key": "size", + "type": ["String"], + "desc": "标签尺寸", + "label": "" + } + ], + "events": [ + { + "key": "bind:change", + "desc": "组件子元素", + "label": "" + }, + { + "key": "bind:click", + "desc": "点击标签时触发", + "label": "" + } + ], + "tpl": "check tag", + "path": "./tag/check-tag" + }, + "t-checkbox-group": { + "key": "t-checkbox-group", + "label": "多选框组", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-checkbox.png", + "properties": [ + { + "key": "disabled", + "type": ["Boolean"], + "desc": "是否禁用组件", + "label": "" + }, + { + "key": "max", + "type": ["Number"], + "desc": "支持最多选中的数量", + "label": "" + }, + { + "key": "name", + "type": ["String"], + "desc": "统一设置内部复选框 HTML 属性", + "label": "" + }, + { + "key": "options", + "type": ["Array"], + "desc": "以配置形式设置子元素。示例1:`['北京', '上海']` ,示例2: `[{ label: '全选', checkAll: true }, { label: '上海', value: 'shanghai' }]`。checkAll 值为 true 表示当前选项为「全选选项」", + "label": "" + }, + { + "key": "value", + "type": ["Array"], + "desc": "选中值", + "label": "" + } + ], + "events": [ + { + "key": "bind:change", + "desc": "值变化时触发。`context.current` 表示当前变化的数据项,如果是全选则为空;`context.type` 表示引起选中数据变化的是选中或是取消选中,`context.option` 表示当前变化的数据项", + "label": "" + } + ], + "tpl": "", + "require": { + "t-checkbox": "./checkbox/checkbox" + }, + "path": "./checkbox-group/checkbox-group" + }, + "t-checkbox": { + "key": "t-checkbox", + "label": "多选框", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-checkbox.png", + "properties": [ + { + "key": "align", + "type": ["String"], + "desc": "多选框和内容相对位置", + "label": "" + }, + { + "key": "checkAll", + "type": ["Boolean"], + "desc": "用于标识是否为「全选选项」。单独使用无效,需在 CheckboxGroup 中使用", + "label": "" + }, + { + "key": "checked", + "type": ["Boolean"], + "desc": "是否选中", + "label": "" + }, + { + "key": "color", + "type": ["String"], + "desc": "多选框颜色", + "label": "" + }, + { + "key": "content", + "type": ["String"], + "desc": "多选框内容", + "label": "" + }, + { + "key": "contentDisabled", + "type": ["Boolean"], + "desc": "是否禁用组件内容(content)触发选中", + "label": "" + }, + { + "key": "disabled", + "type": ["Boolean"], + "desc": "是否禁用组件", + "label": "" + }, + { + "key": "icon", + "type": ["Array"], + "desc": "自定义选中图标和非选中图标。示例:[选中态图标地址,非选中态图标地址]", + "label": "" + }, + { + "key": "indeterminate", + "type": ["Boolean"], + "desc": "是否为半选", + "label": "" + }, + { + "key": "label", + "type": ["String"], + "desc": "主文案", + "label": "" + }, + { + "key": "maxContentRow", + "type": ["Number"], + "desc": "内容最大行数限制", + "label": "" + }, + { + "key": "maxLabelRow", + "type": ["Number"], + "desc": "主文案最大行数限制", + "label": "" + }, + { + "key": "name", + "type": ["String"], + "desc": "HTML 元素原生属性", + "label": "" + }, + { + "key": "readonly", + "type": ["Boolean"], + "desc": "只读状态", + "label": "" + }, + { + "key": "value", + "type": ["String", "Number"], + "desc": "多选框的值", + "label": "" + } + ], + "externalClasses": ["t-class", "t-class-icon", "t-class-label", "t-class-content", "t-class-border"], + "events": [ + { + "key": "bind:change", + "desc": "值变化时触发", + "label": "" + } + ], + "tpl": "", + "path": "./checkbox/checkbox" + }, + "t-collapse-panel": { + "key": "t-collapse-panel", + "label": "折叠面板", + "icon": "", + "properties": [ + { + "key": "content", + "type": ["String"], + "desc": "折叠面板内容", + "label": "" + }, + { + "key": "disabled", + "type": ["Boolean"], + "desc": "禁止当前面板展开,优先级大于 Collapse 的同名属性", + "label": "" + }, + { + "key": "expandIcon", + "type": ["Boolean"], + "desc": "当前折叠面板展开图标,优先级大于 Collapse 的同名属性", + "label": "" + }, + { + "key": "header", + "type": ["String"], + "desc": "面板头内容", + "label": "" + }, + { + "key": "headerRightContent", + "type": ["String"], + "desc": "面板头的右侧区域,一般用于呈现面板操作", + "label": "" + }, + { + "key": "value", + "type": ["String", "Number"], + "desc": "当前面板唯一标识,如果值为空则取当前面下标兜底作为唯一标识", + "label": "" + } + ], + "tpl": "此处可自定义内容", + "path": "./collapse/collapse-panel" + }, + "t-collapse": { + "key": "t-collapse", + "label": "折叠", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-collapse.png", + "properties": [ + { + "key": "defaultExpandAll", + "type": ["Boolean"], + "desc": "默认是否展开全部", + "label": "" + }, + { + "key": "disabled", + "type": ["Boolean"], + "desc": "是否禁用面板展开/收起操作", + "label": "" + }, + { + "key": "expandIcon", + "type": ["Boolean"], + "desc": "展开图标。值为 undefined 或 false 则不显示展开图标;值为 true 显示默认图标;值类型为函数,则表示完全自定义展开图标", + "label": "" + }, + { + "key": "expandMutex", + "type": ["Boolean"], + "desc": "每个面板互斥展开,每次只展开一个面板", + "label": "" + }, + { + "key": "value", + "type": ["Array"], + "desc": "展开的面板集合", + "label": "" + } + ], + "events": [ + { + "key": "bind:change", + "desc": "切换面板时触发,返回变化的值", + "label": "" + } + ], + "tpl": "此处可自定义内容", + "require": { + "t-collapse-panel": "./collapse/collapse-panel" + }, + "path": "./collapse/collapse" + }, + "t-date-time-picker": { + "key": "t-date-time-picker", + "label": "日期时间选择器", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-datetimepicker.png", + "properties": [ + { + "key": "cancelBtn", + "type": ["String"], + "desc": "取消按钮文字", + "label": "" + }, + { + "key": "confirmBtn", + "type": ["String"], + "desc": "确定按钮文字", + "label": "" + }, + { + "key": "end", + "type": ["String", "Number"], + "desc": "选择器的结束时间", + "label": "" + }, + { + "key": "footer", + "type": ["String"], + "desc": "底部内容", + "label": "" + }, + { + "key": "format", + "type": ["String"], + "desc": "用于格式化日期,[详细文档](https://day.js.org/docs/en/display/format)", + "label": "" + }, + { + "key": "header", + "type": ["Boolean"], + "desc": "头部内容。值为 true 显示空白头部,值为 false 不显示任何内容,值类型为 TNode 表示自定义头部内容", + "label": "" + }, + { + "key": "mode", + "type": ["String", "Array"], + "desc": "选择器模式,用于表示可以选择到哪一个层级。【示例一】year 或者 ['year'] 表示纯日期选择器,只能选择到年份,只显示年份。【示例二】'hour' 或 ['hour'] 表示纯时间选择器,只能选择到小时维度。【示例三】['year', 'month', 'date', 'hour', 'minute'] 表示,日期和时间 混合选择器,可以选择到具体哪一分钟,显示全部时间:年/月/日/时/分", + "label": "" + }, + { + "key": "showWeek", + "type": ["Boolean"], + "desc": "【开发中】是否在日期旁边显示周几(如周一,周二,周日等)", + "label": "" + }, + { + "key": "start", + "type": ["String", "Number"], + "desc": "选择器的开始时间", + "label": "" + }, + { + "key": "title", + "type": ["String"], + "desc": "标题", + "label": "" + }, + { + "key": "value", + "type": ["String", "Number"], + "desc": "选中值", + "label": "" + }, + { + "key": "visible", + "type": ["Boolean"], + "desc": "是否显示", + "label": "" + } + ], + "externalClasses": ["t-class", "t-class-confirm", "t-class-cancel", "t-class-title"], + "events": [ + { + "key": "bind:cancel", + "desc": "取消按钮点击时触发", + "label": "" + }, + { + "key": "bind:change", + "desc": "选中值发生变化时触发", + "label": "" + }, + { + "key": "bind:column-change", + "desc": "每一列选中数据变化时触发", + "label": "" + }, + { + "key": "bind:confirm", + "desc": "确认按钮点击时触发", + "label": "" + } + ], + "tpl": "", + "path": "./date-time-picker/date-time-picker" + }, + "t-dialog": { + "key": "t-dialog", + "label": "对话框", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-dialog.png", + "properties": [ + { + "key": "actions", + "type": ["Array"], + "desc": "操作栏", + "label": "" + }, + { + "key": "buttonLayout", + "type": ["String"], + "desc": "多按钮排列方式", + "label": "" + }, + { + "key": "cancelBtn", + "type": ["String", "Object"], + "desc": "取消按钮,可自定义。值为 null 则不显示取消按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性。使用 TNode 自定义按钮时,需自行控制取消事件", + "label": "" + }, + { + "key": "closeOnOverlayClick", + "type": ["Boolean"], + "desc": "点击蒙层时是否触发关闭事件", + "label": "" + }, + { + "key": "confirmBtn", + "type": ["String", "Object"], + "desc": "确认按钮。值为 null 则不显示确认按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性。使用 TNode 自定义按钮时,需自行控制确认事件", + "label": "" + }, + { + "key": "content", + "type": ["String"], + "desc": "内容", + "label": "" + }, + { + "key": "preventScrollThrough", + "type": ["Boolean"], + "desc": "防止滚动穿透", + "label": "" + }, + { + "key": "showInAttachedElement", + "type": ["Boolean"], + "desc": "【开发中】仅在挂载元素中显示抽屉,默认在浏览器可视区域显示。父元素需要有定位属性,如:position: relative", + "label": "" + }, + { + "key": "showOverlay", + "type": ["Boolean"], + "desc": "是否显示遮罩层", + "label": "" + }, + { + "key": "title", + "type": ["String"], + "desc": "标题", + "label": "" + }, + { + "key": "visible", + "type": ["Boolean"], + "desc": "控制对话框是否显示", + "label": "" + }, + { + "key": "zIndex", + "type": ["Number"], + "desc": "对话框层级,Web 侧样式默认为 2500,移动端和小程序样式默认为 1500", + "label": "" + } + ], + "externalClasses": ["t-class", "t-class-content", "t-class-confirm", "t-class-cancel"], + "events": [ + { + "key": "bind:cancel", + "desc": "如果“取消”按钮存在,则点击“取消”按钮时触发,同时触发关闭事件", + "label": "" + }, + { + "key": "bind:close", + "desc": "关闭事件,点击 取消按钮 或 点击蒙层 时触发", + "label": "" + }, + { + "key": "bind:overlay-click", + "desc": "如果蒙层存在,点击蒙层时触发", + "label": "" + } + ], + "tpl": "", + "path": "./dialog/dialog" + }, + "t-divider": { + "key": "t-divider", + "label": "分割线", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-divider.png", + "properties": [ + { + "key": "align", + "type": ["String"], + "desc": "文本位置(仅在水平分割线有效)", + "label": "" + }, + { + "key": "content", + "type": ["String"], + "desc": "子元素", + "label": "" + }, + { + "key": "dashed", + "type": ["Boolean"], + "desc": "是否虚线(仅在水平分割线有效)", + "label": "" + }, + { + "key": "layout", + "type": ["String"], + "desc": "分隔线类型有两种:水平和垂直", + "label": "" + }, + { + "key": "lineColor", + "type": ["String"], + "desc": "分隔线颜色", + "label": "" + } + ], + "externalClasses": ["t-class", "t-class-line", "t-class-content"], + "tpl": "", + "path": "./divider/divider" + }, + "t-drawer": { + "key": "t-drawer", + "label": "模态抽屉", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-drawer.png", + "properties": [ + { + "key": "closeOnOverlayClick", + "type": ["Boolean"], + "desc": "点击蒙层时是否触发抽屉关闭事件", + "label": "" + }, + { + "key": "destroyOnClose", + "type": ["Boolean"], + "desc": "抽屉关闭时是否销毁节点", + "label": "" + }, + { + "key": "items", + "type": ["Array"], + "desc": "抽屉里的列表项", + "label": "" + }, + { + "key": "placement", + "type": ["String"], + "desc": "抽屉方向", + "label": "" + }, + { + "key": "showOverlay", + "type": ["Boolean"], + "desc": "是否显示遮罩层", + "label": "" + }, + { + "key": "visible", + "type": ["Boolean"], + "desc": "组件是否可见", + "label": "" + }, + { + "key": "zIndex", + "type": ["Number"], + "desc": "抽屉层级,样式默认为 1500", + "label": "" + } + ], + "events": [ + { + "key": "bind:close", + "desc": "关闭事件,取消按钮点击时、关闭按钮点击时、点击蒙层时均会触发", + "label": "" + }, + { + "key": "bind:item-click", + "desc": "点击抽屉里的列表项", + "label": "" + }, + { + "key": "bind:overlay-click", + "desc": "如果蒙层存在,点击蒙层时触发", + "label": "" + } + ], + "tpl": "", + "path": "./drawer/drawer" + }, + "t-dropdown-item": { + "key": "t-dropdown-item", + "label": "下拉菜单子项", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-dropdownmenu.png", + "properties": [ + { + "key": "disabled", + "type": ["Boolean"], + "desc": "是否禁用", + "label": "" + }, + { + "key": "label", + "type": ["String"], + "desc": "标题", + "label": "" + }, + { + "key": "multiple", + "type": ["Boolean"], + "desc": "是否多选", + "label": "" + }, + { + "key": "options", + "type": ["Array"], + "desc": "选项数据", + "label": "" + } + ], + "tpl": "", + "path": "./dropdown-menu/dropdown-item" + }, + "t-dropdown-menu": { + "key": "t-dropdown-menu", + "label": "下拉菜单", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-dropdownmenu.png", + "properties": [ + { + "key": "activeColor", + "type": ["String"], + "desc": "【讨论中】菜单标题和选项的选中态颜色", + "label": "" + }, + { + "key": "closeOnClickOverlay", + "type": ["Boolean"], + "desc": "是否在点击遮罩层后关闭菜单", + "label": "" + }, + { + "key": "duration", + "type": ["String", "Number"], + "desc": "动画时长", + "label": "" + }, + { + "key": "showOverlay", + "type": ["Boolean"], + "desc": "是否显示遮罩层", + "label": "" + }, + { + "key": "zIndex", + "type": ["Number"], + "desc": "菜单栏 z-index 层级", + "label": "" + } + ], + "tpl": "", + "require": { + "t-dropdown-item": "./dropdown-menu/dropdown-item" + }, + "path": "./dropdown-menu/dropdown-menu" + }, + "t-empty": { + "key": "t-empty", + "label": "空状态", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-empty.png", + "properties": [ + { + "key": "action", + "type": ["String"], + "desc": "操作按钮", + "label": "" + }, + { + "key": "description", + "type": ["String"], + "desc": "描述文字", + "label": "" + }, + { + "key": "icon", + "type": ["String"], + "desc": "图标名称", + "label": "" + }, + { + "key": "image", + "type": ["String"], + "desc": "图片地址", + "label": "" + } + ], + "externalClasses": ["t-class", "t-class-description", "t-class-image", "t-class-actions"], + "tpl": "", + "path": "./empty/empty" + }, + "t-fab": { + "key": "t-fab", + "label": "悬浮按钮", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-fab.png", + "properties": [ + { + "key": "buttonProps", + "type": ["Object"], + "desc": "透传至 Button 组件", + "label": "" + }, + { + "key": "icon", + "type": ["String"], + "desc": "图标", + "label": "" + }, + { + "key": "style", + "type": ["String"], + "desc": "悬浮按钮的样式,常用于调整位置", + "label": "" + }, + { + "key": "text", + "type": ["String"], + "desc": "文本内容", + "label": "" + } + ], + "events": [ + { + "key": "bind:click", + "desc": "悬浮按钮点击事件", + "label": "" + } + ], + "tpl": "", + "path": "./fab/fab" + }, + "t-footer": { + "key": "t-footer", + "label": "布局-底部内容", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-footer.png", + "properties": [ + { + "key": "copyright", + "type": ["String"], + "desc": "版权信息,type 为`text`生效", + "label": "" + }, + { + "key": "logo", + "type": ["Object"], + "desc": "图标配置,type 为`logo`生效。`logo.icon` 表示图标链接地址,`logo.title` 表示标题文本,`logo.url` 表示链接跳转地址", + "label": "" + }, + { + "key": "textLinkList", + "type": ["Array"], + "desc": "链接列表,type 为`text`生效。name 表示链接名称, url 表示链接 page 路径,目前只支持小程序内部跳转,openType 表示跳转方式", + "label": "" + }, + { + "key": "theme", + "type": ["String"], + "desc": "页脚展示类型", + "label": "" + } + ], + "tpl": "", + "path": "./footer/footer" + }, + "t-grid-item": { + "key": "t-grid-item", + "label": "宫格子项", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-grid.png", + "properties": [ + { + "key": "badgeProps", + "type": ["Object"], + "desc": "头像右上角提示信息,继承 Badge 组件的全部特性。如:小红点,或者数字", + "label": "" + }, + { + "key": "description", + "type": ["String"], + "desc": "文本以外的更多描述,辅助信息。可以通过 Props 传入文本,也可以自定义标题节点", + "label": "" + }, + { + "key": "image", + "type": ["String"], + "desc": "图片,可以是图片地址,也可以自定义图片节点", + "label": "" + }, + { + "key": "jumpType", + "type": ["String"], + "desc": "链接跳转类型", + "label": "" + }, + { + "key": "layout", + "type": ["String"], + "desc": "内容布局方式", + "label": "" + }, + { + "key": "text", + "type": ["String"], + "desc": "文本,可以通过 Props 传入文本,也可以自定义标题节点", + "label": "" + }, + { + "key": "url", + "type": ["String"], + "desc": "点击后的跳转链接", + "label": "" + } + ], + "externalClasses": ["t-class", "t-class-image", "t-class-text", "t-class-description"], + "tpl": "", + "path": "./grid/grid-item" + }, + "t-grid": { + "key": "t-grid", + "label": "栅格", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-grid.png", + "properties": [ + { + "key": "align", + "type": ["String"], + "desc": "内容对齐方式", + "label": "" + }, + { + "key": "border", + "type": ["Boolean", "Object"], + "desc": "边框,默认不显示。值为 true 则显示默认边框,值类型为 object 则表示自定义边框样式", + "label": "" + }, + { + "key": "column", + "type": ["Number"], + "desc": "每一行的列数量", + "label": "" + }, + { + "key": "gutter", + "type": ["Number"], + "desc": "间隔大小", + "label": "" + }, + { + "key": "hover", + "type": ["Boolean"], + "desc": "是否开启点击反馈", + "label": "" + } + ], + "externalClasses": ["t-class"], + "tpl": "", + "require": { + "t-grid-item": "./grid/grid-item" + }, + "path": "./grid/grid" + }, + "t-icon": { + "key": "t-icon", + "label": "图标", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-icon.png", + "properties": [ + { + "key": "classPrefix", + "type": ["String"], + "desc": "自定义icon前缀", + "label": "" + }, + { + "key": "color", + "type": ["String"], + "desc": "图标颜色", + "label": "" + }, + { + "key": "customStyle", + "type": ["String"], + "desc": "自定义样式", + "label": "" + }, + { + "key": "name", + "type": ["String"], + "desc": "图标名称", + "label": "" + }, + { + "key": "size", + "type": ["String", "Number"], + "desc": "图标名称", + "label": "" + } + ], + "tpl": "", + "path": "./icon/icon" + }, + "t-image": { + "key": "t-image", + "label": "图片", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-image.png", + "properties": [ + { + "key": "error", + "type": ["String"], + "desc": "加载失败时显示的内容。值为 `default` 则表示使用默认加载失败风格;值为空或者 `slot` 表示使用插槽渲染,插槽名称为 `error`;值为其他则表示普通文本内容,如“加载失败”", + "label": "" + }, + { + "key": "lazy", + "type": ["Boolean"], + "desc": "是否开启图片懒加载", + "label": "" + }, + { + "key": "loading", + "type": ["String"], + "desc": "加载态内容。值为 `default` 则表示使用默认加载中风格;值为空或者 `slot` 表示使用插槽渲染,插槽名称为 `loading`;值为其他则表示普通文本内容,如“加载中”", + "label": "" + }, + { + "key": "shape", + "type": ["String"], + "desc": "图片圆角类型", + "label": "" + }, + { + "key": "src", + "type": ["String"], + "desc": "图片链接", + "label": "" + } + ], + "externalClasses": ["t-class", "t-class-load"], + "events": [ + { + "key": "bind:error", + "desc": "图片加载失败时触发", + "label": "" + }, + { + "key": "bind:load", + "desc": "图片加载完成时触发", + "label": "" + } + ], + "tpl": "", + "path": "./image/image" + }, + "t-indexes": { + "key": "t-indexes", + "label": "索引", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-indexes.png", + "properties": [ + { + "key": "height", + "type": ["Number"], + "desc": "列表高度,未设置默认占满设备高度", + "label": "" + }, + { + "key": "list", + "type": ["Array"], + "desc": "索引列表的列表数据。每个元素包含三个子元素,index(string):索引值,例如1,2,3,...或A,B,C等;title(string): 索引标题,可不填将默认设为索引值;children(Array<{title: string}>): 子元素列表,title为子元素的展示文案。", + "label": "" + }, + { + "key": "sticky", + "type": ["Boolean"], + "desc": "索引是否吸顶,默认为true", + "label": "" + } + ], + "events": [ + { + "key": "bind:select", + "desc": "点击行元素时触发事件", + "label": "" + } + ], + "tpl": "", + "path": "./indexes/indexes" + }, + "t-input": { + "key": "t-input", + "label": "输入框", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-input.png", + "properties": [ + { + "key": "align", + "type": ["String"], + "desc": "文本内容位置,居左/居中/居右", + "label": "" + }, + { + "key": "borderless", + "type": ["Boolean"], + "desc": "【讨论中】是否开启无边框模式", + "label": "" + }, + { + "key": "clearable", + "type": ["Boolean"], + "desc": "是否可清空", + "label": "" + }, + { + "key": "disabled", + "type": ["Boolean"], + "desc": "是否禁用输入框", + "label": "" + }, + { + "key": "errorMessage", + "type": ["String"], + "desc": "错误提示文本,值为空不显示(废弃属性,如果需要,请更为使用 status 和 tips)", + "label": "" + }, + { + "key": "format", + "type": ["String"], + "desc": "【开发中】指定输入框展示值的格式", + "label": "" + }, + { + "key": "label", + "type": ["String"], + "desc": "左侧文本", + "label": "" + }, + { + "key": "maxcharacter", + "type": ["Number"], + "desc": "用户最多可以输入的字符个数,一个中文汉字表示两个字符长度。`maxcharacter` 和 `maxlength` 二选一使用", + "label": "" + }, + { + "key": "maxlength", + "type": ["Number"], + "desc": "用户最多可以输入的文本长度,一个中文等于一个计数长度。值小于等于 0 的时候,则表示不限制输入长度。`maxcharacter` 和 `maxlength` 二选一使用", + "label": "" + }, + { + "key": "placeholder", + "type": ["String"], + "desc": "占位符", + "label": "" + }, + { + "key": "prefixIcon", + "type": ["String"], + "desc": "组件前置图标,值为字符串则表示图标名称", + "label": "" + }, + { + "key": "readonly", + "type": ["Boolean"], + "desc": "只读状态", + "label": "" + }, + { + "key": "size", + "type": ["String"], + "desc": "输入框尺寸", + "label": "" + }, + { + "key": "status", + "type": ["String"], + "desc": "输入框状态", + "label": "" + }, + { + "key": "suffix", + "type": ["String"], + "desc": "后置图标前的后置内容", + "label": "" + }, + { + "key": "suffixIcon", + "type": ["String"], + "desc": "后置文本内容,值为字符串则表示图标名称", + "label": "" + }, + { + "key": "tips", + "type": ["String"], + "desc": "输入框下方提示文本,会根据不同的 `status` 呈现不同的样式", + "label": "" + }, + { + "key": "value", + "type": ["String", "Number"], + "desc": "输入框的值", + "label": "" + } + ], + "externalClasses": ["t-class", "t-class-input", "t-class-placeholder", "t-class-error-msg"], + "events": [ + { + "key": "bind:blur", + "desc": "失去焦点时触发", + "label": "" + }, + { + "key": "bind:change", + "desc": "输入框值发生变化时触发", + "label": "" + }, + { + "key": "bind:clear", + "desc": "清空按钮点击时触发", + "label": "" + }, + { + "key": "bind:enter", + "desc": "回车键按下时触发", + "label": "" + }, + { + "key": "bind:focus", + "desc": "获得焦点时触发", + "label": "" + } + ], + "tpl": "", + "path": "./input/input" + }, + "t-loading": { + "key": "t-loading", + "label": "加载中", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-loading.png", + "properties": [ + { + "key": "delay", + "type": ["Number"], + "desc": "延迟显示加载效果的时间,用于防止请求速度过快引起的加载闪烁,单位:毫秒", + "label": "" + }, + { + "key": "duration", + "type": ["Number"], + "desc": "加载动画执行完成一次的时间,单位:毫秒", + "label": "" + }, + { + "key": "indicator", + "type": ["Boolean"], + "desc": "是否显示加载指示符", + "label": "" + }, + { + "key": "inheritColor", + "type": ["Boolean"], + "desc": "是否继承父元素颜色", + "label": "" + }, + { + "key": "layout", + "type": ["String"], + "desc": "对齐方式", + "label": "" + }, + { + "key": "loading", + "type": ["Boolean"], + "desc": "是否处于加载状态", + "label": "" + }, + { + "key": "pause", + "type": ["Boolean"], + "desc": "是否暂停动画", + "label": "" + }, + { + "key": "progress", + "type": ["Number"], + "desc": "加载进度", + "label": "" + }, + { + "key": "reverse", + "type": ["Boolean"], + "desc": "加载动画是否反向", + "label": "" + }, + { + "key": "size", + "type": ["String"], + "desc": "尺寸,示例:40rpx/20px", + "label": "" + }, + { + "key": "text", + "type": ["String"], + "desc": "加载提示文案", + "label": "" + }, + { + "key": "theme", + "type": ["String"], + "desc": "加载组件类型", + "label": "" + } + ], + "externalClasses": ["t-class", "t-class-text", "t-class-indicator"], + "tpl": "", + "path": "./loading/loading" + }, + "t-message": { + "key": "t-message", + "label": "全局提醒", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-message.png", + "properties": [ + { + "key": "action", + "type": ["String"], + "desc": "操作", + "label": "" + }, + { + "key": "align", + "type": ["String"], + "desc": "文本对齐方式", + "label": "" + }, + { + "key": "closeBtn", + "type": ["String", "Boolean"], + "desc": "关闭按钮,可以自定义。值为 true 显示默认关闭按钮,值为 false 不显示关闭按钮。值类型为 string 则直接显示值,如:“关闭”。也可以完全自定义按钮", + "label": "" + }, + { + "key": "content", + "type": ["String"], + "desc": "用于自定义消息弹出内容", + "label": "" + }, + { + "key": "duration", + "type": ["Number"], + "desc": "消息内置计时器,计时到达时会触发 duration-end 事件。单位:毫秒。值为 0 则表示没有计时器。", + "label": "" + }, + { + "key": "icon", + "type": ["String", "Boolean"], + "desc": "消息提醒前面的图标。值为 true 则根据 theme 显示对应的图标,值为 false 则不显示图标。值为 'info' 或 'bell' 则显示组件内置图标。也可以完全自定义图标节点", + "label": "" + }, + { + "key": "marquee", + "type": ["Boolean", "Object"], + "desc": "跑马灯效果。speed 指速度控制;loop 指循环播放次数,值为 -1 表示循环播放,值为 0 表示不循环播放;delay 表示延迟多久开始播放", + "label": "" + }, + { + "key": "offset", + "type": ["Array"], + "desc": "相对于 placement 的偏移量,示例:[-10, 20] 或 ['10rpx', '8rpx']", + "label": "" + }, + { + "key": "theme", + "type": ["String"], + "desc": "消息组件风格", + "label": "" + }, + { + "key": "visible", + "type": ["Boolean"], + "desc": "是否显示,隐藏时默认销毁组件", + "label": "" + }, + { + "key": "zIndex", + "type": ["Number"], + "desc": "元素层级,样式默认为 5000", + "label": "" + } + ], + "externalClasses": ["t-class", "t-class-content", "t-class-icon", "t-class-action", "t-class-close-btn"], + "events": [ + { + "key": "bind:action-btn-click", + "desc": "当操作按钮存在时,用户点击操作按钮时触发", + "label": "" + }, + { + "key": "bind:close-btn-click", + "desc": "当关闭按钮存在时,用户点击关闭按钮触发", + "label": "" + }, + { + "key": "bind:duration-end", + "desc": "计时结束后触发", + "label": "" + } + ], + "tpl": "", + "path": "./message/message" + }, + "t-navbar": { + "key": "t-navbar", + "label": "导航条", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-navbar.png", + "properties": [ + { + "key": "animation", + "type": ["Boolean"], + "desc": "是否添加动画效果", + "label": "" + }, + { + "key": "background", + "type": ["String"], + "desc": "背景", + "label": "" + }, + { + "key": "delta", + "type": ["Number"], + "desc": "后退按钮后退层数,含义参考 [wx.navigateBack](https://developers.weixin.qq.com/miniprogram/dev/api/route/wx.navigateBack.html),特殊的,传入 0 不会发生执行 wx.navigateBack,只会触发一个 goback 事件供自行处理。", + "label": "" + }, + { + "key": "fixed", + "type": ["Boolean"], + "desc": "是否固定在顶部", + "label": "" + }, + { + "key": "homeIcon", + "type": ["String"], + "desc": "首页图标地址。值为 '' 或者 undefiend 则表示不显示返回图标,值为 'circle' 表示显示默认图标,值为 'slot' 表示使用插槽渲染,值为其他则表示图标地址", + "label": "" + }, + { + "key": "leftIcon", + "type": ["String"], + "desc": "左侧图标地址,值为 '' 或者 undefiend 则表示不显示返回图标,值为 'arrow-left' 表示显示返回图标,值为 'slot' 表示使用插槽渲染,值为其他则表示图标地址", + "label": "" + }, + { + "key": "title", + "type": ["String"], + "desc": "页面标题", + "label": "" + }, + { + "key": "titleMaxLength", + "type": ["Number"], + "desc": "标题文字最大长度,超出的范围使用 `...` 表示", + "label": "" + }, + { + "key": "visible", + "type": ["Boolean"], + "desc": "是否显示", + "label": "" + } + ], + "externalClasses": ["t-class", "t-class-title", "t-class-left-icon", "t-class-home-icon", "t-class-capsule"], + "events": [ + { + "key": "bind:complete", + "desc": "navigateBack 执行完成后触发(失败或成功均会触发)", + "label": "" + }, + { + "key": "bind:fail", + "desc": "navigateBack 执行失败后触发", + "label": "" + }, + { + "key": "bind:go-back", + "desc": "delta 值为 0 时,点击返回,触发该事件", + "label": "" + }, + { + "key": "bind:go-home", + "desc": "点击 Home 触发", + "label": "" + }, + { + "key": "bind:success", + "desc": "navigateBack 执行成功后触发", + "label": "" + } + ], + "tpl": "", + "path": "./navbar/navbar" + }, + "t-picker-item": { + "key": "t-picker-item", + "label": "选择器子项", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-picker.png", + "properties": [ + { + "key": "format", + "type": ["String"], + "desc": "格式化标签", + "label": "" + }, + { + "key": "options", + "type": ["Array"], + "desc": "数据源", + "label": "" + } + ], + "tpl": "", + "path": "./picker/picker-item" + }, + "t-picker": { + "key": "t-picker", + "label": "选择器", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-picker.png", + "properties": [ + { + "key": "cancelBtn", + "type": ["String", "Object"], + "desc": "取消按钮文字", + "label": "" + }, + { + "key": "confirmBtn", + "type": ["String", "Object"], + "desc": "确定按钮文字", + "label": "" + }, + { + "key": "footer", + "type": ["String"], + "desc": "底部内容", + "label": "" + }, + { + "key": "header", + "type": ["Boolean"], + "desc": "头部内容。值为 true 显示空白头部,值为 false 不显示任何内容,值类型为 TNode 表示自定义头部内容", + "label": "" + }, + { + "key": "title", + "type": ["String"], + "desc": "标题", + "label": "" + }, + { + "key": "value", + "type": ["Array"], + "desc": "选中值", + "label": "" + }, + { + "key": "visible", + "type": ["Boolean"], + "desc": "是否显示", + "label": "" + } + ], + "events": [ + { + "key": "bind:cancel", + "desc": "点击取消按钮时触发", + "label": "" + }, + { + "key": "bind:change", + "desc": "选中变化时候触发", + "label": "" + }, + { + "key": "bind:pick", + "desc": "任何一列选中都会触发,不同的列参数不同。`context.column` 表示第几列变化,`context.index` 表示变化那一列的选中项下标", + "label": "" + } + ], + "tpl": "", + "require": { + "t-picker-item": "./picker/picker-item" + }, + "path": "./picker/picker" + }, + "t-popup": { + "key": "t-popup", + "label": "气泡框", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-popup.png", + "properties": [ + { + "key": "closeBtn", + "type": ["Boolean"], + "desc": "关闭按钮,值类型为 Boolean 时表示是否显示关闭按钮。也可以自定义关闭按钮", + "label": "" + }, + { + "key": "closeOnOverlayClick", + "type": ["Boolean"], + "desc": "点击遮罩层是否关闭", + "label": "" + }, + { + "key": "content", + "type": ["String"], + "desc": "浮层里面的内容", + "label": "" + }, + { + "key": "placement", + "type": ["String"], + "desc": "浮层出现位置", + "label": "" + }, + { + "key": "preventScrollThrough", + "type": ["Boolean"], + "desc": "防止滚动穿透", + "label": "" + }, + { + "key": "showOverlay", + "type": ["Boolean"], + "desc": "是否显示遮罩层", + "label": "" + }, + { + "key": "transitionProps", + "type": ["Object"], + "desc": "动画效果定义", + "label": "" + }, + { + "key": "visible", + "type": ["Boolean"], + "desc": "是否显示浮层", + "label": "" + }, + { + "key": "zIndex", + "type": ["Number"], + "desc": "组件层级,Web 侧样式默认为 5500,移动端和小程序样式默认为 1500", + "label": "" + } + ], + "externalClasses": ["t-class", "t-class-overlay", "t-class-content"], + "events": [ + { + "key": "bind:visible-change", + "desc": "当浮层隐藏或显示时触发", + "label": "" + } + ], + "tpl": "", + "path": "./popup/popup" + }, + "t-progress": { + "key": "t-progress", + "label": "进度条", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-progress.png", + "properties": [ + { + "key": "color", + "type": ["String", "Object", "Array"], + "desc": "进度条颜色。示例:'#ED7B2F' 或 'orange' 或 `['#f00', '#0ff', '#f0f']` 或 `{ '0%': '#f00', '100%': '#0ff' }` 或 `{ from: '#000', to: '#000' }` 等", + "label": "" + }, + { + "key": "label", + "type": ["String", "Boolean"], + "desc": "进度百分比,可自定义", + "label": "" + }, + { + "key": "percentage", + "type": ["Number"], + "desc": "进度条百分比", + "label": "" + }, + { + "key": "size", + "type": ["String", "Number"], + "desc": "进度条尺寸,示例:small/medium/large/240。small 值为 72; medium 值为 112;large 值为 160", + "label": "" + }, + { + "key": "status", + "type": ["String"], + "desc": "进度条状态", + "label": "" + }, + { + "key": "strokeWidth", + "type": ["String", "Number"], + "desc": "进度条线宽。宽度数值不能超过 size 的一半,否则不能输出环形进度", + "label": "" + }, + { + "key": "theme", + "type": ["String"], + "desc": "进度条风格。值为 line,标签(label)显示在进度条右侧;值为 plump,标签(label)显示在进度条里面;值为 circle,标签(label)显示在进度条正中间", + "label": "" + }, + { + "key": "trackColor", + "type": ["String"], + "desc": "进度条未完成部分颜色", + "label": "" + } + ], + "tpl": "", + "path": "./progress/progress" + }, + "t-pull-down-refresh": { + "key": "t-pull-down-refresh", + "label": "下拉刷新", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-pulldownrefresh.png", + "properties": [ + { + "key": "loadingBarHeight", + "type": ["String", "Number"], + "desc": "加载中下拉高度,如果值为数字则单位是:'px'", + "label": "" + }, + { + "key": "loadingProps", + "type": ["Object"], + "desc": "加载loading样式", + "label": "" + }, + { + "key": "loadingTexts", + "type": ["Array"], + "desc": "提示语,组件内部默认值为 ['下拉刷新', '松手刷新', '正在刷新', '刷新完成']", + "label": "" + }, + { + "key": "maxBarHeight", + "type": ["String", "Number"], + "desc": "最大下拉高度,如果值为数字则单位是:'px'", + "label": "" + }, + { + "key": "refreshTimeout", + "type": ["Number"], + "desc": "刷新超时时间", + "label": "" + }, + { + "key": "value", + "type": ["Boolean"], + "desc": "组件状态,值为 `true` 表示下拉状态,值为 `false` 表示收起状态", + "label": "" + } + ], + "externalClasses": ["t-class", "t-class-loading", "t-class-text", "t-class-indicator"], + "events": [ + { + "key": "bind:change", + "desc": "下拉或收起时触发,用户手势往下滑动触发下拉状态,手势松开触发收起状态", + "label": "" + }, + { + "key": "bind:refresh", + "desc": "结束下拉时触发", + "label": "" + }, + { + "key": "bind:timeout", + "desc": "刷新超时触发", + "label": "" + } + ], + "tpl": "拖拽该区域演示 中间下拉刷新", + "path": "./pull-down-refresh/pull-down-refresh" + }, + "t-radio-group": { + "key": "t-radio-group", + "label": "单选框组", + "icon": "", + "properties": [ + { + "key": "disabled", + "type": ["Boolean"], + "desc": "是否禁用全部子单选框", + "label": "" + }, + { + "key": "name", + "type": ["String"], + "desc": "HTML 元素原生属性", + "label": "" + }, + { + "key": "options", + "type": ["Array"], + "desc": "单选组件按钮形式。RadioOption 数据类型为 string 或 number 时,表示 label 和 value 值相同", + "label": "" + }, + { + "key": "value", + "type": ["String", "Number", "Boolean"], + "desc": "选中的值", + "label": "" + } + ], + "events": [ + { + "key": "bind:change", + "desc": "选中值发生变化时触发", + "label": "" + } + ], + "tpl": "", + "require": { + "t-radio": "./radio/radio" + }, + "path": "./radio-group/radio-group" + }, + "t-radio": { + "key": "t-radio", + "label": "单选框", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-radio.png", + "properties": [ + { + "key": "align", + "type": ["String"], + "desc": "复选框和内容相对位置", + "label": "" + }, + { + "key": "allowUncheck", + "type": ["Boolean"], + "desc": "是否允许取消选中", + "label": "" + }, + { + "key": "checked", + "type": ["Boolean"], + "desc": "是否选中", + "label": "" + }, + { + "key": "color", + "type": ["String"], + "desc": "单选按钮颜色", + "label": "" + }, + { + "key": "content", + "type": ["String"], + "desc": "单选内容", + "label": "" + }, + { + "key": "contentDisabled", + "type": ["Boolean"], + "desc": "是否禁用组件内容(content)触发选中", + "label": "" + }, + { + "key": "disabled", + "type": ["Boolean"], + "desc": "是否为禁用态", + "label": "" + }, + { + "key": "icon", + "type": ["String", "Array"], + "desc": "自定义选中图标和非选中图标。示例:[选中态图标,非选中态图标]。值为 fill-circle 表示图标为填充型图标,值为 stroke-line 表示图标为描边型图标", + "label": "" + }, + { + "key": "label", + "type": ["String"], + "desc": "主文案", + "label": "" + }, + { + "key": "maxContentRow", + "type": ["Number"], + "desc": "内容最大行数限制", + "label": "" + }, + { + "key": "maxLabelRow", + "type": ["Number"], + "desc": "主文案最大行数限制", + "label": "" + }, + { + "key": "name", + "type": ["String"], + "desc": "HTML 元素原生属性", + "label": "" + }, + { + "key": "value", + "type": ["String", "Number", "Boolean"], + "desc": "单选按钮的值", + "label": "" + } + ], + "externalClasses": ["t-class", "t-class-icon", "t-class-label", "t-class-content", "t-class-border"], + "events": [ + { + "key": "bind:change", + "desc": "值变化时触发", + "label": "" + } + ], + "tpl": "", + "path": "./radio/radio" + }, + "t-rate": { + "key": "t-rate", + "label": "评分", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-rate.png", + "properties": [ + { + "key": "allowHalf", + "type": ["Boolean"], + "desc": "是否允许半选", + "label": "" + }, + { + "key": "color", + "type": ["String", "Array"], + "desc": "评分图标的颜色,样式中默认为 #ED7B2F。一个值表示设置选中高亮的五角星颜色,示例:[选中颜色]。数组则表示分别设置 选中高亮的五角星颜色 和 未选中暗灰的五角星颜色,[选中颜色,未选中颜色]。示例:['#ED7B2F', '#E3E6EB']", + "label": "" + }, + { + "key": "count", + "type": ["Number"], + "desc": "评分的数量", + "label": "" + }, + { + "key": "disabled", + "type": ["Boolean"], + "desc": "是否禁用评分", + "label": "" + }, + { + "key": "gap", + "type": ["Number"], + "desc": "评分图标的间距", + "label": "" + }, + { + "key": "showText", + "type": ["Boolean"], + "desc": "是否显示对应的辅助文字", + "label": "" + }, + { + "key": "size", + "type": ["String"], + "desc": "评分图标的大小,示例:`20`", + "label": "" + }, + { + "key": "texts", + "type": ["Array"], + "desc": "评分等级对应的辅助文字。组件内置默认值为:['极差', '失望', '一般', '满意', '惊喜']。自定义值示例:['1分', '2分', '3分', '4分', '5分']", + "label": "" + }, + { + "key": "value", + "type": ["Number"], + "desc": "选择评分的值", + "label": "" + }, + { + "key": "variant", + "type": ["String"], + "desc": "形状类型,有描边类型和填充类型两种", + "label": "" + } + ], + "events": [ + { + "key": "bind:change", + "desc": "评分数改变时触发", + "label": "" + } + ], + "tpl": "", + "path": "./rate/rate" + }, + "t-search": { + "key": "t-search", + "label": "搜索", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-search.png", + "properties": [ + { + "key": "action", + "type": ["String"], + "desc": "自定义右侧操作按钮文字", + "label": "" + }, + { + "key": "center", + "type": ["Boolean"], + "desc": "是否居中", + "label": "" + }, + { + "key": "disabled", + "type": ["Boolean"], + "desc": "是否禁用", + "label": "" + }, + { + "key": "focus", + "type": ["Boolean"], + "desc": "是否聚焦", + "label": "" + }, + { + "key": "label", + "type": ["String"], + "desc": "左侧文本", + "label": "" + }, + { + "key": "leftIcon", + "type": ["String"], + "desc": "左侧图标", + "label": "" + }, + { + "key": "placeholder", + "type": ["String"], + "desc": "占位符", + "label": "" + }, + { + "key": "rightIcon", + "type": ["String"], + "desc": "右侧图标", + "label": "" + }, + { + "key": "shape", + "type": ["String"], + "desc": "搜索框形状", + "label": "" + }, + { + "key": "value", + "type": ["String"], + "desc": "值", + "label": "" + } + ], + "externalClasses": [ + "t-class", + "t-class-input", + "t-class-input-container", + "t-class-cancel", + "t-class-left", + "t-class-right" + ], + "events": [ + { + "key": "bind:action-click", + "desc": "点击右侧操作按钮文字时触发", + "label": "" + }, + { + "key": "bind:blur", + "desc": "失去焦点时触发", + "label": "" + }, + { + "key": "bind:change", + "desc": "值发生变化时触发", + "label": "" + }, + { + "key": "bind:clear", + "desc": "点击清除时触发", + "label": "" + }, + { + "key": "bind:focus", + "desc": "聚焦时触发", + "label": "" + }, + { + "key": "bind:submit", + "desc": "提交时触发", + "label": "" + } + ], + "tpl": "", + "path": "./search/search" + }, + "t-skeleton": { + "key": "t-skeleton", + "label": "骨架屏", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-skeleton.png", + "properties": [ + { + "key": "animation", + "type": ["String"], + "desc": "动画效果,有「渐变加载动画」和「闪烁加载动画」两种。值为 'none' 则表示没有动画", + "label": "" + }, + { + "key": "delay", + "type": ["Number"], + "desc": "【开发中】延迟显示加载效果的时间,用于防止请求速度过快引起的加载闪烁,单位:毫秒", + "label": "" + }, + { + "key": "loading", + "type": ["Boolean"], + "desc": "是否为加载状态,如果是则显示骨架图,如果不是则显示加载完成的内容", + "label": "" + }, + { + "key": "rowCol", + "type": ["Array"], + "desc": "用于设置行列数量、宽度高度、间距等。【示例一】,`[1, 1, 2]` 表示输出三行骨架图,第一行一列,第二行一列,第三行两列。【示例二】,`[1, 1, { width: '100px' }]` 表示自定义第三行的宽度为 `100px`。【示例三】,`[1, 2, [{ width, height }, { width, height, marginLeft }]]` 表示第三行有两列,且自定义宽度、高度和间距", + "label": "" + }, + { + "key": "theme", + "type": ["String"], + "desc": "骨架图风格,有基础、头像组合等两大类", + "label": "" + } + ], + "externalClasses": ["t-class", "t-class-avatar", "t-class-image", "t-class-text"], + "tpl": "", + "path": "./skeleton/skeleton" + }, + "t-slider": { + "key": "t-slider", + "label": "滑块", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-slider.png", + "properties": [ + { + "key": "colors", + "type": ["Array"], + "desc": "颜色,[已选择, 未选择]", + "label": "" + }, + { + "key": "disabled", + "type": ["Boolean"], + "desc": "是否禁用组件", + "label": "" + }, + { + "key": "disabledColor", + "type": ["Array"], + "desc": "禁用状态滑动条的颜色,[已选, 未选]", + "label": "" + }, + { + "key": "label", + "type": ["String", "Boolean"], + "desc": "滑块当前值文本。
值为 true 显示默认文案;值为 false 不显示滑块当前值文本;
值为 `${value}%` 则表示组件会根据占位符渲染文案;
值类型为函数时,参数 `value` 标识滑块值,参数 `position=start` 表示范围滑块的起始值,参数 `position=end` 表示范围滑块的终点值", + "label": "" + }, + { + "key": "marks", + "type": ["Object", "Array"], + "desc": "刻度标记,示例:`[0, 10, 40, 200]` 或者 `{ 5: '5¥', 10: '10%' }`", + "label": "" + }, + { + "key": "max", + "type": ["Number"], + "desc": "滑块范围最大值", + "label": "" + }, + { + "key": "min", + "type": ["Number"], + "desc": "滑块范围最小值", + "label": "" + }, + { + "key": "range", + "type": ["Boolean"], + "desc": "双游标滑块", + "label": "" + }, + { + "key": "showExtremeValue", + "type": ["Boolean"], + "desc": "是否边界值", + "label": "" + }, + { + "key": "step", + "type": ["Number"], + "desc": "步长", + "label": "" + }, + { + "key": "value", + "type": ["Number", "Array"], + "desc": "滑块值", + "label": "" + } + ], + "externalClasses": ["t-class", "t-class-bar", "t-class-bar-active", "t-class-bar-disabled", "t-class-cursor"], + "events": [ + { + "key": "bind:change", + "desc": "滑块值变化时触发", + "label": "" + }, + { + "key": "bind:dragend", + "desc": "结束拖动时触发", + "label": "" + }, + { + "key": "bind:dragstart", + "desc": "开始拖动时触发", + "label": "" + } + ], + "tpl": "", + "path": "./slider/slider" + }, + "t-step-item": { + "key": "t-step-item", + "label": "步骤", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-steps.png", + "properties": [ + { + "key": "content", + "type": ["String"], + "desc": "步骤描述", + "label": "" + }, + { + "key": "icon", + "type": ["String"], + "desc": "图标。传入 slot 代表使用插槽,其他字符串代表使用内置图标", + "label": "" + }, + { + "key": "status", + "type": ["String"], + "desc": "当前步骤的状态", + "label": "" + }, + { + "key": "subStepItems", + "type": ["Array"], + "desc": "子步骤条,仅支持 layout = 'vertical' 时", + "label": "" + }, + { + "key": "title", + "type": ["String"], + "desc": "标题", + "label": "" + } + ], + "externalClasses": ["t-class", "t-class-content", "t-class-title", "t-class-description", "t-class-extra"], + "tpl": "", + "path": "./steps/step-item" + }, + "t-stepper": { + "key": "t-stepper", + "label": "步进器", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-stepper.png", + "properties": [ + { + "key": "disabled", + "type": ["Boolean"], + "desc": "禁用全部操作", + "label": "" + }, + { + "key": "disableInput", + "type": ["Boolean"], + "desc": "禁用输入框", + "label": "" + }, + { + "key": "inputWidth", + "type": ["Number"], + "desc": "输入框宽度", + "label": "" + }, + { + "key": "max", + "type": ["Number"], + "desc": "最大值", + "label": "" + }, + { + "key": "min", + "type": ["Number"], + "desc": "最小值", + "label": "" + }, + { + "key": "step", + "type": ["Number"], + "desc": "步长", + "label": "" + }, + { + "key": "theme", + "type": ["String"], + "desc": "组件风格", + "label": "" + }, + { + "key": "value", + "type": ["String", "Number"], + "desc": "值", + "label": "" + } + ], + "externalClasses": ["t-class", "t-class-input", "t-class-add", "t-class-minus"], + "events": [ + { + "key": "bind:blur", + "desc": "输入框失去焦点时触发", + "label": "" + }, + { + "key": "bind:change", + "desc": "数值发生变更时触发", + "label": "" + }, + { + "key": "bind:overlimit", + "desc": "数值超出限制时触发", + "label": "" + } + ], + "tpl": "", + "path": "./stepper/stepper" + }, + "t-steps": { + "key": "t-steps", + "label": "步骤条", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-steps.png", + "properties": [ + { + "key": "current", + "type": ["String", "Number"], + "desc": "当前步骤,即整个步骤条进度。默认根据步骤下标判断步骤的完成状态,当前步骤为进行中,当前步骤之前的步骤为已完成,当前步骤之后的步骤为未开始。如果每个步骤没有设置 value,current 值为步骤长度则表示所有步骤已完成。如果每个步骤设置了自定义 value,则 current = 'FINISH' 表示所有状态完成", + "label": "" + }, + { + "key": "currentStatus", + "type": ["String"], + "desc": "用于控制 current 指向的步骤条的状态", + "label": "" + }, + { + "key": "layout", + "type": ["String"], + "desc": "步骤条方向,有两种:横向和纵向", + "label": "" + }, + { + "key": "readonly", + "type": ["Boolean"], + "desc": "只读状态", + "label": "" + }, + { + "key": "separator", + "type": ["String"], + "desc": "步骤条分割符", + "label": "" + }, + { + "key": "theme", + "type": ["String"], + "desc": "步骤条风格", + "label": "" + } + ], + "externalClasses": ["t-class"], + "events": [ + { + "key": "bind:change", + "desc": "当前步骤发生变化时触发", + "label": "" + } + ], + "tpl": "", + "require": { + "t-step-item": "./steps/step-item" + }, + "path": "./steps/steps" + }, + "t-sticky": { + "key": "t-sticky", + "label": "吸顶容器", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-sticky.png", + "properties": [ + { + "key": "container", + "type": ["String"], + "desc": "函数返回容器对应的 NodesRef 节点,将对应节点指定为组件的外部容器,滚动时组件会始终保持在容器范围内,当组件即将超出容器底部时,会返回原位置。", + "label": "" + }, + { + "key": "disabled", + "type": ["Boolean"], + "desc": "是否禁用组件", + "label": "" + }, + { + "key": "offsetTop", + "type": ["String", "Number"], + "desc": "吸顶时与顶部的距离,单位`px`", + "label": "" + }, + { + "key": "zIndex", + "type": ["Number"], + "desc": "吸顶时的 z-index", + "label": "" + } + ], + "externalClasses": ["t-class"], + "events": [ + { + "key": "bind:scroll", + "desc": "滚动时触发,scrollTop: 距离顶部位置,isFixed: 是否吸顶", + "label": "" + } + ], + "tpl": "", + "path": "./sticky/sticky" + }, + "t-swipe-cell": { + "key": "t-swipe-cell", + "label": "滑动操作", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-swipecell.png", + "properties": [ + { + "key": "disabled", + "type": ["Boolean"], + "desc": "是否禁用滑动", + "label": "" + }, + { + "key": "expanded", + "type": ["String"], + "desc": "操作项是否呈现为打开态", + "label": "" + }, + { + "key": "left", + "type": ["Array"], + "desc": "左侧滑动操作项。所有行为同 `right`", + "label": "" + }, + { + "key": "right", + "type": ["Array"], + "desc": "右侧滑动操作项。有两种定义方式,一种是使用数组,二种是使用插槽。`right.text` 表示操作文本,`right.className` 表示操作项类名,`right.style` 表示操作项样式,`right.onClick` 表示点击操作项后执行的回调函数。示例:`[{ text: '删除', style: 'background-color: red', onClick: () => {} }]`", + "label": "" + } + ], + "events": [ + { + "key": "bind:click", + "desc": "操作项点击时触发(插槽写法组件不触发,业务侧自定义内容和事件)", + "label": "" + } + ], + "tpl": "删除", + "require": { + "t-cell": "./cell/cell" + }, + "path": "./swipe-cell/swipe-cell" + }, + "t-swiper": { + "key": "t-swiper", + "label": "轮播", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-swiper.png", + "properties": [ + { + "key": "animation", + "type": ["String"], + "desc": "轮播切换动画效果类型", + "label": "" + }, + { + "key": "autoplay", + "type": ["Boolean"], + "desc": "是否自动播放", + "label": "" + }, + { + "key": "current", + "type": ["Number"], + "desc": "当前轮播在哪一项(下标)", + "label": "" + }, + { + "key": "direction", + "type": ["String"], + "desc": "轮播滑动方向,包括横向滑动和纵向滑动两个方向", + "label": "" + }, + { + "key": "duration", + "type": ["Number"], + "desc": "滑动动画时长", + "label": "" + }, + { + "key": "height", + "type": ["Number"], + "desc": "当使用垂直方向滚动时的高度", + "label": "" + }, + { + "key": "interval", + "type": ["Number"], + "desc": "轮播间隔时间", + "label": "" + }, + { + "key": "loop", + "type": ["Boolean"], + "desc": "是否循环播放", + "label": "" + }, + { + "key": "navigation", + "type": ["Object"], + "desc": "导航器全部配置", + "label": "" + } + ], + "events": [ + { + "key": "bind:change", + "desc": "轮播切换时触发", + "label": "" + } + ], + "tpl": "", + "require": { + "t-swiper-item": "./swiper/swiper-item" + }, + "path": "./swiper/swiper" + }, + "t-switch": { + "key": "t-switch", + "label": "开关", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-switch.png", + "properties": [ + { + "key": "colors", + "type": ["Array"], + "desc": "自定义颜色,[打开时的颜色,关闭时的颜色]。组件默认颜色为 ['#0052d9', 'rgba(0, 0, 0, .26']。示例:[blue, gray]", + "label": "" + }, + { + "key": "customValue", + "type": ["Array"], + "desc": "开关内容,[打开时的值,关闭时的值]。默认为 [true, false]。示例:[1, 0]", + "label": "" + }, + { + "key": "disabled", + "type": ["Boolean"], + "desc": "是否禁用组件", + "label": "" + }, + { + "key": "label", + "type": ["String"], + "desc": "开关的标签", + "label": "" + }, + { + "key": "loading", + "type": ["Boolean"], + "desc": "是否处于加载中状态", + "label": "" + }, + { + "key": "size", + "type": ["String"], + "desc": "开关尺寸", + "label": "" + }, + { + "key": "value", + "type": ["String", "Number", "Boolean"], + "desc": "开关值", + "label": "" + } + ], + "events": [ + { + "key": "bind:change", + "desc": "数据发生变化时触发", + "label": "" + } + ], + "tpl": "", + "path": "./switch/switch" + }, + "t-tab-bar-item": { + "key": "t-tab-bar-item", + "label": "标签栏选项", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-tabbar.png", + "properties": [ + { + "key": "badgeProps", + "type": ["Object"], + "desc": "图标右上角提示信息", + "label": "" + }, + { + "key": "icon", + "type": ["String"], + "desc": "图标名称", + "label": "" + }, + { + "key": "subTabBar", + "type": ["Array"], + "desc": "二级菜单", + "label": "" + }, + { + "key": "value", + "type": ["String", "Number"], + "desc": "标识符", + "label": "" + } + ], + "tpl": "{{item.label}}", + "path": "./tab-bar/tab-bar-item" + }, + "t-tab-bar": { + "key": "t-tab-bar", + "label": "标签栏", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-tabbar.png", + "properties": [ + { + "key": "bordered", + "type": ["Boolean"], + "desc": "是否显示外边框", + "label": "" + }, + { + "key": "color", + "type": ["Array"], + "desc": "标签颜色设置。示例:[选中标签的颜色, 未选中的标签颜色]", + "label": "" + }, + { + "key": "fixed", + "type": ["Boolean"], + "desc": "是否固定在底部", + "label": "" + }, + { + "key": "safeAreaInsetBottom", + "type": ["Boolean"], + "desc": "是否为 iPhoneX 留出底部安全距离", + "label": "" + }, + { + "key": "split", + "type": ["Boolean"], + "desc": "是否需要分割线", + "label": "" + }, + { + "key": "value", + "type": ["String", "Number", "Array"], + "desc": "当前选中标签的索引", + "label": "" + } + ], + "externalClasses": ["t-class"], + "events": [ + { + "key": "bind:change", + "desc": "选中标签切换时触发", + "label": "" + } + ], + "tpl": "{{item.label}}", + "require": { + "t-tab-bar-item": "./tab-bar/tab-bar-item" + }, + "path": "./tab-bar/tab-bar" + }, + "t-tab-panel": { + "key": "t-tab-panel", + "label": "选项卡面板", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-tabs.png", + "properties": [ + { + "key": "destroyOnHide", + "type": ["Boolean"], + "desc": "选项卡内容隐藏时是否销毁", + "label": "" + }, + { + "key": "disabled", + "type": ["Boolean"], + "desc": "是否禁用当前选项卡", + "label": "" + }, + { + "key": "label", + "type": ["String"], + "desc": "选项卡名称", + "label": "" + }, + { + "key": "panel", + "type": ["String"], + "desc": "用于自定义选项卡面板内容", + "label": "" + }, + { + "key": "value", + "type": ["String", "Number"], + "desc": "选项卡的值,唯一标识", + "label": "" + } + ], + "tpl": "标签一内容", + "path": "./tabs/tab-panel" + }, + "t-tabs": { + "key": "t-tabs", + "label": "选项卡", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-tabs.png", + "properties": [ + { + "key": "animation", + "type": ["Object"], + "desc": "动画效果设置。其中 duration 表示动画时长", + "label": "" + }, + { + "key": "placement", + "type": ["String"], + "desc": "选项卡位置", + "label": "" + }, + { + "key": "showBottomLine", + "type": ["Boolean"], + "desc": "是否展示底部激活线条", + "label": "" + }, + { + "key": "stickyProps", + "type": ["Object"], + "desc": "是否支持吸顶", + "label": "" + }, + { + "key": "value", + "type": ["String", "Number"], + "desc": "激活的选项卡值", + "label": "" + } + ], + "externalClasses": ["t-class", "t-class-item", "t-class-active", "t-class-track"], + "events": [ + { + "key": "bind:change", + "desc": "激活的选项卡发生变化时触发", + "label": "" + } + ], + "tpl": "标签一内容标签二内容", + "require": { + "t-tab-panel": "./tabs/tab-panel" + }, + "path": "./tabs/tabs" + }, + "t-tag": { + "key": "t-tag", + "label": "标签", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-tag.png", + "properties": [ + { + "key": "closable", + "type": ["Boolean"], + "desc": "标签是否可关闭", + "label": "" + }, + { + "key": "disabled", + "type": ["Boolean"], + "desc": "标签禁用态,失效标签不能触发事件。默认风格(theme=default)才有禁用态", + "label": "" + }, + { + "key": "icon", + "type": ["String"], + "desc": "标签中的图标,可自定义图标呈现", + "label": "" + }, + { + "key": "maxWidth", + "type": ["String", "Number"], + "desc": "标签最大宽度,宽度超出后会出现省略号。示例:'50px' / 80", + "label": "" + }, + { + "key": "shape", + "type": ["String"], + "desc": "标签类型,有三种:方形、圆角方形、标记型", + "label": "" + }, + { + "key": "size", + "type": ["String"], + "desc": "标签尺寸", + "label": "" + }, + { + "key": "theme", + "type": ["String"], + "desc": "组件风格,用于描述组件不同的应用场景", + "label": "" + }, + { + "key": "variant", + "type": ["String"], + "desc": "标签风格变体", + "label": "" + } + ], + "externalClasses": ["t-class"], + "events": [ + { + "key": "bind:click", + "desc": "点击时触发", + "label": "" + }, + { + "key": "bind:close", + "desc": "如果关闭按钮存在,点击关闭按钮时触发", + "label": "" + } + ], + "tpl": "重要", + "path": "./tag/tag" + }, + "t-textarea": { + "key": "t-textarea", + "label": "文本输入框", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-textarea.png", + "properties": [ + { + "key": "adjustPosition", + "type": ["Boolean"], + "desc": "键盘弹起时,是否自动上推页面", + "label": "" + }, + { + "key": "autofocus", + "type": ["Boolean"], + "desc": "自动聚焦,拉起键盘", + "label": "" + }, + { + "key": "autosize", + "type": ["Boolean"], + "desc": "是否自动增高,值为 autosize 时,style.height 不生效", + "label": "" + }, + { + "key": "confirmHold", + "type": ["Boolean"], + "desc": "点击键盘右下角按钮时是否保持键盘不收起点", + "label": "" + }, + { + "key": "confirmType", + "type": ["String"], + "desc": "设置键盘右下角按钮的文字,仅在 type='text'时生效", + "label": "" + }, + { + "key": "disabled", + "type": ["Boolean"], + "desc": "是否禁用文本框", + "label": "" + }, + { + "key": "focus", + "type": ["Boolean"], + "desc": "自动聚焦", + "label": "" + }, + { + "key": "label", + "type": ["String"], + "desc": "左侧文本", + "label": "" + }, + { + "key": "maxcharacter", + "type": ["Number"], + "desc": "用户最多可以输入的字符个数,一个中文汉字表示两个字符长度", + "label": "" + }, + { + "key": "maxlength", + "type": ["Number"], + "desc": "用户最多可以输入的字符个数", + "label": "" + }, + { + "key": "placeholder", + "type": ["String"], + "desc": "占位符", + "label": "" + }, + { + "key": "value", + "type": ["String"], + "desc": "文本框值", + "label": "" + } + ], + "externalClasses": ["t-class", "t-class-textarea", "t-class-placeholder", "t-class-name"], + "events": [ + { + "key": "bind:blur", + "desc": "失去焦点时触发", + "label": "" + }, + { + "key": "bind:change", + "desc": "输入内容变化时触发", + "label": "" + }, + { + "key": "bind:enter", + "desc": "点击完成时触发", + "label": "" + }, + { + "key": "bind:focus", + "desc": "获得焦点时触发", + "label": "" + }, + { + "key": "bind:line-change", + "desc": "行高发生变化时触发", + "label": "" + } + ], + "tpl": "", + "path": "./textarea/textarea" + }, + "t-toast": { + "key": "t-toast", + "label": "轻提示", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-toast.png", + "properties": [ + { + "key": "direction", + "type": ["String"], + "desc": "图标排列方式", + "label": "" + }, + { + "key": "duration", + "type": ["Number"], + "desc": "弹窗显示毫秒数", + "label": "" + }, + { + "key": "icon", + "type": ["String"], + "desc": "自定义图标", + "label": "" + }, + { + "key": "message", + "type": ["String"], + "desc": "弹窗显示文字", + "label": "" + }, + { + "key": "overlayProps", + "type": ["Object"], + "desc": "遮罩层属性,透传至 Overlay", + "label": "" + }, + { + "key": "placement", + "type": ["String"], + "desc": "弹窗展示位置", + "label": "" + }, + { + "key": "preventScrollThrough", + "type": ["Boolean"], + "desc": "防止滚动穿透,即不允许点击和滚动", + "label": "" + }, + { + "key": "showOverlay", + "type": ["Boolean"], + "desc": "是否显示遮罩层", + "label": "" + }, + { + "key": "theme", + "type": ["String"], + "desc": "提示类型", + "label": "" + } + ], + "externalClasses": ["t-class"], + "tpl": "", + "path": "./toast/toast" + }, + "t-transition": { + "key": "t-transition", + "label": "动画", + "icon": "", + "properties": [ + { + "key": "appear", + "type": ["Boolean"], + "desc": "首次出现是否展示动画", + "label": "" + }, + { + "key": "customClass", + "type": ["String"], + "desc": "自定义容器类名", + "label": "" + }, + { + "key": "destoryOnClose", + "type": ["Boolean"], + "desc": "隐藏时是否销毁内容", + "label": "" + }, + { + "key": "duration", + "type": ["Number"], + "desc": "指定过渡时间", + "label": "" + }, + { + "key": "name", + "type": ["String"], + "desc": "过渡类名", + "label": "" + }, + { + "key": "visible", + "type": ["Boolean"], + "desc": "是否显示", + "label": "" + } + ], + "tpl": "", + "path": "./transition/transition" + }, + "t-upload": { + "key": "t-upload", + "label": "上传", + "icon": "https://tdesign.gtimg.com/site/miniprogram-doc/doc-upload.png", + "properties": [ + { + "key": "addContent", + "type": ["String"], + "desc": "添加按钮内容。值为空,使用默认图标渲染;值为 slot 则表示使用插槽渲染;其他值无效。", + "label": "" + }, + { + "key": "allowUploadDuplicateFile", + "type": ["Boolean"], + "desc": "是否允许重复上传相同文件名的文件", + "label": "" + }, + { + "key": "config", + "type": ["Object"], + "desc": "图片上传配置,视频上传配置,文件上传配置等,包含图片尺寸、图片来源、视频来源、视频拍摄最长时间等。更多细节查看小程序官网。[图片上传](https://developers.weixin.qq.com/miniprogram/dev/api/media/image/wx.chooseImage.html)。[视频上传](https://developers.weixin.qq.com/miniprogram/dev/api/media/video/wx.chooseVideo.html)", + "label": "" + }, + { + "key": "deleteBtn", + "type": ["String"], + "desc": "删除图标。值为空,使用默认图标渲染;值为 slot 则表示使用插槽渲染;其他值无效。", + "label": "" + }, + { + "key": "fileListDisplay", + "type": ["String"], + "desc": "用于完全自定义文件列表内容", + "label": "" + }, + { + "key": "files", + "type": ["Array"], + "desc": "已上传文件列表", + "label": "" + }, + { + "key": "gridConfig", + "type": ["Object"], + "desc": "upload组件每行上传图片列数以及图片的宽度和高度", + "label": "" + }, + { + "key": "gutter", + "type": ["Number"], + "desc": "预览窗格的 `gutter` 大小,单位 rpx", + "label": "" + }, + { + "key": "imageProps", + "type": ["Object"], + "desc": "透传 Image 组件全部属性", + "label": "" + }, + { + "key": "max", + "type": ["Number"], + "desc": "用于控制文件上传数量,值为 0 则不限制", + "label": "" + }, + { + "key": "mediaType", + "type": ["Array"], + "desc": "支持上传的文件类型,图片或视频", + "label": "" + }, + { + "key": "requestMethod", + "type": ["String"], + "desc": "自定义上传方法", + "label": "" + }, + { + "key": "sizeLimit", + "type": ["Number", "Object"], + "desc": "图片文件大小限制,单位 KB。可选单位有:`'B' | 'KB' | 'MB' | 'GB'`。示例一:`1000`。示例二:`{ size: 2, unit: 'MB', message: '图片大小不超过 {sizeLimit} MB' }`", + "label": "" + } + ], + "events": [ + { + "key": "bind:add", + "desc": "上传成功后触发,仅包含本次选择的照片;`url` 表示选定视频的临时文件路径 (本地路径)。`duration` 表示选定视频的时间长度。`size`选定视频的数据量大小。更多描述参考 wx.chooseMedia 小程序官网描述", + "label": "" + }, + { + "key": "bind:complete", + "desc": "上传成功或失败后触发", + "label": "" + }, + { + "key": "bind:fail", + "desc": "上传失败后触发", + "label": "" + }, + { + "key": "bind:remove", + "desc": "移除文件时触发", + "label": "" + }, + { + "key": "bind:select-change", + "desc": "选择文件或图片之后,上传之前,触发该事件。
`files` 表示之前已经上传完成的文件列表。
`currentSelectedFiles` 表示本次上传选中的文件列表", + "label": "" + }, + { + "key": "bind:success", + "desc": "上传成功后触发,包含所有上传的文件;`url` 表示选定视频的临时文件路径 (本地路径)。`duration` 表示选定视频的时间长度。`size`选定视频的数据量大小。更多描述参考 wx.chooseMedia 小程序官网描述", + "label": "" + } + ], + "tpl": "", + "path": "./upload/upload" + } + }, + "common": { + "properties": {}, + "events": {} + }, + "menu": [ + { + "key": "menu-basic", + "label": "基础", + "submenu": [ + { + "key": "subMenu-button", + "label": "Button 按钮", + "components": ["t-button"] + }, + { + "key": "subMenu-divider", + "label": "Divider 分割线", + "components": ["t-divider"] + }, + { + "key": "subMenu-fab", + "label": "Fab 悬浮按钮", + "components": ["t-fab"] + }, + { + "key": "subMenu-icon", + "label": "Icon 图标", + "components": ["t-icon"] + } + ] + }, + { + "key": "menu-nav", + "label": "导航", + "submenu": [ + { + "key": "subMenu-drawer", + "label": "Drawer 抽屉", + "components": ["t-drawer"] + }, + { + "key": "subMenu-indexes", + "label": "Indexes 索引", + "components": ["t-indexes"] + }, + { + "key": "subMenu-navbar", + "label": "Navbar 导航条", + "components": ["t-navbar"] + }, + { + "key": "subMenu-steps", + "label": "Steps 步骤条", + "components": ["t-steps"] + }, + { + "key": "subMenu-tabbar", + "label": "TabBar 标签栏", + "components": ["t-tab-bar"] + }, + { + "key": "subMenu-tabs", + "label": "Tabs 选项卡", + "components": ["t-tabs"] + } + ] + }, + { + "key": "menu-input", + "label": "输入", + "submenu": [ + { + "key": "subMenu-checkbox", + "label": "CheckBox 复选框", + "components": ["t-checkbox"] + }, + { + "key": "subMenu-dateTimePicker", + "label": "DateTimePicker 时间选择器", + "components": ["t-date-time-picker"] + }, + { + "key": "subMenu-input", + "label": "Input 输入框", + "components": ["t-input"] + }, + { + "key": "subMenu-picker", + "label": "Picker 选择器", + "components": ["t-picker"] + }, + { + "key": "subMenu-radio", + "label": "Radio 单选框", + "components": ["t-radio"] + }, + { + "key": "subMenu-rate", + "label": "Rate 评分", + "components": ["t-rate"] + }, + { + "key": "subMenu-search", + "label": "Search 搜索框", + "components": ["t-search"] + }, + { + "key": "subMenu-slider", + "label": "Slider 滑动选择器", + "components": ["t-slider"] + }, + { + "key": "subMenu-stepper", + "label": "Stepper 步进器", + "components": ["t-stepper"] + }, + { + "key": "subMenu-switch", + "label": "Switch 开关", + "components": ["t-switch"] + }, + { + "key": "subMenu-textarea", + "label": "Textarea 多行文本框", + "components": ["t-textarea"] + }, + { + "key": "subMenu-upload", + "label": "UpLoad 上传", + "components": ["t-upload"] + } + ] + }, + { + "key": "menu-data", + "label": "数据展示", + "submenu": [ + { + "key": "subMenu-avatar", + "label": "Avatar 头像", + "components": ["t-avatar"] + }, + { + "key": "subMenu-badge", + "label": "Badge 徽标", + "components": ["t-badge"] + }, + { + "key": "subMenu-cell", + "label": "Cell 单元格", + "components": ["t-cell"] + }, + { + "key": "subMenu-collapse", + "label": "Collapse 折叠面板", + "components": ["t-collapse"] + }, + { + "key": "subMenu-dropdown-menu", + "label": "DropdownMenu 下拉菜单", + "components": ["t-dropdown-menu"] + }, + { + "key": "subMenu-empty", + "label": "Empty 空状态", + "components": ["t-empty"] + }, + { + "key": "subMenu-footer", + "label": "Footer 页脚", + "components": ["t-footer"] + }, + { + "key": "subMenu-grid", + "label": "Grid 宫格", + "components": ["t-grid"] + }, + { + "key": "subMenu-image", + "label": "Image 图片", + "components": ["t-image"] + }, + { + "key": "subMenu-skeleton", + "label": "Skeleton 骨架屏", + "components": ["t-skeleton"] + }, + { + "key": "subMenu-sticky", + "label": "Sticky 吸顶容器", + "components": ["t-sticky"] + }, + { + "key": "subMenu-swiper", + "label": "Swiper 轮播图", + "components": ["t-swiper"] + }, + { + "key": "subMenu-tag", + "label": "Tag 标签", + "components": ["t-tag"] + } + ] + }, + { + "key": "menu-info", + "label": "消息提醒", + "submenu": [ + { + "key": "subMenu-actionsheet", + "label": "ActionSheet 动作面板", + "components": ["t-action-sheet"] + }, + { + "key": "subMenu-back-top", + "label": "BackTop 返回顶部", + "components": ["t-back-top"] + }, + { + "key": "subMenu-dialog", + "label": "Dialog 弹出框", + "components": ["t-dialog"] + }, + { + "key": "subMenu-loading", + "label": "Loading 加载", + "components": ["t-loading"] + }, + { + "key": "subMenu-message", + "label": "Message 消息通知", + "components": ["t-message"] + }, + { + "key": "subMenu-popup", + "label": "Popup 弹出层", + "components": ["t-popup"] + }, + { + "key": "subMenu-progress", + "label": "Progress 进度条", + "components": ["t-progress"] + }, + { + "key": "subMenu-pullDownRefresh", + "label": "PullDownRefresh 下拉刷新", + "components": ["t-pull-down-refresh"] + }, + { + "key": "subMenu-swipeCell", + "label": "SwipeCell 滑动操作", + "components": ["t-swipe-cell"] + }, + { + "key": "subMenu-toast", + "label": "Toast 轻提示", + "components": ["t-toast"] + } + ] + } + ] +} diff --git a/yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/action-sheet/README.md b/yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/action-sheet/README.md new file mode 100644 index 0000000..9662213 --- /dev/null +++ b/yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/action-sheet/README.md @@ -0,0 +1,89 @@ +--- +title: ActionSheet 动作面板 +description: 由用户操作后触发的一种特定的模态弹出框 ,呈现一组与当前情境相关的两个或多个选项。 +spline: data +isComponent: true +--- + +## 引入 + +全局引入,在 miniprogram 根目录下的`app.json`中配置,局部引入,在需要引入的页面或组件的`index.json`中配置。 + +```json +"usingComponents": { + "t-action-sheet": "tdesign-miniprogram/action-sheet/action-sheet", +} +``` + +## 代码演示 + +### 基础用法 + +```html + +``` + +### 支持自定义 + +```html + + 我是自定义的内容 + +``` +### 支持指令调用 + +```javascript +import ActionSheet, { ActionSheetTheme } from 'tdesign-miniprogram/action-sheet/index'; + +// 指令调用不同于组件引用不需要传入visible +const basicListOption: ActionSheetShowOption = { + theme: ActionSheetTheme.List, + selector: '#t-action-sheet', + items: [ + { + label: '默认选项', + }, + { + label: '失效选项', + disabled: true, + }, + { + label: '警告选项', + color: '#e34d59', + }, + ], +}; + +const handler = ActionSheet.show(basicListOption); +``` + +指令调用的关闭如下 + +```javascript +handler.close(); +``` + + +## API +### ActionSheet Props + +名称 | 类型 | 默认值 | 说明 | 必传 +-- | -- | -- | -- | -- +cancel-text | String | 取消 | 设置取消按钮的文本 | N +count | Number | 8 | 设置每页展示菜单的数量,仅当 type=grid 时有效 | N +items | Array | - | 必需。菜单项。TS 类型:`Array` `interface ActionSheetItem {label: string; color?: string; disabled?: boolean; icon?: string; }`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/action-sheet/type.ts) | Y +show-cancel | Boolean | true | 是否显示取消按钮 | N +theme | String | list | 展示类型,列表和表格形式展示。可选项:list/grid | N +visible | Boolean | null | 必需。显示与隐藏 | Y +default-visible | Boolean | false | 必需。显示与隐藏。非受控属性 | Y +external-classes | Array | - | 组件类名,分别用于设置 组件外层元素、组件内容部分、取消按钮 等元素类名。`['t-class', 't-class-content', 't-class-cancel']` | N + +### ActionSheet Events + +名称 | 参数 | 描述 +-- | -- | -- +visible-change | `(visible: Boolean)` | 当浮层隐藏或显示时触发。 +cancel | - | 点击取消按钮时触发 +close | - | 关闭时触发 +selected | `(selected: ActionSheetItem | String, index: Number)` | 选择菜单项时触发 + diff --git a/yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/action-sheet/action-sheet.js b/yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/action-sheet/action-sheet.js new file mode 100644 index 0000000..f4a11fc --- /dev/null +++ b/yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/action-sheet/action-sheet.js @@ -0,0 +1,87 @@ +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +import { chunk } from '../common/utils'; +import { SuperComponent, wxComponent } from '../common/src/index'; +import config from '../common/config'; +import { ActionSheetTheme, show } from './show'; +import props from './props'; +const { prefix } = config; +const name = `${prefix}-action-sheet`; +let ActionSheet = class ActionSheet extends SuperComponent { + constructor() { + super(...arguments); + this.externalClasses = [`${prefix}-class`, `${prefix}-class-content`, `${prefix}-class-cancel`]; + this.properties = Object.assign({}, props); + this.data = { + prefix, + classPrefix: name, + gridThemeItems: [], + currentSwiperIndex: 0, + }; + this.controlledProps = [ + { + key: 'visible', + event: 'visible-change', + }, + ]; + this.methods = { + onSwiperChange(e) { + const { detail: { current }, } = e; + this.setData({ + currentSwiperIndex: current, + }); + }, + splitGridThemeActions() { + if (this.data.theme !== ActionSheetTheme.Grid) + return; + this.setData({ + gridThemeItems: chunk(this.data.items, this.data.count), + }); + }, + show() { + this.splitGridThemeActions(); + this._trigger('visible-change', { visible: true }); + }, + resetData(cb) { + this.setData(Object.assign({}, this.initialData), cb); + }, + memoInitialData() { + this.initialData = Object.assign(Object.assign({}, this.properties), this.data); + }, + close() { + this._trigger('visible-change', { visible: false }); + }, + onPopupVisibleChange({ detail }) { + if (!detail.visible) { + this._trigger('visible-change', { visible: false }); + } + }, + onSelect(event) { + const { currentSwiperIndex, items, gridThemeItems, count } = this.data; + const { index } = event.currentTarget.dataset; + const isSwiperMode = items.length > count; + const item = isSwiperMode ? gridThemeItems[currentSwiperIndex][index] : items[index]; + const realIndex = isSwiperMode ? index + currentSwiperIndex * count : index; + if (item) { + this.triggerEvent('selected', { selected: item, index: realIndex }); + this._trigger('visible-change', { visible: false }); + } + }, + onCancel() { + this.triggerEvent('cancel'); + }, + }; + } + ready() { + this.memoInitialData(); + } +}; +ActionSheet.show = show; +ActionSheet = __decorate([ + wxComponent() +], ActionSheet); +export default ActionSheet; diff --git a/yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/action-sheet/action-sheet.json b/yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/action-sheet/action-sheet.json new file mode 100644 index 0000000..a52f661 --- /dev/null +++ b/yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/action-sheet/action-sheet.json @@ -0,0 +1,12 @@ +{ + "component": true, + "usingComponents": { + "t-icon": "../icon/icon", + "t-popup": "../popup/popup", + "t-swiper": "../swiper/swiper", + "t-swiper-item": "../swiper/swiper-item", + "t-image": "../image/image", + "t-grid": "../grid/grid", + "t-grid-item": "../grid/grid-item" + } +} diff --git a/yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/action-sheet/action-sheet.wxml b/yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/action-sheet/action-sheet.wxml new file mode 100644 index 0000000..59e3f7e --- /dev/null +++ b/yunbainian/etms_wechat_mini/miniprogram_npm/tdesign-miniprogram/action-sheet/action-sheet.wxml @@ -0,0 +1,32 @@ + + + + + + + +