From f72d87783ea4962f94315e6505141624aada0b14 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=8E=8B=E7=90=9B?= <2103494704@qq.com>
Date: Mon, 3 Jul 2023 17:49:29 +0800
Subject: [PATCH] =?UTF-8?q?ipad=E9=9D=99=E6=80=81=E5=BC=80=E5=A7=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.gitignore | 24 +
App.vue | 21 +
common/QqmapWxJssdk.min.js | 1 +
common/QrCode.js | 425 +++
common/util.js | 26 +
components/drag_demo/DragButton.vue | 143 +
components/drag_demo/Inform.vue | 78 +
components/drag_demo/index.vue | 43 +
components/head-info/head-info.vue | 43 +
components/sider-bar/slider-bar.vue | 32 +
.../uni-plate-input/uni-plate-input.css | 208 ++
.../uni-plate-input/uni-plate-input.less | 154 +
.../uni-plate-input/uni-plate-input.vue | 265 ++
config/index.js | 22 +
index.html | 20 +
main.js | 27 +
manifest.json | 88 +
pages.json | 32 +
pages/index/index.vue | 85 +
static/images/discern/error1.png | Bin 0 -> 4250 bytes
static/images/discern/error2.png | Bin 0 -> 3458 bytes
static/images/discern/error3.png | Bin 0 -> 2336 bytes
static/images/discern/ex1.png | Bin 0 -> 3384 bytes
static/images/discern/ex2.png | Bin 0 -> 2473 bytes
static/images/discern/no.png | Bin 0 -> 1178 bytes
static/images/discern/ok.png | Bin 0 -> 1322 bytes
static/images/discern/yes.png | Bin 0 -> 2102 bytes
static/images/right.png | Bin 0 -> 3087 bytes
static/images/theme/dakaH.png | Bin 0 -> 1063 bytes
static/images/theme/dakaH_a.png | Bin 0 -> 1753 bytes
static/images/theme/icon_home.png | Bin 0 -> 1569 bytes
static/images/theme/icon_home_a.png | Bin 0 -> 1061 bytes
static/images/theme/icon_mine.png | Bin 0 -> 2643 bytes
static/images/theme/mine.png | Bin 0 -> 1891 bytes
static/images/theme/mine_a.png | Bin 0 -> 1548 bytes
static/images/theme/tjHui.png | Bin 0 -> 1706 bytes
static/images/theme/tongJ.png | Bin 0 -> 1389 bytes
static/images/theme/toux.png | Bin 0 -> 5184 bytes
static/images/theme/xiaoxi.png | Bin 0 -> 2039 bytes
static/images/theme/xiaoxi_a.png | Bin 0 -> 1364 bytes
store/index.js | 130 +
style/css/flex-main.css | 106 +
style/css/layout.css | 63 +
style/css/main.css | 2989 +++++++++++++++++
style/iconfont.css | 67 +
uni.scss | 76 +
uni_modules/liu-step-bar/changelog.md | 8 +
.../components/liu-step-bar/liu-step-bar.vue | 133 +
uni_modules/liu-step-bar/package.json | 84 +
uni_modules/liu-step-bar/readme.md | 47 +
.../liu-step-bar/static/checkedImg.png | Bin 0 -> 4195 bytes
.../liu-step-bar/static/unCheckedImg.png | Bin 0 -> 1610 bytes
uni_modules/uni-calendar/changelog.md | 24 +
.../components/uni-calendar/calendar.js | 546 +++
.../components/uni-calendar/i18n/en.json | 12 +
.../components/uni-calendar/i18n/index.js | 8 +
.../components/uni-calendar/i18n/zh-Hans.json | 12 +
.../components/uni-calendar/i18n/zh-Hant.json | 12 +
.../uni-calendar/uni-calendar-item.vue | 188 ++
.../components/uni-calendar/uni-calendar.vue | 562 ++++
.../components/uni-calendar/util.js | 360 ++
uni_modules/uni-calendar/package.json | 85 +
uni_modules/uni-calendar/readme.md | 103 +
uni_modules/uni-data-select/changelog.md | 33 +
.../uni-data-select/uni-data-select.vue | 502 +++
uni_modules/uni-data-select/package.json | 85 +
uni_modules/uni-data-select/readme.md | 8 +
uni_modules/uni-file-picker/changelog.md | 67 +
.../uni-file-picker/choose-and-upload-file.js | 224 ++
.../uni-file-picker/uni-file-picker.vue | 667 ++++
.../uni-file-picker/upload-file.vue | 325 ++
.../uni-file-picker/upload-image.vue | 292 ++
.../components/uni-file-picker/utils.js | 109 +
uni_modules/uni-file-picker/package.json | 83 +
uni_modules/uni-file-picker/readme.md | 11 +
uni_modules/uni-icons/changelog.md | 22 +
.../uni-icons/components/uni-icons/icons.js | 1169 +++++++
.../components/uni-icons/uni-icons.vue | 96 +
.../components/uni-icons/uniicons.css | 663 ++++
.../components/uni-icons/uniicons.ttf | Bin 0 -> 35760 bytes
uni_modules/uni-icons/package.json | 86 +
uni_modules/uni-icons/readme.md | 8 +
uni_modules/uni-load-more/changelog.md | 19 +
.../components/uni-load-more/i18n/en.json | 5 +
.../components/uni-load-more/i18n/index.js | 8 +
.../uni-load-more/i18n/zh-Hans.json | 5 +
.../uni-load-more/i18n/zh-Hant.json | 5 +
.../uni-load-more/uni-load-more.vue | 399 +++
uni_modules/uni-load-more/package.json | 86 +
uni_modules/uni-load-more/readme.md | 14 +
uni_modules/uni-popup/changelog.md | 66 +
.../components/uni-popup-dialog/keypress.js | 45 +
.../uni-popup-dialog/uni-popup-dialog.vue | 275 ++
.../uni-popup-message/uni-popup-message.vue | 143 +
.../uni-popup-share/uni-popup-share.vue | 187 ++
.../components/uni-popup/i18n/en.json | 7 +
.../components/uni-popup/i18n/index.js | 8 +
.../components/uni-popup/i18n/zh-Hans.json | 7 +
.../components/uni-popup/i18n/zh-Hant.json | 7 +
.../components/uni-popup/keypress.js | 45 +
.../uni-popup/components/uni-popup/popup.js | 26 +
.../components/uni-popup/uni-popup.vue | 474 +++
uni_modules/uni-popup/package.json | 87 +
uni_modules/uni-popup/readme.md | 17 +
uni_modules/uni-scss/changelog.md | 8 +
uni_modules/uni-scss/index.scss | 1 +
uni_modules/uni-scss/package.json | 82 +
uni_modules/uni-scss/readme.md | 4 +
uni_modules/uni-scss/styles/index.scss | 7 +
.../uni-scss/styles/setting/_border.scss | 3 +
.../uni-scss/styles/setting/_color.scss | 66 +
.../uni-scss/styles/setting/_radius.scss | 55 +
.../uni-scss/styles/setting/_space.scss | 56 +
.../uni-scss/styles/setting/_styles.scss | 167 +
.../uni-scss/styles/setting/_text.scss | 24 +
.../uni-scss/styles/setting/_variables.scss | 146 +
.../uni-scss/styles/tools/functions.scss | 19 +
uni_modules/uni-scss/theme.scss | 31 +
uni_modules/uni-scss/variables.scss | 62 +
uni_modules/uni-transition/changelog.md | 20 +
.../uni-transition/createAnimation.js | 128 +
.../uni-transition/uni-transition.vue | 277 ++
uni_modules/uni-transition/package.json | 87 +
uni_modules/uni-transition/readme.md | 11 +
.../vant/dist/action-sheet/index.d.ts | 1 +
wxcomponents/vant/dist/action-sheet/index.js | 71 +
.../vant/dist/action-sheet/index.json | 8 +
wxcomponents/vant/dist/action-sheet/index.vue | 112 +
.../vant/dist/action-sheet/index.wxml | 69 +
.../vant/dist/action-sheet/index.wxss | 1 +
wxcomponents/vant/dist/area/index.d.ts | 1 +
wxcomponents/vant/dist/area/index.js | 220 ++
wxcomponents/vant/dist/area/index.json | 6 +
wxcomponents/vant/dist/area/index.vue | 234 ++
wxcomponents/vant/dist/area/index.wxml | 20 +
wxcomponents/vant/dist/area/index.wxs | 8 +
wxcomponents/vant/dist/area/index.wxss | 1 +
wxcomponents/vant/dist/button/index.d.ts | 1 +
wxcomponents/vant/dist/button/index.js | 64 +
wxcomponents/vant/dist/button/index.json | 7 +
wxcomponents/vant/dist/button/index.vue | 92 +
wxcomponents/vant/dist/button/index.wxml | 54 +
wxcomponents/vant/dist/button/index.wxs | 39 +
wxcomponents/vant/dist/button/index.wxss | 1 +
wxcomponents/vant/dist/calendar/calendar.vue | 37 +
wxcomponents/vant/dist/calendar/calendar.wxml | 68 +
.../calendar/components/header/index.d.ts | 1 +
.../dist/calendar/components/header/index.js | 37 +
.../calendar/components/header/index.json | 3 +
.../dist/calendar/components/header/index.vue | 64 +
.../calendar/components/header/index.wxml | 16 +
.../calendar/components/header/index.wxss | 1 +
.../dist/calendar/components/month/index.d.ts | 6 +
.../dist/calendar/components/month/index.js | 154 +
.../dist/calendar/components/month/index.json | 3 +
.../dist/calendar/components/month/index.vue | 194 ++
.../dist/calendar/components/month/index.wxml | 39 +
.../dist/calendar/components/month/index.wxs | 71 +
.../dist/calendar/components/month/index.wxss | 1 +
wxcomponents/vant/dist/calendar/index.d.ts | 1 +
wxcomponents/vant/dist/calendar/index.js | 342 ++
wxcomponents/vant/dist/calendar/index.json | 10 +
wxcomponents/vant/dist/calendar/index.vue | 370 ++
wxcomponents/vant/dist/calendar/index.wxml | 26 +
wxcomponents/vant/dist/calendar/index.wxs | 37 +
wxcomponents/vant/dist/calendar/index.wxss | 1 +
wxcomponents/vant/dist/calendar/utils.d.ts | 12 +
wxcomponents/vant/dist/calendar/utils.js | 83 +
wxcomponents/vant/dist/calendar/utils.wxs | 25 +
wxcomponents/vant/dist/card/index.d.ts | 1 +
wxcomponents/vant/dist/card/index.js | 49 +
wxcomponents/vant/dist/card/index.json | 6 +
wxcomponents/vant/dist/card/index.vue | 105 +
wxcomponents/vant/dist/card/index.wxml | 56 +
wxcomponents/vant/dist/card/index.wxss | 1 +
wxcomponents/vant/dist/cascader/index.d.ts | 1 +
wxcomponents/vant/dist/cascader/index.js | 208 ++
wxcomponents/vant/dist/cascader/index.json | 8 +
wxcomponents/vant/dist/cascader/index.vue | 243 ++
wxcomponents/vant/dist/cascader/index.wxml | 53 +
wxcomponents/vant/dist/cascader/index.wxs | 24 +
wxcomponents/vant/dist/cascader/index.wxss | 1 +
wxcomponents/vant/dist/cell-group/index.d.ts | 1 +
wxcomponents/vant/dist/cell-group/index.js | 11 +
wxcomponents/vant/dist/cell-group/index.json | 3 +
wxcomponents/vant/dist/cell-group/index.vue | 28 +
wxcomponents/vant/dist/cell-group/index.wxml | 11 +
wxcomponents/vant/dist/cell-group/index.wxss | 1 +
wxcomponents/vant/dist/cell/index.d.ts | 1 +
wxcomponents/vant/dist/cell/index.js | 38 +
wxcomponents/vant/dist/cell/index.json | 6 +
wxcomponents/vant/dist/cell/index.vue | 76 +
wxcomponents/vant/dist/cell/index.wxml | 47 +
wxcomponents/vant/dist/cell/index.wxs | 17 +
wxcomponents/vant/dist/cell/index.wxss | 1 +
.../vant/dist/checkbox-group/index.d.ts | 1 +
.../vant/dist/checkbox-group/index.js | 36 +
.../vant/dist/checkbox-group/index.json | 3 +
.../vant/dist/checkbox-group/index.vue | 50 +
.../vant/dist/checkbox-group/index.wxml | 5 +
.../vant/dist/checkbox-group/index.wxss | 1 +
wxcomponents/vant/dist/checkbox/index.d.ts | 1 +
wxcomponents/vant/dist/checkbox/index.js | 77 +
wxcomponents/vant/dist/checkbox/index.json | 6 +
wxcomponents/vant/dist/checkbox/index.vue | 102 +
wxcomponents/vant/dist/checkbox/index.wxml | 31 +
wxcomponents/vant/dist/checkbox/index.wxs | 20 +
wxcomponents/vant/dist/checkbox/index.wxss | 1 +
wxcomponents/vant/dist/circle/canvas.d.ts | 4 +
wxcomponents/vant/dist/circle/canvas.js | 43 +
wxcomponents/vant/dist/circle/index.d.ts | 1 +
wxcomponents/vant/dist/circle/index.js | 193 ++
wxcomponents/vant/dist/circle/index.json | 3 +
wxcomponents/vant/dist/circle/index.vue | 211 ++
wxcomponents/vant/dist/circle/index.wxml | 9 +
wxcomponents/vant/dist/circle/index.wxss | 1 +
wxcomponents/vant/dist/col/index.d.ts | 1 +
wxcomponents/vant/dist/col/index.js | 9 +
wxcomponents/vant/dist/col/index.json | 3 +
wxcomponents/vant/dist/col/index.vue | 23 +
wxcomponents/vant/dist/col/index.wxml | 9 +
wxcomponents/vant/dist/col/index.wxs | 18 +
wxcomponents/vant/dist/col/index.wxss | 1 +
.../vant/dist/collapse-item/animate.d.ts | 2 +
.../vant/dist/collapse-item/animate.js | 39 +
.../vant/dist/collapse-item/index.d.ts | 1 +
wxcomponents/vant/dist/collapse-item/index.js | 60 +
.../vant/dist/collapse-item/index.json | 6 +
.../vant/dist/collapse-item/index.vue | 86 +
.../vant/dist/collapse-item/index.wxml | 45 +
.../vant/dist/collapse-item/index.wxss | 1 +
wxcomponents/vant/dist/collapse/index.d.ts | 1 +
wxcomponents/vant/dist/collapse/index.js | 46 +
wxcomponents/vant/dist/collapse/index.json | 3 +
wxcomponents/vant/dist/collapse/index.vue | 60 +
wxcomponents/vant/dist/collapse/index.wxml | 3 +
wxcomponents/vant/dist/collapse/index.wxss | 1 +
wxcomponents/vant/dist/common/color.d.ts | 7 +
wxcomponents/vant/dist/common/color.js | 7 +
wxcomponents/vant/dist/common/component.d.ts | 4 +
wxcomponents/vant/dist/common/component.js | 46 +
wxcomponents/vant/dist/common/index.css | 1 +
wxcomponents/vant/dist/common/index.wxss | 1 +
wxcomponents/vant/dist/common/relation.d.ts | 15 +
wxcomponents/vant/dist/common/relation.js | 56 +
.../vant/dist/common/style/clearfix.css | 1 +
.../vant/dist/common/style/clearfix.wxss | 1 +
.../vant/dist/common/style/ellipsis.css | 1 +
.../vant/dist/common/style/ellipsis.wxss | 1 +
.../vant/dist/common/style/hairline.css | 1 +
.../vant/dist/common/style/hairline.wxss | 1 +
.../dist/common/style/mixins/clearfix.css | 0
.../dist/common/style/mixins/clearfix.wxss | 0
.../dist/common/style/mixins/ellipsis.css | 0
.../dist/common/style/mixins/ellipsis.wxss | 0
.../dist/common/style/mixins/hairline.css | 0
.../dist/common/style/mixins/hairline.wxss | 0
wxcomponents/vant/dist/common/style/var.css | 0
wxcomponents/vant/dist/common/style/var.wxss | 0
wxcomponents/vant/dist/common/utils.d.ts | 17 +
wxcomponents/vant/dist/common/utils.js | 76 +
wxcomponents/vant/dist/common/validator.d.ts | 9 +
wxcomponents/vant/dist/common/validator.js | 31 +
wxcomponents/vant/dist/common/version.d.ts | 9 +
wxcomponents/vant/dist/common/version.js | 59 +
.../vant/dist/config-provider/index.d.ts | 1 +
.../vant/dist/config-provider/index.js | 9 +
.../vant/dist/config-provider/index.json | 3 +
.../vant/dist/config-provider/index.vue | 23 +
.../vant/dist/config-provider/index.wxml | 5 +
.../vant/dist/config-provider/index.wxs | 29 +
wxcomponents/vant/dist/count-down/index.d.ts | 1 +
wxcomponents/vant/dist/count-down/index.js | 100 +
wxcomponents/vant/dist/count-down/index.json | 3 +
wxcomponents/vant/dist/count-down/index.vue | 115 +
wxcomponents/vant/dist/count-down/index.wxml | 4 +
wxcomponents/vant/dist/count-down/index.wxss | 1 +
wxcomponents/vant/dist/count-down/utils.d.ts | 10 +
wxcomponents/vant/dist/count-down/utils.js | 57 +
.../vant/dist/datetime-picker/index.d.ts | 1 +
.../vant/dist/datetime-picker/index.js | 295 ++
.../vant/dist/datetime-picker/index.json | 6 +
.../vant/dist/datetime-picker/index.vue | 309 ++
.../vant/dist/datetime-picker/index.wxml | 16 +
.../vant/dist/datetime-picker/index.wxss | 1 +
wxcomponents/vant/dist/definitions/index.d.ts | 28 +
wxcomponents/vant/dist/definitions/index.js | 1 +
wxcomponents/vant/dist/dialog/dialog.d.ts | 55 +
wxcomponents/vant/dist/dialog/dialog.js | 77 +
wxcomponents/vant/dist/dialog/index.d.ts | 1 +
wxcomponents/vant/dist/dialog/index.js | 122 +
wxcomponents/vant/dist/dialog/index.json | 9 +
wxcomponents/vant/dist/dialog/index.vue | 167 +
wxcomponents/vant/dist/dialog/index.wxml | 113 +
wxcomponents/vant/dist/dialog/index.wxss | 1 +
wxcomponents/vant/dist/divider/index.d.ts | 1 +
wxcomponents/vant/dist/divider/index.js | 12 +
wxcomponents/vant/dist/divider/index.json | 4 +
wxcomponents/vant/dist/divider/index.vue | 28 +
wxcomponents/vant/dist/divider/index.wxml | 9 +
wxcomponents/vant/dist/divider/index.wxs | 18 +
wxcomponents/vant/dist/divider/index.wxss | 1 +
.../vant/dist/dropdown-item/index.d.ts | 1 +
wxcomponents/vant/dist/dropdown-item/index.js | 130 +
.../vant/dist/dropdown-item/index.json | 8 +
.../vant/dist/dropdown-item/index.vue | 157 +
.../vant/dist/dropdown-item/index.wxml | 50 +
.../vant/dist/dropdown-item/index.wxss | 1 +
.../vant/dist/dropdown-item/shared.d.ts | 5 +
.../vant/dist/dropdown-item/shared.js | 1 +
.../vant/dist/dropdown-menu/index.d.ts | 1 +
wxcomponents/vant/dist/dropdown-menu/index.js | 117 +
.../vant/dist/dropdown-menu/index.json | 3 +
.../vant/dist/dropdown-menu/index.vue | 139 +
.../vant/dist/dropdown-menu/index.wxml | 23 +
.../vant/dist/dropdown-menu/index.wxs | 16 +
.../vant/dist/dropdown-menu/index.wxss | 1 +
wxcomponents/vant/dist/empty/index.d.ts | 1 +
wxcomponents/vant/dist/empty/index.js | 10 +
wxcomponents/vant/dist/empty/index.json | 4 +
wxcomponents/vant/dist/empty/index.vue | 42 +
wxcomponents/vant/dist/empty/index.wxml | 22 +
wxcomponents/vant/dist/empty/index.wxs | 15 +
wxcomponents/vant/dist/empty/index.wxss | 1 +
wxcomponents/vant/dist/field/index.d.ts | 1 +
wxcomponents/vant/dist/field/index.js | 112 +
wxcomponents/vant/dist/field/index.json | 7 +
wxcomponents/vant/dist/field/index.vue | 156 +
wxcomponents/vant/dist/field/index.wxml | 56 +
wxcomponents/vant/dist/field/index.wxs | 18 +
wxcomponents/vant/dist/field/index.wxss | 1 +
wxcomponents/vant/dist/field/input.vue | 15 +
wxcomponents/vant/dist/field/input.wxml | 28 +
wxcomponents/vant/dist/field/props.d.ts | 4 +
wxcomponents/vant/dist/field/props.js | 64 +
wxcomponents/vant/dist/field/textarea.vue | 15 +
wxcomponents/vant/dist/field/textarea.wxml | 29 +
wxcomponents/vant/dist/field/types.d.ts | 8 +
wxcomponents/vant/dist/field/types.js | 1 +
.../vant/dist/goods-action-button/index.d.ts | 1 +
.../vant/dist/goods-action-button/index.js | 36 +
.../vant/dist/goods-action-button/index.json | 6 +
.../vant/dist/goods-action-button/index.vue | 53 +
.../vant/dist/goods-action-button/index.wxml | 30 +
.../vant/dist/goods-action-button/index.wxss | 1 +
.../vant/dist/goods-action-icon/index.d.ts | 1 +
.../vant/dist/goods-action-icon/index.js | 25 +
.../vant/dist/goods-action-icon/index.json | 7 +
.../vant/dist/goods-action-icon/index.vue | 44 +
.../vant/dist/goods-action-icon/index.wxml | 36 +
.../vant/dist/goods-action-icon/index.wxss | 1 +
.../vant/dist/goods-action/index.d.ts | 1 +
wxcomponents/vant/dist/goods-action/index.js | 15 +
.../vant/dist/goods-action/index.json | 3 +
wxcomponents/vant/dist/goods-action/index.vue | 29 +
.../vant/dist/goods-action/index.wxml | 5 +
.../vant/dist/goods-action/index.wxss | 1 +
wxcomponents/vant/dist/grid-item/index.d.ts | 1 +
wxcomponents/vant/dist/grid-item/index.js | 52 +
wxcomponents/vant/dist/grid-item/index.json | 6 +
wxcomponents/vant/dist/grid-item/index.vue | 82 +
wxcomponents/vant/dist/grid-item/index.wxml | 27 +
wxcomponents/vant/dist/grid-item/index.wxs | 32 +
wxcomponents/vant/dist/grid-item/index.wxss | 1 +
wxcomponents/vant/dist/grid/index.d.ts | 1 +
wxcomponents/vant/dist/grid/index.js | 55 +
wxcomponents/vant/dist/grid/index.json | 3 +
wxcomponents/vant/dist/grid/index.vue | 69 +
wxcomponents/vant/dist/grid/index.wxml | 8 +
wxcomponents/vant/dist/grid/index.wxs | 13 +
wxcomponents/vant/dist/grid/index.wxss | 1 +
wxcomponents/vant/dist/icon/index.d.ts | 1 +
wxcomponents/vant/dist/icon/index.js | 20 +
wxcomponents/vant/dist/icon/index.json | 6 +
wxcomponents/vant/dist/icon/index.vue | 37 +
wxcomponents/vant/dist/icon/index.wxml | 20 +
wxcomponents/vant/dist/icon/index.wxs | 43 +
wxcomponents/vant/dist/icon/index.wxss | 1 +
wxcomponents/vant/dist/image/index.d.ts | 1 +
wxcomponents/vant/dist/image/index.js | 64 +
wxcomponents/vant/dist/image/index.json | 7 +
wxcomponents/vant/dist/image/index.vue | 90 +
wxcomponents/vant/dist/image/index.wxml | 35 +
wxcomponents/vant/dist/image/index.wxs | 32 +
wxcomponents/vant/dist/image/index.wxss | 1 +
.../vant/dist/index-anchor/index.d.ts | 1 +
wxcomponents/vant/dist/index-anchor/index.js | 25 +
.../vant/dist/index-anchor/index.json | 3 +
wxcomponents/vant/dist/index-anchor/index.vue | 44 +
.../vant/dist/index-anchor/index.wxml | 14 +
.../vant/dist/index-anchor/index.wxss | 1 +
wxcomponents/vant/dist/index-bar/index.d.ts | 1 +
wxcomponents/vant/dist/index-bar/index.js | 246 ++
wxcomponents/vant/dist/index-bar/index.json | 3 +
wxcomponents/vant/dist/index-bar/index.vue | 266 ++
wxcomponents/vant/dist/index-bar/index.wxml | 22 +
wxcomponents/vant/dist/index-bar/index.wxss | 1 +
wxcomponents/vant/dist/info/index.d.ts | 1 +
wxcomponents/vant/dist/info/index.js | 8 +
wxcomponents/vant/dist/info/index.json | 3 +
wxcomponents/vant/dist/info/index.vue | 20 +
wxcomponents/vant/dist/info/index.wxml | 7 +
wxcomponents/vant/dist/info/index.wxss | 1 +
wxcomponents/vant/dist/loading/index.d.ts | 1 +
wxcomponents/vant/dist/loading/index.js | 16 +
wxcomponents/vant/dist/loading/index.json | 3 +
wxcomponents/vant/dist/loading/index.vue | 35 +
wxcomponents/vant/dist/loading/index.wxml | 19 +
wxcomponents/vant/dist/loading/index.wxs | 22 +
wxcomponents/vant/dist/loading/index.wxss | 1 +
wxcomponents/vant/dist/mixins/basic.d.ts | 1 +
wxcomponents/vant/dist/mixins/basic.js | 11 +
wxcomponents/vant/dist/mixins/button.d.ts | 1 +
wxcomponents/vant/dist/mixins/button.js | 44 +
wxcomponents/vant/dist/mixins/link.d.ts | 1 +
wxcomponents/vant/dist/mixins/link.js | 23 +
.../vant/dist/mixins/page-scroll.d.ts | 6 +
wxcomponents/vant/dist/mixins/page-scroll.js | 42 +
wxcomponents/vant/dist/mixins/touch.d.ts | 1 +
wxcomponents/vant/dist/mixins/touch.js | 37 +
wxcomponents/vant/dist/mixins/transition.d.ts | 1 +
wxcomponents/vant/dist/mixins/transition.js | 118 +
wxcomponents/vant/dist/nav-bar/index.d.ts | 1 +
wxcomponents/vant/dist/nav-bar/index.js | 65 +
wxcomponents/vant/dist/nav-bar/index.json | 6 +
wxcomponents/vant/dist/nav-bar/index.vue | 99 +
wxcomponents/vant/dist/nav-bar/index.wxml | 42 +
wxcomponents/vant/dist/nav-bar/index.wxs | 13 +
wxcomponents/vant/dist/nav-bar/index.wxss | 1 +
wxcomponents/vant/dist/notice-bar/index.d.ts | 1 +
wxcomponents/vant/dist/notice-bar/index.js | 120 +
wxcomponents/vant/dist/notice-bar/index.json | 6 +
wxcomponents/vant/dist/notice-bar/index.vue | 150 +
wxcomponents/vant/dist/notice-bar/index.wxml | 38 +
wxcomponents/vant/dist/notice-bar/index.wxs | 15 +
wxcomponents/vant/dist/notice-bar/index.wxss | 1 +
wxcomponents/vant/dist/notify/index.d.ts | 1 +
wxcomponents/vant/dist/notify/index.js | 65 +
wxcomponents/vant/dist/notify/index.json | 6 +
wxcomponents/vant/dist/notify/index.vue | 84 +
wxcomponents/vant/dist/notify/index.wxml | 21 +
wxcomponents/vant/dist/notify/index.wxs | 22 +
wxcomponents/vant/dist/notify/index.wxss | 1 +
wxcomponents/vant/dist/notify/notify.d.ts | 22 +
wxcomponents/vant/dist/notify/notify.js | 53 +
wxcomponents/vant/dist/overlay/index.d.ts | 1 +
wxcomponents/vant/dist/overlay/index.js | 30 +
wxcomponents/vant/dist/overlay/index.json | 6 +
wxcomponents/vant/dist/overlay/index.vue | 52 +
wxcomponents/vant/dist/overlay/index.wxml | 7 +
wxcomponents/vant/dist/overlay/index.wxss | 1 +
wxcomponents/vant/dist/overlay/overlay.vue | 17 +
wxcomponents/vant/dist/overlay/overlay.wxml | 10 +
wxcomponents/vant/dist/panel/index.d.ts | 1 +
wxcomponents/vant/dist/panel/index.js | 9 +
wxcomponents/vant/dist/panel/index.json | 6 +
wxcomponents/vant/dist/panel/index.vue | 34 +
wxcomponents/vant/dist/panel/index.wxml | 19 +
wxcomponents/vant/dist/panel/index.wxss | 1 +
.../vant/dist/picker-column/index.d.ts | 1 +
wxcomponents/vant/dist/picker-column/index.js | 118 +
.../vant/dist/picker-column/index.json | 3 +
.../vant/dist/picker-column/index.vue | 134 +
.../vant/dist/picker-column/index.wxml | 23 +
.../vant/dist/picker-column/index.wxs | 36 +
.../vant/dist/picker-column/index.wxss | 1 +
wxcomponents/vant/dist/picker/index.d.ts | 1 +
wxcomponents/vant/dist/picker/index.js | 136 +
wxcomponents/vant/dist/picker/index.json | 7 +
wxcomponents/vant/dist/picker/index.vue | 165 +
wxcomponents/vant/dist/picker/index.wxml | 37 +
wxcomponents/vant/dist/picker/index.wxs | 42 +
wxcomponents/vant/dist/picker/index.wxss | 1 +
wxcomponents/vant/dist/picker/shared.d.ts | 21 +
wxcomponents/vant/dist/picker/shared.js | 21 +
wxcomponents/vant/dist/picker/toolbar.vue | 25 +
wxcomponents/vant/dist/picker/toolbar.wxml | 23 +
wxcomponents/vant/dist/popup/index.d.ts | 1 +
wxcomponents/vant/dist/popup/index.js | 97 +
wxcomponents/vant/dist/popup/index.json | 7 +
wxcomponents/vant/dist/popup/index.vue | 122 +
wxcomponents/vant/dist/popup/index.wxml | 21 +
wxcomponents/vant/dist/popup/index.wxs | 18 +
wxcomponents/vant/dist/popup/index.wxss | 1 +
wxcomponents/vant/dist/popup/popup.vue | 18 +
wxcomponents/vant/dist/popup/popup.wxml | 14 +
wxcomponents/vant/dist/progress/index.d.ts | 1 +
wxcomponents/vant/dist/progress/index.js | 51 +
wxcomponents/vant/dist/progress/index.json | 3 +
wxcomponents/vant/dist/progress/index.vue | 69 +
wxcomponents/vant/dist/progress/index.wxml | 20 +
wxcomponents/vant/dist/progress/index.wxs | 36 +
wxcomponents/vant/dist/progress/index.wxss | 1 +
wxcomponents/vant/dist/radio-group/index.d.ts | 1 +
wxcomponents/vant/dist/radio-group/index.js | 22 +
wxcomponents/vant/dist/radio-group/index.json | 3 +
wxcomponents/vant/dist/radio-group/index.vue | 36 +
wxcomponents/vant/dist/radio-group/index.wxml | 5 +
wxcomponents/vant/dist/radio-group/index.wxss | 1 +
wxcomponents/vant/dist/radio/index.d.ts | 1 +
wxcomponents/vant/dist/radio/index.js | 66 +
wxcomponents/vant/dist/radio/index.json | 6 +
wxcomponents/vant/dist/radio/index.vue | 91 +
wxcomponents/vant/dist/radio/index.wxml | 30 +
wxcomponents/vant/dist/radio/index.wxs | 33 +
wxcomponents/vant/dist/radio/index.wxss | 1 +
wxcomponents/vant/dist/rate/index.d.ts | 1 +
wxcomponents/vant/dist/rate/index.js | 78 +
wxcomponents/vant/dist/rate/index.json | 6 +
wxcomponents/vant/dist/rate/index.vue | 98 +
wxcomponents/vant/dist/rate/index.wxml | 35 +
wxcomponents/vant/dist/rate/index.wxss | 1 +
wxcomponents/vant/dist/row/index.d.ts | 1 +
wxcomponents/vant/dist/row/index.js | 23 +
wxcomponents/vant/dist/row/index.json | 3 +
wxcomponents/vant/dist/row/index.vue | 37 +
wxcomponents/vant/dist/row/index.wxml | 5 +
wxcomponents/vant/dist/row/index.wxs | 18 +
wxcomponents/vant/dist/row/index.wxss | 1 +
wxcomponents/vant/dist/search/index.d.ts | 1 +
wxcomponents/vant/dist/search/index.js | 93 +
wxcomponents/vant/dist/search/index.json | 6 +
wxcomponents/vant/dist/search/index.vue | 122 +
wxcomponents/vant/dist/search/index.wxml | 53 +
wxcomponents/vant/dist/search/index.wxss | 1 +
wxcomponents/vant/dist/share-sheet/index.d.ts | 1 +
wxcomponents/vant/dist/share-sheet/index.js | 55 +
wxcomponents/vant/dist/share-sheet/index.json | 7 +
wxcomponents/vant/dist/share-sheet/index.vue | 94 +
wxcomponents/vant/dist/share-sheet/index.wxml | 46 +
wxcomponents/vant/dist/share-sheet/index.wxs | 12 +
wxcomponents/vant/dist/share-sheet/index.wxss | 1 +
.../vant/dist/share-sheet/options.d.ts | 1 +
wxcomponents/vant/dist/share-sheet/options.js | 14 +
.../vant/dist/share-sheet/options.json | 3 +
.../vant/dist/share-sheet/options.vue | 36 +
.../vant/dist/share-sheet/options.wxml | 20 +
.../vant/dist/share-sheet/options.wxs | 14 +
.../vant/dist/share-sheet/options.wxss | 1 +
.../vant/dist/sidebar-item/index.d.ts | 1 +
wxcomponents/vant/dist/sidebar-item/index.js | 29 +
.../vant/dist/sidebar-item/index.json | 6 +
wxcomponents/vant/dist/sidebar-item/index.vue | 49 +
.../vant/dist/sidebar-item/index.wxml | 18 +
.../vant/dist/sidebar-item/index.wxss | 1 +
wxcomponents/vant/dist/sidebar/index.d.ts | 1 +
wxcomponents/vant/dist/sidebar/index.js | 34 +
wxcomponents/vant/dist/sidebar/index.json | 3 +
wxcomponents/vant/dist/sidebar/index.vue | 48 +
wxcomponents/vant/dist/sidebar/index.wxml | 3 +
wxcomponents/vant/dist/sidebar/index.wxss | 1 +
wxcomponents/vant/dist/skeleton/index.d.ts | 1 +
wxcomponents/vant/dist/skeleton/index.js | 46 +
wxcomponents/vant/dist/skeleton/index.json | 4 +
wxcomponents/vant/dist/skeleton/index.vue | 69 +
wxcomponents/vant/dist/skeleton/index.wxml | 29 +
wxcomponents/vant/dist/skeleton/index.wxss | 1 +
wxcomponents/vant/dist/slider/index.d.ts | 1 +
wxcomponents/vant/dist/slider/index.js | 203 ++
wxcomponents/vant/dist/slider/index.json | 3 +
wxcomponents/vant/dist/slider/index.vue | 231 ++
wxcomponents/vant/dist/slider/index.wxml | 68 +
wxcomponents/vant/dist/slider/index.wxs | 14 +
wxcomponents/vant/dist/slider/index.wxss | 1 +
wxcomponents/vant/dist/stepper/index.d.ts | 1 +
wxcomponents/vant/dist/stepper/index.js | 188 ++
wxcomponents/vant/dist/stepper/index.json | 3 +
wxcomponents/vant/dist/stepper/index.vue | 208 ++
wxcomponents/vant/dist/stepper/index.wxml | 43 +
wxcomponents/vant/dist/stepper/index.wxs | 22 +
wxcomponents/vant/dist/stepper/index.wxss | 1 +
wxcomponents/vant/dist/steps/index-status.wxs | 12 +
wxcomponents/vant/dist/steps/index.d.ts | 1 +
wxcomponents/vant/dist/steps/index.js | 33 +
wxcomponents/vant/dist/steps/index.json | 6 +
wxcomponents/vant/dist/steps/index.vue | 65 +
wxcomponents/vant/dist/steps/index.wxml | 54 +
wxcomponents/vant/dist/steps/index.wxss | 1 +
wxcomponents/vant/dist/sticky/index.d.ts | 1 +
wxcomponents/vant/dist/sticky/index.js | 118 +
wxcomponents/vant/dist/sticky/index.json | 3 +
wxcomponents/vant/dist/sticky/index.vue | 134 +
wxcomponents/vant/dist/sticky/index.wxml | 8 +
wxcomponents/vant/dist/sticky/index.wxs | 25 +
wxcomponents/vant/dist/sticky/index.wxss | 1 +
wxcomponents/vant/dist/submit-bar/index.d.ts | 1 +
wxcomponents/vant/dist/submit-bar/index.js | 56 +
wxcomponents/vant/dist/submit-bar/index.json | 7 +
wxcomponents/vant/dist/submit-bar/index.vue | 98 +
wxcomponents/vant/dist/submit-bar/index.wxml | 44 +
wxcomponents/vant/dist/submit-bar/index.wxss | 1 +
wxcomponents/vant/dist/swipe-cell/index.d.ts | 1 +
wxcomponents/vant/dist/swipe-cell/index.js | 133 +
wxcomponents/vant/dist/swipe-cell/index.json | 3 +
wxcomponents/vant/dist/swipe-cell/index.vue | 155 +
wxcomponents/vant/dist/swipe-cell/index.wxml | 20 +
wxcomponents/vant/dist/swipe-cell/index.wxss | 1 +
wxcomponents/vant/dist/switch/index.d.ts | 1 +
wxcomponents/vant/dist/switch/index.js | 36 +
wxcomponents/vant/dist/switch/index.json | 6 +
wxcomponents/vant/dist/switch/index.vue | 54 +
wxcomponents/vant/dist/switch/index.wxml | 16 +
wxcomponents/vant/dist/switch/index.wxs | 26 +
wxcomponents/vant/dist/switch/index.wxss | 1 +
wxcomponents/vant/dist/tab/index.d.ts | 1 +
wxcomponents/vant/dist/tab/index.js | 56 +
wxcomponents/vant/dist/tab/index.json | 3 +
wxcomponents/vant/dist/tab/index.vue | 70 +
wxcomponents/vant/dist/tab/index.wxml | 8 +
wxcomponents/vant/dist/tab/index.wxss | 1 +
wxcomponents/vant/dist/tabbar-item/index.d.ts | 1 +
wxcomponents/vant/dist/tabbar-item/index.js | 68 +
wxcomponents/vant/dist/tabbar-item/index.json | 7 +
wxcomponents/vant/dist/tabbar-item/index.vue | 95 +
wxcomponents/vant/dist/tabbar-item/index.wxml | 28 +
wxcomponents/vant/dist/tabbar-item/index.wxss | 1 +
wxcomponents/vant/dist/tabbar/index.d.ts | 1 +
wxcomponents/vant/dist/tabbar/index.js | 65 +
wxcomponents/vant/dist/tabbar/index.json | 3 +
wxcomponents/vant/dist/tabbar/index.vue | 81 +
wxcomponents/vant/dist/tabbar/index.wxml | 10 +
wxcomponents/vant/dist/tabbar/index.wxss | 1 +
wxcomponents/vant/dist/tabs/index.d.ts | 1 +
wxcomponents/vant/dist/tabs/index.js | 299 ++
wxcomponents/vant/dist/tabs/index.json | 7 +
wxcomponents/vant/dist/tabs/index.vue | 340 ++
wxcomponents/vant/dist/tabs/index.wxml | 63 +
wxcomponents/vant/dist/tabs/index.wxs | 83 +
wxcomponents/vant/dist/tabs/index.wxss | 1 +
wxcomponents/vant/dist/tag/index.d.ts | 1 +
wxcomponents/vant/dist/tag/index.js | 21 +
wxcomponents/vant/dist/tag/index.json | 6 +
wxcomponents/vant/dist/tag/index.vue | 38 +
wxcomponents/vant/dist/tag/index.wxml | 15 +
wxcomponents/vant/dist/tag/index.wxs | 13 +
wxcomponents/vant/dist/tag/index.wxss | 1 +
wxcomponents/vant/dist/toast/index.d.ts | 1 +
wxcomponents/vant/dist/toast/index.js | 29 +
wxcomponents/vant/dist/toast/index.json | 9 +
wxcomponents/vant/dist/toast/index.vue | 64 +
wxcomponents/vant/dist/toast/index.wxml | 36 +
wxcomponents/vant/dist/toast/index.wxss | 1 +
wxcomponents/vant/dist/toast/toast.d.ts | 28 +
wxcomponents/vant/dist/toast/toast.js | 68 +
wxcomponents/vant/dist/transition/index.d.ts | 1 +
wxcomponents/vant/dist/transition/index.js | 13 +
wxcomponents/vant/dist/transition/index.json | 3 +
wxcomponents/vant/dist/transition/index.vue | 27 +
wxcomponents/vant/dist/transition/index.wxml | 10 +
wxcomponents/vant/dist/transition/index.wxs | 17 +
wxcomponents/vant/dist/transition/index.wxss | 1 +
wxcomponents/vant/dist/tree-select/index.d.ts | 1 +
wxcomponents/vant/dist/tree-select/index.js | 68 +
wxcomponents/vant/dist/tree-select/index.json | 8 +
wxcomponents/vant/dist/tree-select/index.vue | 97 +
wxcomponents/vant/dist/tree-select/index.wxml | 41 +
wxcomponents/vant/dist/tree-select/index.wxs | 12 +
wxcomponents/vant/dist/tree-select/index.wxss | 1 +
wxcomponents/vant/dist/uploader/index.d.ts | 1 +
wxcomponents/vant/dist/uploader/index.js | 165 +
wxcomponents/vant/dist/uploader/index.json | 7 +
wxcomponents/vant/dist/uploader/index.vue | 214 ++
wxcomponents/vant/dist/uploader/index.wxml | 83 +
wxcomponents/vant/dist/uploader/index.wxs | 17 +
wxcomponents/vant/dist/uploader/index.wxss | 1 +
wxcomponents/vant/dist/uploader/shared.d.ts | 53 +
wxcomponents/vant/dist/uploader/shared.js | 57 +
wxcomponents/vant/dist/uploader/utils.d.ts | 24 +
wxcomponents/vant/dist/uploader/utils.js | 80 +
wxcomponents/vant/dist/wxs/add-unit.wxs | 12 +
wxcomponents/vant/dist/wxs/array.wxs | 5 +
wxcomponents/vant/dist/wxs/bem.wxs | 39 +
wxcomponents/vant/dist/wxs/memoize.wxs | 55 +
wxcomponents/vant/dist/wxs/object.wxs | 13 +
wxcomponents/vant/dist/wxs/style.wxs | 42 +
wxcomponents/vant/dist/wxs/utils.wxs | 10 +
676 files changed, 33856 insertions(+)
create mode 100644 .gitignore
create mode 100644 App.vue
create mode 100644 common/QqmapWxJssdk.min.js
create mode 100644 common/QrCode.js
create mode 100644 common/util.js
create mode 100644 components/drag_demo/DragButton.vue
create mode 100644 components/drag_demo/Inform.vue
create mode 100644 components/drag_demo/index.vue
create mode 100644 components/head-info/head-info.vue
create mode 100644 components/sider-bar/slider-bar.vue
create mode 100644 components/uni-plate-input/uni-plate-input.css
create mode 100644 components/uni-plate-input/uni-plate-input.less
create mode 100644 components/uni-plate-input/uni-plate-input.vue
create mode 100644 config/index.js
create mode 100644 index.html
create mode 100644 main.js
create mode 100644 manifest.json
create mode 100644 pages.json
create mode 100644 pages/index/index.vue
create mode 100644 static/images/discern/error1.png
create mode 100644 static/images/discern/error2.png
create mode 100644 static/images/discern/error3.png
create mode 100644 static/images/discern/ex1.png
create mode 100644 static/images/discern/ex2.png
create mode 100644 static/images/discern/no.png
create mode 100644 static/images/discern/ok.png
create mode 100644 static/images/discern/yes.png
create mode 100644 static/images/right.png
create mode 100644 static/images/theme/dakaH.png
create mode 100644 static/images/theme/dakaH_a.png
create mode 100644 static/images/theme/icon_home.png
create mode 100644 static/images/theme/icon_home_a.png
create mode 100644 static/images/theme/icon_mine.png
create mode 100644 static/images/theme/mine.png
create mode 100644 static/images/theme/mine_a.png
create mode 100644 static/images/theme/tjHui.png
create mode 100644 static/images/theme/tongJ.png
create mode 100644 static/images/theme/toux.png
create mode 100644 static/images/theme/xiaoxi.png
create mode 100644 static/images/theme/xiaoxi_a.png
create mode 100644 store/index.js
create mode 100644 style/css/flex-main.css
create mode 100644 style/css/layout.css
create mode 100644 style/css/main.css
create mode 100644 style/iconfont.css
create mode 100644 uni.scss
create mode 100644 uni_modules/liu-step-bar/changelog.md
create mode 100644 uni_modules/liu-step-bar/components/liu-step-bar/liu-step-bar.vue
create mode 100644 uni_modules/liu-step-bar/package.json
create mode 100644 uni_modules/liu-step-bar/readme.md
create mode 100644 uni_modules/liu-step-bar/static/checkedImg.png
create mode 100644 uni_modules/liu-step-bar/static/unCheckedImg.png
create mode 100644 uni_modules/uni-calendar/changelog.md
create mode 100644 uni_modules/uni-calendar/components/uni-calendar/calendar.js
create mode 100644 uni_modules/uni-calendar/components/uni-calendar/i18n/en.json
create mode 100644 uni_modules/uni-calendar/components/uni-calendar/i18n/index.js
create mode 100644 uni_modules/uni-calendar/components/uni-calendar/i18n/zh-Hans.json
create mode 100644 uni_modules/uni-calendar/components/uni-calendar/i18n/zh-Hant.json
create mode 100644 uni_modules/uni-calendar/components/uni-calendar/uni-calendar-item.vue
create mode 100644 uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue
create mode 100644 uni_modules/uni-calendar/components/uni-calendar/util.js
create mode 100644 uni_modules/uni-calendar/package.json
create mode 100644 uni_modules/uni-calendar/readme.md
create mode 100644 uni_modules/uni-data-select/changelog.md
create mode 100644 uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue
create mode 100644 uni_modules/uni-data-select/package.json
create mode 100644 uni_modules/uni-data-select/readme.md
create mode 100644 uni_modules/uni-file-picker/changelog.md
create mode 100644 uni_modules/uni-file-picker/components/uni-file-picker/choose-and-upload-file.js
create mode 100644 uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker.vue
create mode 100644 uni_modules/uni-file-picker/components/uni-file-picker/upload-file.vue
create mode 100644 uni_modules/uni-file-picker/components/uni-file-picker/upload-image.vue
create mode 100644 uni_modules/uni-file-picker/components/uni-file-picker/utils.js
create mode 100644 uni_modules/uni-file-picker/package.json
create mode 100644 uni_modules/uni-file-picker/readme.md
create mode 100644 uni_modules/uni-icons/changelog.md
create mode 100644 uni_modules/uni-icons/components/uni-icons/icons.js
create mode 100644 uni_modules/uni-icons/components/uni-icons/uni-icons.vue
create mode 100644 uni_modules/uni-icons/components/uni-icons/uniicons.css
create mode 100644 uni_modules/uni-icons/components/uni-icons/uniicons.ttf
create mode 100644 uni_modules/uni-icons/package.json
create mode 100644 uni_modules/uni-icons/readme.md
create mode 100644 uni_modules/uni-load-more/changelog.md
create mode 100644 uni_modules/uni-load-more/components/uni-load-more/i18n/en.json
create mode 100644 uni_modules/uni-load-more/components/uni-load-more/i18n/index.js
create mode 100644 uni_modules/uni-load-more/components/uni-load-more/i18n/zh-Hans.json
create mode 100644 uni_modules/uni-load-more/components/uni-load-more/i18n/zh-Hant.json
create mode 100644 uni_modules/uni-load-more/components/uni-load-more/uni-load-more.vue
create mode 100644 uni_modules/uni-load-more/package.json
create mode 100644 uni_modules/uni-load-more/readme.md
create mode 100644 uni_modules/uni-popup/changelog.md
create mode 100644 uni_modules/uni-popup/components/uni-popup-dialog/keypress.js
create mode 100644 uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.vue
create mode 100644 uni_modules/uni-popup/components/uni-popup-message/uni-popup-message.vue
create mode 100644 uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue
create mode 100644 uni_modules/uni-popup/components/uni-popup/i18n/en.json
create mode 100644 uni_modules/uni-popup/components/uni-popup/i18n/index.js
create mode 100644 uni_modules/uni-popup/components/uni-popup/i18n/zh-Hans.json
create mode 100644 uni_modules/uni-popup/components/uni-popup/i18n/zh-Hant.json
create mode 100644 uni_modules/uni-popup/components/uni-popup/keypress.js
create mode 100644 uni_modules/uni-popup/components/uni-popup/popup.js
create mode 100644 uni_modules/uni-popup/components/uni-popup/uni-popup.vue
create mode 100644 uni_modules/uni-popup/package.json
create mode 100644 uni_modules/uni-popup/readme.md
create mode 100644 uni_modules/uni-scss/changelog.md
create mode 100644 uni_modules/uni-scss/index.scss
create mode 100644 uni_modules/uni-scss/package.json
create mode 100644 uni_modules/uni-scss/readme.md
create mode 100644 uni_modules/uni-scss/styles/index.scss
create mode 100644 uni_modules/uni-scss/styles/setting/_border.scss
create mode 100644 uni_modules/uni-scss/styles/setting/_color.scss
create mode 100644 uni_modules/uni-scss/styles/setting/_radius.scss
create mode 100644 uni_modules/uni-scss/styles/setting/_space.scss
create mode 100644 uni_modules/uni-scss/styles/setting/_styles.scss
create mode 100644 uni_modules/uni-scss/styles/setting/_text.scss
create mode 100644 uni_modules/uni-scss/styles/setting/_variables.scss
create mode 100644 uni_modules/uni-scss/styles/tools/functions.scss
create mode 100644 uni_modules/uni-scss/theme.scss
create mode 100644 uni_modules/uni-scss/variables.scss
create mode 100644 uni_modules/uni-transition/changelog.md
create mode 100644 uni_modules/uni-transition/components/uni-transition/createAnimation.js
create mode 100644 uni_modules/uni-transition/components/uni-transition/uni-transition.vue
create mode 100644 uni_modules/uni-transition/package.json
create mode 100644 uni_modules/uni-transition/readme.md
create mode 100644 wxcomponents/vant/dist/action-sheet/index.d.ts
create mode 100644 wxcomponents/vant/dist/action-sheet/index.js
create mode 100644 wxcomponents/vant/dist/action-sheet/index.json
create mode 100644 wxcomponents/vant/dist/action-sheet/index.vue
create mode 100644 wxcomponents/vant/dist/action-sheet/index.wxml
create mode 100644 wxcomponents/vant/dist/action-sheet/index.wxss
create mode 100644 wxcomponents/vant/dist/area/index.d.ts
create mode 100644 wxcomponents/vant/dist/area/index.js
create mode 100644 wxcomponents/vant/dist/area/index.json
create mode 100644 wxcomponents/vant/dist/area/index.vue
create mode 100644 wxcomponents/vant/dist/area/index.wxml
create mode 100644 wxcomponents/vant/dist/area/index.wxs
create mode 100644 wxcomponents/vant/dist/area/index.wxss
create mode 100644 wxcomponents/vant/dist/button/index.d.ts
create mode 100644 wxcomponents/vant/dist/button/index.js
create mode 100644 wxcomponents/vant/dist/button/index.json
create mode 100644 wxcomponents/vant/dist/button/index.vue
create mode 100644 wxcomponents/vant/dist/button/index.wxml
create mode 100644 wxcomponents/vant/dist/button/index.wxs
create mode 100644 wxcomponents/vant/dist/button/index.wxss
create mode 100644 wxcomponents/vant/dist/calendar/calendar.vue
create mode 100644 wxcomponents/vant/dist/calendar/calendar.wxml
create mode 100644 wxcomponents/vant/dist/calendar/components/header/index.d.ts
create mode 100644 wxcomponents/vant/dist/calendar/components/header/index.js
create mode 100644 wxcomponents/vant/dist/calendar/components/header/index.json
create mode 100644 wxcomponents/vant/dist/calendar/components/header/index.vue
create mode 100644 wxcomponents/vant/dist/calendar/components/header/index.wxml
create mode 100644 wxcomponents/vant/dist/calendar/components/header/index.wxss
create mode 100644 wxcomponents/vant/dist/calendar/components/month/index.d.ts
create mode 100644 wxcomponents/vant/dist/calendar/components/month/index.js
create mode 100644 wxcomponents/vant/dist/calendar/components/month/index.json
create mode 100644 wxcomponents/vant/dist/calendar/components/month/index.vue
create mode 100644 wxcomponents/vant/dist/calendar/components/month/index.wxml
create mode 100644 wxcomponents/vant/dist/calendar/components/month/index.wxs
create mode 100644 wxcomponents/vant/dist/calendar/components/month/index.wxss
create mode 100644 wxcomponents/vant/dist/calendar/index.d.ts
create mode 100644 wxcomponents/vant/dist/calendar/index.js
create mode 100644 wxcomponents/vant/dist/calendar/index.json
create mode 100644 wxcomponents/vant/dist/calendar/index.vue
create mode 100644 wxcomponents/vant/dist/calendar/index.wxml
create mode 100644 wxcomponents/vant/dist/calendar/index.wxs
create mode 100644 wxcomponents/vant/dist/calendar/index.wxss
create mode 100644 wxcomponents/vant/dist/calendar/utils.d.ts
create mode 100644 wxcomponents/vant/dist/calendar/utils.js
create mode 100644 wxcomponents/vant/dist/calendar/utils.wxs
create mode 100644 wxcomponents/vant/dist/card/index.d.ts
create mode 100644 wxcomponents/vant/dist/card/index.js
create mode 100644 wxcomponents/vant/dist/card/index.json
create mode 100644 wxcomponents/vant/dist/card/index.vue
create mode 100644 wxcomponents/vant/dist/card/index.wxml
create mode 100644 wxcomponents/vant/dist/card/index.wxss
create mode 100644 wxcomponents/vant/dist/cascader/index.d.ts
create mode 100644 wxcomponents/vant/dist/cascader/index.js
create mode 100644 wxcomponents/vant/dist/cascader/index.json
create mode 100644 wxcomponents/vant/dist/cascader/index.vue
create mode 100644 wxcomponents/vant/dist/cascader/index.wxml
create mode 100644 wxcomponents/vant/dist/cascader/index.wxs
create mode 100644 wxcomponents/vant/dist/cascader/index.wxss
create mode 100644 wxcomponents/vant/dist/cell-group/index.d.ts
create mode 100644 wxcomponents/vant/dist/cell-group/index.js
create mode 100644 wxcomponents/vant/dist/cell-group/index.json
create mode 100644 wxcomponents/vant/dist/cell-group/index.vue
create mode 100644 wxcomponents/vant/dist/cell-group/index.wxml
create mode 100644 wxcomponents/vant/dist/cell-group/index.wxss
create mode 100644 wxcomponents/vant/dist/cell/index.d.ts
create mode 100644 wxcomponents/vant/dist/cell/index.js
create mode 100644 wxcomponents/vant/dist/cell/index.json
create mode 100644 wxcomponents/vant/dist/cell/index.vue
create mode 100644 wxcomponents/vant/dist/cell/index.wxml
create mode 100644 wxcomponents/vant/dist/cell/index.wxs
create mode 100644 wxcomponents/vant/dist/cell/index.wxss
create mode 100644 wxcomponents/vant/dist/checkbox-group/index.d.ts
create mode 100644 wxcomponents/vant/dist/checkbox-group/index.js
create mode 100644 wxcomponents/vant/dist/checkbox-group/index.json
create mode 100644 wxcomponents/vant/dist/checkbox-group/index.vue
create mode 100644 wxcomponents/vant/dist/checkbox-group/index.wxml
create mode 100644 wxcomponents/vant/dist/checkbox-group/index.wxss
create mode 100644 wxcomponents/vant/dist/checkbox/index.d.ts
create mode 100644 wxcomponents/vant/dist/checkbox/index.js
create mode 100644 wxcomponents/vant/dist/checkbox/index.json
create mode 100644 wxcomponents/vant/dist/checkbox/index.vue
create mode 100644 wxcomponents/vant/dist/checkbox/index.wxml
create mode 100644 wxcomponents/vant/dist/checkbox/index.wxs
create mode 100644 wxcomponents/vant/dist/checkbox/index.wxss
create mode 100644 wxcomponents/vant/dist/circle/canvas.d.ts
create mode 100644 wxcomponents/vant/dist/circle/canvas.js
create mode 100644 wxcomponents/vant/dist/circle/index.d.ts
create mode 100644 wxcomponents/vant/dist/circle/index.js
create mode 100644 wxcomponents/vant/dist/circle/index.json
create mode 100644 wxcomponents/vant/dist/circle/index.vue
create mode 100644 wxcomponents/vant/dist/circle/index.wxml
create mode 100644 wxcomponents/vant/dist/circle/index.wxss
create mode 100644 wxcomponents/vant/dist/col/index.d.ts
create mode 100644 wxcomponents/vant/dist/col/index.js
create mode 100644 wxcomponents/vant/dist/col/index.json
create mode 100644 wxcomponents/vant/dist/col/index.vue
create mode 100644 wxcomponents/vant/dist/col/index.wxml
create mode 100644 wxcomponents/vant/dist/col/index.wxs
create mode 100644 wxcomponents/vant/dist/col/index.wxss
create mode 100644 wxcomponents/vant/dist/collapse-item/animate.d.ts
create mode 100644 wxcomponents/vant/dist/collapse-item/animate.js
create mode 100644 wxcomponents/vant/dist/collapse-item/index.d.ts
create mode 100644 wxcomponents/vant/dist/collapse-item/index.js
create mode 100644 wxcomponents/vant/dist/collapse-item/index.json
create mode 100644 wxcomponents/vant/dist/collapse-item/index.vue
create mode 100644 wxcomponents/vant/dist/collapse-item/index.wxml
create mode 100644 wxcomponents/vant/dist/collapse-item/index.wxss
create mode 100644 wxcomponents/vant/dist/collapse/index.d.ts
create mode 100644 wxcomponents/vant/dist/collapse/index.js
create mode 100644 wxcomponents/vant/dist/collapse/index.json
create mode 100644 wxcomponents/vant/dist/collapse/index.vue
create mode 100644 wxcomponents/vant/dist/collapse/index.wxml
create mode 100644 wxcomponents/vant/dist/collapse/index.wxss
create mode 100644 wxcomponents/vant/dist/common/color.d.ts
create mode 100644 wxcomponents/vant/dist/common/color.js
create mode 100644 wxcomponents/vant/dist/common/component.d.ts
create mode 100644 wxcomponents/vant/dist/common/component.js
create mode 100644 wxcomponents/vant/dist/common/index.css
create mode 100644 wxcomponents/vant/dist/common/index.wxss
create mode 100644 wxcomponents/vant/dist/common/relation.d.ts
create mode 100644 wxcomponents/vant/dist/common/relation.js
create mode 100644 wxcomponents/vant/dist/common/style/clearfix.css
create mode 100644 wxcomponents/vant/dist/common/style/clearfix.wxss
create mode 100644 wxcomponents/vant/dist/common/style/ellipsis.css
create mode 100644 wxcomponents/vant/dist/common/style/ellipsis.wxss
create mode 100644 wxcomponents/vant/dist/common/style/hairline.css
create mode 100644 wxcomponents/vant/dist/common/style/hairline.wxss
create mode 100644 wxcomponents/vant/dist/common/style/mixins/clearfix.css
create mode 100644 wxcomponents/vant/dist/common/style/mixins/clearfix.wxss
create mode 100644 wxcomponents/vant/dist/common/style/mixins/ellipsis.css
create mode 100644 wxcomponents/vant/dist/common/style/mixins/ellipsis.wxss
create mode 100644 wxcomponents/vant/dist/common/style/mixins/hairline.css
create mode 100644 wxcomponents/vant/dist/common/style/mixins/hairline.wxss
create mode 100644 wxcomponents/vant/dist/common/style/var.css
create mode 100644 wxcomponents/vant/dist/common/style/var.wxss
create mode 100644 wxcomponents/vant/dist/common/utils.d.ts
create mode 100644 wxcomponents/vant/dist/common/utils.js
create mode 100644 wxcomponents/vant/dist/common/validator.d.ts
create mode 100644 wxcomponents/vant/dist/common/validator.js
create mode 100644 wxcomponents/vant/dist/common/version.d.ts
create mode 100644 wxcomponents/vant/dist/common/version.js
create mode 100644 wxcomponents/vant/dist/config-provider/index.d.ts
create mode 100644 wxcomponents/vant/dist/config-provider/index.js
create mode 100644 wxcomponents/vant/dist/config-provider/index.json
create mode 100644 wxcomponents/vant/dist/config-provider/index.vue
create mode 100644 wxcomponents/vant/dist/config-provider/index.wxml
create mode 100644 wxcomponents/vant/dist/config-provider/index.wxs
create mode 100644 wxcomponents/vant/dist/count-down/index.d.ts
create mode 100644 wxcomponents/vant/dist/count-down/index.js
create mode 100644 wxcomponents/vant/dist/count-down/index.json
create mode 100644 wxcomponents/vant/dist/count-down/index.vue
create mode 100644 wxcomponents/vant/dist/count-down/index.wxml
create mode 100644 wxcomponents/vant/dist/count-down/index.wxss
create mode 100644 wxcomponents/vant/dist/count-down/utils.d.ts
create mode 100644 wxcomponents/vant/dist/count-down/utils.js
create mode 100644 wxcomponents/vant/dist/datetime-picker/index.d.ts
create mode 100644 wxcomponents/vant/dist/datetime-picker/index.js
create mode 100644 wxcomponents/vant/dist/datetime-picker/index.json
create mode 100644 wxcomponents/vant/dist/datetime-picker/index.vue
create mode 100644 wxcomponents/vant/dist/datetime-picker/index.wxml
create mode 100644 wxcomponents/vant/dist/datetime-picker/index.wxss
create mode 100644 wxcomponents/vant/dist/definitions/index.d.ts
create mode 100644 wxcomponents/vant/dist/definitions/index.js
create mode 100644 wxcomponents/vant/dist/dialog/dialog.d.ts
create mode 100644 wxcomponents/vant/dist/dialog/dialog.js
create mode 100644 wxcomponents/vant/dist/dialog/index.d.ts
create mode 100644 wxcomponents/vant/dist/dialog/index.js
create mode 100644 wxcomponents/vant/dist/dialog/index.json
create mode 100644 wxcomponents/vant/dist/dialog/index.vue
create mode 100644 wxcomponents/vant/dist/dialog/index.wxml
create mode 100644 wxcomponents/vant/dist/dialog/index.wxss
create mode 100644 wxcomponents/vant/dist/divider/index.d.ts
create mode 100644 wxcomponents/vant/dist/divider/index.js
create mode 100644 wxcomponents/vant/dist/divider/index.json
create mode 100644 wxcomponents/vant/dist/divider/index.vue
create mode 100644 wxcomponents/vant/dist/divider/index.wxml
create mode 100644 wxcomponents/vant/dist/divider/index.wxs
create mode 100644 wxcomponents/vant/dist/divider/index.wxss
create mode 100644 wxcomponents/vant/dist/dropdown-item/index.d.ts
create mode 100644 wxcomponents/vant/dist/dropdown-item/index.js
create mode 100644 wxcomponents/vant/dist/dropdown-item/index.json
create mode 100644 wxcomponents/vant/dist/dropdown-item/index.vue
create mode 100644 wxcomponents/vant/dist/dropdown-item/index.wxml
create mode 100644 wxcomponents/vant/dist/dropdown-item/index.wxss
create mode 100644 wxcomponents/vant/dist/dropdown-item/shared.d.ts
create mode 100644 wxcomponents/vant/dist/dropdown-item/shared.js
create mode 100644 wxcomponents/vant/dist/dropdown-menu/index.d.ts
create mode 100644 wxcomponents/vant/dist/dropdown-menu/index.js
create mode 100644 wxcomponents/vant/dist/dropdown-menu/index.json
create mode 100644 wxcomponents/vant/dist/dropdown-menu/index.vue
create mode 100644 wxcomponents/vant/dist/dropdown-menu/index.wxml
create mode 100644 wxcomponents/vant/dist/dropdown-menu/index.wxs
create mode 100644 wxcomponents/vant/dist/dropdown-menu/index.wxss
create mode 100644 wxcomponents/vant/dist/empty/index.d.ts
create mode 100644 wxcomponents/vant/dist/empty/index.js
create mode 100644 wxcomponents/vant/dist/empty/index.json
create mode 100644 wxcomponents/vant/dist/empty/index.vue
create mode 100644 wxcomponents/vant/dist/empty/index.wxml
create mode 100644 wxcomponents/vant/dist/empty/index.wxs
create mode 100644 wxcomponents/vant/dist/empty/index.wxss
create mode 100644 wxcomponents/vant/dist/field/index.d.ts
create mode 100644 wxcomponents/vant/dist/field/index.js
create mode 100644 wxcomponents/vant/dist/field/index.json
create mode 100644 wxcomponents/vant/dist/field/index.vue
create mode 100644 wxcomponents/vant/dist/field/index.wxml
create mode 100644 wxcomponents/vant/dist/field/index.wxs
create mode 100644 wxcomponents/vant/dist/field/index.wxss
create mode 100644 wxcomponents/vant/dist/field/input.vue
create mode 100644 wxcomponents/vant/dist/field/input.wxml
create mode 100644 wxcomponents/vant/dist/field/props.d.ts
create mode 100644 wxcomponents/vant/dist/field/props.js
create mode 100644 wxcomponents/vant/dist/field/textarea.vue
create mode 100644 wxcomponents/vant/dist/field/textarea.wxml
create mode 100644 wxcomponents/vant/dist/field/types.d.ts
create mode 100644 wxcomponents/vant/dist/field/types.js
create mode 100644 wxcomponents/vant/dist/goods-action-button/index.d.ts
create mode 100644 wxcomponents/vant/dist/goods-action-button/index.js
create mode 100644 wxcomponents/vant/dist/goods-action-button/index.json
create mode 100644 wxcomponents/vant/dist/goods-action-button/index.vue
create mode 100644 wxcomponents/vant/dist/goods-action-button/index.wxml
create mode 100644 wxcomponents/vant/dist/goods-action-button/index.wxss
create mode 100644 wxcomponents/vant/dist/goods-action-icon/index.d.ts
create mode 100644 wxcomponents/vant/dist/goods-action-icon/index.js
create mode 100644 wxcomponents/vant/dist/goods-action-icon/index.json
create mode 100644 wxcomponents/vant/dist/goods-action-icon/index.vue
create mode 100644 wxcomponents/vant/dist/goods-action-icon/index.wxml
create mode 100644 wxcomponents/vant/dist/goods-action-icon/index.wxss
create mode 100644 wxcomponents/vant/dist/goods-action/index.d.ts
create mode 100644 wxcomponents/vant/dist/goods-action/index.js
create mode 100644 wxcomponents/vant/dist/goods-action/index.json
create mode 100644 wxcomponents/vant/dist/goods-action/index.vue
create mode 100644 wxcomponents/vant/dist/goods-action/index.wxml
create mode 100644 wxcomponents/vant/dist/goods-action/index.wxss
create mode 100644 wxcomponents/vant/dist/grid-item/index.d.ts
create mode 100644 wxcomponents/vant/dist/grid-item/index.js
create mode 100644 wxcomponents/vant/dist/grid-item/index.json
create mode 100644 wxcomponents/vant/dist/grid-item/index.vue
create mode 100644 wxcomponents/vant/dist/grid-item/index.wxml
create mode 100644 wxcomponents/vant/dist/grid-item/index.wxs
create mode 100644 wxcomponents/vant/dist/grid-item/index.wxss
create mode 100644 wxcomponents/vant/dist/grid/index.d.ts
create mode 100644 wxcomponents/vant/dist/grid/index.js
create mode 100644 wxcomponents/vant/dist/grid/index.json
create mode 100644 wxcomponents/vant/dist/grid/index.vue
create mode 100644 wxcomponents/vant/dist/grid/index.wxml
create mode 100644 wxcomponents/vant/dist/grid/index.wxs
create mode 100644 wxcomponents/vant/dist/grid/index.wxss
create mode 100644 wxcomponents/vant/dist/icon/index.d.ts
create mode 100644 wxcomponents/vant/dist/icon/index.js
create mode 100644 wxcomponents/vant/dist/icon/index.json
create mode 100644 wxcomponents/vant/dist/icon/index.vue
create mode 100644 wxcomponents/vant/dist/icon/index.wxml
create mode 100644 wxcomponents/vant/dist/icon/index.wxs
create mode 100644 wxcomponents/vant/dist/icon/index.wxss
create mode 100644 wxcomponents/vant/dist/image/index.d.ts
create mode 100644 wxcomponents/vant/dist/image/index.js
create mode 100644 wxcomponents/vant/dist/image/index.json
create mode 100644 wxcomponents/vant/dist/image/index.vue
create mode 100644 wxcomponents/vant/dist/image/index.wxml
create mode 100644 wxcomponents/vant/dist/image/index.wxs
create mode 100644 wxcomponents/vant/dist/image/index.wxss
create mode 100644 wxcomponents/vant/dist/index-anchor/index.d.ts
create mode 100644 wxcomponents/vant/dist/index-anchor/index.js
create mode 100644 wxcomponents/vant/dist/index-anchor/index.json
create mode 100644 wxcomponents/vant/dist/index-anchor/index.vue
create mode 100644 wxcomponents/vant/dist/index-anchor/index.wxml
create mode 100644 wxcomponents/vant/dist/index-anchor/index.wxss
create mode 100644 wxcomponents/vant/dist/index-bar/index.d.ts
create mode 100644 wxcomponents/vant/dist/index-bar/index.js
create mode 100644 wxcomponents/vant/dist/index-bar/index.json
create mode 100644 wxcomponents/vant/dist/index-bar/index.vue
create mode 100644 wxcomponents/vant/dist/index-bar/index.wxml
create mode 100644 wxcomponents/vant/dist/index-bar/index.wxss
create mode 100644 wxcomponents/vant/dist/info/index.d.ts
create mode 100644 wxcomponents/vant/dist/info/index.js
create mode 100644 wxcomponents/vant/dist/info/index.json
create mode 100644 wxcomponents/vant/dist/info/index.vue
create mode 100644 wxcomponents/vant/dist/info/index.wxml
create mode 100644 wxcomponents/vant/dist/info/index.wxss
create mode 100644 wxcomponents/vant/dist/loading/index.d.ts
create mode 100644 wxcomponents/vant/dist/loading/index.js
create mode 100644 wxcomponents/vant/dist/loading/index.json
create mode 100644 wxcomponents/vant/dist/loading/index.vue
create mode 100644 wxcomponents/vant/dist/loading/index.wxml
create mode 100644 wxcomponents/vant/dist/loading/index.wxs
create mode 100644 wxcomponents/vant/dist/loading/index.wxss
create mode 100644 wxcomponents/vant/dist/mixins/basic.d.ts
create mode 100644 wxcomponents/vant/dist/mixins/basic.js
create mode 100644 wxcomponents/vant/dist/mixins/button.d.ts
create mode 100644 wxcomponents/vant/dist/mixins/button.js
create mode 100644 wxcomponents/vant/dist/mixins/link.d.ts
create mode 100644 wxcomponents/vant/dist/mixins/link.js
create mode 100644 wxcomponents/vant/dist/mixins/page-scroll.d.ts
create mode 100644 wxcomponents/vant/dist/mixins/page-scroll.js
create mode 100644 wxcomponents/vant/dist/mixins/touch.d.ts
create mode 100644 wxcomponents/vant/dist/mixins/touch.js
create mode 100644 wxcomponents/vant/dist/mixins/transition.d.ts
create mode 100644 wxcomponents/vant/dist/mixins/transition.js
create mode 100644 wxcomponents/vant/dist/nav-bar/index.d.ts
create mode 100644 wxcomponents/vant/dist/nav-bar/index.js
create mode 100644 wxcomponents/vant/dist/nav-bar/index.json
create mode 100644 wxcomponents/vant/dist/nav-bar/index.vue
create mode 100644 wxcomponents/vant/dist/nav-bar/index.wxml
create mode 100644 wxcomponents/vant/dist/nav-bar/index.wxs
create mode 100644 wxcomponents/vant/dist/nav-bar/index.wxss
create mode 100644 wxcomponents/vant/dist/notice-bar/index.d.ts
create mode 100644 wxcomponents/vant/dist/notice-bar/index.js
create mode 100644 wxcomponents/vant/dist/notice-bar/index.json
create mode 100644 wxcomponents/vant/dist/notice-bar/index.vue
create mode 100644 wxcomponents/vant/dist/notice-bar/index.wxml
create mode 100644 wxcomponents/vant/dist/notice-bar/index.wxs
create mode 100644 wxcomponents/vant/dist/notice-bar/index.wxss
create mode 100644 wxcomponents/vant/dist/notify/index.d.ts
create mode 100644 wxcomponents/vant/dist/notify/index.js
create mode 100644 wxcomponents/vant/dist/notify/index.json
create mode 100644 wxcomponents/vant/dist/notify/index.vue
create mode 100644 wxcomponents/vant/dist/notify/index.wxml
create mode 100644 wxcomponents/vant/dist/notify/index.wxs
create mode 100644 wxcomponents/vant/dist/notify/index.wxss
create mode 100644 wxcomponents/vant/dist/notify/notify.d.ts
create mode 100644 wxcomponents/vant/dist/notify/notify.js
create mode 100644 wxcomponents/vant/dist/overlay/index.d.ts
create mode 100644 wxcomponents/vant/dist/overlay/index.js
create mode 100644 wxcomponents/vant/dist/overlay/index.json
create mode 100644 wxcomponents/vant/dist/overlay/index.vue
create mode 100644 wxcomponents/vant/dist/overlay/index.wxml
create mode 100644 wxcomponents/vant/dist/overlay/index.wxss
create mode 100644 wxcomponents/vant/dist/overlay/overlay.vue
create mode 100644 wxcomponents/vant/dist/overlay/overlay.wxml
create mode 100644 wxcomponents/vant/dist/panel/index.d.ts
create mode 100644 wxcomponents/vant/dist/panel/index.js
create mode 100644 wxcomponents/vant/dist/panel/index.json
create mode 100644 wxcomponents/vant/dist/panel/index.vue
create mode 100644 wxcomponents/vant/dist/panel/index.wxml
create mode 100644 wxcomponents/vant/dist/panel/index.wxss
create mode 100644 wxcomponents/vant/dist/picker-column/index.d.ts
create mode 100644 wxcomponents/vant/dist/picker-column/index.js
create mode 100644 wxcomponents/vant/dist/picker-column/index.json
create mode 100644 wxcomponents/vant/dist/picker-column/index.vue
create mode 100644 wxcomponents/vant/dist/picker-column/index.wxml
create mode 100644 wxcomponents/vant/dist/picker-column/index.wxs
create mode 100644 wxcomponents/vant/dist/picker-column/index.wxss
create mode 100644 wxcomponents/vant/dist/picker/index.d.ts
create mode 100644 wxcomponents/vant/dist/picker/index.js
create mode 100644 wxcomponents/vant/dist/picker/index.json
create mode 100644 wxcomponents/vant/dist/picker/index.vue
create mode 100644 wxcomponents/vant/dist/picker/index.wxml
create mode 100644 wxcomponents/vant/dist/picker/index.wxs
create mode 100644 wxcomponents/vant/dist/picker/index.wxss
create mode 100644 wxcomponents/vant/dist/picker/shared.d.ts
create mode 100644 wxcomponents/vant/dist/picker/shared.js
create mode 100644 wxcomponents/vant/dist/picker/toolbar.vue
create mode 100644 wxcomponents/vant/dist/picker/toolbar.wxml
create mode 100644 wxcomponents/vant/dist/popup/index.d.ts
create mode 100644 wxcomponents/vant/dist/popup/index.js
create mode 100644 wxcomponents/vant/dist/popup/index.json
create mode 100644 wxcomponents/vant/dist/popup/index.vue
create mode 100644 wxcomponents/vant/dist/popup/index.wxml
create mode 100644 wxcomponents/vant/dist/popup/index.wxs
create mode 100644 wxcomponents/vant/dist/popup/index.wxss
create mode 100644 wxcomponents/vant/dist/popup/popup.vue
create mode 100644 wxcomponents/vant/dist/popup/popup.wxml
create mode 100644 wxcomponents/vant/dist/progress/index.d.ts
create mode 100644 wxcomponents/vant/dist/progress/index.js
create mode 100644 wxcomponents/vant/dist/progress/index.json
create mode 100644 wxcomponents/vant/dist/progress/index.vue
create mode 100644 wxcomponents/vant/dist/progress/index.wxml
create mode 100644 wxcomponents/vant/dist/progress/index.wxs
create mode 100644 wxcomponents/vant/dist/progress/index.wxss
create mode 100644 wxcomponents/vant/dist/radio-group/index.d.ts
create mode 100644 wxcomponents/vant/dist/radio-group/index.js
create mode 100644 wxcomponents/vant/dist/radio-group/index.json
create mode 100644 wxcomponents/vant/dist/radio-group/index.vue
create mode 100644 wxcomponents/vant/dist/radio-group/index.wxml
create mode 100644 wxcomponents/vant/dist/radio-group/index.wxss
create mode 100644 wxcomponents/vant/dist/radio/index.d.ts
create mode 100644 wxcomponents/vant/dist/radio/index.js
create mode 100644 wxcomponents/vant/dist/radio/index.json
create mode 100644 wxcomponents/vant/dist/radio/index.vue
create mode 100644 wxcomponents/vant/dist/radio/index.wxml
create mode 100644 wxcomponents/vant/dist/radio/index.wxs
create mode 100644 wxcomponents/vant/dist/radio/index.wxss
create mode 100644 wxcomponents/vant/dist/rate/index.d.ts
create mode 100644 wxcomponents/vant/dist/rate/index.js
create mode 100644 wxcomponents/vant/dist/rate/index.json
create mode 100644 wxcomponents/vant/dist/rate/index.vue
create mode 100644 wxcomponents/vant/dist/rate/index.wxml
create mode 100644 wxcomponents/vant/dist/rate/index.wxss
create mode 100644 wxcomponents/vant/dist/row/index.d.ts
create mode 100644 wxcomponents/vant/dist/row/index.js
create mode 100644 wxcomponents/vant/dist/row/index.json
create mode 100644 wxcomponents/vant/dist/row/index.vue
create mode 100644 wxcomponents/vant/dist/row/index.wxml
create mode 100644 wxcomponents/vant/dist/row/index.wxs
create mode 100644 wxcomponents/vant/dist/row/index.wxss
create mode 100644 wxcomponents/vant/dist/search/index.d.ts
create mode 100644 wxcomponents/vant/dist/search/index.js
create mode 100644 wxcomponents/vant/dist/search/index.json
create mode 100644 wxcomponents/vant/dist/search/index.vue
create mode 100644 wxcomponents/vant/dist/search/index.wxml
create mode 100644 wxcomponents/vant/dist/search/index.wxss
create mode 100644 wxcomponents/vant/dist/share-sheet/index.d.ts
create mode 100644 wxcomponents/vant/dist/share-sheet/index.js
create mode 100644 wxcomponents/vant/dist/share-sheet/index.json
create mode 100644 wxcomponents/vant/dist/share-sheet/index.vue
create mode 100644 wxcomponents/vant/dist/share-sheet/index.wxml
create mode 100644 wxcomponents/vant/dist/share-sheet/index.wxs
create mode 100644 wxcomponents/vant/dist/share-sheet/index.wxss
create mode 100644 wxcomponents/vant/dist/share-sheet/options.d.ts
create mode 100644 wxcomponents/vant/dist/share-sheet/options.js
create mode 100644 wxcomponents/vant/dist/share-sheet/options.json
create mode 100644 wxcomponents/vant/dist/share-sheet/options.vue
create mode 100644 wxcomponents/vant/dist/share-sheet/options.wxml
create mode 100644 wxcomponents/vant/dist/share-sheet/options.wxs
create mode 100644 wxcomponents/vant/dist/share-sheet/options.wxss
create mode 100644 wxcomponents/vant/dist/sidebar-item/index.d.ts
create mode 100644 wxcomponents/vant/dist/sidebar-item/index.js
create mode 100644 wxcomponents/vant/dist/sidebar-item/index.json
create mode 100644 wxcomponents/vant/dist/sidebar-item/index.vue
create mode 100644 wxcomponents/vant/dist/sidebar-item/index.wxml
create mode 100644 wxcomponents/vant/dist/sidebar-item/index.wxss
create mode 100644 wxcomponents/vant/dist/sidebar/index.d.ts
create mode 100644 wxcomponents/vant/dist/sidebar/index.js
create mode 100644 wxcomponents/vant/dist/sidebar/index.json
create mode 100644 wxcomponents/vant/dist/sidebar/index.vue
create mode 100644 wxcomponents/vant/dist/sidebar/index.wxml
create mode 100644 wxcomponents/vant/dist/sidebar/index.wxss
create mode 100644 wxcomponents/vant/dist/skeleton/index.d.ts
create mode 100644 wxcomponents/vant/dist/skeleton/index.js
create mode 100644 wxcomponents/vant/dist/skeleton/index.json
create mode 100644 wxcomponents/vant/dist/skeleton/index.vue
create mode 100644 wxcomponents/vant/dist/skeleton/index.wxml
create mode 100644 wxcomponents/vant/dist/skeleton/index.wxss
create mode 100644 wxcomponents/vant/dist/slider/index.d.ts
create mode 100644 wxcomponents/vant/dist/slider/index.js
create mode 100644 wxcomponents/vant/dist/slider/index.json
create mode 100644 wxcomponents/vant/dist/slider/index.vue
create mode 100644 wxcomponents/vant/dist/slider/index.wxml
create mode 100644 wxcomponents/vant/dist/slider/index.wxs
create mode 100644 wxcomponents/vant/dist/slider/index.wxss
create mode 100644 wxcomponents/vant/dist/stepper/index.d.ts
create mode 100644 wxcomponents/vant/dist/stepper/index.js
create mode 100644 wxcomponents/vant/dist/stepper/index.json
create mode 100644 wxcomponents/vant/dist/stepper/index.vue
create mode 100644 wxcomponents/vant/dist/stepper/index.wxml
create mode 100644 wxcomponents/vant/dist/stepper/index.wxs
create mode 100644 wxcomponents/vant/dist/stepper/index.wxss
create mode 100644 wxcomponents/vant/dist/steps/index-status.wxs
create mode 100644 wxcomponents/vant/dist/steps/index.d.ts
create mode 100644 wxcomponents/vant/dist/steps/index.js
create mode 100644 wxcomponents/vant/dist/steps/index.json
create mode 100644 wxcomponents/vant/dist/steps/index.vue
create mode 100644 wxcomponents/vant/dist/steps/index.wxml
create mode 100644 wxcomponents/vant/dist/steps/index.wxss
create mode 100644 wxcomponents/vant/dist/sticky/index.d.ts
create mode 100644 wxcomponents/vant/dist/sticky/index.js
create mode 100644 wxcomponents/vant/dist/sticky/index.json
create mode 100644 wxcomponents/vant/dist/sticky/index.vue
create mode 100644 wxcomponents/vant/dist/sticky/index.wxml
create mode 100644 wxcomponents/vant/dist/sticky/index.wxs
create mode 100644 wxcomponents/vant/dist/sticky/index.wxss
create mode 100644 wxcomponents/vant/dist/submit-bar/index.d.ts
create mode 100644 wxcomponents/vant/dist/submit-bar/index.js
create mode 100644 wxcomponents/vant/dist/submit-bar/index.json
create mode 100644 wxcomponents/vant/dist/submit-bar/index.vue
create mode 100644 wxcomponents/vant/dist/submit-bar/index.wxml
create mode 100644 wxcomponents/vant/dist/submit-bar/index.wxss
create mode 100644 wxcomponents/vant/dist/swipe-cell/index.d.ts
create mode 100644 wxcomponents/vant/dist/swipe-cell/index.js
create mode 100644 wxcomponents/vant/dist/swipe-cell/index.json
create mode 100644 wxcomponents/vant/dist/swipe-cell/index.vue
create mode 100644 wxcomponents/vant/dist/swipe-cell/index.wxml
create mode 100644 wxcomponents/vant/dist/swipe-cell/index.wxss
create mode 100644 wxcomponents/vant/dist/switch/index.d.ts
create mode 100644 wxcomponents/vant/dist/switch/index.js
create mode 100644 wxcomponents/vant/dist/switch/index.json
create mode 100644 wxcomponents/vant/dist/switch/index.vue
create mode 100644 wxcomponents/vant/dist/switch/index.wxml
create mode 100644 wxcomponents/vant/dist/switch/index.wxs
create mode 100644 wxcomponents/vant/dist/switch/index.wxss
create mode 100644 wxcomponents/vant/dist/tab/index.d.ts
create mode 100644 wxcomponents/vant/dist/tab/index.js
create mode 100644 wxcomponents/vant/dist/tab/index.json
create mode 100644 wxcomponents/vant/dist/tab/index.vue
create mode 100644 wxcomponents/vant/dist/tab/index.wxml
create mode 100644 wxcomponents/vant/dist/tab/index.wxss
create mode 100644 wxcomponents/vant/dist/tabbar-item/index.d.ts
create mode 100644 wxcomponents/vant/dist/tabbar-item/index.js
create mode 100644 wxcomponents/vant/dist/tabbar-item/index.json
create mode 100644 wxcomponents/vant/dist/tabbar-item/index.vue
create mode 100644 wxcomponents/vant/dist/tabbar-item/index.wxml
create mode 100644 wxcomponents/vant/dist/tabbar-item/index.wxss
create mode 100644 wxcomponents/vant/dist/tabbar/index.d.ts
create mode 100644 wxcomponents/vant/dist/tabbar/index.js
create mode 100644 wxcomponents/vant/dist/tabbar/index.json
create mode 100644 wxcomponents/vant/dist/tabbar/index.vue
create mode 100644 wxcomponents/vant/dist/tabbar/index.wxml
create mode 100644 wxcomponents/vant/dist/tabbar/index.wxss
create mode 100644 wxcomponents/vant/dist/tabs/index.d.ts
create mode 100644 wxcomponents/vant/dist/tabs/index.js
create mode 100644 wxcomponents/vant/dist/tabs/index.json
create mode 100644 wxcomponents/vant/dist/tabs/index.vue
create mode 100644 wxcomponents/vant/dist/tabs/index.wxml
create mode 100644 wxcomponents/vant/dist/tabs/index.wxs
create mode 100644 wxcomponents/vant/dist/tabs/index.wxss
create mode 100644 wxcomponents/vant/dist/tag/index.d.ts
create mode 100644 wxcomponents/vant/dist/tag/index.js
create mode 100644 wxcomponents/vant/dist/tag/index.json
create mode 100644 wxcomponents/vant/dist/tag/index.vue
create mode 100644 wxcomponents/vant/dist/tag/index.wxml
create mode 100644 wxcomponents/vant/dist/tag/index.wxs
create mode 100644 wxcomponents/vant/dist/tag/index.wxss
create mode 100644 wxcomponents/vant/dist/toast/index.d.ts
create mode 100644 wxcomponents/vant/dist/toast/index.js
create mode 100644 wxcomponents/vant/dist/toast/index.json
create mode 100644 wxcomponents/vant/dist/toast/index.vue
create mode 100644 wxcomponents/vant/dist/toast/index.wxml
create mode 100644 wxcomponents/vant/dist/toast/index.wxss
create mode 100644 wxcomponents/vant/dist/toast/toast.d.ts
create mode 100644 wxcomponents/vant/dist/toast/toast.js
create mode 100644 wxcomponents/vant/dist/transition/index.d.ts
create mode 100644 wxcomponents/vant/dist/transition/index.js
create mode 100644 wxcomponents/vant/dist/transition/index.json
create mode 100644 wxcomponents/vant/dist/transition/index.vue
create mode 100644 wxcomponents/vant/dist/transition/index.wxml
create mode 100644 wxcomponents/vant/dist/transition/index.wxs
create mode 100644 wxcomponents/vant/dist/transition/index.wxss
create mode 100644 wxcomponents/vant/dist/tree-select/index.d.ts
create mode 100644 wxcomponents/vant/dist/tree-select/index.js
create mode 100644 wxcomponents/vant/dist/tree-select/index.json
create mode 100644 wxcomponents/vant/dist/tree-select/index.vue
create mode 100644 wxcomponents/vant/dist/tree-select/index.wxml
create mode 100644 wxcomponents/vant/dist/tree-select/index.wxs
create mode 100644 wxcomponents/vant/dist/tree-select/index.wxss
create mode 100644 wxcomponents/vant/dist/uploader/index.d.ts
create mode 100644 wxcomponents/vant/dist/uploader/index.js
create mode 100644 wxcomponents/vant/dist/uploader/index.json
create mode 100644 wxcomponents/vant/dist/uploader/index.vue
create mode 100644 wxcomponents/vant/dist/uploader/index.wxml
create mode 100644 wxcomponents/vant/dist/uploader/index.wxs
create mode 100644 wxcomponents/vant/dist/uploader/index.wxss
create mode 100644 wxcomponents/vant/dist/uploader/shared.d.ts
create mode 100644 wxcomponents/vant/dist/uploader/shared.js
create mode 100644 wxcomponents/vant/dist/uploader/utils.d.ts
create mode 100644 wxcomponents/vant/dist/uploader/utils.js
create mode 100644 wxcomponents/vant/dist/wxs/add-unit.wxs
create mode 100644 wxcomponents/vant/dist/wxs/array.wxs
create mode 100644 wxcomponents/vant/dist/wxs/bem.wxs
create mode 100644 wxcomponents/vant/dist/wxs/memoize.wxs
create mode 100644 wxcomponents/vant/dist/wxs/object.wxs
create mode 100644 wxcomponents/vant/dist/wxs/style.wxs
create mode 100644 wxcomponents/vant/dist/wxs/utils.wxs
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a25d44a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,24 @@
+.DS_Store
+node_modules
+/dist
+.history
+.hbuilderx
+unpackage
+
+# local env files
+.env.local
+.env.*.local
+
+# Log files
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+
+# Editor directories and files
+.idea
+.vscode
+*.suo
+*.ntvs*
+*.njsproj
+*.sln
+*.sw?
diff --git a/App.vue b/App.vue
new file mode 100644
index 0000000..4555a00
--- /dev/null
+++ b/App.vue
@@ -0,0 +1,21 @@
+
+
+
diff --git a/common/QqmapWxJssdk.min.js b/common/QqmapWxJssdk.min.js
new file mode 100644
index 0000000..8fa1477
--- /dev/null
+++ b/common/QqmapWxJssdk.min.js
@@ -0,0 +1 @@
+var ERROR_CONF = { KEY_ERR: 311, KEY_ERR_MSG: 'key格式错误', PARAM_ERR: 310, PARAM_ERR_MSG: '请求参数信息有误', SYSTEM_ERR: 600, SYSTEM_ERR_MSG: '系统错误', WX_ERR_CODE: 1000, WX_OK_CODE: 200 }; var BASE_URL = 'https://apis.map.qq.com/ws/'; var URL_SEARCH = BASE_URL + 'place/v1/search'; var URL_SUGGESTION = BASE_URL + 'place/v1/suggestion'; var URL_GET_GEOCODER = BASE_URL + 'geocoder/v1/'; var URL_CITY_LIST = BASE_URL + 'district/v1/list'; var URL_AREA_LIST = BASE_URL + 'district/v1/getchildren'; var URL_DISTANCE = BASE_URL + 'distance/v1/'; var URL_DIRECTION = BASE_URL + 'direction/v1/'; var MODE = { driving: 'driving', transit: 'transit' }; var EARTH_RADIUS = 6378136.49; var Utils = { safeAdd(x, y) { var lsw = (x & 0xffff) + (y & 0xffff); var msw = (x >> 16) + (y >> 16) + (lsw >> 16); return (msw << 16) | (lsw & 0xffff) }, bitRotateLeft(num, cnt) { return (num << cnt) | (num >>> (32 - cnt)) }, md5cmn(q, a, b, x, s, t) { return this.safeAdd(this.bitRotateLeft(this.safeAdd(this.safeAdd(a, q), this.safeAdd(x, t)), s), b) }, md5ff(a, b, c, d, x, s, t) { return this.md5cmn((b & c) | (~b & d), a, b, x, s, t) }, md5gg(a, b, c, d, x, s, t) { return this.md5cmn((b & d) | (c & ~d), a, b, x, s, t) }, md5hh(a, b, c, d, x, s, t) { return this.md5cmn(b ^ c ^ d, a, b, x, s, t) }, md5ii(a, b, c, d, x, s, t) { return this.md5cmn(c ^ (b | ~d), a, b, x, s, t) }, binlMD5(x, len) { x[len >> 5] |= 0x80 << (len % 32); x[((len + 64) >>> 9 << 4) + 14] = len; var i; var olda; var oldb; var oldc; var oldd; var a = 1732584193; var b = -271733879; var c = -1732584194; var d = 271733878; for (i = 0; i < x.length; i += 16) { olda = a; oldb = b; oldc = c; oldd = d; a = this.md5ff(a, b, c, d, x[i], 7, -680876936); d = this.md5ff(d, a, b, c, x[i + 1], 12, -389564586); c = this.md5ff(c, d, a, b, x[i + 2], 17, 606105819); b = this.md5ff(b, c, d, a, x[i + 3], 22, -1044525330); a = this.md5ff(a, b, c, d, x[i + 4], 7, -176418897); d = this.md5ff(d, a, b, c, x[i + 5], 12, 1200080426); c = this.md5ff(c, d, a, b, x[i + 6], 17, -1473231341); b = this.md5ff(b, c, d, a, x[i + 7], 22, -45705983); a = this.md5ff(a, b, c, d, x[i + 8], 7, 1770035416); d = this.md5ff(d, a, b, c, x[i + 9], 12, -1958414417); c = this.md5ff(c, d, a, b, x[i + 10], 17, -42063); b = this.md5ff(b, c, d, a, x[i + 11], 22, -1990404162); a = this.md5ff(a, b, c, d, x[i + 12], 7, 1804603682); d = this.md5ff(d, a, b, c, x[i + 13], 12, -40341101); c = this.md5ff(c, d, a, b, x[i + 14], 17, -1502002290); b = this.md5ff(b, c, d, a, x[i + 15], 22, 1236535329); a = this.md5gg(a, b, c, d, x[i + 1], 5, -165796510); d = this.md5gg(d, a, b, c, x[i + 6], 9, -1069501632); c = this.md5gg(c, d, a, b, x[i + 11], 14, 643717713); b = this.md5gg(b, c, d, a, x[i], 20, -373897302); a = this.md5gg(a, b, c, d, x[i + 5], 5, -701558691); d = this.md5gg(d, a, b, c, x[i + 10], 9, 38016083); c = this.md5gg(c, d, a, b, x[i + 15], 14, -660478335); b = this.md5gg(b, c, d, a, x[i + 4], 20, -405537848); a = this.md5gg(a, b, c, d, x[i + 9], 5, 568446438); d = this.md5gg(d, a, b, c, x[i + 14], 9, -1019803690); c = this.md5gg(c, d, a, b, x[i + 3], 14, -187363961); b = this.md5gg(b, c, d, a, x[i + 8], 20, 1163531501); a = this.md5gg(a, b, c, d, x[i + 13], 5, -1444681467); d = this.md5gg(d, a, b, c, x[i + 2], 9, -51403784); c = this.md5gg(c, d, a, b, x[i + 7], 14, 1735328473); b = this.md5gg(b, c, d, a, x[i + 12], 20, -1926607734); a = this.md5hh(a, b, c, d, x[i + 5], 4, -378558); d = this.md5hh(d, a, b, c, x[i + 8], 11, -2022574463); c = this.md5hh(c, d, a, b, x[i + 11], 16, 1839030562); b = this.md5hh(b, c, d, a, x[i + 14], 23, -35309556); a = this.md5hh(a, b, c, d, x[i + 1], 4, -1530992060); d = this.md5hh(d, a, b, c, x[i + 4], 11, 1272893353); c = this.md5hh(c, d, a, b, x[i + 7], 16, -155497632); b = this.md5hh(b, c, d, a, x[i + 10], 23, -1094730640); a = this.md5hh(a, b, c, d, x[i + 13], 4, 681279174); d = this.md5hh(d, a, b, c, x[i], 11, -358537222); c = this.md5hh(c, d, a, b, x[i + 3], 16, -722521979); b = this.md5hh(b, c, d, a, x[i + 6], 23, 76029189); a = this.md5hh(a, b, c, d, x[i + 9], 4, -640364487); d = this.md5hh(d, a, b, c, x[i + 12], 11, -421815835); c = this.md5hh(c, d, a, b, x[i + 15], 16, 530742520); b = this.md5hh(b, c, d, a, x[i + 2], 23, -995338651); a = this.md5ii(a, b, c, d, x[i], 6, -198630844); d = this.md5ii(d, a, b, c, x[i + 7], 10, 1126891415); c = this.md5ii(c, d, a, b, x[i + 14], 15, -1416354905); b = this.md5ii(b, c, d, a, x[i + 5], 21, -57434055); a = this.md5ii(a, b, c, d, x[i + 12], 6, 1700485571); d = this.md5ii(d, a, b, c, x[i + 3], 10, -1894986606); c = this.md5ii(c, d, a, b, x[i + 10], 15, -1051523); b = this.md5ii(b, c, d, a, x[i + 1], 21, -2054922799); a = this.md5ii(a, b, c, d, x[i + 8], 6, 1873313359); d = this.md5ii(d, a, b, c, x[i + 15], 10, -30611744); c = this.md5ii(c, d, a, b, x[i + 6], 15, -1560198380); b = this.md5ii(b, c, d, a, x[i + 13], 21, 1309151649); a = this.md5ii(a, b, c, d, x[i + 4], 6, -145523070); d = this.md5ii(d, a, b, c, x[i + 11], 10, -1120210379); c = this.md5ii(c, d, a, b, x[i + 2], 15, 718787259); b = this.md5ii(b, c, d, a, x[i + 9], 21, -343485551); a = this.safeAdd(a, olda); b = this.safeAdd(b, oldb); c = this.safeAdd(c, oldc); d = this.safeAdd(d, oldd) } return [a, b, c, d] }, binl2rstr(input) { var i; var output = ''; var length32 = input.length * 32; for (i = 0; i < length32; i += 8) { output += String.fromCharCode((input[i >> 5] >>> (i % 32)) & 0xff) } return output }, rstr2binl(input) { var i; var output = []; output[(input.length >> 2) - 1] = undefined; for (i = 0; i < output.length; i += 1) { output[i] = 0 } var length8 = input.length * 8; for (i = 0; i < length8; i += 8) { output[i >> 5] |= (input.charCodeAt(i / 8) & 0xff) << (i % 32) } return output }, rstrMD5(s) { return this.binl2rstr(this.binlMD5(this.rstr2binl(s), s.length * 8)) }, rstrHMACMD5(key, data) { var i; var bkey = this.rstr2binl(key); var ipad = []; var opad = []; var hash; ipad[15] = opad[15] = undefined; if (bkey.length > 16) { bkey = this.binlMD5(bkey, key.length * 8) } for (i = 0; i < 16; i += 1) { ipad[i] = bkey[i] ^ 0x36363636; opad[i] = bkey[i] ^ 0x5c5c5c5c } hash = this.binlMD5(ipad.concat(this.rstr2binl(data)), 512 + data.length * 8); return this.binl2rstr(this.binlMD5(opad.concat(hash), 512 + 128)) }, rstr2hex(input) { var hexTab = '0123456789abcdef'; var output = ''; var x; var i; for (i = 0; i < input.length; i += 1) { x = input.charCodeAt(i); output += hexTab.charAt((x >>> 4) & 0x0f) + hexTab.charAt(x & 0x0f) } return output }, str2rstrUTF8(input) { return unescape(encodeURIComponent(input)) }, rawMD5(s) { return this.rstrMD5(this.str2rstrUTF8(s)) }, hexMD5(s) { return this.rstr2hex(this.rawMD5(s)) }, rawHMACMD5(k, d) { return this.rstrHMACMD5(this.str2rstrUTF8(k), str2rstrUTF8(d)) }, hexHMACMD5(k, d) { return this.rstr2hex(this.rawHMACMD5(k, d)) }, md5(string, key, raw) { if (!key) { if (!raw) { return this.hexMD5(string) } return this.rawMD5(string) } if (!raw) { return this.hexHMACMD5(key, string) } return this.rawHMACMD5(key, string) }, getSig(requestParam, sk, feature, mode) { var sig = null; var requestArr = []; Object.keys(requestParam).sort().forEach(function (key) { requestArr.push(key + '=' + requestParam[key]) }); if (feature == 'search') { sig = '/ws/place/v1/search?' + requestArr.join('&') + sk } if (feature == 'suggest') { sig = '/ws/place/v1/suggestion?' + requestArr.join('&') + sk } if (feature == 'reverseGeocoder') { sig = '/ws/geocoder/v1/?' + requestArr.join('&') + sk } if (feature == 'geocoder') { sig = '/ws/geocoder/v1/?' + requestArr.join('&') + sk } if (feature == 'getCityList') { sig = '/ws/district/v1/list?' + requestArr.join('&') + sk } if (feature == 'getDistrictByCityId') { sig = '/ws/district/v1/getchildren?' + requestArr.join('&') + sk } if (feature == 'calculateDistance') { sig = '/ws/distance/v1/?' + requestArr.join('&') + sk } if (feature == 'direction') { sig = '/ws/direction/v1/' + mode + '?' + requestArr.join('&') + sk } sig = this.md5(sig); return sig }, location2query(data) { if (typeof data == 'string') { return data } var query = ''; for (var i = 0; i < data.length; i++) { var d = data[i]; if (!!query) { query += ';' } if (d.location) { query = query + d.location.lat + ',' + d.location.lng } if (d.latitude && d.longitude) { query = query + d.latitude + ',' + d.longitude } } return query }, rad(d) { return d * Math.PI / 180.0 }, getEndLocation(location) { var to = location.split(';'); var endLocation = []; for (var i = 0; i < to.length; i++) { endLocation.push({ lat: parseFloat(to[i].split(',')[0]), lng: parseFloat(to[i].split(',')[1]) }) } return endLocation }, getDistance(latFrom, lngFrom, latTo, lngTo) { var radLatFrom = this.rad(latFrom); var radLatTo = this.rad(latTo); var a = radLatFrom - radLatTo; var b = this.rad(lngFrom) - this.rad(lngTo); var distance = 2 * Math.asin(Math.sqrt(Math.pow(Math.sin(a / 2), 2) + Math.cos(radLatFrom) * Math.cos(radLatTo) * Math.pow(Math.sin(b / 2), 2))); distance = distance * EARTH_RADIUS; distance = Math.round(distance * 10000) / 10000; return parseFloat(distance.toFixed(0)) }, getWXLocation(success, fail, complete) { wx.getLocation({ type: 'gcj02', success: success, fail: fail, complete: complete }) }, getLocationParam(location) { if (typeof location == 'string') { var locationArr = location.split(','); if (locationArr.length === 2) { location = { latitude: location.split(',')[0], longitude: location.split(',')[1] } } else { location = {} } } return location }, polyfillParam(param) { param.success = param.success || function () { }; param.fail = param.fail || function () { }; param.complete = param.complete || function () { } }, checkParamKeyEmpty(param, key) { if (!param[key]) { var errconf = this.buildErrorConfig(ERROR_CONF.PARAM_ERR, ERROR_CONF.PARAM_ERR_MSG + key + '参数格式有误'); param.fail(errconf); param.complete(errconf); return true } return false }, checkKeyword(param) { return !this.checkParamKeyEmpty(param, 'keyword') }, checkLocation(param) { var location = this.getLocationParam(param.location); if (!location || !location.latitude || !location.longitude) { var errconf = this.buildErrorConfig(ERROR_CONF.PARAM_ERR, ERROR_CONF.PARAM_ERR_MSG + ' location参数格式有误'); param.fail(errconf); param.complete(errconf); return false } return true }, buildErrorConfig(errCode, errMsg) { return { status: errCode, message: errMsg } }, handleData(param, data, feature) { if (feature == 'search') { var searchResult = data.data; var searchSimplify = []; for (var i = 0; i < searchResult.length; i++) { searchSimplify.push({ id: searchResult[i].id || null, title: searchResult[i].title || null, latitude: searchResult[i].location && searchResult[i].location.lat || null, longitude: searchResult[i].location && searchResult[i].location.lng || null, address: searchResult[i].address || null, category: searchResult[i].category || null, tel: searchResult[i].tel || null, adcode: searchResult[i].ad_info && searchResult[i].ad_info.adcode || null, city: searchResult[i].ad_info && searchResult[i].ad_info.city || null, district: searchResult[i].ad_info && searchResult[i].ad_info.district || null, province: searchResult[i].ad_info && searchResult[i].ad_info.province || null }) } param.success(data, { searchResult: searchResult, searchSimplify: searchSimplify }) } else if (feature == 'suggest') { var suggestResult = data.data; var suggestSimplify = []; for (var i = 0; i < suggestResult.length; i++) { suggestSimplify.push({ adcode: suggestResult[i].adcode || null, address: suggestResult[i].address || null, category: suggestResult[i].category || null, city: suggestResult[i].city || null, district: suggestResult[i].district || null, id: suggestResult[i].id || null, latitude: suggestResult[i].location && suggestResult[i].location.lat || null, longitude: suggestResult[i].location && suggestResult[i].location.lng || null, province: suggestResult[i].province || null, title: suggestResult[i].title || null, type: suggestResult[i].type || null }) } param.success(data, { suggestResult: suggestResult, suggestSimplify: suggestSimplify }) } else if (feature == 'reverseGeocoder') { var reverseGeocoderResult = data.result; var reverseGeocoderSimplify = { address: reverseGeocoderResult.address || null, latitude: reverseGeocoderResult.location && reverseGeocoderResult.location.lat || null, longitude: reverseGeocoderResult.location && reverseGeocoderResult.location.lng || null, adcode: reverseGeocoderResult.ad_info && reverseGeocoderResult.ad_info.adcode || null, city: reverseGeocoderResult.address_component && reverseGeocoderResult.address_component.city || null, district: reverseGeocoderResult.address_component && reverseGeocoderResult.address_component.district || null, nation: reverseGeocoderResult.address_component && reverseGeocoderResult.address_component.nation || null, province: reverseGeocoderResult.address_component && reverseGeocoderResult.address_component.province || null, street: reverseGeocoderResult.address_component && reverseGeocoderResult.address_component.street || null, street_number: reverseGeocoderResult.address_component && reverseGeocoderResult.address_component.street_number || null, recommend: reverseGeocoderResult.formatted_addresses && reverseGeocoderResult.formatted_addresses.recommend || null, rough: reverseGeocoderResult.formatted_addresses && reverseGeocoderResult.formatted_addresses.rough || null }; if (reverseGeocoderResult.pois) { var pois = reverseGeocoderResult.pois; var poisSimplify = []; for (var i = 0; i < pois.length; i++) { poisSimplify.push({ id: pois[i].id || null, title: pois[i].title || null, latitude: pois[i].location && pois[i].location.lat || null, longitude: pois[i].location && pois[i].location.lng || null, address: pois[i].address || null, category: pois[i].category || null, adcode: pois[i].ad_info && pois[i].ad_info.adcode || null, city: pois[i].ad_info && pois[i].ad_info.city || null, district: pois[i].ad_info && pois[i].ad_info.district || null, province: pois[i].ad_info && pois[i].ad_info.province || null }) } param.success(data, { reverseGeocoderResult: reverseGeocoderResult, reverseGeocoderSimplify: reverseGeocoderSimplify, pois: pois, poisSimplify: poisSimplify }) } else { param.success(data, { reverseGeocoderResult: reverseGeocoderResult, reverseGeocoderSimplify: reverseGeocoderSimplify }) } } else if (feature == 'geocoder') { var geocoderResult = data.result; var geocoderSimplify = { title: geocoderResult.title || null, latitude: geocoderResult.location && geocoderResult.location.lat || null, longitude: geocoderResult.location && geocoderResult.location.lng || null, adcode: geocoderResult.ad_info && geocoderResult.ad_info.adcode || null, province: geocoderResult.address_components && geocoderResult.address_components.province || null, city: geocoderResult.address_components && geocoderResult.address_components.city || null, district: geocoderResult.address_components && geocoderResult.address_components.district || null, street: geocoderResult.address_components && geocoderResult.address_components.street || null, street_number: geocoderResult.address_components && geocoderResult.address_components.street_number || null, level: geocoderResult.level || null }; param.success(data, { geocoderResult: geocoderResult, geocoderSimplify: geocoderSimplify }) } else if (feature == 'getCityList') { var provinceResult = data.result[0]; var cityResult = data.result[1]; var districtResult = data.result[2]; param.success(data, { provinceResult: provinceResult, cityResult: cityResult, districtResult: districtResult }) } else if (feature == 'getDistrictByCityId') { var districtByCity = data.result[0]; param.success(data, districtByCity) } else if (feature == 'calculateDistance') { var calculateDistanceResult = data.result.elements; var distance = []; for (var i = 0; i < calculateDistanceResult.length; i++) { distance.push(calculateDistanceResult[i].distance) } param.success(data, { calculateDistanceResult: calculateDistanceResult, distance: distance }) } else if (feature == 'direction') { var direction = data.result.routes; param.success(data, direction) } else { param.success(data) } }, buildWxRequestConfig(param, options, feature) { var that = this; options.header = { "content-type": "application/json" }; options.method = 'GET'; options.success = function (res) { var data = res.data; if (data.status === 0) { that.handleData(param, data, feature) } else { param.fail(data) } }; options.fail = function (res) { res.statusCode = ERROR_CONF.WX_ERR_CODE; param.fail(that.buildErrorConfig(ERROR_CONF.WX_ERR_CODE, res.errMsg)) }; options.complete = function (res) { var statusCode = +res.statusCode; switch (statusCode) { case ERROR_CONF.WX_ERR_CODE: { param.complete(that.buildErrorConfig(ERROR_CONF.WX_ERR_CODE, res.errMsg)); break } case ERROR_CONF.WX_OK_CODE: { var data = res.data; if (data.status === 0) { param.complete(data) } else { param.complete(that.buildErrorConfig(data.status, data.message)) } break } default: { param.complete(that.buildErrorConfig(ERROR_CONF.SYSTEM_ERR, ERROR_CONF.SYSTEM_ERR_MSG)) } } }; return options }, locationProcess(param, locationsuccess, locationfail, locationcomplete) { var that = this; locationfail = locationfail || function (res) { res.statusCode = ERROR_CONF.WX_ERR_CODE; param.fail(that.buildErrorConfig(ERROR_CONF.WX_ERR_CODE, res.errMsg)) }; locationcomplete = locationcomplete || function (res) { if (res.statusCode == ERROR_CONF.WX_ERR_CODE) { param.complete(that.buildErrorConfig(ERROR_CONF.WX_ERR_CODE, res.errMsg)) } }; if (!param.location) { that.getWXLocation(locationsuccess, locationfail, locationcomplete) } else if (that.checkLocation(param)) { var location = Utils.getLocationParam(param.location); locationsuccess(location) } } }; class QQMapWX { constructor(options) { if (!options.key) { throw Error('key值不能为空') } this.key = options.key }; search(options) { var that = this; options = options || {}; Utils.polyfillParam(options); if (!Utils.checkKeyword(options)) { return } var requestParam = { keyword: options.keyword, orderby: options.orderby || '_distance', page_size: options.page_size || 10, page_index: options.page_index || 1, output: 'json', key: that.key }; if (options.address_format) { requestParam.address_format = options.address_format } if (options.filter) { requestParam.filter = options.filter } var distance = options.distance || "1000"; var auto_extend = options.auto_extend || 1; var region = null; var rectangle = null; if (options.region) { region = options.region } if (options.rectangle) { rectangle = options.rectangle } var locationsuccess = function (result) { if (region && !rectangle) { requestParam.boundary = "region(" + region + "," + auto_extend + "," + result.latitude + "," + result.longitude + ")"; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'search') } } else if (rectangle && !region) { requestParam.boundary = "rectangle(" + rectangle + ")"; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'search') } } else { requestParam.boundary = "nearby(" + result.latitude + "," + result.longitude + "," + distance + "," + auto_extend + ")"; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'search') } } wx.request(Utils.buildWxRequestConfig(options, { url: URL_SEARCH, data: requestParam }, 'search')) }; Utils.locationProcess(options, locationsuccess) }; getSuggestion(options) { var that = this; options = options || {}; Utils.polyfillParam(options); if (!Utils.checkKeyword(options)) { return } var requestParam = { keyword: options.keyword, region: options.region || '全国', region_fix: options.region_fix || 0, policy: options.policy || 0, page_size: options.page_size || 10, page_index: options.page_index || 1, get_subpois: options.get_subpois || 0, output: 'json', key: that.key }; if (options.address_format) { requestParam.address_format = options.address_format } if (options.filter) { requestParam.filter = options.filter } if (options.location) { var locationsuccess = function (result) { requestParam.location = result.latitude + ',' + result.longitude; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'suggest') } wx.request(Utils.buildWxRequestConfig(options, { url: URL_SUGGESTION, data: requestParam }, "suggest")) }; Utils.locationProcess(options, locationsuccess) } else { if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'suggest') } wx.request(Utils.buildWxRequestConfig(options, { url: URL_SUGGESTION, data: requestParam }, "suggest")) } }; reverseGeocoder(options) { var that = this; options = options || {}; Utils.polyfillParam(options); var requestParam = { coord_type: options.coord_type || 5, get_poi: options.get_poi || 0, output: 'json', key: that.key }; if (options.poi_options) { requestParam.poi_options = options.poi_options } var locationsuccess = function (result) { requestParam.location = result.latitude + ',' + result.longitude; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'reverseGeocoder') } wx.request(Utils.buildWxRequestConfig(options, { url: URL_GET_GEOCODER, data: requestParam }, 'reverseGeocoder')) }; Utils.locationProcess(options, locationsuccess) }; geocoder(options) { var that = this; options = options || {}; Utils.polyfillParam(options); if (Utils.checkParamKeyEmpty(options, 'address')) { return } var requestParam = { address: options.address, output: 'json', key: that.key }; if (options.region) { requestParam.region = options.region } if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'geocoder') } wx.request(Utils.buildWxRequestConfig(options, { url: URL_GET_GEOCODER, data: requestParam }, 'geocoder')) }; getCityList(options) { var that = this; options = options || {}; Utils.polyfillParam(options); var requestParam = { output: 'json', key: that.key }; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'getCityList') } wx.request(Utils.buildWxRequestConfig(options, { url: URL_CITY_LIST, data: requestParam }, 'getCityList')) }; getDistrictByCityId(options) { var that = this; options = options || {}; Utils.polyfillParam(options); if (Utils.checkParamKeyEmpty(options, 'id')) { return } var requestParam = { id: options.id || '', output: 'json', key: that.key }; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'getDistrictByCityId') } wx.request(Utils.buildWxRequestConfig(options, { url: URL_AREA_LIST, data: requestParam }, 'getDistrictByCityId')) }; calculateDistance(options) { var that = this; options = options || {}; Utils.polyfillParam(options); if (Utils.checkParamKeyEmpty(options, 'to')) { return } var requestParam = { mode: options.mode || 'walking', to: Utils.location2query(options.to), output: 'json', key: that.key }; if (options.from) { options.location = options.from } if (requestParam.mode == 'straight') { var locationsuccess = function (result) { var locationTo = Utils.getEndLocation(requestParam.to); var data = { message: "query ok", result: { elements: [] }, status: 0 }; for (var i = 0; i < locationTo.length; i++) { data.result.elements.push({ distance: Utils.getDistance(result.latitude, result.longitude, locationTo[i].lat, locationTo[i].lng), duration: 0, from: { lat: result.latitude, lng: result.longitude }, to: { lat: locationTo[i].lat, lng: locationTo[i].lng } }) } var calculateResult = data.result.elements; var distanceResult = []; for (var i = 0; i < calculateResult.length; i++) { distanceResult.push(calculateResult[i].distance) } return options.success(data, { calculateResult: calculateResult, distanceResult: distanceResult }) }; Utils.locationProcess(options, locationsuccess) } else { var locationsuccess = function (result) { requestParam.from = result.latitude + ',' + result.longitude; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'calculateDistance') } wx.request(Utils.buildWxRequestConfig(options, { url: URL_DISTANCE, data: requestParam }, 'calculateDistance')) }; Utils.locationProcess(options, locationsuccess) } }; direction(options) { var that = this; options = options || {}; Utils.polyfillParam(options); if (Utils.checkParamKeyEmpty(options, 'to')) { return } var requestParam = { output: 'json', key: that.key }; if (typeof options.to == 'string') { requestParam.to = options.to } else { requestParam.to = options.to.latitude + ',' + options.to.longitude } var SET_URL_DIRECTION = null; options.mode = options.mode || MODE.driving; SET_URL_DIRECTION = URL_DIRECTION + options.mode; if (options.from) { options.location = options.from } if (options.mode == MODE.driving) { if (options.from_poi) { requestParam.from_poi = options.from_poi } if (options.heading) { requestParam.heading = options.heading } if (options.speed) { requestParam.speed = options.speed } if (options.accuracy) { requestParam.accuracy = options.accuracy } if (options.road_type) { requestParam.road_type = options.road_type } if (options.to_poi) { requestParam.to_poi = options.to_poi } if (options.from_track) { requestParam.from_track = options.from_track } if (options.waypoints) { requestParam.waypoints = options.waypoints } if (options.policy) { requestParam.policy = options.policy } if (options.plate_number) { requestParam.plate_number = options.plate_number } } if (options.mode == MODE.transit) { if (options.departure_time) { requestParam.departure_time = options.departure_time } if (options.policy) { requestParam.policy = options.policy } } var locationsuccess = function (result) { requestParam.from = result.latitude + ',' + result.longitude; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'direction', options.mode) } wx.request(Utils.buildWxRequestConfig(options, { url: SET_URL_DIRECTION, data: requestParam }, 'direction')) }; Utils.locationProcess(options, locationsuccess) } }; module.exports = QQMapWX;
\ No newline at end of file
diff --git a/common/QrCode.js b/common/QrCode.js
new file mode 100644
index 0000000..a200359
--- /dev/null
+++ b/common/QrCode.js
@@ -0,0 +1,425 @@
+// Core code comes from https://github.com/davidshimjs/qrcodejs
+var QRCode;
+
+(function () {
+ /**
+ * Get the type by string length
+ *
+ * @private
+ * @param {String} sText
+ * @param {Number} nCorrectLevel
+ * @return {Number} type
+ */
+ function _getTypeNumber(sText, nCorrectLevel) {
+ var nType = 1;
+ var length = _getUTF8Length(sText);
+
+ for (var i = 0, len = QRCodeLimitLength.length; i <= len; i++) {
+ var nLimit = 0;
+
+ switch (nCorrectLevel) {
+ case QRErrorCorrectLevel.L:
+ nLimit = QRCodeLimitLength[i][0];
+ break;
+ case QRErrorCorrectLevel.M:
+ nLimit = QRCodeLimitLength[i][1];
+ break;
+ case QRErrorCorrectLevel.Q:
+ nLimit = QRCodeLimitLength[i][2];
+ break;
+ case QRErrorCorrectLevel.H:
+ nLimit = QRCodeLimitLength[i][3];
+ break;
+ }
+
+ if (length <= nLimit) {
+ break;
+ } else {
+ nType++;
+ }
+ }
+
+ if (nType > QRCodeLimitLength.length) {
+ throw new Error("Too long data");
+ }
+
+ return nType;
+ }
+
+ function _getUTF8Length(sText) {
+ var replacedText = encodeURI(sText).toString().replace(/\%[0-9a-fA-F]{2}/g, 'a');
+ return replacedText.length + (replacedText.length != sText ? 3 : 0);
+ }
+
+ function QR8bitByte(data) {
+ this.mode = QRMode.MODE_8BIT_BYTE;
+ this.data = data;
+ this.parsedData = [];
+
+ // Added to support UTF-8 Characters
+ for (var i = 0, l = this.data.length; i < l; i++) {
+ var byteArray = [];
+ var code = this.data.charCodeAt(i);
+
+ if (code > 0x10000) {
+ byteArray[0] = 0xF0 | ((code & 0x1C0000) >>> 18);
+ byteArray[1] = 0x80 | ((code & 0x3F000) >>> 12);
+ byteArray[2] = 0x80 | ((code & 0xFC0) >>> 6);
+ byteArray[3] = 0x80 | (code & 0x3F);
+ } else if (code > 0x800) {
+ byteArray[0] = 0xE0 | ((code & 0xF000) >>> 12);
+ byteArray[1] = 0x80 | ((code & 0xFC0) >>> 6);
+ byteArray[2] = 0x80 | (code & 0x3F);
+ } else if (code > 0x80) {
+ byteArray[0] = 0xC0 | ((code & 0x7C0) >>> 6);
+ byteArray[1] = 0x80 | (code & 0x3F);
+ } else {
+ byteArray[0] = code;
+ }
+
+ this.parsedData.push(byteArray);
+ }
+
+ this.parsedData = Array.prototype.concat.apply([], this.parsedData);
+
+ if (this.parsedData.length != this.data.length) {
+ this.parsedData.unshift(191);
+ this.parsedData.unshift(187);
+ this.parsedData.unshift(239);
+ }
+ }
+
+ QR8bitByte.prototype = {
+ getLength: function (buffer) {
+ return this.parsedData.length;
+ },
+ write: function (buffer) {
+ for (var i = 0, l = this.parsedData.length; i < l; i++) {
+ buffer.put(this.parsedData[i], 8);
+ }
+ }
+ };
+
+
+ // QRCodeModel
+ function QRCodeModel(typeNumber, errorCorrectLevel) {
+ this.typeNumber = typeNumber;
+ this.errorCorrectLevel = errorCorrectLevel;
+ this.modules = null;
+ this.moduleCount = 0;
+ this.dataCache = null;
+ this.dataList = [];
+ }
+ QRCodeModel.prototype = {
+ addData: function (data) { var newData = new QR8bitByte(data); this.dataList.push(newData); this.dataCache = null; }, isDark: function (row, col) {
+ if (row < 0 || this.moduleCount <= row || col < 0 || this.moduleCount <= col) { throw new Error(row + "," + col); }
+ return this.modules[row][col];
+ }, getModuleCount: function () { return this.moduleCount; }, make: function () { this.makeImpl(false, this.getBestMaskPattern()); }, makeImpl: function (test, maskPattern) {
+ this.moduleCount = this.typeNumber * 4 + 17; this.modules = new Array(this.moduleCount); for (var row = 0; row < this.moduleCount; row++) { this.modules[row] = new Array(this.moduleCount); for (var col = 0; col < this.moduleCount; col++) { this.modules[row][col] = null; } }
+ this.setupPositionProbePattern(0, 0); this.setupPositionProbePattern(this.moduleCount - 7, 0); this.setupPositionProbePattern(0, this.moduleCount - 7); this.setupPositionAdjustPattern(); this.setupTimingPattern(); this.setupTypeInfo(test, maskPattern); if (this.typeNumber >= 7) { this.setupTypeNumber(test); }
+ if (this.dataCache == null) { this.dataCache = QRCodeModel.createData(this.typeNumber, this.errorCorrectLevel, this.dataList); }
+ this.mapData(this.dataCache, maskPattern);
+ }, setupPositionProbePattern: function (row, col) { for (var r = -1; r <= 7; r++) { if (row + r <= -1 || this.moduleCount <= row + r) continue; for (var c = -1; c <= 7; c++) { if (col + c <= -1 || this.moduleCount <= col + c) continue; if ((0 <= r && r <= 6 && (c == 0 || c == 6)) || (0 <= c && c <= 6 && (r == 0 || r == 6)) || (2 <= r && r <= 4 && 2 <= c && c <= 4)) { this.modules[row + r][col + c] = true; } else { this.modules[row + r][col + c] = false; } } } }, getBestMaskPattern: function () {
+ var minLostPoint = 0; var pattern = 0; for (var i = 0; i < 8; i++) { this.makeImpl(true, i); var lostPoint = QRUtil.getLostPoint(this); if (i == 0 || minLostPoint > lostPoint) { minLostPoint = lostPoint; pattern = i; } }
+ return pattern;
+ }, createMovieClip: function (target_mc, instance_name, depth) {
+ var qr_mc = target_mc.createEmptyMovieClip(instance_name, depth); var cs = 1; this.make(); for (var row = 0; row < this.modules.length; row++) { var y = row * cs; for (var col = 0; col < this.modules[row].length; col++) { var x = col * cs; var dark = this.modules[row][col]; if (dark) { qr_mc.beginFill(0, 100); qr_mc.moveTo(x, y); qr_mc.lineTo(x + cs, y); qr_mc.lineTo(x + cs, y + cs); qr_mc.lineTo(x, y + cs); qr_mc.endFill(); } } }
+ return qr_mc;
+ }, setupTimingPattern: function () {
+ for (var r = 8; r < this.moduleCount - 8; r++) {
+ if (this.modules[r][6] != null) { continue; }
+ this.modules[r][6] = (r % 2 == 0);
+ }
+ for (var c = 8; c < this.moduleCount - 8; c++) {
+ if (this.modules[6][c] != null) { continue; }
+ this.modules[6][c] = (c % 2 == 0);
+ }
+ }, setupPositionAdjustPattern: function () {
+ var pos = QRUtil.getPatternPosition(this.typeNumber); for (var i = 0; i < pos.length; i++) {
+ for (var j = 0; j < pos.length; j++) {
+ var row = pos[i]; var col = pos[j]; if (this.modules[row][col] != null) { continue; }
+ for (var r = -2; r <= 2; r++) { for (var c = -2; c <= 2; c++) { if (r == -2 || r == 2 || c == -2 || c == 2 || (r == 0 && c == 0)) { this.modules[row + r][col + c] = true; } else { this.modules[row + r][col + c] = false; } } }
+ }
+ }
+ }, setupTypeNumber: function (test) {
+ var bits = QRUtil.getBCHTypeNumber(this.typeNumber); for (var i = 0; i < 18; i++) { var mod = (!test && ((bits >> i) & 1) == 1); this.modules[Math.floor(i / 3)][i % 3 + this.moduleCount - 8 - 3] = mod; }
+ for (var i = 0; i < 18; i++) { var mod = (!test && ((bits >> i) & 1) == 1); this.modules[i % 3 + this.moduleCount - 8 - 3][Math.floor(i / 3)] = mod; }
+ }, setupTypeInfo: function (test, maskPattern) {
+ var data = (this.errorCorrectLevel << 3) | maskPattern; var bits = QRUtil.getBCHTypeInfo(data); for (var i = 0; i < 15; i++) { var mod = (!test && ((bits >> i) & 1) == 1); if (i < 6) { this.modules[i][8] = mod; } else if (i < 8) { this.modules[i + 1][8] = mod; } else { this.modules[this.moduleCount - 15 + i][8] = mod; } }
+ for (var i = 0; i < 15; i++) { var mod = (!test && ((bits >> i) & 1) == 1); if (i < 8) { this.modules[8][this.moduleCount - i - 1] = mod; } else if (i < 9) { this.modules[8][15 - i - 1 + 1] = mod; } else { this.modules[8][15 - i - 1] = mod; } }
+ this.modules[this.moduleCount - 8][8] = (!test);
+ }, mapData: function (data, maskPattern) {
+ var inc = -1; var row = this.moduleCount - 1; var bitIndex = 7; var byteIndex = 0; for (var col = this.moduleCount - 1; col > 0; col -= 2) {
+ if (col == 6) col--; while (true) {
+ for (var c = 0; c < 2; c++) {
+ if (this.modules[row][col - c] == null) {
+ var dark = false; if (byteIndex < data.length) { dark = (((data[byteIndex] >>> bitIndex) & 1) == 1); }
+ var mask = QRUtil.getMask(maskPattern, row, col - c); if (mask) { dark = !dark; }
+ this.modules[row][col - c] = dark; bitIndex--; if (bitIndex == -1) { byteIndex++; bitIndex = 7; }
+ }
+ }
+ row += inc; if (row < 0 || this.moduleCount <= row) { row -= inc; inc = -inc; break; }
+ }
+ }
+ }
+ };
+ QRCodeModel.PAD0 = 0xEC;
+ QRCodeModel.PAD1 = 0x11;
+ QRCodeModel.createData = function (typeNumber, errorCorrectLevel, dataList) {
+ var rsBlocks = QRRSBlock.getRSBlocks(typeNumber, errorCorrectLevel); var buffer = new QRBitBuffer(); for (var i = 0; i < dataList.length; i++) { var data = dataList[i]; buffer.put(data.mode, 4); buffer.put(data.getLength(), QRUtil.getLengthInBits(data.mode, typeNumber)); data.write(buffer); }
+ var totalDataCount = 0; for (var i = 0; i < rsBlocks.length; i++) { totalDataCount += rsBlocks[i].dataCount; }
+ if (buffer.getLengthInBits() > totalDataCount * 8) {
+ throw new Error("code length overflow. ("
+ + buffer.getLengthInBits()
+ + ">"
+ + totalDataCount * 8
+ + ")");
+ }
+ if (buffer.getLengthInBits() + 4 <= totalDataCount * 8) { buffer.put(0, 4); }
+ while (buffer.getLengthInBits() % 8 != 0) { buffer.putBit(false); }
+ while (true) {
+ if (buffer.getLengthInBits() >= totalDataCount * 8) { break; }
+ buffer.put(QRCodeModel.PAD0, 8); if (buffer.getLengthInBits() >= totalDataCount * 8) { break; }
+ buffer.put(QRCodeModel.PAD1, 8);
+ }
+ return QRCodeModel.createBytes(buffer, rsBlocks);
+ };
+ QRCodeModel.createBytes = function (buffer, rsBlocks) {
+ var offset = 0; var maxDcCount = 0; var maxEcCount = 0; var dcdata = new Array(rsBlocks.length); var ecdata = new Array(rsBlocks.length); for (var r = 0; r < rsBlocks.length; r++) {
+ var dcCount = rsBlocks[r].dataCount; var ecCount = rsBlocks[r].totalCount - dcCount; maxDcCount = Math.max(maxDcCount, dcCount); maxEcCount = Math.max(maxEcCount, ecCount); dcdata[r] = new Array(dcCount); for (var i = 0; i < dcdata[r].length; i++) { dcdata[r][i] = 0xff & buffer.buffer[i + offset]; }
+ offset += dcCount; var rsPoly = QRUtil.getErrorCorrectPolynomial(ecCount); var rawPoly = new QRPolynomial(dcdata[r], rsPoly.getLength() - 1); var modPoly = rawPoly.mod(rsPoly); ecdata[r] = new Array(rsPoly.getLength() - 1); for (var i = 0; i < ecdata[r].length; i++) { var modIndex = i + modPoly.getLength() - ecdata[r].length; ecdata[r][i] = (modIndex >= 0) ? modPoly.get(modIndex) : 0; }
+ }
+ var totalCodeCount = 0; for (var i = 0; i < rsBlocks.length; i++) { totalCodeCount += rsBlocks[i].totalCount; }
+ var data = new Array(totalCodeCount); var index = 0; for (var i = 0; i < maxDcCount; i++) { for (var r = 0; r < rsBlocks.length; r++) { if (i < dcdata[r].length) { data[index++] = dcdata[r][i]; } } }
+ for (var i = 0; i < maxEcCount; i++) { for (var r = 0; r < rsBlocks.length; r++) { if (i < ecdata[r].length) { data[index++] = ecdata[r][i]; } } }
+ return data;
+ };
+ var QRMode = { MODE_NUMBER: 1 << 0, MODE_ALPHA_NUM: 1 << 1, MODE_8BIT_BYTE: 1 << 2, MODE_KANJI: 1 << 3 };
+ var QRErrorCorrectLevel = { L: 1, M: 0, Q: 3, H: 2 };
+ var QRMaskPattern = { PATTERN000: 0, PATTERN001: 1, PATTERN010: 2, PATTERN011: 3, PATTERN100: 4, PATTERN101: 5, PATTERN110: 6, PATTERN111: 7 };
+ var QRUtil = {
+ PATTERN_POSITION_TABLE: [[], [6, 18], [6, 22], [6, 26], [6, 30], [6, 34], [6, 22, 38], [6, 24, 42], [6, 26, 46], [6, 28, 50], [6, 30, 54], [6, 32, 58], [6, 34, 62], [6, 26, 46, 66], [6, 26, 48, 70], [6, 26, 50, 74], [6, 30, 54, 78], [6, 30, 56, 82], [6, 30, 58, 86], [6, 34, 62, 90], [6, 28, 50, 72, 94], [6, 26, 50, 74, 98], [6, 30, 54, 78, 102], [6, 28, 54, 80, 106], [6, 32, 58, 84, 110], [6, 30, 58, 86, 114], [6, 34, 62, 90, 118], [6, 26, 50, 74, 98, 122], [6, 30, 54, 78, 102, 126], [6, 26, 52, 78, 104, 130], [6, 30, 56, 82, 108, 134], [6, 34, 60, 86, 112, 138], [6, 30, 58, 86, 114, 142], [6, 34, 62, 90, 118, 146], [6, 30, 54, 78, 102, 126, 150], [6, 24, 50, 76, 102, 128, 154], [6, 28, 54, 80, 106, 132, 158], [6, 32, 58, 84, 110, 136, 162], [6, 26, 54, 82, 110, 138, 166], [6, 30, 58, 86, 114, 142, 170]], G15: (1 << 10) | (1 << 8) | (1 << 5) | (1 << 4) | (1 << 2) | (1 << 1) | (1 << 0), G18: (1 << 12) | (1 << 11) | (1 << 10) | (1 << 9) | (1 << 8) | (1 << 5) | (1 << 2) | (1 << 0), G15_MASK: (1 << 14) | (1 << 12) | (1 << 10) | (1 << 4) | (1 << 1), getBCHTypeInfo: function (data) {
+ var d = data << 10; while (QRUtil.getBCHDigit(d) - QRUtil.getBCHDigit(QRUtil.G15) >= 0) { d ^= (QRUtil.G15 << (QRUtil.getBCHDigit(d) - QRUtil.getBCHDigit(QRUtil.G15))); }
+ return ((data << 10) | d) ^ QRUtil.G15_MASK;
+ }, getBCHTypeNumber: function (data) {
+ var d = data << 12; while (QRUtil.getBCHDigit(d) - QRUtil.getBCHDigit(QRUtil.G18) >= 0) { d ^= (QRUtil.G18 << (QRUtil.getBCHDigit(d) - QRUtil.getBCHDigit(QRUtil.G18))); }
+ return (data << 12) | d;
+ }, getBCHDigit: function (data) {
+ var digit = 0; while (data != 0) { digit++; data >>>= 1; }
+ return digit;
+ }, getPatternPosition: function (typeNumber) { return QRUtil.PATTERN_POSITION_TABLE[typeNumber - 1]; }, getMask: function (maskPattern, i, j) { switch (maskPattern) { case QRMaskPattern.PATTERN000: return (i + j) % 2 == 0; case QRMaskPattern.PATTERN001: return i % 2 == 0; case QRMaskPattern.PATTERN010: return j % 3 == 0; case QRMaskPattern.PATTERN011: return (i + j) % 3 == 0; case QRMaskPattern.PATTERN100: return (Math.floor(i / 2) + Math.floor(j / 3)) % 2 == 0; case QRMaskPattern.PATTERN101: return (i * j) % 2 + (i * j) % 3 == 0; case QRMaskPattern.PATTERN110: return ((i * j) % 2 + (i * j) % 3) % 2 == 0; case QRMaskPattern.PATTERN111: return ((i * j) % 3 + (i + j) % 2) % 2 == 0; default: throw new Error("bad maskPattern:" + maskPattern); } }, getErrorCorrectPolynomial: function (errorCorrectLength) {
+ var a = new QRPolynomial([1], 0); for (var i = 0; i < errorCorrectLength; i++) { a = a.multiply(new QRPolynomial([1, QRMath.gexp(i)], 0)); }
+ return a;
+ }, getLengthInBits: function (mode, type) { if (1 <= type && type < 10) { switch (mode) { case QRMode.MODE_NUMBER: return 10; case QRMode.MODE_ALPHA_NUM: return 9; case QRMode.MODE_8BIT_BYTE: return 8; case QRMode.MODE_KANJI: return 8; default: throw new Error("mode:" + mode); } } else if (type < 27) { switch (mode) { case QRMode.MODE_NUMBER: return 12; case QRMode.MODE_ALPHA_NUM: return 11; case QRMode.MODE_8BIT_BYTE: return 16; case QRMode.MODE_KANJI: return 10; default: throw new Error("mode:" + mode); } } else if (type < 41) { switch (mode) { case QRMode.MODE_NUMBER: return 14; case QRMode.MODE_ALPHA_NUM: return 13; case QRMode.MODE_8BIT_BYTE: return 16; case QRMode.MODE_KANJI: return 12; default: throw new Error("mode:" + mode); } } else { throw new Error("type:" + type); } }, getLostPoint: function (qrCode) {
+ var moduleCount = qrCode.getModuleCount(); var lostPoint = 0; for (var row = 0; row < moduleCount; row++) {
+ for (var col = 0; col < moduleCount; col++) {
+ var sameCount = 0; var dark = qrCode.isDark(row, col); for (var r = -1; r <= 1; r++) {
+ if (row + r < 0 || moduleCount <= row + r) { continue; }
+ for (var c = -1; c <= 1; c++) {
+ if (col + c < 0 || moduleCount <= col + c) { continue; }
+ if (r == 0 && c == 0) { continue; }
+ if (dark == qrCode.isDark(row + r, col + c)) { sameCount++; }
+ }
+ }
+ if (sameCount > 5) { lostPoint += (3 + sameCount - 5); }
+ }
+ }
+ for (var row = 0; row < moduleCount - 1; row++) { for (var col = 0; col < moduleCount - 1; col++) { var count = 0; if (qrCode.isDark(row, col)) count++; if (qrCode.isDark(row + 1, col)) count++; if (qrCode.isDark(row, col + 1)) count++; if (qrCode.isDark(row + 1, col + 1)) count++; if (count == 0 || count == 4) { lostPoint += 3; } } }
+ for (var row = 0; row < moduleCount; row++) { for (var col = 0; col < moduleCount - 6; col++) { if (qrCode.isDark(row, col) && !qrCode.isDark(row, col + 1) && qrCode.isDark(row, col + 2) && qrCode.isDark(row, col + 3) && qrCode.isDark(row, col + 4) && !qrCode.isDark(row, col + 5) && qrCode.isDark(row, col + 6)) { lostPoint += 40; } } }
+ for (var col = 0; col < moduleCount; col++) { for (var row = 0; row < moduleCount - 6; row++) { if (qrCode.isDark(row, col) && !qrCode.isDark(row + 1, col) && qrCode.isDark(row + 2, col) && qrCode.isDark(row + 3, col) && qrCode.isDark(row + 4, col) && !qrCode.isDark(row + 5, col) && qrCode.isDark(row + 6, col)) { lostPoint += 40; } } }
+ var darkCount = 0; for (var col = 0; col < moduleCount; col++) { for (var row = 0; row < moduleCount; row++) { if (qrCode.isDark(row, col)) { darkCount++; } } }
+ var ratio = Math.abs(100 * darkCount / moduleCount / moduleCount - 50) / 5; lostPoint += ratio * 10; return lostPoint;
+ }
+ };
+ var QRMath = {
+ glog: function (n) {
+ if (n < 1) { throw new Error("glog(" + n + ")"); }
+ return QRMath.LOG_TABLE[n];
+ }, gexp: function (n) {
+ while (n < 0) { n += 255; }
+ while (n >= 256) { n -= 255; }
+ return QRMath.EXP_TABLE[n];
+ }, EXP_TABLE: new Array(256), LOG_TABLE: new Array(256)
+ }; for (var i = 0; i < 8; i++) { QRMath.EXP_TABLE[i] = 1 << i; }
+ for (var i = 8; i < 256; i++) { QRMath.EXP_TABLE[i] = QRMath.EXP_TABLE[i - 4] ^ QRMath.EXP_TABLE[i - 5] ^ QRMath.EXP_TABLE[i - 6] ^ QRMath.EXP_TABLE[i - 8]; }
+ for (var i = 0; i < 255; i++) { QRMath.LOG_TABLE[QRMath.EXP_TABLE[i]] = i; }
+ function QRPolynomial(num, shift) {
+ if (num.length == undefined) { throw new Error(num.length + "/" + shift); }
+ var offset = 0; while (offset < num.length && num[offset] == 0) { offset++; }
+ this.num = new Array(num.length - offset + shift); for (var i = 0; i < num.length - offset; i++) { this.num[i] = num[i + offset]; }
+ }
+ QRPolynomial.prototype = {
+ get: function (index) { return this.num[index]; }, getLength: function () { return this.num.length; }, multiply: function (e) {
+ var num = new Array(this.getLength() + e.getLength() - 1); for (var i = 0; i < this.getLength(); i++) { for (var j = 0; j < e.getLength(); j++) { num[i + j] ^= QRMath.gexp(QRMath.glog(this.get(i)) + QRMath.glog(e.get(j))); } }
+ return new QRPolynomial(num, 0);
+ }, mod: function (e) {
+ if (this.getLength() - e.getLength() < 0) { return this; }
+ var ratio = QRMath.glog(this.get(0)) - QRMath.glog(e.get(0)); var num = new Array(this.getLength()); for (var i = 0; i < this.getLength(); i++) { num[i] = this.get(i); }
+ for (var i = 0; i < e.getLength(); i++) { num[i] ^= QRMath.gexp(QRMath.glog(e.get(i)) + ratio); }
+ return new QRPolynomial(num, 0).mod(e);
+ }
+ };
+ function QRRSBlock(totalCount, dataCount) { this.totalCount = totalCount; this.dataCount = dataCount; }
+ QRRSBlock.RS_BLOCK_TABLE = [[1, 26, 19], [1, 26, 16], [1, 26, 13], [1, 26, 9], [1, 44, 34], [1, 44, 28], [1, 44, 22], [1, 44, 16], [1, 70, 55], [1, 70, 44], [2, 35, 17], [2, 35, 13], [1, 100, 80], [2, 50, 32], [2, 50, 24], [4, 25, 9], [1, 134, 108], [2, 67, 43], [2, 33, 15, 2, 34, 16], [2, 33, 11, 2, 34, 12], [2, 86, 68], [4, 43, 27], [4, 43, 19], [4, 43, 15], [2, 98, 78], [4, 49, 31], [2, 32, 14, 4, 33, 15], [4, 39, 13, 1, 40, 14], [2, 121, 97], [2, 60, 38, 2, 61, 39], [4, 40, 18, 2, 41, 19], [4, 40, 14, 2, 41, 15], [2, 146, 116], [3, 58, 36, 2, 59, 37], [4, 36, 16, 4, 37, 17], [4, 36, 12, 4, 37, 13], [2, 86, 68, 2, 87, 69], [4, 69, 43, 1, 70, 44], [6, 43, 19, 2, 44, 20], [6, 43, 15, 2, 44, 16], [4, 101, 81], [1, 80, 50, 4, 81, 51], [4, 50, 22, 4, 51, 23], [3, 36, 12, 8, 37, 13], [2, 116, 92, 2, 117, 93], [6, 58, 36, 2, 59, 37], [4, 46, 20, 6, 47, 21], [7, 42, 14, 4, 43, 15], [4, 133, 107], [8, 59, 37, 1, 60, 38], [8, 44, 20, 4, 45, 21], [12, 33, 11, 4, 34, 12], [3, 145, 115, 1, 146, 116], [4, 64, 40, 5, 65, 41], [11, 36, 16, 5, 37, 17], [11, 36, 12, 5, 37, 13], [5, 109, 87, 1, 110, 88], [5, 65, 41, 5, 66, 42], [5, 54, 24, 7, 55, 25], [11, 36, 12], [5, 122, 98, 1, 123, 99], [7, 73, 45, 3, 74, 46], [15, 43, 19, 2, 44, 20], [3, 45, 15, 13, 46, 16], [1, 135, 107, 5, 136, 108], [10, 74, 46, 1, 75, 47], [1, 50, 22, 15, 51, 23], [2, 42, 14, 17, 43, 15], [5, 150, 120, 1, 151, 121], [9, 69, 43, 4, 70, 44], [17, 50, 22, 1, 51, 23], [2, 42, 14, 19, 43, 15], [3, 141, 113, 4, 142, 114], [3, 70, 44, 11, 71, 45], [17, 47, 21, 4, 48, 22], [9, 39, 13, 16, 40, 14], [3, 135, 107, 5, 136, 108], [3, 67, 41, 13, 68, 42], [15, 54, 24, 5, 55, 25], [15, 43, 15, 10, 44, 16], [4, 144, 116, 4, 145, 117], [17, 68, 42], [17, 50, 22, 6, 51, 23], [19, 46, 16, 6, 47, 17], [2, 139, 111, 7, 140, 112], [17, 74, 46], [7, 54, 24, 16, 55, 25], [34, 37, 13], [4, 151, 121, 5, 152, 122], [4, 75, 47, 14, 76, 48], [11, 54, 24, 14, 55, 25], [16, 45, 15, 14, 46, 16], [6, 147, 117, 4, 148, 118], [6, 73, 45, 14, 74, 46], [11, 54, 24, 16, 55, 25], [30, 46, 16, 2, 47, 17], [8, 132, 106, 4, 133, 107], [8, 75, 47, 13, 76, 48], [7, 54, 24, 22, 55, 25], [22, 45, 15, 13, 46, 16], [10, 142, 114, 2, 143, 115], [19, 74, 46, 4, 75, 47], [28, 50, 22, 6, 51, 23], [33, 46, 16, 4, 47, 17], [8, 152, 122, 4, 153, 123], [22, 73, 45, 3, 74, 46], [8, 53, 23, 26, 54, 24], [12, 45, 15, 28, 46, 16], [3, 147, 117, 10, 148, 118], [3, 73, 45, 23, 74, 46], [4, 54, 24, 31, 55, 25], [11, 45, 15, 31, 46, 16], [7, 146, 116, 7, 147, 117], [21, 73, 45, 7, 74, 46], [1, 53, 23, 37, 54, 24], [19, 45, 15, 26, 46, 16], [5, 145, 115, 10, 146, 116], [19, 75, 47, 10, 76, 48], [15, 54, 24, 25, 55, 25], [23, 45, 15, 25, 46, 16], [13, 145, 115, 3, 146, 116], [2, 74, 46, 29, 75, 47], [42, 54, 24, 1, 55, 25], [23, 45, 15, 28, 46, 16], [17, 145, 115], [10, 74, 46, 23, 75, 47], [10, 54, 24, 35, 55, 25], [19, 45, 15, 35, 46, 16], [17, 145, 115, 1, 146, 116], [14, 74, 46, 21, 75, 47], [29, 54, 24, 19, 55, 25], [11, 45, 15, 46, 46, 16], [13, 145, 115, 6, 146, 116], [14, 74, 46, 23, 75, 47], [44, 54, 24, 7, 55, 25], [59, 46, 16, 1, 47, 17], [12, 151, 121, 7, 152, 122], [12, 75, 47, 26, 76, 48], [39, 54, 24, 14, 55, 25], [22, 45, 15, 41, 46, 16], [6, 151, 121, 14, 152, 122], [6, 75, 47, 34, 76, 48], [46, 54, 24, 10, 55, 25], [2, 45, 15, 64, 46, 16], [17, 152, 122, 4, 153, 123], [29, 74, 46, 14, 75, 47], [49, 54, 24, 10, 55, 25], [24, 45, 15, 46, 46, 16], [4, 152, 122, 18, 153, 123], [13, 74, 46, 32, 75, 47], [48, 54, 24, 14, 55, 25], [42, 45, 15, 32, 46, 16], [20, 147, 117, 4, 148, 118], [40, 75, 47, 7, 76, 48], [43, 54, 24, 22, 55, 25], [10, 45, 15, 67, 46, 16], [19, 148, 118, 6, 149, 119], [18, 75, 47, 31, 76, 48], [34, 54, 24, 34, 55, 25], [20, 45, 15, 61, 46, 16]];
+ QRRSBlock.getRSBlocks = function (typeNumber, errorCorrectLevel) {
+ var rsBlock = QRRSBlock.getRsBlockTable(typeNumber, errorCorrectLevel); if (rsBlock == undefined) { throw new Error("bad rs block @ typeNumber:" + typeNumber + "/errorCorrectLevel:" + errorCorrectLevel); }
+ var length = rsBlock.length / 3; var list = []; for (var i = 0; i < length; i++) { var count = rsBlock[i * 3 + 0]; var totalCount = rsBlock[i * 3 + 1]; var dataCount = rsBlock[i * 3 + 2]; for (var j = 0; j < count; j++) { list.push(new QRRSBlock(totalCount, dataCount)); } }
+ return list;
+ };
+ QRRSBlock.getRsBlockTable = function (typeNumber, errorCorrectLevel) { switch (errorCorrectLevel) { case QRErrorCorrectLevel.L: return QRRSBlock.RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 0]; case QRErrorCorrectLevel.M: return QRRSBlock.RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 1]; case QRErrorCorrectLevel.Q: return QRRSBlock.RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 2]; case QRErrorCorrectLevel.H: return QRRSBlock.RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 3]; default: return undefined; } };
+ function QRBitBuffer() { this.buffer = []; this.length = 0; }
+ QRBitBuffer.prototype = {
+ get: function (index) { var bufIndex = Math.floor(index / 8); return ((this.buffer[bufIndex] >>> (7 - index % 8)) & 1) == 1; }, put: function (num, length) { for (var i = 0; i < length; i++) { this.putBit(((num >>> (length - i - 1)) & 1) == 1); } }, getLengthInBits: function () { return this.length; }, putBit: function (bit) {
+ var bufIndex = Math.floor(this.length / 8); if (this.buffer.length <= bufIndex) { this.buffer.push(0); }
+ if (bit) { this.buffer[bufIndex] |= (0x80 >>> (this.length % 8)); }
+ this.length++;
+ }
+ };
+ var QRCodeLimitLength = [[17, 14, 11, 7], [32, 26, 20, 14], [53, 42, 32, 24], [78, 62, 46, 34], [106, 84, 60, 44], [134, 106, 74, 58], [154, 122, 86, 64], [192, 152, 108, 84], [230, 180, 130, 98], [271, 213, 151, 119], [321, 251, 177, 137], [367, 287, 203, 155], [425, 331, 241, 177], [458, 362, 258, 194], [520, 412, 292, 220], [586, 450, 322, 250], [644, 504, 364, 280], [718, 560, 394, 310], [792, 624, 442, 338], [858, 666, 482, 382], [929, 711, 509, 403], [1003, 779, 565, 439], [1091, 857, 611, 461], [1171, 911, 661, 511], [1273, 997, 715, 535], [1367, 1059, 751, 593], [1465, 1125, 805, 625], [1528, 1190, 868, 658], [1628, 1264, 908, 698], [1732, 1370, 982, 742], [1840, 1452, 1030, 790], [1952, 1538, 1112, 842], [2068, 1628, 1168, 898], [2188, 1722, 1228, 958], [2303, 1809, 1283, 983], [2431, 1911, 1351, 1051], [2563, 1989, 1423, 1093], [2699, 2099, 1499, 1139], [2809, 2213, 1579, 1219], [2953, 2331, 1663, 1273]];
+
+ // QRCode object
+ QRCode = function (canvasId, vOption) {
+ this._htOption = {
+ width: 256,
+ height: 256,
+ typeNumber: 4,
+ colorDark: "#000000",
+ colorLight: "#ffffff",
+ correctLevel: QRErrorCorrectLevel.H
+ };
+
+ if (typeof vOption === 'string') {
+ vOption = {
+ text: vOption
+ };
+ }
+
+ // Overwrites options
+ if (vOption) {
+ for (var i in vOption) {
+ this._htOption[i] = vOption[i];
+ }
+ }
+
+ this._oQRCode = null;
+ this.canvasId = canvasId
+
+ if (this._htOption.text && this.canvasId) {
+ this.makeCode(this._htOption.text);
+ }
+ };
+
+ QRCode.prototype.makeCode = function (sText) {
+ this._oQRCode = new QRCodeModel(_getTypeNumber(sText, this._htOption.correctLevel), this._htOption.correctLevel);
+ this._oQRCode.addData(sText);
+ this._oQRCode.make();
+ this.makeImage();
+ };
+
+ QRCode.prototype.makeImage = function () {
+ var _oContext
+ if (this._htOption.usingIn) {
+ _oContext = wx.createCanvasContext(this.canvasId, this._htOption.usingIn)
+ }
+ else {
+ _oContext = wx.createCanvasContext(this.canvasId)
+ }
+ var _htOption = this._htOption;
+ var oQRCode = this._oQRCode
+
+ var nCount = oQRCode.getModuleCount();
+ var nWidth = _htOption.padding ? (_htOption.width - 2 * _htOption.padding) / nCount : _htOption.width / nCount;
+ var nHeight = _htOption.padding ? (_htOption.height - 2 * _htOption.padding) / nCount : _htOption.height / nCount;
+ var nRoundedHeight = Math.round(nHeight);
+ var nRoundedWidth = Math.round(nWidth);
+
+ if (_htOption.image && _htOption.image != '') {
+ _oContext.drawImage(_htOption.image, 0, 0, _htOption.width, _htOption.height)
+ }
+ _oContext.setFillStyle('#fff')
+ _oContext.fillRect(0, 0, _htOption.width, _htOption.height)
+ _oContext.save()
+ for (var row = 0; row < nCount; row++) {
+ for (var col = 0; col < nCount; col++) {
+ var bIsDark = oQRCode.isDark(row, col);
+ var nLeft = _htOption.padding ? col * nWidth + _htOption.padding : col * nWidth;
+ var nTop = _htOption.padding ? row * nHeight + _htOption.padding : row * nHeight;
+ _oContext.setStrokeStyle(bIsDark ? _htOption.colorDark : _htOption.colorLight)
+ // _oContext.setStrokeStyle('red')
+ _oContext.setLineWidth(1)
+ _oContext.setFillStyle(bIsDark ? _htOption.colorDark : _htOption.colorLight)
+ // _oContext.setFillStyle('red')
+ // if (bIsDark) {
+ _oContext.fillRect(nLeft, nTop, nWidth, nHeight);
+ // }
+
+ // 안티 앨리어싱 방지 처리
+ // if (bIsDark) {
+ _oContext.strokeRect(
+ Math.floor(nLeft) + 0.5,
+ Math.floor(nTop) + 0.5,
+ nRoundedHeight
+ );
+
+ _oContext.strokeRect(
+ Math.ceil(nLeft) - 0.5,
+ Math.ceil(nTop) - 0.5,
+ nRoundedWidth,
+ nRoundedHeight
+ );
+ // }
+ // _oContext.fillRect(
+ // Math.floor(nLeft) + 0.5,
+ // Math.floor(nTop) + 0.5,
+ // nRoundedWidth,
+ // nRoundedHeight
+ // );
+ // _oContext.fillRect(
+ // Math.ceil(nLeft) - 0.5,
+ // Math.ceil(nTop) - 0.5,
+ // nRoundedWidth,
+ // nRoundedHeight
+ // );
+ // _oContext.clearRect(
+ // Math.floor(nLeft) + 0.5,
+ // Math.floor(nTop) + 0.5,
+ // nRoundedWidth,
+ // nRoundedHeight
+ // );
+ // _oContext.clearRect(
+ // Math.ceil(nLeft) - 0.5,
+ // Math.ceil(nTop) - 0.5,
+ // nRoundedWidth,
+ // nRoundedHeight
+ // );
+ }
+ }
+
+ _oContext.draw(false, () => {
+ setTimeout(() => {
+ this.exportImage()
+ }, 800)
+ })
+ };
+ // 保存为图片,将临时路径传给回调
+ QRCode.prototype.exportImage = function (callback) {
+ if (this._htOption.callback && typeof this._htOption.callback === 'function') {
+ wx.canvasToTempFilePath({
+ x: 0,
+ y: 0,
+ width: this._htOption.width,
+ height: this._htOption.height,
+ destWidth: this._htOption.width,
+ destHeight: this._htOption.height,
+ canvasId: this.canvasId,
+ success: (res) => {
+ this._htOption.callback({path: res.tempFilePath})
+ }
+ })
+ }
+ }
+
+ QRCode.CorrectLevel = QRErrorCorrectLevel;
+})();
+
+module.exports = QRCode
\ No newline at end of file
diff --git a/common/util.js b/common/util.js
new file mode 100644
index 0000000..f49a03f
--- /dev/null
+++ b/common/util.js
@@ -0,0 +1,26 @@
+const formatTime = date => {
+ const year = date.getFullYear()
+ const month = date.getMonth() + 1
+ const day = date.getDate()
+ const hour = date.getHours()
+ const minute = date.getMinutes()
+ const second = date.getSeconds()
+ return [year, month, day].map(formatNumber).join('/') + ' ' + [hour, minute, second].map(formatNumber).join(':')
+}
+const formatDate = date => {
+ const year = date.getFullYear()
+ const month = date.getMonth() + 1
+ const day = date.getDate()
+
+
+ return [year, month, day].map(formatNumber).join('-')
+}
+const formatNumber = n => {
+ n = n.toString()
+ return n[1] ? n : '0' + n
+}
+
+module.exports = {
+ formatTime: formatTime,
+ formatDate: formatDate
+}
\ No newline at end of file
diff --git a/components/drag_demo/DragButton.vue b/components/drag_demo/DragButton.vue
new file mode 100644
index 0000000..c0b90de
--- /dev/null
+++ b/components/drag_demo/DragButton.vue
@@ -0,0 +1,143 @@
+
+
3j=7hR9QAykU!FhU`Qh{aykDRH;1g?ZYQS?w_{^zOr+83?dg%Z9^?z~T0RP9w
zTwmw^cSq@I-^b-_+N~28Zt |6j%`f3ak{e*!@zNOc#}*YsriNb<7J9
zVsb=9rz0=8#mFweRpHTV9r>Xa6()jO5uFO2Xl4;+!vd}dj|K Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@
z1ONa40RR91T%ZF01ONa40RR91TmS$70AUEp9{>Oos!2paRCoc^T?=>=*L6O#552YM
z0SJLC1bPCJL5``N8f?jqpUKzsBl$=jN{9=7BzEJtt|2k5T|35(apSs8;(R5E6UXKY
zCN^pNIS}iOKnNrYjEQ84hmg<{0Ya jP|IG$iB>7xMjSe=!h1b6o$Ultr0d=Op
zels`^PGo9%C}ojq7ijE)Mg9(H