@10yun/cv-mobile-ui 0.5.55 → 0.5.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{ui-sdks → other}/qiun-data-charts/js_sdk/u-charts/config-ucharts.js +605 -605
- package/{ui-sdks → other}/qiun-data-charts/package.json +2 -1
- package/other/qiun-data-charts_2.5.0-20230101_example/App.vue +20 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/common/uni-icons.css +542 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/common/uni.css +246 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/components/qiun-title-bar/qiun-title-bar.vue +51 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/components/test-charts/test-charts.vue +48 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/main.js +13 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/manifest.json +75 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/mockdata/demodata.json +448 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/mockdata/mapdata.json +1 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/canvas/canvas.vue +142 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/echarts/echarts.vue +228 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/format-e/format-e.vue +113 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/format-u/format-u.vue +110 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/index/index.vue +58 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/layout/layout.vue +174 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/other/other.vue +233 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/tab/tab.vue +115 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/ucharts/ucharts.vue +339 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/unicloud/unicloud.vue +117 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/updata/updata.vue +212 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/pages.json +79 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/static/logo.png +0 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/uni.scss +76 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/uniCloud-aliyun/database/db_init.json +455 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/uniCloud-aliyun/database/qiun-charts-demo.schema.json +76 -0
- package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate0.vue +2 -1
- package/other/{u-parse-2019 → u-parse}/libs/html2json.js +2 -2
- package/other/{uParse → u-parse}/libs/wxDiscode.js +1 -1
- package/other/u-parse/readme.md +102 -0
- package/other/{u-parse-2019 → u-parse}/u-parse.vue +1 -6
- package/other/u-parse2026/libs/html2json.js +2 -2
- package/other/u-parse2026/libs/wxDiscode.js +1 -1
- package/other/u-parse2026/u-parse.css +1 -0
- package/other/u-parse2026/u-parse.vue +1 -3
- package/other/uParse2/components/wxParseAudio.vue +1 -0
- package/other/{uParse → uParse2}/components/wxParseImg.vue +4 -4
- package/other/{uParse → uParse2}/components/wxParseTable.vue +15 -6
- package/other/{uParse → uParse2}/components/wxParseTemplate0.vue +7 -6
- package/other/{uParse → uParse2}/components/wxParseTemplate1.vue +10 -0
- package/other/{uParse → uParse2}/libs/html2json.js +2 -2
- package/other/{u-parse-2019 → uParse2}/libs/wxDiscode.js +1 -1
- package/other/{uParse/wxParse.css → uParse2/u-parse.css} +4 -4
- package/other/{uParse/wxParse.vue → uParse2/u-parse.vue} +18 -11
- package/other/uParse2/u-parse2.css +264 -0
- package/package.json +1 -1
- package/ui-cv/components/cv-dialog-share/cv-dialog-share.vue +7 -7
- package/ui-cv/components/cv-geo-local/cv-geo-local.vue +1 -1
- package/ui-cv/components/cv-icons/cv-icons.vue +18 -62
- package/ui-cv/components/cv-icons/iconfont/font-default-icons.js +127 -131
- package/ui-cv/components/cv-input-password/cv-input-password.vue +1 -1
- package/ui-cv/components/cv-mask-svg/cv-mask-svg.vue +1 -1
- package/ui-cv/components/cv-mask-svg/mixins.js +16 -12
- package/ui-cv/components/cv-upload-image/cv-upload-image.vue +4 -4
- package/ui-fireui/components/u-share-model/u-share-model.vue +1 -1
- package/ui-fireui/components/u-uploadsamll/u-uploadsamll.vue +1 -1
- package/uview-plus/components/u-dropdown-list/u-dropdown-list.vue +1 -2
- package/uview-plus/components/u-form/form.js +13 -12
- package/uview-plus/components/u-image/u-image-wu.vue +25 -1
- package/uview-plus/components/u-parse/README.md +192 -0
- package/uview-plus/components/u-parse/changelog.md +163 -0
- package/uview-plus/components/u-parse/node/node.vue +37 -3
- package/{uni-ui/lib/uni-breadcrumb → uview-plus/components/u-parse}/package.json +24 -29
- package/uview-plus/components/u-parse/parser.js +8 -3
- package/uview-plus/components/u-parse/static/app-plus/up-parse/js/handler.js +1 -0
- package/uview-plus/components/u-parse/static/app-plus/up-parse/local-2.5.2.html +29 -0
- package/uview-plus/components/u-parse/u-parse.vue +29 -1
- package/other/lime-painter2/README2.md +0 -576
- package/other/lime-painter2/changelog.md +0 -225
- package/other/lime-painter2/package.json +0 -93
- package/other/lime-painter2/readme.md +0 -758
- package/other/lime-painter2/test.md +0 -45
- package/other/qiun-data-charts/qiun-data-charts.vue +0 -1618
- package/other/u-parse-2019/readme.md +0 -99
- package/other/uParse/components/style.css +0 -1
- package/other/uParse/components/wxParseAudio.vue +0 -1
- package/other/xt-parse/changelog.md +0 -41
- package/other/xt-parse/node/node.vue +0 -752
- package/other/xt-parse/package.json +0 -129
- package/other/xt-parse/parser.js +0 -1461
- package/other/xt-parse/props.js +0 -49
- package/other/xt-parse/readme.md +0 -145
- package/other/xt-parse/static/app-plus/u-parse/js/handler.js +0 -1
- package/other/xt-parse/u-parse.vue +0 -510
- package/plugins/luch-request/adapters/index.js +0 -131
- package/plugins/luch-request/core/InterceptorManager.js +0 -50
- package/plugins/luch-request/core/Request.js +0 -199
- package/plugins/luch-request/core/buildFullPath.js +0 -20
- package/plugins/luch-request/core/defaults.js +0 -32
- package/plugins/luch-request/core/dispatchRequest.js +0 -5
- package/plugins/luch-request/core/mergeConfig.js +0 -125
- package/plugins/luch-request/core/settle.js +0 -16
- package/plugins/luch-request/helpers/buildURL.js +0 -71
- package/plugins/luch-request/helpers/combineURLs.js +0 -12
- package/plugins/luch-request/helpers/isAbsoluteURL.js +0 -14
- package/plugins/luch-request/index.d.ts +0 -197
- package/plugins/luch-request/index.js +0 -2
- package/plugins/luch-request/readme.md +0 -3
- package/plugins/luch-request/utils/clone.js +0 -260
- package/plugins/luch-request/utils.js +0 -131
- package/ui-cv/components/cv-cell-row/cv-cell-row.vue +0 -220
- package/ui-cv/components/cv-icons/iconfont/font-action-icons.js +0 -73
- package/ui-cv/components/cv-icons/iconfont/font-action.css +0 -7
- package/ui-cv/components/cv-icons/iconfont/font-action.js +0 -5
- package/ui-cv/components/cv-icons/iconfont/font-arrow-icons.js +0 -47
- package/ui-cv/components/cv-icons/iconfont/font-arrow.css +0 -6
- package/ui-cv/components/cv-icons/iconfont/font-arrow.js +0 -5
- package/ui-cv/components/cv-icons/iconfont/font-base-icons.js +0 -92
- package/ui-cv/components/cv-icons/iconfont/font-base.css +0 -6
- package/ui-cv/components/cv-icons/iconfont/font-base.js +0 -5
- package/ui-cv/components/cv-icons/iconfont/font-mall-icons.js +0 -35
- package/ui-cv/components/cv-icons/iconfont/font-mall.css +0 -7
- package/ui-cv/components/cv-icons/iconfont/font-mall.js +0 -5
- package/ui-cv/components/cv-icons/iconfont/font-media-icons.js +0 -45
- package/ui-cv/components/cv-icons/iconfont/font-media.css +0 -7
- package/ui-cv/components/cv-icons/iconfont/font-media.js +0 -5
- package/ui-cv/components/cv-icons/iconfont/font-order-icons.js +0 -34
- package/ui-cv/components/cv-icons/iconfont/font-order.css +0 -6
- package/ui-cv/components/cv-icons/iconfont/font-order.js +0 -5
- package/ui-cv/components/cv-icons/iconfont/font-people-icons.js +0 -49
- package/ui-cv/components/cv-icons/iconfont/font-people.css +0 -7
- package/ui-cv/components/cv-icons/iconfont/font-people.js +0 -5
- package/ui-cv/components/cv-icons/iconfont/font-status-icons.js +0 -34
- package/ui-cv/components/cv-icons/iconfont/font-status.css +0 -6
- package/ui-cv/components/cv-icons/iconfont/font-status.js +0 -5
- package/ui-cv/components/cv-icons/iconfont/font-wallet-icons.js +0 -17
- package/ui-cv/components/cv-icons/iconfont/font-wallet.css +0 -6
- package/ui-cv/components/cv-icons/iconfont/font-wallet.js +0 -5
- package/ui-cv/components/cv-icons/icons/default-icons.js +0 -132
- package/ui-cv/components/cv-icons/icons/icons-action.js +0 -72
- package/ui-cv/components/cv-icons/icons/icons-arrow.js +0 -46
- package/ui-cv/components/cv-icons/icons/icons-base.js +0 -89
- package/ui-cv/components/cv-icons/icons/icons-mall.js +0 -34
- package/ui-cv/components/cv-icons/icons/icons-media.js +0 -44
- package/ui-cv/components/cv-icons/icons/icons-order.js +0 -33
- package/ui-cv/components/cv-icons/icons/icons-people.js +0 -46
- package/ui-cv/components/cv-icons/icons/icons-status.js +0 -32
- package/ui-cv/components/cv-icons/icons/icons-wallet.js +0 -15
- package/ui-sdks/sdk-app-update/img/logo.png +0 -0
- package/ui-sdks/sdk-app-update/img/update_bg.png +0 -0
- package/ui-sdks/sdk-app-update/img/update_bg_top.png +0 -0
- package/ui-sdks/sdk-app-update/sdk-app-update.vue +0 -396
- package/ui-sdks/sdk-app-update/xxxx +0 -62
- package/ui-sdks/sdk-privacy-policy/sdk-privacy-policy.vue +0 -113
- package/ui-sdks/sdk-u-charts/config-echarts.js +0 -420
- package/ui-sdks/sdk-u-charts/config-ucharts.js +0 -630
- package/ui-sdks/sdk-u-charts/u-charts.js +0 -7398
- package/ui-sdks/sdk-u-charts/u-charts.min.js +0 -1
- package/ui-sdks/sdk-webview-main/WebViewMain.vue +0 -1
- package/ui-sdks/sdk-webview-main/main.js +0 -0
- package/ui-sdks/sdk-webview-main/mixin.js +0 -0
- package/uni-ui/lib/uni-badge/changelog.md +0 -33
- package/uni-ui/lib/uni-badge/package.json +0 -107
- package/uni-ui/lib/uni-badge/readme.md +0 -8
- package/uni-ui/lib/uni-breadcrumb/changelog.md +0 -6
- package/uni-ui/lib/uni-breadcrumb/readme.md +0 -66
- package/uni-ui/lib/uni-calendar/changelog.md +0 -30
- package/uni-ui/lib/uni-calendar/package.json +0 -105
- package/uni-ui/lib/uni-calendar/readme.md +0 -103
- package/uni-ui/lib/uni-card/changelog.md +0 -26
- package/uni-ui/lib/uni-card/package.json +0 -107
- package/uni-ui/lib/uni-card/readme.md +0 -10
- package/uni-ui/lib/uni-collapse/changelog.md +0 -48
- package/uni-ui/lib/uni-collapse/package.json +0 -106
- package/uni-ui/lib/uni-collapse/readme.md +0 -11
- package/uni-ui/lib/uni-combox/changelog.md +0 -17
- package/uni-ui/lib/uni-combox/package.json +0 -107
- package/uni-ui/lib/uni-combox/readme.md +0 -10
- package/uni-ui/lib/uni-countdown/changelog.md +0 -30
- package/uni-ui/lib/uni-countdown/package.json +0 -105
- package/uni-ui/lib/uni-countdown/readme.md +0 -9
- package/uni-ui/lib/uni-data-checkbox/changelog.md +0 -51
- package/uni-ui/lib/uni-data-checkbox/package.json +0 -107
- package/uni-ui/lib/uni-data-checkbox/readme.md +0 -17
- package/uni-ui/lib/uni-data-picker/changelog.md +0 -81
- package/uni-ui/lib/uni-data-picker/package.json +0 -109
- package/uni-ui/lib/uni-data-picker/readme.md +0 -21
- package/uni-ui/lib/uni-data-select/changelog.md +0 -51
- package/uni-ui/lib/uni-data-select/package.json +0 -106
- package/uni-ui/lib/uni-data-select/readme.md +0 -7
- package/uni-ui/lib/uni-dateformat/changelog.md +0 -10
- package/uni-ui/lib/uni-dateformat/package.json +0 -107
- package/uni-ui/lib/uni-dateformat/readme.md +0 -10
- package/uni-ui/lib/uni-datetime-picker/changelog.md +0 -177
- package/uni-ui/lib/uni-datetime-picker/package.json +0 -107
- package/uni-ui/lib/uni-datetime-picker/readme.md +0 -20
- package/uni-ui/lib/uni-drawer/changelog.md +0 -13
- package/uni-ui/lib/uni-drawer/package.json +0 -106
- package/uni-ui/lib/uni-drawer/readme.md +0 -9
- package/uni-ui/lib/uni-easyinput/changelog.md +0 -121
- package/uni-ui/lib/uni-easyinput/package.json +0 -107
- package/uni-ui/lib/uni-easyinput/readme.md +0 -10
- package/uni-ui/lib/uni-fab/changelog.md +0 -25
- package/uni-ui/lib/uni-fab/package.json +0 -107
- package/uni-ui/lib/uni-fab/readme.md +0 -8
- package/uni-ui/lib/uni-fav/changelog.md +0 -19
- package/uni-ui/lib/uni-fav/package.json +0 -106
- package/uni-ui/lib/uni-fav/readme.md +0 -9
- package/uni-ui/lib/uni-file-picker/changelog.md +0 -91
- package/uni-ui/lib/uni-file-picker/package.json +0 -105
- package/uni-ui/lib/uni-file-picker/readme.md +0 -10
- package/uni-ui/lib/uni-forms/changelog.md +0 -100
- package/uni-ui/lib/uni-forms/package.json +0 -107
- package/uni-ui/lib/uni-forms/readme.md +0 -22
- package/uni-ui/lib/uni-goods-nav/changelog.md +0 -18
- package/uni-ui/lib/uni-goods-nav/package.json +0 -105
- package/uni-ui/lib/uni-goods-nav/readme.md +0 -9
- package/uni-ui/lib/uni-grid/changelog.md +0 -13
- package/uni-ui/lib/uni-grid/package.json +0 -106
- package/uni-ui/lib/uni-grid/readme.md +0 -10
- package/uni-ui/lib/uni-group/changelog.md +0 -16
- package/uni-ui/lib/uni-group/package.json +0 -106
- package/uni-ui/lib/uni-group/readme.md +0 -8
- package/uni-ui/lib/uni-icons/changelog.md +0 -44
- package/uni-ui/lib/uni-icons/package.json +0 -111
- package/uni-ui/lib/uni-icons/readme.md +0 -7
- package/uni-ui/lib/uni-indexed-list/changelog.md +0 -19
- package/uni-ui/lib/uni-indexed-list/package.json +0 -107
- package/uni-ui/lib/uni-indexed-list/readme.md +0 -10
- package/uni-ui/lib/uni-link/changelog.md +0 -17
- package/uni-ui/lib/uni-link/package.json +0 -106
- package/uni-ui/lib/uni-link/readme.md +0 -10
- package/uni-ui/lib/uni-list/changelog.md +0 -52
- package/uni-ui/lib/uni-list/package.json +0 -108
- package/uni-ui/lib/uni-list/readme.md +0 -44
- package/uni-ui/lib/uni-load-more/changelog.md +0 -27
- package/uni-ui/lib/uni-load-more/package.json +0 -105
- package/uni-ui/lib/uni-load-more/readme.md +0 -12
- package/uni-ui/lib/uni-nav-bar/changelog.md +0 -64
- package/uni-ui/lib/uni-nav-bar/package.json +0 -106
- package/uni-ui/lib/uni-nav-bar/readme.md +0 -13
- package/uni-ui/lib/uni-notice-bar/changelog.md +0 -22
- package/uni-ui/lib/uni-notice-bar/package.json +0 -107
- package/uni-ui/lib/uni-notice-bar/readme.md +0 -11
- package/uni-ui/lib/uni-number-box/changelog.md +0 -39
- package/uni-ui/lib/uni-number-box/package.json +0 -104
- package/uni-ui/lib/uni-number-box/readme.md +0 -11
- package/uni-ui/lib/uni-pagination/changelog.md +0 -27
- package/uni-ui/lib/uni-pagination/package.json +0 -106
- package/uni-ui/lib/uni-pagination/readme.md +0 -10
- package/uni-ui/lib/uni-popup/changelog.md +0 -102
- package/uni-ui/lib/uni-popup/package.json +0 -107
- package/uni-ui/lib/uni-popup/readme.md +0 -15
- package/uni-ui/lib/uni-rate/changelog.md +0 -27
- package/uni-ui/lib/uni-rate/package.json +0 -106
- package/uni-ui/lib/uni-rate/readme.md +0 -11
- package/uni-ui/lib/uni-row/changelog.md +0 -10
- package/uni-ui/lib/uni-row/package.json +0 -106
- package/uni-ui/lib/uni-row/readme.md +0 -9
- package/uni-ui/lib/uni-scss/changelog.md +0 -8
- package/uni-ui/lib/uni-scss/package.json +0 -99
- package/uni-ui/lib/uni-scss/readme.md +0 -3
- package/uni-ui/lib/uni-search-bar/changelog.md +0 -47
- package/uni-ui/lib/uni-search-bar/package.json +0 -106
- package/uni-ui/lib/uni-search-bar/readme.md +0 -12
- package/uni-ui/lib/uni-section/changelog.md +0 -2
- package/uni-ui/lib/uni-section/package.json +0 -104
- package/uni-ui/lib/uni-section/readme.md +0 -7
- package/uni-ui/lib/uni-segmented-control/changelog.md +0 -15
- package/uni-ui/lib/uni-segmented-control/package.json +0 -106
- package/uni-ui/lib/uni-segmented-control/readme.md +0 -11
- package/uni-ui/lib/uni-steps/changelog.md +0 -18
- package/uni-ui/lib/uni-steps/package.json +0 -106
- package/uni-ui/lib/uni-steps/readme.md +0 -11
- package/uni-ui/lib/uni-swipe-action/changelog.md +0 -60
- package/uni-ui/lib/uni-swipe-action/package.json +0 -113
- package/uni-ui/lib/uni-swipe-action/readme.md +0 -10
- package/uni-ui/lib/uni-swiper-dot/changelog.md +0 -12
- package/uni-ui/lib/uni-swiper-dot/package.json +0 -106
- package/uni-ui/lib/uni-swiper-dot/readme.md +0 -10
- package/uni-ui/lib/uni-table/changelog.md +0 -35
- package/uni-ui/lib/uni-table/package.json +0 -106
- package/uni-ui/lib/uni-table/readme.md +0 -11
- package/uni-ui/lib/uni-tag/changelog.md +0 -25
- package/uni-ui/lib/uni-tag/package.json +0 -106
- package/uni-ui/lib/uni-tag/readme.md +0 -11
- package/uni-ui/lib/uni-title/changelog.md +0 -10
- package/uni-ui/lib/uni-title/package.json +0 -107
- package/uni-ui/lib/uni-title/readme.md +0 -12
- package/uni-ui/lib/uni-tooltip/changelog.md +0 -16
- package/uni-ui/lib/uni-tooltip/package.json +0 -104
- package/uni-ui/lib/uni-tooltip/readme.md +0 -7
- package/uni-ui/lib/uni-transition/changelog.md +0 -31
- package/uni-ui/lib/uni-transition/package.json +0 -112
- package/uni-ui/lib/uni-transition/readme.md +0 -10
- package/uni-ui/lib/uni-ui/changelog.md +0 -639
- package/uni-ui/lib/uni-ui/package.json +0 -148
- package/uni-ui/lib/uni-ui/readme.md +0 -247
- /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/canvas.js +0 -0
- /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/draw.js +0 -0
- /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/draw2.js +0 -0
- /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/gradient.js +0 -0
- /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/index.vue +0 -0
- /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/index2.vue +0 -0
- /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/layout.js +0 -0
- /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/qrcode.js +0 -0
- /package/other/{lime-painter2/components/lime-painter → lime-painter/components/lime-painter2}/utils.js +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/changelog.md +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/components/qiun-error/qiun-error.vue +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/loading1.vue +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/loading2.vue +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/loading3.vue +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/loading4.vue +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/loading5.vue +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/components/qiun-loading/qiun-loading.vue +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/js_sdk/u-charts/config-echarts.js +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/js_sdk/u-charts/readme.md +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/js_sdk/u-charts/u-charts.js +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/js_sdk/u-charts/u-charts.min.js +0 -0
- /package/{ui-sdks/sdk-u-charts → other/qiun-data-charts/js_sdk2}/app-echarts.min.js +0 -0
- /package/{ui-sdks/sdk-u-charts → other/qiun-data-charts/js_sdk2}/h5-echarts.min.js +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/license.md +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/readme.md +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/static/app-plus/echarts.min.js +0 -0
- /package/{ui-sdks → other}/qiun-data-charts/static/h5/echarts.min.js +0 -0
- /package/{ui-sdks → other}/tui-clipboard/tui-clipboard.js +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseAudio.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseImg.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate1.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate10.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate11.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate2.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate3.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate4.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate5.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate6.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate7.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate8.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseTemplate9.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/components/wxParseVideo.vue +0 -0
- /package/other/{u-parse-2019 → u-parse}/libs/htmlparser.js +0 -0
- /package/other/{u-parse-2019 → u-parse}/u-parse.css +0 -0
- /package/other/{uParse → uParse2}/components/wxParseTemplate10.vue +0 -0
- /package/other/{uParse → uParse2}/components/wxParseTemplate11.vue +0 -0
- /package/other/{uParse → uParse2}/components/wxParseTemplate2.vue +0 -0
- /package/other/{uParse → uParse2}/components/wxParseTemplate3.vue +0 -0
- /package/other/{uParse → uParse2}/components/wxParseTemplate4.vue +0 -0
- /package/other/{uParse → uParse2}/components/wxParseTemplate5.vue +0 -0
- /package/other/{uParse → uParse2}/components/wxParseTemplate6.vue +0 -0
- /package/other/{uParse → uParse2}/components/wxParseTemplate7.vue +0 -0
- /package/other/{uParse → uParse2}/components/wxParseTemplate8.vue +0 -0
- /package/other/{uParse → uParse2}/components/wxParseTemplate9.vue +0 -0
- /package/other/{uParse → uParse2}/components/wxParseVideo.vue +0 -0
- /package/other/{uParse → uParse2}/editor.css +0 -0
- /package/other/{uParse → uParse2}/libs/htmlparser.js +0 -0
- /package/{other/xt-parse/static/app-plus/u-parse → uview-plus/components/u-parse/static/app-plus/up-parse}/js/handler2.js +0 -0
- /package/{other/xt-parse/static/app-plus/u-parse → uview-plus/components/u-parse/static/app-plus/up-parse}/js/uni.webview.min.js +0 -0
- /package/{other/xt-parse/static/app-plus/u-parse → uview-plus/components/u-parse/static/app-plus/up-parse}/js/uni.webview.min2.js +0 -0
- /package/{other/xt-parse/static/app-plus/u-parse → uview-plus/components/u-parse/static/app-plus/up-parse}/local.html +0 -0
|
@@ -1,396 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<view class="update-app-area" v-if="update">
|
|
3
|
-
<view class="update-app-main" v-bind:style="'top:' + layer_top + 'px;opacity:' + layer_opacity + ';'">
|
|
4
|
-
<image
|
|
5
|
-
src="./img/update_bg_top.png"
|
|
6
|
-
v-bind:style="'height:' + bg_top_height + 'px;'"
|
|
7
|
-
@load="imageLoad"
|
|
8
|
-
mode="aspectFit"
|
|
9
|
-
class="update-app-bg"
|
|
10
|
-
/>
|
|
11
|
-
<view class="update-app-close" @tap="updateAppClose"></view>
|
|
12
|
-
<view class="update-app-h1">发现新版本</view>
|
|
13
|
-
<view class="update-app-version-code">
|
|
14
|
-
<view class="update-app-version-code-bg"></view>
|
|
15
|
-
<view class="update-app-version-code-main">{{ new_version.version_name }}</view>
|
|
16
|
-
</view>
|
|
17
|
-
<view class="update-app-version-msg">
|
|
18
|
-
<text>{{ new_version.version_update_msg || '优化一些用户体验' }}</text>
|
|
19
|
-
</view>
|
|
20
|
-
<view class="update-app-bottom">
|
|
21
|
-
<view class="update-app-button-area" v-bind:style="'background-color:' + button_area_bg_color + ';'">
|
|
22
|
-
<view class="update-app-button-speed" :style="'width:' + speed + '%;'"></view>
|
|
23
|
-
<view class="update-app-button-text" @tap="android_update">
|
|
24
|
-
{{ button_text }}
|
|
25
|
-
{{ status == 'down' ? '(' + speed + ' %)' : '' }}
|
|
26
|
-
</view>
|
|
27
|
-
</view>
|
|
28
|
-
</view>
|
|
29
|
-
</view>
|
|
30
|
-
</view>
|
|
31
|
-
</template>
|
|
32
|
-
|
|
33
|
-
<script>
|
|
34
|
-
export default {
|
|
35
|
-
name: 'cvUpdateApp',
|
|
36
|
-
props: {
|
|
37
|
-
check: {
|
|
38
|
-
type: Boolean,
|
|
39
|
-
default: false
|
|
40
|
-
},
|
|
41
|
-
flagGet: {
|
|
42
|
-
typ: String,
|
|
43
|
-
default: ''
|
|
44
|
-
},
|
|
45
|
-
flagGetParam: {
|
|
46
|
-
typ: Object,
|
|
47
|
-
default: {}
|
|
48
|
-
},
|
|
49
|
-
maskTop: {
|
|
50
|
-
type: Boolean,
|
|
51
|
-
default: true
|
|
52
|
-
},
|
|
53
|
-
maskBottom: {
|
|
54
|
-
type: Boolean,
|
|
55
|
-
default: false
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
watch: {
|
|
59
|
-
check() {
|
|
60
|
-
if (this.check) {
|
|
61
|
-
// #ifdef APP-PLUS
|
|
62
|
-
// 检测升级
|
|
63
|
-
this.app_update();
|
|
64
|
-
// #endif
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
status() {
|
|
68
|
-
switch (this.status) {
|
|
69
|
-
case 'wait':
|
|
70
|
-
break;
|
|
71
|
-
case 'down':
|
|
72
|
-
this.button_text = '正在下载';
|
|
73
|
-
this.button_area_bg_color = 'rgba(47,146,215,0.3)';
|
|
74
|
-
break;
|
|
75
|
-
case 'over':
|
|
76
|
-
this.button_text = '立即安装';
|
|
77
|
-
break;
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
button_text() {},
|
|
81
|
-
update() {
|
|
82
|
-
if (this.update) {
|
|
83
|
-
this.openPlusMask();
|
|
84
|
-
} else {
|
|
85
|
-
this.closePlusMask();
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
data() {
|
|
90
|
-
return {
|
|
91
|
-
update: false,
|
|
92
|
-
layer_opacity: 0,
|
|
93
|
-
bg_top_img: './img/update_bg_top.png',
|
|
94
|
-
new_version: {},
|
|
95
|
-
bg_top_height: 0,
|
|
96
|
-
window_width: 0,
|
|
97
|
-
speed: 0, //app下载进度
|
|
98
|
-
progress: 0, //实际下载进度
|
|
99
|
-
speedTimer: 0,
|
|
100
|
-
status: 'wait', //wait:待更新,down:正在下载,over:下载完成
|
|
101
|
-
button_text: '立即更新',
|
|
102
|
-
layer_top: 100,
|
|
103
|
-
button_area_bg_color: 'rgba(47,146,215,1)', //按钮区背景
|
|
104
|
-
package_temp_path: '', //安装包缓存地址
|
|
105
|
-
net_work_type: '',
|
|
106
|
-
net_work_wifi: true,
|
|
107
|
-
plus_mask: {
|
|
108
|
-
top: '',
|
|
109
|
-
bottom: ''
|
|
110
|
-
}
|
|
111
|
-
};
|
|
112
|
-
},
|
|
113
|
-
created() {
|
|
114
|
-
if (this.update) {
|
|
115
|
-
this.openPlusMask();
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
if (this.check) {
|
|
119
|
-
// #ifdef APP-PLUS
|
|
120
|
-
// 检测升级
|
|
121
|
-
this.app_update();
|
|
122
|
-
// #endif
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
methods: {
|
|
126
|
-
/* 监听图片是否完成加载 */
|
|
127
|
-
imageLoad() {
|
|
128
|
-
this.initBgTopWidth();
|
|
129
|
-
},
|
|
130
|
-
/* 计算顶部背景图高度 */
|
|
131
|
-
initBgTopWidth() {
|
|
132
|
-
const res = uni.getSystemInfoSync();
|
|
133
|
-
this.window_width = res.windowWidth;
|
|
134
|
-
uni.getImageInfo({
|
|
135
|
-
src: this.bg_top_img,
|
|
136
|
-
success: (image) => {
|
|
137
|
-
this.bg_top_height = ((this.window_width * 0.8) / image.width) * image.height;
|
|
138
|
-
setTimeout(() => {
|
|
139
|
-
this.layer_opacity = 1;
|
|
140
|
-
this.initLayer();
|
|
141
|
-
}, 500);
|
|
142
|
-
}
|
|
143
|
-
});
|
|
144
|
-
},
|
|
145
|
-
/* 计算弹窗整体高度 、 matop*/
|
|
146
|
-
initLayer() {
|
|
147
|
-
const res = uni.getSystemInfoSync();
|
|
148
|
-
let window_height = res.windowHeight;
|
|
149
|
-
uni
|
|
150
|
-
.createSelectorQuery()
|
|
151
|
-
.in(this)
|
|
152
|
-
.select('.update-app-main')
|
|
153
|
-
.boundingClientRect((data) => {
|
|
154
|
-
this.layer_top = (window_height - data.height) / 2;
|
|
155
|
-
})
|
|
156
|
-
.exec();
|
|
157
|
-
},
|
|
158
|
-
app_update() {
|
|
159
|
-
switch (uni.getSystemInfoSync().platform) {
|
|
160
|
-
case 'ios':
|
|
161
|
-
break;
|
|
162
|
-
case 'android':
|
|
163
|
-
this.check_android_version();
|
|
164
|
-
break;
|
|
165
|
-
}
|
|
166
|
-
},
|
|
167
|
-
/* 检测android版本 */
|
|
168
|
-
check_android_version() {
|
|
169
|
-
if (!this.flagGet) {
|
|
170
|
-
plus.nativeUI.toast('请设置flagGet属性');
|
|
171
|
-
return;
|
|
172
|
-
}
|
|
173
|
-
const version_code = plus.runtime.versionCode;
|
|
174
|
-
let flagGetParam = { ...this.flagGetParam };
|
|
175
|
-
flagGetParam.current_version_code = version_code;
|
|
176
|
-
flagGetParam.version_os = 'android';
|
|
177
|
-
this.$request.flagGet(this.flagGet, flagGetParam).then((result) => {
|
|
178
|
-
let new_version = {};
|
|
179
|
-
if (result.data) {
|
|
180
|
-
new_version = result.data[0];
|
|
181
|
-
this.new_version = new_version;
|
|
182
|
-
if (new_version.version_code > version_code && new_version.version_download_url) {
|
|
183
|
-
this.update = true;
|
|
184
|
-
}
|
|
185
|
-
this.$emit('version', new_version);
|
|
186
|
-
} else {
|
|
187
|
-
this.$emit('version', '');
|
|
188
|
-
}
|
|
189
|
-
});
|
|
190
|
-
},
|
|
191
|
-
android_update() {
|
|
192
|
-
switch (this.status) {
|
|
193
|
-
case 'wait': //'立即更新' ,点击即下载
|
|
194
|
-
this.checkNetWork();
|
|
195
|
-
break;
|
|
196
|
-
case 'not_wifi': //'立即更新' ,点击即下载
|
|
197
|
-
this.android_apk_down();
|
|
198
|
-
break;
|
|
199
|
-
case 'down':
|
|
200
|
-
plus.nativeUI.toast('下载中,请耐心等待...');
|
|
201
|
-
break;
|
|
202
|
-
case 'over':
|
|
203
|
-
this.install_apk();
|
|
204
|
-
break;
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
checkNetWork() {
|
|
208
|
-
console.log('checkNetWork');
|
|
209
|
-
uni.getNetworkType({
|
|
210
|
-
success: (res) => {
|
|
211
|
-
if (res.networkType == 'wifi') {
|
|
212
|
-
this.android_apk_down();
|
|
213
|
-
return;
|
|
214
|
-
}
|
|
215
|
-
plus.nativeUI.toast('当前网络环境是' + res.networkType + ',下载流量费用由运营商收取');
|
|
216
|
-
this.status = 'not_wifi';
|
|
217
|
-
this.button_text = '使用数据流量下载';
|
|
218
|
-
}
|
|
219
|
-
});
|
|
220
|
-
},
|
|
221
|
-
android_apk_down() {
|
|
222
|
-
this.status = 'down';
|
|
223
|
-
const downloadTask = uni.downloadFile({
|
|
224
|
-
url: this.new_version.version_download_url, //仅为示例,并非真实的资源
|
|
225
|
-
success: (res) => {
|
|
226
|
-
if (res.statusCode === 200) {
|
|
227
|
-
this.package_temp_path = res.tempFilePath;
|
|
228
|
-
this.status = 'over';
|
|
229
|
-
} else {
|
|
230
|
-
this.android_apk_down_fail();
|
|
231
|
-
}
|
|
232
|
-
},
|
|
233
|
-
fail: () => {
|
|
234
|
-
this.android_apk_down_fail();
|
|
235
|
-
}
|
|
236
|
-
});
|
|
237
|
-
downloadTask.onProgressUpdate((res) => {
|
|
238
|
-
if (res.progress != this.speed) {
|
|
239
|
-
this.speed = res.progress;
|
|
240
|
-
}
|
|
241
|
-
});
|
|
242
|
-
},
|
|
243
|
-
//下载失败
|
|
244
|
-
android_apk_down_fail() {
|
|
245
|
-
this.status = 'wait';
|
|
246
|
-
this.button_text = '下载失败,请重试...';
|
|
247
|
-
this.button_area_bg_color = 'rgba(255,0,0,1)'; //按钮区背景
|
|
248
|
-
this.speed = 0;
|
|
249
|
-
},
|
|
250
|
-
install_apk() {
|
|
251
|
-
plus.runtime.openFile(this.package_temp_path);
|
|
252
|
-
},
|
|
253
|
-
/* 关闭更新弹窗 */
|
|
254
|
-
updateAppClose() {
|
|
255
|
-
if (this.new_version.version_must == 'on' || this.new_version.version_force == 'on') {
|
|
256
|
-
/* 必须更新版本,或强制更新版本 关闭即推出 */
|
|
257
|
-
plus.runtime.quit();
|
|
258
|
-
return;
|
|
259
|
-
}
|
|
260
|
-
this.update = false;
|
|
261
|
-
},
|
|
262
|
-
openPlusMask() {
|
|
263
|
-
const system_info = this.system_info || uni.getSystemInfoSync();
|
|
264
|
-
console.log(system_info);
|
|
265
|
-
let plus_mask = this.plus_mask || {};
|
|
266
|
-
|
|
267
|
-
if (this.maskTop == true) {
|
|
268
|
-
plus_mask.top = new plus.nativeObj.View('top', {
|
|
269
|
-
top: '0px',
|
|
270
|
-
left: '0px',
|
|
271
|
-
height: system_info.statusBarHeight + 45 + 'px',
|
|
272
|
-
width: '100%',
|
|
273
|
-
backgroundColor: 'rgba(0, 0, 0, 0.2)'
|
|
274
|
-
});
|
|
275
|
-
plus_mask.top.show();
|
|
276
|
-
}
|
|
277
|
-
if (this.maskBottom == true) {
|
|
278
|
-
plus_mask.bottom = new plus.nativeObj.View('bottom', {
|
|
279
|
-
bottom: '0px',
|
|
280
|
-
left: '0px',
|
|
281
|
-
height: '50px',
|
|
282
|
-
width: '100%',
|
|
283
|
-
backgroundColor: 'rgba(0, 0, 0, 0.2)'
|
|
284
|
-
});
|
|
285
|
-
plus_mask.bottom.show();
|
|
286
|
-
}
|
|
287
|
-
},
|
|
288
|
-
closePlusMask() {
|
|
289
|
-
if (this.maskTop == true) {
|
|
290
|
-
this.plus_mask.top.close();
|
|
291
|
-
}
|
|
292
|
-
if (this.maskBottom == true) {
|
|
293
|
-
this.plus_mask.bottom.close();
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
};
|
|
298
|
-
</script>
|
|
299
|
-
|
|
300
|
-
<style>
|
|
301
|
-
.update-app-area {
|
|
302
|
-
position: fixed;
|
|
303
|
-
top: 0;
|
|
304
|
-
left: 0;
|
|
305
|
-
width: 100%;
|
|
306
|
-
height: 100%;
|
|
307
|
-
background: rgba(0, 0, 0, 0.2);
|
|
308
|
-
z-index: 9999999999999999;
|
|
309
|
-
padding-bottom: 10%;
|
|
310
|
-
}
|
|
311
|
-
.update-app-close {
|
|
312
|
-
position: absolute;
|
|
313
|
-
right: 10px;
|
|
314
|
-
top: 54px;
|
|
315
|
-
width: 30px;
|
|
316
|
-
height: 30px;
|
|
317
|
-
}
|
|
318
|
-
.update-app-main {
|
|
319
|
-
width: 80%;
|
|
320
|
-
position: absolute;
|
|
321
|
-
top: 100px;
|
|
322
|
-
left: 10%;
|
|
323
|
-
transition: all 0.3s;
|
|
324
|
-
}
|
|
325
|
-
.update-app-bg {
|
|
326
|
-
width: 100%;
|
|
327
|
-
}
|
|
328
|
-
.update-app-h1 {
|
|
329
|
-
background: #ffffff;
|
|
330
|
-
font-size: 16px;
|
|
331
|
-
text-align: center;
|
|
332
|
-
width: 100%;
|
|
333
|
-
margin-top: -10px;
|
|
334
|
-
padding: 10px 0 10px;
|
|
335
|
-
}
|
|
336
|
-
.update-app-version-code {
|
|
337
|
-
background: #ffffff;
|
|
338
|
-
height: 30px;
|
|
339
|
-
position: relative;
|
|
340
|
-
text-align: center;
|
|
341
|
-
}
|
|
342
|
-
.update-app-version-code-bg {
|
|
343
|
-
height: 1px;
|
|
344
|
-
background: rgba(0, 0, 0, 0.1);
|
|
345
|
-
width: 90%;
|
|
346
|
-
position: absolute;
|
|
347
|
-
left: 5%;
|
|
348
|
-
top: 15px;
|
|
349
|
-
}
|
|
350
|
-
.update-app-version-code-main {
|
|
351
|
-
display: inline;
|
|
352
|
-
background: #ffffff;
|
|
353
|
-
position: relative;
|
|
354
|
-
line-height: 30px;
|
|
355
|
-
padding: 0 5px;
|
|
356
|
-
font-size: 14px;
|
|
357
|
-
}
|
|
358
|
-
.update-app-version-msg {
|
|
359
|
-
font-size: 14px;
|
|
360
|
-
color: #666666;
|
|
361
|
-
padding: 10px 10%;
|
|
362
|
-
background: #ffffff;
|
|
363
|
-
}
|
|
364
|
-
.update-app-bottom {
|
|
365
|
-
background: #ffffff;
|
|
366
|
-
border-bottom-left-radius: 10px;
|
|
367
|
-
border-bottom-right-radius: 10px;
|
|
368
|
-
padding: 10px 10% 20px;
|
|
369
|
-
}
|
|
370
|
-
.update-app-button-area {
|
|
371
|
-
width: 100%;
|
|
372
|
-
height: 35px;
|
|
373
|
-
border-radius: 20px;
|
|
374
|
-
overflow: hidden;
|
|
375
|
-
position: relative;
|
|
376
|
-
}
|
|
377
|
-
.update-app-button-text {
|
|
378
|
-
position: absolute;
|
|
379
|
-
color: #ffffff;
|
|
380
|
-
font-size: 14px;
|
|
381
|
-
text-align: center;
|
|
382
|
-
line-height: 35px;
|
|
383
|
-
top: 0;
|
|
384
|
-
left: 0;
|
|
385
|
-
width: 100%;
|
|
386
|
-
height: 35px;
|
|
387
|
-
}
|
|
388
|
-
.update-app-button-speed {
|
|
389
|
-
position: absolute;
|
|
390
|
-
left: 0;
|
|
391
|
-
top: 0;
|
|
392
|
-
height: 35px;
|
|
393
|
-
transition: width 0.3s;
|
|
394
|
-
background: #2f92d7;
|
|
395
|
-
}
|
|
396
|
-
</style>
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
<div class="index-sys-totice-wrap" v-show="showNotice">
|
|
2
|
-
<div class="totice-box">
|
|
3
|
-
<div class="title">系统公告</div>
|
|
4
|
-
<div class="close" @click="sysToticeClose(this)">x</div>
|
|
5
|
-
<div class="content">
|
|
6
|
-
<p>尊敬的用户:</p>
|
|
7
|
-
<!-- <p>  您好,十云人工智能应用服务平台</p> -->
|
|
8
|
-
<!-- <p>在 2017-06-23 19:30 进行系统更新维护</p> -->
|
|
9
|
-
<!-- <p>  届时系统将会以更好的体验给您带来服务;</p> -->
|
|
10
|
-
<!-- <p>  这个过程可能需要10-20分钟~</p> -->
|
|
11
|
-
<!-- <p>  给您带来的不便还请谅解。</p> -->
|
|
12
|
-
<p> </p>
|
|
13
|
-
<p>本次更新:</p>
|
|
14
|
-
<p> 1.会员模块合并统一</p>
|
|
15
|
-
<p> 2.优化性能</p>
|
|
16
|
-
<p> 3.完善已知问题~</p>
|
|
17
|
-
<p> 4.微信公众号升级~</p>
|
|
18
|
-
<p></p>
|
|
19
|
-
</div>
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
/*系统公告*/
|
|
26
|
-
.index-sys-totice-wrap {
|
|
27
|
-
background-color: rgba(216, 201, 201, 0.6);
|
|
28
|
-
position: fixed;
|
|
29
|
-
width: 100%;
|
|
30
|
-
height: 100%;
|
|
31
|
-
z-index: 1000;
|
|
32
|
-
top: 0;
|
|
33
|
-
left: 0;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.index-sys-totice-wrap .totice-box {
|
|
37
|
-
background: #fff;
|
|
38
|
-
color: #333;
|
|
39
|
-
padding: 0 15px 15px 15px;
|
|
40
|
-
margin: 15px;
|
|
41
|
-
box-shadow: 0px 0px 8px #000;
|
|
42
|
-
position: relative;
|
|
43
|
-
top: 15%;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.index-sys-totice-wrap .title {
|
|
47
|
-
text-align: center;
|
|
48
|
-
font-size: 20px;
|
|
49
|
-
padding: 5px;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.index-sys-totice-wrap .close {
|
|
53
|
-
font-size: 30px;
|
|
54
|
-
color: #333;
|
|
55
|
-
position: absolute;
|
|
56
|
-
right: 5px;
|
|
57
|
-
top: 5px;
|
|
58
|
-
width: 30px;
|
|
59
|
-
height: 30px;
|
|
60
|
-
line-height: 30px;
|
|
61
|
-
text-align: center;
|
|
62
|
-
}
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<view class="privacy-policy">
|
|
3
|
-
<view class="privacy-policy-item" v-bind:style="'bottom:' + layer_bottom + 'px'">
|
|
4
|
-
<view class="privacy-policy-item-title">协议与隐私</view>
|
|
5
|
-
<view class="privacy-policy-item-content">
|
|
6
|
-
<text>
|
|
7
|
-
请您务必审慎阅读、充分理解“
|
|
8
|
-
<navigator :url="url">《用户协议》</navigator>
|
|
9
|
-
”与“
|
|
10
|
-
<navigator :url="url">《隐私政策》</navigator>
|
|
11
|
-
”各条款,包括但不限于:为了给您提供更好的服务,我们需要收集您的设备信息、操作日志等个人信息。您可以在设置中查看、变更、删除个人信息并管理您的授权。
|
|
12
|
-
您可以阅读了解详细信息。如您同意,请点击“同意”开始接收我们的服务
|
|
13
|
-
</text>
|
|
14
|
-
</view>
|
|
15
|
-
<view class="privacy-policy-item-button">
|
|
16
|
-
<view class="privacy-policy-item-button-reject" @tap="reject">暂不使用</view>
|
|
17
|
-
<view class="privacy-policy-item-button-accept" @tap="accept">同意</view>
|
|
18
|
-
</view>
|
|
19
|
-
</view>
|
|
20
|
-
</view>
|
|
21
|
-
</template>
|
|
22
|
-
<script>
|
|
23
|
-
import StorageObj from '@/plugins/storage.js';
|
|
24
|
-
export default {
|
|
25
|
-
name: 'PrivacyPolicy',
|
|
26
|
-
props: {
|
|
27
|
-
url: {
|
|
28
|
-
type: String,
|
|
29
|
-
default: ''
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
data() {
|
|
33
|
-
return {
|
|
34
|
-
privacy_policy: false,
|
|
35
|
-
layer_bottom: 160
|
|
36
|
-
};
|
|
37
|
-
},
|
|
38
|
-
created() {
|
|
39
|
-
this.initLayer();
|
|
40
|
-
},
|
|
41
|
-
methods: {
|
|
42
|
-
initLayer() {
|
|
43
|
-
if (StorageObj.getSync('PrivacyPolicy')) {
|
|
44
|
-
this.privacy_policy = true;
|
|
45
|
-
} else {
|
|
46
|
-
this.privacy_policy = false;
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
/* 计算弹窗整体高度 、 matop*/
|
|
50
|
-
reject() {
|
|
51
|
-
plus.runtime.quit();
|
|
52
|
-
this.$emit('reject');
|
|
53
|
-
},
|
|
54
|
-
accept() {
|
|
55
|
-
StorageObj.setAsync('PrivacyPolicy', true);
|
|
56
|
-
this.privacy_policy = true;
|
|
57
|
-
this.$forceUpdate();
|
|
58
|
-
this.$emit('accept');
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
</script>
|
|
63
|
-
<style>
|
|
64
|
-
.privacy-policy {
|
|
65
|
-
position: absolute;
|
|
66
|
-
top: 0;
|
|
67
|
-
left: 0;
|
|
68
|
-
width: 100%;
|
|
69
|
-
height: 100%;
|
|
70
|
-
z-index: 99;
|
|
71
|
-
background-color: rgba(0, 0, 0, 0.1);
|
|
72
|
-
}
|
|
73
|
-
.privacy-policy-item {
|
|
74
|
-
background-color: #ffffff;
|
|
75
|
-
border-radius: 5px;
|
|
76
|
-
width: 80%;
|
|
77
|
-
position: absolute;
|
|
78
|
-
left: 10%;
|
|
79
|
-
margin-top: 50px;
|
|
80
|
-
}
|
|
81
|
-
.privacy-policy-item-title {
|
|
82
|
-
font-size: 18px;
|
|
83
|
-
text-align: center;
|
|
84
|
-
margin-top: 20px;
|
|
85
|
-
}
|
|
86
|
-
.privacy-policy-item-content {
|
|
87
|
-
margin-top: 20px;
|
|
88
|
-
line-height: 1.5em;
|
|
89
|
-
font-size: 16px;
|
|
90
|
-
padding: 0 20px;
|
|
91
|
-
}
|
|
92
|
-
navigator {
|
|
93
|
-
display: contents;
|
|
94
|
-
color: cornflowerblue;
|
|
95
|
-
}
|
|
96
|
-
.privacy-policy-item-button {
|
|
97
|
-
height: 45px;
|
|
98
|
-
display: flex;
|
|
99
|
-
flex-wrap: wrap;
|
|
100
|
-
margin-top: 20px;
|
|
101
|
-
border-top: solid 1px rgba(0, 0, 0, 0.1);
|
|
102
|
-
line-height: 45px;
|
|
103
|
-
font-size: 16px;
|
|
104
|
-
}
|
|
105
|
-
.privacy-policy-item-button-reject,
|
|
106
|
-
.privacy-policy-item-button-accept {
|
|
107
|
-
text-align: center;
|
|
108
|
-
width: 50%;
|
|
109
|
-
}
|
|
110
|
-
.privacy-policy-item-button-accept {
|
|
111
|
-
color: cornflowerblue;
|
|
112
|
-
}
|
|
113
|
-
</style>
|