diff --git a/.github/workflows/size-check.yml b/.github/workflows/size-check.yml
new file mode 100644
index 0000000000000000000000000000000000000000..d2fe8443c154940bc2ee7e94df27bc9fa2033480
--- /dev/null
+++ b/.github/workflows/size-check.yml
@@ -0,0 +1,22 @@
+name: 'size'
+on:
+ push:
+ branches:
+ - next
+ pull_request:
+ branches:
+ - next
+jobs:
+ size:
+ runs-on: ubuntu-latest
+ env:
+ CI_JOB_NUMBER: 1
+ steps:
+ - uses: actions/checkout@v1
+ - uses: bahmutov/npm-install@v1
+
+ - uses: posva/size-check-action@v1.1.2
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ build_script: size
+ files: packages/uni-h5-vue/dist/vue.runtime.esm.js packages/uni-mp-alipay/dist
diff --git a/.gitignore b/.gitignore
index 491672f5ce288874f9f4071e6b5f0a190968ba3d..f78f42626180e8ffc17a53bc8077c966eee3625d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+packages/size-check/dist
packages/uni-cli-shared/dist
packages/vite-plugin-uni/dist
.DS_Store
diff --git a/packages/global.d.ts b/packages/global.d.ts
index 3e56234e0e70cfd0a350d7420830ce2456619bfd..a683e58f53c02b757968a8631a22a58709c0676d 100644
--- a/packages/global.d.ts
+++ b/packages/global.d.ts
@@ -24,6 +24,9 @@ declare var __UNI_FEATURE_WX__: boolean
declare var __UNI_FEATURE_WXS__: boolean
declare var __UNI_FEATURE_PROMISE__: boolean
declare var __UNI_FEATURE_ROUTER_MODE__: 'hash' | 'history'
+
+declare var __UNI_FEATURE_PAGES__: boolean
+declare var __UNI_FEATURE_TABBAR__: boolean
// TODO
declare var __uniRoutes: any
declare var __uniConfig: any
diff --git a/packages/size-check/LICENSE b/packages/size-check/LICENSE
new file mode 100755
index 0000000000000000000000000000000000000000..7a4a3ea2424c09fbe48d455aed1eaa94d9124835
--- /dev/null
+++ b/packages/size-check/LICENSE
@@ -0,0 +1,202 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
\ No newline at end of file
diff --git a/packages/size-check/README.md b/packages/size-check/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..23cf1899eaf4c53f49cfe8f67ce2527508cf6029
--- /dev/null
+++ b/packages/size-check/README.md
@@ -0,0 +1,3 @@
+# Size Check
+
+This package is private and is used for checking the baseline runtime size after tree-shaking (with only the bare minimal code required to render something to the screen).
diff --git a/packages/size-check/build.json b/packages/size-check/build.json
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/packages/size-check/index.html b/packages/size-check/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..0172d01425b74b8257e19a0d506f87a93e8ae844
--- /dev/null
+++ b/packages/size-check/index.html
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+ uni-app
+
+
+
+
+
+
diff --git a/packages/size-check/package.json b/packages/size-check/package.json
new file mode 100644
index 0000000000000000000000000000000000000000..ddbfa789746ae163c442638204640168b9fb8032
--- /dev/null
+++ b/packages/size-check/package.json
@@ -0,0 +1,8 @@
+{
+ "private": true,
+ "name": "@dcloudio/size-check",
+ "version": "3.0.0",
+ "buildOptions": {
+ "bundler": "vite"
+ }
+}
diff --git a/packages/size-check/src/App.vue b/packages/size-check/src/App.vue
new file mode 100644
index 0000000000000000000000000000000000000000..52dd89db722b9f41348d4d40b14007ef1b4f681b
--- /dev/null
+++ b/packages/size-check/src/App.vue
@@ -0,0 +1,17 @@
+
+
+
diff --git a/packages/size-check/src/main.ts b/packages/size-check/src/main.ts
new file mode 100644
index 0000000000000000000000000000000000000000..1d4acd7cd1c792a84e9a63dba4754d7f302bdb07
--- /dev/null
+++ b/packages/size-check/src/main.ts
@@ -0,0 +1,3 @@
+import { createApp } from 'vue'
+import App from './App.vue'
+createApp(App).mount('#app')
diff --git a/packages/size-check/src/manifest.json b/packages/size-check/src/manifest.json
new file mode 100644
index 0000000000000000000000000000000000000000..45f4c08c720f0746eee07ab30084a56cdf9bad82
--- /dev/null
+++ b/packages/size-check/src/manifest.json
@@ -0,0 +1,71 @@
+{
+ "name": "size-check",
+ "appid": "",
+ "description": "",
+ "versionName": "1.0.0",
+ "versionCode": "100",
+ "transformPx": false,
+ /* 5+App特有相关 */
+ "app-plus": {
+ "usingComponents": true,
+ "nvueStyleCompiler": "uni-app",
+ "compilerVersion": 3,
+ "splashscreen": {
+ "alwaysShowBeforeRender": true,
+ "waiting": true,
+ "autoclose": true,
+ "delay": 0
+ },
+ /* 模块配置 */
+ "modules": {},
+ /* 应用发布信息 */
+ "distribute": {
+ /* android打包配置 */
+ "android": {
+ "permissions": [
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ ]
+ },
+ /* ios打包配置 */
+ "ios": {},
+ /* SDK配置 */
+ "sdkConfigs": {}
+ }
+ },
+ /* 快应用特有相关 */
+ "quickapp": {},
+ /* 小程序特有相关 */
+ "mp-weixin": {
+ "appid": "",
+ "setting": {
+ "urlCheck": false
+ },
+ "usingComponents": true
+ },
+ "mp-alipay": {
+ "usingComponents": true
+ },
+ "mp-baidu": {
+ "usingComponents": true
+ },
+ "mp-toutiao": {
+ "usingComponents": true
+ },
+ "uniStatistics": {
+ "enable": false
+ }
+}
diff --git a/packages/size-check/src/pages.json b/packages/size-check/src/pages.json
new file mode 100644
index 0000000000000000000000000000000000000000..8a92cfbfe7f35f13ed95f4350b96dbe282900354
--- /dev/null
+++ b/packages/size-check/src/pages.json
@@ -0,0 +1,17 @@
+{
+ "pages": [
+ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
+ {
+ "path": "pages/index/index",
+ "style": {
+ "navigationBarTitleText": "uni-app"
+ }
+ }
+ ],
+ "globalStyle": {
+ "navigationBarTextStyle": "black",
+ "navigationBarTitleText": "uni-app",
+ "navigationBarBackgroundColor": "#F8F8F8",
+ "backgroundColor": "#F8F8F8"
+ }
+}
diff --git a/packages/size-check/src/pages/index/index.vue b/packages/size-check/src/pages/index/index.vue
new file mode 100644
index 0000000000000000000000000000000000000000..6ea68cd0e2e4dcf6587993b475caa304e19b22da
--- /dev/null
+++ b/packages/size-check/src/pages/index/index.vue
@@ -0,0 +1,48 @@
+
+
+
+
+ {{ title }}
+
+
+
+
+
+
+
diff --git a/packages/size-check/src/static/logo.png b/packages/size-check/src/static/logo.png
new file mode 100644
index 0000000000000000000000000000000000000000..b5771e209bb677e2ebd5ff766ad5ee11790f305a
Binary files /dev/null and b/packages/size-check/src/static/logo.png differ
diff --git a/packages/size-check/src/uni.scss b/packages/size-check/src/uni.scss
new file mode 100644
index 0000000000000000000000000000000000000000..09ffb46f39334f7ade456dfbfb2f6600d4c08a61
--- /dev/null
+++ b/packages/size-check/src/uni.scss
@@ -0,0 +1,76 @@
+/**
+ * 这里是uni-app内置的常用样式变量
+ *
+ * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
+ * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
+ *
+ */
+
+/**
+ * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
+ *
+ * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
+ */
+
+/* 颜色变量 */
+
+/* 行为相关颜色 */
+$uni-color-primary: #007aff;
+$uni-color-success: #4cd964;
+$uni-color-warning: #f0ad4e;
+$uni-color-error: #dd524d;
+
+/* 文字基本颜色 */
+$uni-text-color:#333;//基本色
+$uni-text-color-inverse:#fff;//反色
+$uni-text-color-grey:#999;//辅助灰色,如加载更多的提示信息
+$uni-text-color-placeholder: #808080;
+$uni-text-color-disable:#c0c0c0;
+
+/* 背景颜色 */
+$uni-bg-color:#ffffff;
+$uni-bg-color-grey:#f8f8f8;
+$uni-bg-color-hover:#f1f1f1;//点击状态颜色
+$uni-bg-color-mask:rgba(0, 0, 0, 0.4);//遮罩颜色
+
+/* 边框颜色 */
+$uni-border-color:#c8c7cc;
+
+/* 尺寸变量 */
+
+/* 文字尺寸 */
+$uni-font-size-sm:24rpx;
+$uni-font-size-base:28rpx;
+$uni-font-size-lg:32rpx;
+
+/* 图片尺寸 */
+$uni-img-size-sm:40rpx;
+$uni-img-size-base:52rpx;
+$uni-img-size-lg:80rpx;
+
+/* Border Radius */
+$uni-border-radius-sm: 4rpx;
+$uni-border-radius-base: 6rpx;
+$uni-border-radius-lg: 12rpx;
+$uni-border-radius-circle: 50%;
+
+/* 水平间距 */
+$uni-spacing-row-sm: 10px;
+$uni-spacing-row-base: 20rpx;
+$uni-spacing-row-lg: 30rpx;
+
+/* 垂直间距 */
+$uni-spacing-col-sm: 8rpx;
+$uni-spacing-col-base: 16rpx;
+$uni-spacing-col-lg: 24rpx;
+
+/* 透明度 */
+$uni-opacity-disabled: 0.3; // 组件禁用态的透明度
+
+/* 文章场景相关 */
+$uni-color-title: #2C405A; // 文章标题颜色
+$uni-font-size-title:40rpx;
+$uni-color-subtitle: #555555; // 二级标题颜色
+$uni-font-size-subtitle:36rpx;
+$uni-color-paragraph: #3F536E; // 文章段落颜色
+$uni-font-size-paragraph:30rpx;
\ No newline at end of file
diff --git a/packages/size-check/vite.config.ts b/packages/size-check/vite.config.ts
new file mode 100644
index 0000000000000000000000000000000000000000..640bc45959b80620f29a1ad51053663bbc215234
--- /dev/null
+++ b/packages/size-check/vite.config.ts
@@ -0,0 +1,25 @@
+import path from 'path'
+import vue from '@vitejs/plugin-vue'
+import uni, { uniVueCompilerOptions } from '@dcloudio/vite-plugin-uni'
+
+function resolve(file: string) {
+ return path.resolve(__dirname, file)
+}
+
+/**
+ * @type {import('vite').UserConfig}
+ */
+export default {
+ root: __dirname,
+ build: {
+ // minify: false,
+ },
+ plugins: [
+ vue({
+ template: {
+ compilerOptions: uniVueCompilerOptions,
+ },
+ }),
+ uni({ inputDir: path.resolve(__dirname, 'src') }),
+ ],
+}
diff --git a/packages/uni-components/dist/assets/index-2f25f6b9.css b/packages/uni-components/dist/assets/index-2f25f6b9.css
new file mode 100644
index 0000000000000000000000000000000000000000..9d1c9e5b18e032f4050ccae4e1b171672d381a57
--- /dev/null
+++ b/packages/uni-components/dist/assets/index-2f25f6b9.css
@@ -0,0 +1,1042 @@
+
+uni-canvas {
+ width: 300px;
+ height: 150px;
+ display: block;
+ position: relative;
+}
+uni-canvas > canvas {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+}
+
+uni-checkbox-group[hidden] {
+ display: none;
+}
+.ql-container {
+ display: block;
+ position: relative;
+ box-sizing: border-box;
+ -webkit-user-select: text;
+ user-select: text;
+ outline: none;
+ overflow: hidden;
+ width: 100%;
+ height: 200px;
+ min-height: 200px;
+}
+.ql-container[hidden] {
+ display: none;
+}
+.ql-container .ql-editor {
+ position: relative;
+ font-size: inherit;
+ line-height: inherit;
+ font-family: inherit;
+ min-height: inherit;
+ width: 100%;
+ height: 100%;
+ padding: 0;
+ overflow-x: hidden;
+ overflow-y: auto;
+ -webkit-tap-highlight-color: transparent;
+ -webkit-touch-callout: none;
+ -webkit-overflow-scrolling: touch;
+}
+.ql-container .ql-editor::-webkit-scrollbar {
+ width: 0 !important;
+}
+.ql-container .ql-editor.scroll-disabled {
+ overflow: hidden;
+}
+.ql-container .ql-image-overlay {
+ display: flex;
+ position: absolute;
+ box-sizing: border-box;
+ border: 1px dashed #ccc;
+ justify-content: center;
+ align-items: center;
+ -webkit-user-select: none;
+ user-select: none;
+}
+.ql-container .ql-image-overlay .ql-image-size {
+ position: absolute;
+ padding: 4px 8px;
+ text-align: center;
+ background-color: #fff;
+ color: #888;
+ border: 1px solid #ccc;
+ box-sizing: border-box;
+ opacity: 0.8;
+ right: 4px;
+ top: 4px;
+ font-size: 12px;
+ display: inline-block;
+ width: auto;
+}
+.ql-container .ql-image-overlay .ql-image-toolbar {
+ position: relative;
+ text-align: center;
+ box-sizing: border-box;
+ background: #000;
+ border-radius: 5px;
+ color: #fff;
+ font-size: 0;
+ min-height: 24px;
+ z-index: 100;
+}
+.ql-container .ql-image-overlay .ql-image-toolbar span {
+ display: inline-block;
+ cursor: pointer;
+ padding: 5px;
+ font-size: 12px;
+ border-right: 1px solid #fff;
+}
+.ql-container .ql-image-overlay .ql-image-toolbar span:last-child {
+ border-right: 0;
+}
+.ql-container .ql-image-overlay .ql-image-toolbar span.triangle-up {
+ padding: 0;
+ position: absolute;
+ top: -12px;
+ left: 50%;
+ transform: translatex(-50%);
+ width: 0;
+ height: 0;
+ border-width: 6px;
+ border-style: solid;
+ border-color: transparent transparent black transparent;
+}
+.ql-container .ql-image-overlay .ql-image-handle {
+ position: absolute;
+ height: 12px;
+ width: 12px;
+ border-radius: 50%;
+ border: 1px solid #ccc;
+ box-sizing: border-box;
+ background: #fff;
+}
+.ql-container img {
+ display: inline-block;
+ max-width: 100%;
+}
+.ql-clipboard p {
+ margin: 0;
+ padding: 0;
+}
+.ql-editor {
+ box-sizing: border-box;
+ height: 100%;
+ outline: none;
+ overflow-y: auto;
+ tab-size: 4;
+ -moz-tab-size: 4;
+ text-align: left;
+ white-space: pre-wrap;
+ word-wrap: break-word;
+}
+.ql-editor > * {
+ cursor: text;
+}
+.ql-editor p,
+.ql-editor ol,
+.ql-editor ul,
+.ql-editor pre,
+.ql-editor blockquote,
+.ql-editor h1,
+.ql-editor h2,
+.ql-editor h3,
+.ql-editor h4,
+.ql-editor h5,
+.ql-editor h6 {
+ margin: 0;
+ padding: 0;
+ counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
+}
+.ql-editor ol > li,
+.ql-editor ul > li {
+ list-style-type: none;
+}
+.ql-editor ul > li::before {
+ content: '\2022';
+}
+.ql-editor ul[data-checked=true],
+.ql-editor ul[data-checked=false] {
+ pointer-events: none;
+}
+.ql-editor ul[data-checked=true] > li *,
+.ql-editor ul[data-checked=false] > li * {
+ pointer-events: all;
+}
+.ql-editor ul[data-checked=true] > li::before,
+.ql-editor ul[data-checked=false] > li::before {
+ color: #777;
+ cursor: pointer;
+ pointer-events: all;
+}
+.ql-editor ul[data-checked=true] > li::before {
+ content: '\2611';
+}
+.ql-editor ul[data-checked=false] > li::before {
+ content: '\2610';
+}
+.ql-editor li::before {
+ display: inline-block;
+ white-space: nowrap;
+ width: 2em;
+}
+.ql-editor ol li {
+ counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
+ counter-increment: list-0;
+}
+.ql-editor ol li:before {
+ content: counter(list-0, decimal) '. ';
+}
+.ql-editor ol li.ql-indent-1 {
+ counter-increment: list-1;
+}
+.ql-editor ol li.ql-indent-1:before {
+ content: counter(list-1, lower-alpha) '. ';
+}
+.ql-editor ol li.ql-indent-1 {
+ counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
+}
+.ql-editor ol li.ql-indent-2 {
+ counter-increment: list-2;
+}
+.ql-editor ol li.ql-indent-2:before {
+ content: counter(list-2, lower-roman) '. ';
+}
+.ql-editor ol li.ql-indent-2 {
+ counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9;
+}
+.ql-editor ol li.ql-indent-3 {
+ counter-increment: list-3;
+}
+.ql-editor ol li.ql-indent-3:before {
+ content: counter(list-3, decimal) '. ';
+}
+.ql-editor ol li.ql-indent-3 {
+ counter-reset: list-4 list-5 list-6 list-7 list-8 list-9;
+}
+.ql-editor ol li.ql-indent-4 {
+ counter-increment: list-4;
+}
+.ql-editor ol li.ql-indent-4:before {
+ content: counter(list-4, lower-alpha) '. ';
+}
+.ql-editor ol li.ql-indent-4 {
+ counter-reset: list-5 list-6 list-7 list-8 list-9;
+}
+.ql-editor ol li.ql-indent-5 {
+ counter-increment: list-5;
+}
+.ql-editor ol li.ql-indent-5:before {
+ content: counter(list-5, lower-roman) '. ';
+}
+.ql-editor ol li.ql-indent-5 {
+ counter-reset: list-6 list-7 list-8 list-9;
+}
+.ql-editor ol li.ql-indent-6 {
+ counter-increment: list-6;
+}
+.ql-editor ol li.ql-indent-6:before {
+ content: counter(list-6, decimal) '. ';
+}
+.ql-editor ol li.ql-indent-6 {
+ counter-reset: list-7 list-8 list-9;
+}
+.ql-editor ol li.ql-indent-7 {
+ counter-increment: list-7;
+}
+.ql-editor ol li.ql-indent-7:before {
+ content: counter(list-7, lower-alpha) '. ';
+}
+.ql-editor ol li.ql-indent-7 {
+ counter-reset: list-8 list-9;
+}
+.ql-editor ol li.ql-indent-8 {
+ counter-increment: list-8;
+}
+.ql-editor ol li.ql-indent-8:before {
+ content: counter(list-8, lower-roman) '. ';
+}
+.ql-editor ol li.ql-indent-8 {
+ counter-reset: list-9;
+}
+.ql-editor ol li.ql-indent-9 {
+ counter-increment: list-9;
+}
+.ql-editor ol li.ql-indent-9:before {
+ content: counter(list-9, decimal) '. ';
+}
+.ql-editor .ql-indent-1:not(.ql-direction-rtl) {
+ padding-left: 2em;
+}
+.ql-editor li.ql-indent-1:not(.ql-direction-rtl) {
+ padding-left: 2em;
+}
+.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right {
+ padding-right: 2em;
+}
+.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right {
+ padding-right: 2em;
+}
+.ql-editor .ql-indent-2:not(.ql-direction-rtl) {
+ padding-left: 4em;
+}
+.ql-editor li.ql-indent-2:not(.ql-direction-rtl) {
+ padding-left: 4em;
+}
+.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right {
+ padding-right: 4em;
+}
+.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right {
+ padding-right: 4em;
+}
+.ql-editor .ql-indent-3:not(.ql-direction-rtl) {
+ padding-left: 6em;
+}
+.ql-editor li.ql-indent-3:not(.ql-direction-rtl) {
+ padding-left: 6em;
+}
+.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right {
+ padding-right: 6em;
+}
+.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right {
+ padding-right: 6em;
+}
+.ql-editor .ql-indent-4:not(.ql-direction-rtl) {
+ padding-left: 8em;
+}
+.ql-editor li.ql-indent-4:not(.ql-direction-rtl) {
+ padding-left: 8em;
+}
+.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right {
+ padding-right: 8em;
+}
+.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right {
+ padding-right: 8em;
+}
+.ql-editor .ql-indent-5:not(.ql-direction-rtl) {
+ padding-left: 10em;
+}
+.ql-editor li.ql-indent-5:not(.ql-direction-rtl) {
+ padding-left: 10em;
+}
+.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right {
+ padding-right: 10em;
+}
+.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right {
+ padding-right: 10em;
+}
+.ql-editor .ql-indent-6:not(.ql-direction-rtl) {
+ padding-left: 12em;
+}
+.ql-editor li.ql-indent-6:not(.ql-direction-rtl) {
+ padding-left: 12em;
+}
+.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right {
+ padding-right: 12em;
+}
+.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right {
+ padding-right: 12em;
+}
+.ql-editor .ql-indent-7:not(.ql-direction-rtl) {
+ padding-left: 14em;
+}
+.ql-editor li.ql-indent-7:not(.ql-direction-rtl) {
+ padding-left: 14em;
+}
+.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right {
+ padding-right: 14em;
+}
+.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right {
+ padding-right: 14em;
+}
+.ql-editor .ql-indent-8:not(.ql-direction-rtl) {
+ padding-left: 16em;
+}
+.ql-editor li.ql-indent-8:not(.ql-direction-rtl) {
+ padding-left: 16em;
+}
+.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right {
+ padding-right: 16em;
+}
+.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right {
+ padding-right: 16em;
+}
+.ql-editor .ql-indent-9:not(.ql-direction-rtl) {
+ padding-left: 18em;
+}
+.ql-editor li.ql-indent-9:not(.ql-direction-rtl) {
+ padding-left: 18em;
+}
+.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right {
+ padding-right: 18em;
+}
+.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right {
+ padding-right: 18em;
+}
+.ql-editor .ql-direction-rtl {
+ direction: rtl;
+ text-align: inherit;
+}
+.ql-editor .ql-align-center {
+ text-align: center;
+}
+.ql-editor .ql-align-justify {
+ text-align: justify;
+}
+.ql-editor .ql-align-right {
+ text-align: right;
+}
+.ql-editor.ql-blank::before {
+ color: rgba(0, 0, 0, 0.6);
+ content: attr(data-placeholder);
+ font-style: italic;
+ pointer-events: none;
+ position: absolute;
+}
+.ql-container.ql-disabled .ql-editor ul[data-checked] > li::before {
+ pointer-events: none;
+}
+.ql-clipboard {
+ left: -100000px;
+ height: 1px;
+ overflow-y: hidden;
+ position: absolute;
+ top: 50%;
+}
+
+
+
+uni-icon {
+ display: inline-block;
+ font-size: 0;
+ box-sizing: border-box;
+}
+uni-icon[hidden] {
+ display: none;
+}
+uni-icon > i {
+ font: normal normal normal 14px/1 'weui';
+}
+uni-icon > i:before {
+ margin: 0;
+ box-sizing: border-box;
+}
+@font-face {
+ font-weight: normal;
+ font-style: normal;
+ font-family: 'weui';
+ src: url('data:application/octet-stream;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzJAKEx8AAABfAAAAFZjbWFw65cFHQAAAhwAAAJQZ2x5Zp+UEEcAAASUAAAIvGhlYWQUqc7xAAAA4AAAADZoaGVhB/YD+wAAALwAAAAkaG10eEJoAAAAAAHUAAAASGxvY2EUxhJeAAAEbAAAACZtYXhwASEAQwAAARgAAAAgbmFtZeNcHtgAAA1QAAAB5nBvc3T6OoZLAAAPOAAAAOYAAQAAA+gAAABaA+gAAAAAA7MAAQAAAAAAAAAAAAAAAAAAABIAAQAAAAEAAMCU2KdfDzz1AAsD6AAAAADY7EUUAAAAANjsRRQAAAAAA7MD5AAAAAgAAgAAAAAAAAABAAAAEgA3AAUAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAAAAQOwAZAABQAIAnoCvAAAAIwCegK8AAAB4AAxAQIAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABA6gHqEQPoAAAAWgPoAAAAAAABAAAAAAAAAAAAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAAAAABQAAAAMAAAAsAAAABAAAAXQAAQAAAAAAbgADAAEAAAAsAAMACgAAAXQABABCAAAABAAEAAEAAO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HYAZwAyAHQAdABmACAAZgByAG8AbQAgAEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAgAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASAQIBAwEEAQUBBgEHAQgBCQEKAQsBDAENAQ4BDwEQAREBEgETAAZjaXJjbGUIZG93bmxvYWQEaW5mbwxzYWZlLXN1Y2Nlc3MJc2FmZS13YXJuB3N1Y2Nlc3MOc3VjY2Vzcy1jaXJjbGURc3VjY2Vzcy1uby1jaXJjbGUHd2FpdGluZw53YWl0aW5nLWNpcmNsZQR3YXJuC2luZm8tY2lyY2xlBmNhbmNlbAZzZWFyY2gFY2xlYXIEYmFjawZkZWxldGUAAAAA')
+ format('truetype');
+}
+.uni-icon-success:before {
+ content: '\EA06';
+}
+.uni-icon-success_circle:before {
+ content: '\EA07';
+}
+.uni-icon-success_no_circle:before {
+ content: '\EA08';
+}
+.uni-icon-safe_success:before {
+ content: '\EA04';
+}
+.uni-icon-safe_warn:before {
+ content: '\EA05';
+}
+.uni-icon-info:before {
+ content: '\EA03';
+}
+.uni-icon-info_circle:before {
+ content: '\EA0C';
+}
+.uni-icon-warn:before {
+ content: '\EA0B';
+}
+.uni-icon-waiting:before {
+ content: '\EA09';
+}
+.uni-icon-waiting_circle:before {
+ content: '\EA0A';
+}
+.uni-icon-circle:before {
+ content: '\EA01';
+}
+.uni-icon-cancel:before {
+ content: '\EA0D';
+}
+.uni-icon-download:before {
+ content: '\EA02';
+}
+.uni-icon-search:before {
+ content: '\EA0E';
+}
+.uni-icon-clear:before {
+ content: '\EA0F';
+}
+.uni-icon-success {
+ color: #007aff;
+}
+.uni-icon-success_circle {
+ color: #007aff;
+}
+.uni-icon-success_no_circle {
+ color: #007aff;
+}
+.uni-icon-safe_success {
+ color: #007aff;
+}
+.uni-icon-safe_warn {
+ color: #ffbe00;
+}
+.uni-icon-info {
+ color: #10aeff;
+}
+.uni-icon-info_circle {
+ color: #007aff;
+}
+.uni-icon-warn {
+ color: #f76260;
+}
+.uni-icon-waiting {
+ color: #10aeff;
+}
+.uni-icon-waiting_circle {
+ color: #10aeff;
+}
+.uni-icon-circle {
+ color: #c9c9c9;
+}
+.uni-icon-cancel {
+ color: #f43530;
+}
+.uni-icon-download {
+ color: #007aff;
+}
+.uni-icon-search {
+ color: #b2b2b2;
+}
+.uni-icon-clear {
+ color: #b2b2b2;
+}
+
+uni-image {
+ width: 320px;
+ height: 240px;
+ display: inline-block;
+ overflow: hidden;
+ position: relative;
+}
+uni-image[hidden] {
+ display: none;
+}
+uni-image>div {
+ width: 100%;
+ height: 100%;
+}
+uni-image>img {
+ -webkit-touch-callout: none;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ display: block;
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ opacity: 0;
+}
+uni-image>.uni-image-will-change {
+ will-change: transform;
+}
+
+uni-input {
+ display: block;
+ font-size: 16px;
+ line-height: 1.4em;
+ height: 1.4em;
+ min-height: 1.4em;
+ overflow: hidden;
+}
+uni-input[hidden] {
+ display: none;
+}
+.uni-input-wrapper,
+.uni-input-placeholder,
+.uni-input-form,
+.uni-input-input {
+ outline: none;
+ border: none;
+ padding: 0;
+ margin: 0;
+ text-decoration: inherit;
+}
+.uni-input-wrapper,
+.uni-input-form {
+ display: flex;
+ position: relative;
+ width: 100%;
+ height: 100%;
+ flex-direction: column;
+ justify-content: center;
+}
+.uni-input-placeholder,
+.uni-input-input {
+ width: 100%;
+}
+.uni-input-placeholder {
+ position: absolute;
+ top: auto !important;
+ left: 0;
+ color: gray;
+ overflow: hidden;
+ text-overflow: clip;
+ white-space: pre;
+ word-break: keep-all;
+ pointer-events: none;
+ line-height: inherit;
+}
+.uni-input-input {
+ display: block;
+ height: 100%;
+ background: none;
+ color: inherit;
+ opacity: 1;
+ -webkit-text-fill-color: currentcolor;
+ font: inherit;
+ line-height: inherit;
+ letter-spacing: inherit;
+ text-align: inherit;
+ text-indent: inherit;
+ text-transform: inherit;
+ text-shadow: inherit;
+}
+.uni-input-input[type="search"]::-webkit-search-cancel-button {
+ display: none;
+}
+.uni-input-input::-webkit-outer-spin-button,
+.uni-input-input::-webkit-inner-spin-button {
+ -webkit-appearance: none;
+ margin: 0;
+}
+.uni-input-input[type="number"] {
+ -moz-appearance: textfield;
+}
+
+.uni-label-pointer {
+ cursor: pointer;
+}
+
+uni-movable-view {
+ display: inline-block;
+ width: 10px;
+ height: 10px;
+ top: 0px;
+ left: 0px;
+ position: absolute;
+ cursor: grab;
+}
+uni-movable-view[hidden] {
+ display: none;
+}
+
+uni-navigator {
+ height: auto;
+ width: auto;
+ display: block;
+ cursor: pointer;
+}
+uni-navigator[hidden] {
+ display: none;
+}
+.navigator-hover {
+ background-color: rgba(0, 0, 0, 0.1);
+ opacity: 0.7;
+}
+
+uni-radio {
+ -webkit-tap-highlight-color: transparent;
+ display: inline-block;
+ cursor: pointer;
+}
+uni-radio[hidden] {
+ display: none;
+}
+uni-radio[disabled] {
+ cursor: not-allowed;
+}
+uni-radio .uni-radio-wrapper {
+ display: -webkit-inline-flex;
+ display: inline-flex;
+ -webkit-align-items: center;
+ align-items: center;
+ vertical-align: middle;
+}
+uni-radio .uni-radio-input {
+ -webkit-appearance: none;
+ appearance: none;
+ margin-right: 5px;
+ outline: 0;
+ border: 1px solid #D1D1D1;
+ background-color: #ffffff;
+ border-radius: 50%;
+ width: 22px;
+ height: 22px;
+ position: relative;
+}
+uni-radio:not([disabled]) .uni-radio-input:hover {
+ border-color: #007aff;
+}
+uni-radio .uni-radio-input.uni-radio-input-checked:before {
+ font: normal normal normal 14px/1 "uni";
+ content: "\EA08";
+ color: #ffffff;
+ font-size: 18px;
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -48%) scale(0.73);
+ -webkit-transform: translate(-50%, -48%) scale(0.73);
+}
+uni-radio .uni-radio-input.uni-radio-input-disabled {
+ background-color: #E1E1E1;
+ border-color: #D1D1D1;
+}
+uni-radio .uni-radio-input.uni-radio-input-disabled:before {
+ color: #ADADAD;
+}
+uni-radio-group {
+ display: block;
+}
+
+uni-radio-group[hidden] {
+ display: none;
+}
+
+@keyframes once-show {
+from {
+ top: 0;
+}
+}
+uni-resize-sensor,
+uni-resize-sensor > div {
+ position: absolute;
+ left: 0;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ overflow: hidden;
+}
+uni-resize-sensor {
+ display: block;
+ z-index: -1;
+ visibility: hidden;
+ animation: once-show 1ms;
+}
+uni-resize-sensor > div > div {
+ position: absolute;
+ left: 0;
+ top: 0;
+}
+uni-resize-sensor > div:first-child > div {
+ width: 100000px;
+ height: 100000px;
+}
+uni-resize-sensor > div:last-child > div {
+ width: 200%;
+ height: 200%;
+}
+
+uni-scroll-view {
+ display: block;
+ width: 100%;
+}
+uni-scroll-view[hidden] {
+ display: none;
+}
+.uni-scroll-view {
+ position: relative;
+ -webkit-overflow-scrolling: touch;
+ width: 100%;
+ /* display: flex; 时在安卓下会导致scrollWidth和offsetWidth一样 */
+ height: 100%;
+ max-height: inherit;
+}
+.uni-scroll-view-content {
+ width: 100%;
+ height: 100%;
+}
+.uni-scroll-view-refresher {
+ position: relative;
+ overflow: hidden;
+}
+.uni-scroll-view-refresh {
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ display: flex;
+ flex-direction: row;
+ justify-content: center;
+ align-items: center;
+}
+.uni-scroll-view-refresh-inner {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ line-height: 0;
+ width: 40px;
+ height: 40px;
+ border-radius: 50%;
+ background-color: #fff;
+ box-shadow: 0 1px 6px rgba(0, 0, 0, 0.117647),
+ 0 1px 4px rgba(0, 0, 0, 0.117647);
+}
+.uni-scroll-view-refresh__spinner {
+ transform-origin: center center;
+ animation: uni-scroll-view-refresh-rotate 2s linear infinite;
+}
+.uni-scroll-view-refresh__spinner > circle {
+ stroke: currentColor;
+ stroke-linecap: round;
+ animation: uni-scroll-view-refresh-dash 2s linear infinite;
+}
+@keyframes uni-scroll-view-refresh-rotate {
+0% {
+ transform: rotate(0deg);
+}
+100% {
+ transform: rotate(360deg);
+}
+}
+@keyframes uni-scroll-view-refresh-dash {
+0% {
+ stroke-dasharray: 1, 200;
+ stroke-dashoffset: 0;
+}
+50% {
+ stroke-dasharray: 89, 200;
+ stroke-dashoffset: -35px;
+}
+100% {
+ stroke-dasharray: 89, 200;
+ stroke-dashoffset: -124px;
+}
+}
+
+uni-swiper-item {
+ display: block;
+ overflow: hidden;
+ will-change: transform;
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ cursor: grab;
+}
+uni-swiper-item[hidden] {
+ display: none;
+}
+
+uni-switch {
+ -webkit-tap-highlight-color: transparent;
+ display: inline-block;
+ cursor: pointer;
+}
+uni-switch[hidden] {
+ display: none;
+}
+uni-switch[disabled] {
+ cursor: not-allowed;
+}
+uni-switch .uni-switch-wrapper {
+ display: -webkit-inline-flex;
+ display: inline-flex;
+ -webkit-align-items: center;
+ align-items: center;
+ vertical-align: middle;
+}
+uni-switch .uni-switch-input {
+ -webkit-appearance: none;
+ appearance: none;
+ position: relative;
+ width: 52px;
+ height: 32px;
+ margin-right: 5px;
+ border: 1px solid #DFDFDF;
+ outline: 0;
+ border-radius: 16px;
+ box-sizing: border-box;
+ background-color: #DFDFDF;
+ transition: background-color 0.1s, border 0.1s;
+}
+uni-switch[disabled] .uni-switch-input {
+ opacity: .7;
+}
+uni-switch .uni-switch-input:before {
+ content: " ";
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 50px;
+ height: 30px;
+ border-radius: 15px;
+ background-color: #FDFDFD;
+ transition: -webkit-transform 0.3s;
+ transition: transform 0.3s;
+ transition: transform 0.3s, -webkit-transform 0.3s;
+}
+uni-switch .uni-switch-input:after {
+ content: " ";
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 30px;
+ height: 30px;
+ border-radius: 15px;
+ background-color: #FFFFFF;
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
+ transition: -webkit-transform 0.3s;
+ transition: transform 0.3s;
+ transition: transform 0.3s, -webkit-transform 0.3s;
+}
+uni-switch .uni-switch-input.uni-switch-input-checked {
+ border-color: #007aff;
+ background-color: #007aff;
+}
+uni-switch .uni-switch-input.uni-switch-input-checked:before {
+ -webkit-transform: scale(0);
+ transform: scale(0);
+}
+uni-switch .uni-switch-input.uni-switch-input-checked:after {
+ -webkit-transform: translateX(20px);
+ transform: translateX(20px);
+}
+uni-switch .uni-checkbox-input {
+ margin-right: 5px;
+ -webkit-appearance: none;
+ appearance: none;
+ outline: 0;
+ border: 1px solid #D1D1D1;
+ background-color: #FFFFFF;
+ border-radius: 3px;
+ width: 22px;
+ height: 22px;
+ position: relative;
+ color: #007aff;
+}
+uni-switch:not([disabled]) .uni-checkbox-input:hover {
+ border-color: #007aff;
+}
+uni-switch .uni-checkbox-input.uni-checkbox-input-checked:before {
+ font: normal normal normal 14px/1 "uni";
+ content: "\EA08";
+ color: inherit;
+ font-size: 22px;
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -48%) scale(0.73);
+ -webkit-transform: translate(-50%, -48%) scale(0.73);
+}
+uni-switch .uni-checkbox-input.uni-checkbox-input-disabled {
+ background-color: #E1E1E1;
+}
+uni-switch .uni-checkbox-input.uni-checkbox-input-disabled:before {
+ color: #ADADAD;
+}
+
+uni-text[selectable] {
+ cursor: auto;
+ user-select: text;
+ -webkit-user-select: text;
+}
+
+uni-textarea {
+ width: 300px;
+ height: 150px;
+ display: block;
+ position: relative;
+ font-size: 16px;
+ line-height: normal;
+ white-space: pre-wrap;
+ word-break: break-all;
+}
+uni-textarea[hidden] {
+ display: none;
+}
+.uni-textarea-wrapper,
+.uni-textarea-placeholder,
+.uni-textarea-line,
+.uni-textarea-compute,
+.uni-textarea-textarea {
+ outline: none;
+ border: none;
+ padding: 0;
+ margin: 0;
+ text-decoration: inherit;
+}
+.uni-textarea-wrapper {
+ display: block;
+ position: relative;
+ width: 100%;
+ height: 100%;
+}
+.uni-textarea-placeholder,
+.uni-textarea-line,
+.uni-textarea-compute,
+.uni-textarea-textarea {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ left: 0;
+ top: 0;
+ white-space: inherit;
+ word-break: inherit;
+}
+.uni-textarea-placeholder {
+ color: grey;
+ overflow: hidden;
+}
+.uni-textarea-line,
+.uni-textarea-compute {
+ visibility: hidden;
+ height: auto;
+}
+.uni-textarea-line {
+ width: 1em;
+}
+.uni-textarea-textarea {
+ resize: none;
+ background: none;
+ color: inherit;
+ opacity: 1;
+ -webkit-text-fill-color: currentcolor;
+ font: inherit;
+ line-height: inherit;
+ letter-spacing: inherit;
+ text-align: inherit;
+ text-indent: inherit;
+ text-transform: inherit;
+ text-shadow: inherit;
+}
+/* 用于解决 iOS textarea 内部默认边距 */
+.uni-textarea-textarea-fix-margin {
+ width: auto;
+ right: 0;
+ margin: 0 -3px;
+}
+
+uni-view {
+ display: block;
+}
+uni-view[hidden] {
+ display: none;
+}
diff --git a/packages/uni-components/dist/uni-components.esm.js b/packages/uni-components/dist/uni-components.esm.js
index 0c24c555c3496161ce9d68b9db104bd360901a44..5cc10e484ab3f62dd31001fb6201194016e827b8 100644
--- a/packages/uni-components/dist/uni-components.esm.js
+++ b/packages/uni-components/dist/uni-components.esm.js
@@ -383,7 +383,7 @@ try {
} catch (e2) {
}
const passiveOptions = supportsPassive$1 ? {passive: true} : false;
-const _sfc_main$m = {
+const _sfc_main$n = {
name: "Audio",
mixins: [subscriber],
props: {
@@ -538,7 +538,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
])
], 16, ["id", "controls"]);
}
-_sfc_main$m.render = _sfc_render$l;
+_sfc_main$n.render = _sfc_render$l;
const pixelRatio = function() {
const canvas = document.createElement("canvas");
canvas.height = canvas.width = 0;
@@ -667,7 +667,7 @@ function wrapper(canvas) {
canvas.height = canvas.offsetHeight * pixelRatio;
canvas.getContext("2d").__hidpi__ = true;
}
-var index_vue_vue_type_style_index_0_lang$g = "\nuni-canvas {\r\n width: 300px;\r\n height: 150px;\r\n display: block;\r\n position: relative;\n}\nuni-canvas > canvas {\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: 100%;\n}\r\n";
+var index_vue_vue_type_style_index_0_lang$h = "\nuni-canvas {\r\n width: 300px;\r\n height: 150px;\r\n display: block;\r\n position: relative;\n}\nuni-canvas > canvas {\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: 100%;\n}\r\n";
function resolveColor(color) {
color = color.slice(0);
color[3] = color[3] / 255;
@@ -692,7 +692,7 @@ function getTempCanvas(width = 0, height = 0) {
tempCanvas.height = height;
return tempCanvas;
}
-const _sfc_main$l = {
+const _sfc_main$m = {
name: "Canvas",
mixins: [subscriber],
props: {
@@ -1210,8 +1210,8 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
}, null, 8, ["onResize"])
], 16, ["canvas-id", "disable-scroll"]);
}
-_sfc_main$l.render = _sfc_render$k;
-const _sfc_main$k = {
+_sfc_main$m.render = _sfc_render$k;
+const _sfc_main$l = {
name: "Checkbox",
mixins: [emitter, listeners],
props: {
@@ -1301,9 +1301,9 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
])
], 16, ["disabled"]);
}
-_sfc_main$k.render = _sfc_render$j;
-var index_vue_vue_type_style_index_0_lang$f = "\nuni-checkbox-group[hidden] {\r\n display: none;\n}\r\n";
-const _sfc_main$j = {
+_sfc_main$l.render = _sfc_render$j;
+var index_vue_vue_type_style_index_0_lang$g = "\nuni-checkbox-group[hidden] {\r\n display: none;\n}\r\n";
+const _sfc_main$k = {
name: "CheckboxGroup",
mixins: [emitter, listeners],
props: {
@@ -1374,7 +1374,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
renderSlot(_ctx.$slots, "default")
], 16);
}
-_sfc_main$j.render = _sfc_render$i;
+_sfc_main$k.render = _sfc_render$i;
var startTag = /^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/;
var endTag = /^<\/([-A-Za-z0-9_]+)[^>]*>/;
var attr = /([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g;
@@ -1759,7 +1759,7 @@ function register(Quill) {
}
var editor_css_vue_type_style_index_0_src_lang = ".ql-container {\n display: block;\n position: relative;\n box-sizing: border-box;\n -webkit-user-select: text;\n user-select: text;\n outline: none;\n overflow: hidden;\n width: 100%;\n height: 200px;\n min-height: 200px;\n}\n.ql-container[hidden] {\n display: none;\n}\n.ql-container .ql-editor {\n position: relative;\n font-size: inherit;\n line-height: inherit;\n font-family: inherit;\n min-height: inherit;\n width: 100%;\n height: 100%;\n padding: 0;\n overflow-x: hidden;\n overflow-y: auto;\n -webkit-tap-highlight-color: transparent;\n -webkit-touch-callout: none;\n -webkit-overflow-scrolling: touch;\n}\n.ql-container .ql-editor::-webkit-scrollbar {\n width: 0 !important;\n}\n.ql-container .ql-editor.scroll-disabled {\n overflow: hidden;\n}\n.ql-container .ql-image-overlay {\n display: flex;\n position: absolute;\n box-sizing: border-box;\n border: 1px dashed #ccc;\n justify-content: center;\n align-items: center;\n -webkit-user-select: none;\n user-select: none;\n}\n.ql-container .ql-image-overlay .ql-image-size {\n position: absolute;\n padding: 4px 8px;\n text-align: center;\n background-color: #fff;\n color: #888;\n border: 1px solid #ccc;\n box-sizing: border-box;\n opacity: 0.8;\n right: 4px;\n top: 4px;\n font-size: 12px;\n display: inline-block;\n width: auto;\n}\n.ql-container .ql-image-overlay .ql-image-toolbar {\n position: relative;\n text-align: center;\n box-sizing: border-box;\n background: #000;\n border-radius: 5px;\n color: #fff;\n font-size: 0;\n min-height: 24px;\n z-index: 100;\n}\n.ql-container .ql-image-overlay .ql-image-toolbar span {\n display: inline-block;\n cursor: pointer;\n padding: 5px;\n font-size: 12px;\n border-right: 1px solid #fff;\n}\n.ql-container .ql-image-overlay .ql-image-toolbar span:last-child {\n border-right: 0;\n}\n.ql-container .ql-image-overlay .ql-image-toolbar span.triangle-up {\n padding: 0;\n position: absolute;\n top: -12px;\n left: 50%;\n transform: translatex(-50%);\n width: 0;\n height: 0;\n border-width: 6px;\n border-style: solid;\n border-color: transparent transparent black transparent;\n}\n.ql-container .ql-image-overlay .ql-image-handle {\n position: absolute;\n height: 12px;\n width: 12px;\n border-radius: 50%;\n border: 1px solid #ccc;\n box-sizing: border-box;\n background: #fff;\n}\n.ql-container img {\n display: inline-block;\n max-width: 100%;\n}\n.ql-clipboard p {\n margin: 0;\n padding: 0;\n}\n.ql-editor {\n box-sizing: border-box;\n height: 100%;\n outline: none;\n overflow-y: auto;\n tab-size: 4;\n -moz-tab-size: 4;\n text-align: left;\n white-space: pre-wrap;\n word-wrap: break-word;\n}\n.ql-editor > * {\n cursor: text;\n}\n.ql-editor p,\n.ql-editor ol,\n.ql-editor ul,\n.ql-editor pre,\n.ql-editor blockquote,\n.ql-editor h1,\n.ql-editor h2,\n.ql-editor h3,\n.ql-editor h4,\n.ql-editor h5,\n.ql-editor h6 {\n margin: 0;\n padding: 0;\n counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol > li,\n.ql-editor ul > li {\n list-style-type: none;\n}\n.ql-editor ul > li::before {\n content: '\\2022';\n}\n.ql-editor ul[data-checked=true],\n.ql-editor ul[data-checked=false] {\n pointer-events: none;\n}\n.ql-editor ul[data-checked=true] > li *,\n.ql-editor ul[data-checked=false] > li * {\n pointer-events: all;\n}\n.ql-editor ul[data-checked=true] > li::before,\n.ql-editor ul[data-checked=false] > li::before {\n color: #777;\n cursor: pointer;\n pointer-events: all;\n}\n.ql-editor ul[data-checked=true] > li::before {\n content: '\\2611';\n}\n.ql-editor ul[data-checked=false] > li::before {\n content: '\\2610';\n}\n.ql-editor li::before {\n display: inline-block;\n white-space: nowrap;\n width: 2em;\n}\n.ql-editor ol li {\n counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n counter-increment: list-0;\n}\n.ql-editor ol li:before {\n content: counter(list-0, decimal) '. ';\n}\n.ql-editor ol li.ql-indent-1 {\n counter-increment: list-1;\n}\n.ql-editor ol li.ql-indent-1:before {\n content: counter(list-1, lower-alpha) '. ';\n}\n.ql-editor ol li.ql-indent-1 {\n counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-2 {\n counter-increment: list-2;\n}\n.ql-editor ol li.ql-indent-2:before {\n content: counter(list-2, lower-roman) '. ';\n}\n.ql-editor ol li.ql-indent-2 {\n counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-3 {\n counter-increment: list-3;\n}\n.ql-editor ol li.ql-indent-3:before {\n content: counter(list-3, decimal) '. ';\n}\n.ql-editor ol li.ql-indent-3 {\n counter-reset: list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-4 {\n counter-increment: list-4;\n}\n.ql-editor ol li.ql-indent-4:before {\n content: counter(list-4, lower-alpha) '. ';\n}\n.ql-editor ol li.ql-indent-4 {\n counter-reset: list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-5 {\n counter-increment: list-5;\n}\n.ql-editor ol li.ql-indent-5:before {\n content: counter(list-5, lower-roman) '. ';\n}\n.ql-editor ol li.ql-indent-5 {\n counter-reset: list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-6 {\n counter-increment: list-6;\n}\n.ql-editor ol li.ql-indent-6:before {\n content: counter(list-6, decimal) '. ';\n}\n.ql-editor ol li.ql-indent-6 {\n counter-reset: list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-7 {\n counter-increment: list-7;\n}\n.ql-editor ol li.ql-indent-7:before {\n content: counter(list-7, lower-alpha) '. ';\n}\n.ql-editor ol li.ql-indent-7 {\n counter-reset: list-8 list-9;\n}\n.ql-editor ol li.ql-indent-8 {\n counter-increment: list-8;\n}\n.ql-editor ol li.ql-indent-8:before {\n content: counter(list-8, lower-roman) '. ';\n}\n.ql-editor ol li.ql-indent-8 {\n counter-reset: list-9;\n}\n.ql-editor ol li.ql-indent-9 {\n counter-increment: list-9;\n}\n.ql-editor ol li.ql-indent-9:before {\n content: counter(list-9, decimal) '. ';\n}\n.ql-editor .ql-indent-1:not(.ql-direction-rtl) {\n padding-left: 2em;\n}\n.ql-editor li.ql-indent-1:not(.ql-direction-rtl) {\n padding-left: 2em;\n}\n.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right {\n padding-right: 2em;\n}\n.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right {\n padding-right: 2em;\n}\n.ql-editor .ql-indent-2:not(.ql-direction-rtl) {\n padding-left: 4em;\n}\n.ql-editor li.ql-indent-2:not(.ql-direction-rtl) {\n padding-left: 4em;\n}\n.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right {\n padding-right: 4em;\n}\n.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right {\n padding-right: 4em;\n}\n.ql-editor .ql-indent-3:not(.ql-direction-rtl) {\n padding-left: 6em;\n}\n.ql-editor li.ql-indent-3:not(.ql-direction-rtl) {\n padding-left: 6em;\n}\n.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right {\n padding-right: 6em;\n}\n.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right {\n padding-right: 6em;\n}\n.ql-editor .ql-indent-4:not(.ql-direction-rtl) {\n padding-left: 8em;\n}\n.ql-editor li.ql-indent-4:not(.ql-direction-rtl) {\n padding-left: 8em;\n}\n.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right {\n padding-right: 8em;\n}\n.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right {\n padding-right: 8em;\n}\n.ql-editor .ql-indent-5:not(.ql-direction-rtl) {\n padding-left: 10em;\n}\n.ql-editor li.ql-indent-5:not(.ql-direction-rtl) {\n padding-left: 10em;\n}\n.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right {\n padding-right: 10em;\n}\n.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right {\n padding-right: 10em;\n}\n.ql-editor .ql-indent-6:not(.ql-direction-rtl) {\n padding-left: 12em;\n}\n.ql-editor li.ql-indent-6:not(.ql-direction-rtl) {\n padding-left: 12em;\n}\n.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right {\n padding-right: 12em;\n}\n.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right {\n padding-right: 12em;\n}\n.ql-editor .ql-indent-7:not(.ql-direction-rtl) {\n padding-left: 14em;\n}\n.ql-editor li.ql-indent-7:not(.ql-direction-rtl) {\n padding-left: 14em;\n}\n.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right {\n padding-right: 14em;\n}\n.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right {\n padding-right: 14em;\n}\n.ql-editor .ql-indent-8:not(.ql-direction-rtl) {\n padding-left: 16em;\n}\n.ql-editor li.ql-indent-8:not(.ql-direction-rtl) {\n padding-left: 16em;\n}\n.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right {\n padding-right: 16em;\n}\n.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right {\n padding-right: 16em;\n}\n.ql-editor .ql-indent-9:not(.ql-direction-rtl) {\n padding-left: 18em;\n}\n.ql-editor li.ql-indent-9:not(.ql-direction-rtl) {\n padding-left: 18em;\n}\n.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right {\n padding-right: 18em;\n}\n.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right {\n padding-right: 18em;\n}\n.ql-editor .ql-direction-rtl {\n direction: rtl;\n text-align: inherit;\n}\n.ql-editor .ql-align-center {\n text-align: center;\n}\n.ql-editor .ql-align-justify {\n text-align: justify;\n}\n.ql-editor .ql-align-right {\n text-align: right;\n}\n.ql-editor.ql-blank::before {\n color: rgba(0, 0, 0, 0.6);\n content: attr(data-placeholder);\n font-style: italic;\n pointer-events: none;\n position: absolute;\n}\n.ql-container.ql-disabled .ql-editor ul[data-checked] > li::before {\n pointer-events: none;\n}\n.ql-clipboard {\n left: -100000px;\n height: 1px;\n overflow-y: hidden;\n position: absolute;\n top: 50%;\n}\n";
var index_vue_vue_type_style_index_1_lang = "\n";
-const _sfc_main$i = {
+const _sfc_main$j = {
name: "Editor",
mixins: [subscriber, emitter, keyboard],
props: {
@@ -2087,9 +2087,9 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
class: "ql-container"
}, _ctx.$attrs), null, 16, ["id"]);
}
-_sfc_main$i.render = _sfc_render$h;
-var index_vue_vue_type_style_index_0_lang$e = "\r\n";
-const _sfc_main$h = {
+_sfc_main$j.render = _sfc_render$h;
+var index_vue_vue_type_style_index_0_lang$f = "\r\n";
+const _sfc_main$i = {
name: "Form",
mixins: [listeners],
data() {
@@ -2137,9 +2137,9 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
])
], 16);
}
-_sfc_main$h.render = _sfc_render$g;
-var index_vue_vue_type_style_index_0_lang$d = "\nuni-icon {\r\n display: inline-block;\r\n font-size: 0;\r\n box-sizing: border-box;\n}\nuni-icon[hidden] {\r\n display: none;\n}\nuni-icon > i {\r\n font: normal normal normal 14px/1 'weui';\n}\nuni-icon > i:before {\r\n margin: 0;\r\n box-sizing: border-box;\n}\n@font-face {\r\n font-weight: normal;\r\n font-style: normal;\r\n font-family: 'weui';\r\n src: url('data:application/octet-stream;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzJAKEx8AAABfAAAAFZjbWFw65cFHQAAAhwAAAJQZ2x5Zp+UEEcAAASUAA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pcmNsZQR3YXJuC2luZm8tY2lyY2xlBmNhbmNlbAZzZWFyY2gFY2xlYXIEYmFjawZkZWxldGUAAAAA')\r\n format('truetype');\n}\n.uni-icon-success:before {\r\n content: '\\EA06';\n}\n.uni-icon-success_circle:before {\r\n content: '\\EA07';\n}\n.uni-icon-success_no_circle:before {\r\n content: '\\EA08';\n}\n.uni-icon-safe_success:before {\r\n content: '\\EA04';\n}\n.uni-icon-safe_warn:before {\r\n content: '\\EA05';\n}\n.uni-icon-info:before {\r\n content: '\\EA03';\n}\n.uni-icon-info_circle:before {\r\n content: '\\EA0C';\n}\n.uni-icon-warn:before {\r\n content: '\\EA0B';\n}\n.uni-icon-waiting:before {\r\n content: '\\EA09';\n}\n.uni-icon-waiting_circle:before {\r\n content: '\\EA0A';\n}\n.uni-icon-circle:before {\r\n content: '\\EA01';\n}\n.uni-icon-cancel:before {\r\n content: '\\EA0D';\n}\n.uni-icon-download:before {\r\n content: '\\EA02';\n}\n.uni-icon-search:before {\r\n content: '\\EA0E';\n}\n.uni-icon-clear:before {\r\n content: '\\EA0F';\n}\n.uni-icon-success {\r\n color: #007aff;\n}\n.uni-icon-success_circle {\r\n color: #007aff;\n}\n.uni-icon-success_no_circle {\r\n color: #007aff;\n}\n.uni-icon-safe_success {\r\n color: #007aff;\n}\n.uni-icon-safe_warn {\r\n color: #ffbe00;\n}\n.uni-icon-info {\r\n color: #10aeff;\n}\n.uni-icon-info_circle {\r\n color: #007aff;\n}\n.uni-icon-warn {\r\n color: #f76260;\n}\n.uni-icon-waiting {\r\n color: #10aeff;\n}\n.uni-icon-waiting_circle {\r\n color: #10aeff;\n}\n.uni-icon-circle {\r\n color: #c9c9c9;\n}\n.uni-icon-cancel {\r\n color: #f43530;\n}\n.uni-icon-download {\r\n color: #007aff;\n}\n.uni-icon-search {\r\n color: #b2b2b2;\n}\n.uni-icon-clear {\r\n color: #b2b2b2;\n}\r\n";
-const _sfc_main$g = {
+_sfc_main$i.render = _sfc_render$g;
+var index_vue_vue_type_style_index_0_lang$e = "\nuni-icon {\r\n display: inline-block;\r\n font-size: 0;\r\n box-sizing: border-box;\n}\nuni-icon[hidden] {\r\n display: none;\n}\nuni-icon > i {\r\n font: normal normal normal 14px/1 'weui';\n}\nuni-icon > i:before {\r\n margin: 0;\r\n box-sizing: border-box;\n}\n@font-face {\r\n font-weight: normal;\r\n font-style: normal;\r\n font-family: 'weui';\r\n src: url('data:application/octet-stream;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzJAKEx8AAABfAAAAFZjbWFw65cFHQAAAhwAAAJQZ2x5Zp+UEEcAAASUAAAIvGhlYWQUqc7xAAAA4AAAADZoaGVhB/YD+wAAALwAAAAkaG10eEJoAAAAAAHUAAAASGxvY2EUxhJeAAAEbAAAACZtYXhwASEAQwAAARgAAAAgbmFtZeNcHtgAAA1QAAAB5nBvc3T6OoZLAAAPOAAAAOYAAQAAA+gAAABaA+gAAAAAA7MAAQAAAAAAAAAAAAAAAAAAABIAAQAAAAEAAMCU2KdfDzz1AAsD6AAAAADY7EUUAAAAANjsRRQAAAAAA7MD5AAAAAgAAgAAAAAAAAABAAAAEgA3AAUAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAAAAQOwAZAABQAIAnoCvAAAAIwCegK8AAAB4AAxAQIAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABA6gHqEQPoAAAAWgPoAAAAAAABAAAAAAAAAAAAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAAAAABQAAAAMAAAAsAAAABAAAAXQAAQAAAAAAbgADAAEAAAAsAAMACgAAAXQABABCAAAABAAEAAEAAOoR//8AAOoB//8AAAABAAQAAAABAAIAAw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AEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAgAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASAQIBAwEEAQUBBgEHAQgBCQEKAQsBDAENAQ4BDwEQAREBEgETAAZjaXJjbGUIZG93bmxvYWQEaW5mbwxzYWZlLXN1Y2Nlc3MJc2FmZS13YXJuB3N1Y2Nlc3MOc3VjY2Vzcy1jaXJjbGURc3VjY2Vzcy1uby1jaXJjbGUHd2FpdGluZw53YWl0aW5nLWNpcmNsZQR3YXJuC2luZm8tY2lyY2xlBmNhbmNlbAZzZWFyY2gFY2xlYXIEYmFjawZkZWxldGUAAAAA')\r\n format('truetype');\n}\n.uni-icon-success:before {\r\n content: '\\EA06';\n}\n.uni-icon-success_circle:before {\r\n content: '\\EA07';\n}\n.uni-icon-success_no_circle:before {\r\n content: '\\EA08';\n}\n.uni-icon-safe_success:before {\r\n content: '\\EA04';\n}\n.uni-icon-safe_warn:before {\r\n content: '\\EA05';\n}\n.uni-icon-info:before {\r\n content: '\\EA03';\n}\n.uni-icon-info_circle:before {\r\n content: '\\EA0C';\n}\n.uni-icon-warn:before {\r\n content: '\\EA0B';\n}\n.uni-icon-waiting:before {\r\n content: '\\EA09';\n}\n.uni-icon-waiting_circle:before {\r\n content: '\\EA0A';\n}\n.uni-icon-circle:before {\r\n content: '\\EA01';\n}\n.uni-icon-cancel:before {\r\n content: '\\EA0D';\n}\n.uni-icon-download:before {\r\n content: '\\EA02';\n}\n.uni-icon-search:before {\r\n content: '\\EA0E';\n}\n.uni-icon-clear:before {\r\n content: '\\EA0F';\n}\n.uni-icon-success {\r\n color: #007aff;\n}\n.uni-icon-success_circle {\r\n color: #007aff;\n}\n.uni-icon-success_no_circle {\r\n color: #007aff;\n}\n.uni-icon-safe_success {\r\n color: #007aff;\n}\n.uni-icon-safe_warn {\r\n color: #ffbe00;\n}\n.uni-icon-info {\r\n color: #10aeff;\n}\n.uni-icon-info_circle {\r\n color: #007aff;\n}\n.uni-icon-warn {\r\n color: #f76260;\n}\n.uni-icon-waiting {\r\n color: #10aeff;\n}\n.uni-icon-waiting_circle {\r\n color: #10aeff;\n}\n.uni-icon-circle {\r\n color: #c9c9c9;\n}\n.uni-icon-cancel {\r\n color: #f43530;\n}\n.uni-icon-download {\r\n color: #007aff;\n}\n.uni-icon-search {\r\n color: #b2b2b2;\n}\n.uni-icon-clear {\r\n color: #b2b2b2;\n}\r\n";
+const _sfc_main$h = {
name: "Icon",
props: {
type: {
@@ -2178,9 +2178,9 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
}, null, 6)
], 16);
}
-_sfc_main$g.render = _sfc_render$f;
-var index_vue_vue_type_style_index_0_lang$c = "\nuni-image {\r\n width: 320px;\r\n height: 240px;\r\n display: inline-block;\r\n overflow: hidden;\r\n position: relative;\n}\nuni-image[hidden] {\r\n display: none;\n}\nuni-image>div {\r\n width: 100%;\r\n height: 100%;\n}\nuni-image>img {\r\n -webkit-touch-callout: none;\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n display: block;\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: 100%;\r\n opacity: 0;\n}\nuni-image>.uni-image-will-change {\r\n will-change: transform;\n}\r\n";
-const _sfc_main$f = {
+_sfc_main$h.render = _sfc_render$f;
+var index_vue_vue_type_style_index_0_lang$d = "\nuni-image {\r\n width: 320px;\r\n height: 240px;\r\n display: inline-block;\r\n overflow: hidden;\r\n position: relative;\n}\nuni-image[hidden] {\r\n display: none;\n}\nuni-image>div {\r\n width: 100%;\r\n height: 100%;\n}\nuni-image>img {\r\n -webkit-touch-callout: none;\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n display: block;\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: 100%;\r\n opacity: 0;\n}\nuni-image>.uni-image-will-change {\r\n will-change: transform;\n}\r\n";
+const _sfc_main$g = {
name: "Image",
props: {
src: {
@@ -2346,11 +2346,11 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
}, null, 8, ["onResize"])) : createCommentVNode("", true)
], 16);
}
-_sfc_main$f.render = _sfc_render$e;
-var index_vue_vue_type_style_index_0_lang$b = '\nuni-input {\r\n display: block;\r\n font-size: 16px;\r\n line-height: 1.4em;\r\n height: 1.4em;\r\n min-height: 1.4em;\r\n overflow: hidden;\n}\nuni-input[hidden] {\r\n display: none;\n}\n.uni-input-wrapper,\r\n.uni-input-placeholder,\r\n.uni-input-form,\r\n.uni-input-input {\r\n outline: none;\r\n border: none;\r\n padding: 0;\r\n margin: 0;\r\n text-decoration: inherit;\n}\n.uni-input-wrapper,\r\n.uni-input-form {\r\n display: flex;\r\n position: relative;\r\n width: 100%;\r\n height: 100%;\r\n flex-direction: column;\r\n justify-content: center;\n}\n.uni-input-placeholder,\r\n.uni-input-input {\r\n width: 100%;\n}\n.uni-input-placeholder {\r\n position: absolute;\r\n top: auto !important;\r\n left: 0;\r\n color: gray;\r\n overflow: hidden;\r\n text-overflow: clip;\r\n white-space: pre;\r\n word-break: keep-all;\r\n pointer-events: none;\r\n line-height: inherit;\n}\n.uni-input-input {\r\n display: block;\r\n height: 100%;\r\n background: none;\r\n color: inherit;\r\n opacity: 1;\r\n -webkit-text-fill-color: currentcolor;\r\n font: inherit;\r\n line-height: inherit;\r\n letter-spacing: inherit;\r\n text-align: inherit;\r\n text-indent: inherit;\r\n text-transform: inherit;\r\n text-shadow: inherit;\n}\n.uni-input-input[type="search"]::-webkit-search-cancel-button {\r\n display: none;\n}\n.uni-input-input::-webkit-outer-spin-button,\r\n.uni-input-input::-webkit-inner-spin-button {\r\n -webkit-appearance: none;\r\n margin: 0;\n}\n.uni-input-input[type="number"] {\r\n -moz-appearance: textfield;\n}\r\n';
+_sfc_main$g.render = _sfc_render$e;
+var index_vue_vue_type_style_index_0_lang$c = '\nuni-input {\r\n display: block;\r\n font-size: 16px;\r\n line-height: 1.4em;\r\n height: 1.4em;\r\n min-height: 1.4em;\r\n overflow: hidden;\n}\nuni-input[hidden] {\r\n display: none;\n}\n.uni-input-wrapper,\r\n.uni-input-placeholder,\r\n.uni-input-form,\r\n.uni-input-input {\r\n outline: none;\r\n border: none;\r\n padding: 0;\r\n margin: 0;\r\n text-decoration: inherit;\n}\n.uni-input-wrapper,\r\n.uni-input-form {\r\n display: flex;\r\n position: relative;\r\n width: 100%;\r\n height: 100%;\r\n flex-direction: column;\r\n justify-content: center;\n}\n.uni-input-placeholder,\r\n.uni-input-input {\r\n width: 100%;\n}\n.uni-input-placeholder {\r\n position: absolute;\r\n top: auto !important;\r\n left: 0;\r\n color: gray;\r\n overflow: hidden;\r\n text-overflow: clip;\r\n white-space: pre;\r\n word-break: keep-all;\r\n pointer-events: none;\r\n line-height: inherit;\n}\n.uni-input-input {\r\n display: block;\r\n height: 100%;\r\n background: none;\r\n color: inherit;\r\n opacity: 1;\r\n -webkit-text-fill-color: currentcolor;\r\n font: inherit;\r\n line-height: inherit;\r\n letter-spacing: inherit;\r\n text-align: inherit;\r\n text-indent: inherit;\r\n text-transform: inherit;\r\n text-shadow: inherit;\n}\n.uni-input-input[type="search"]::-webkit-search-cancel-button {\r\n display: none;\n}\n.uni-input-input::-webkit-outer-spin-button,\r\n.uni-input-input::-webkit-inner-spin-button {\r\n -webkit-appearance: none;\r\n margin: 0;\n}\n.uni-input-input[type="number"] {\r\n -moz-appearance: textfield;\n}\r\n';
const INPUT_TYPES = ["text", "number", "idcard", "digit", "password"];
const NUMBER_TYPES = ["number", "digit"];
-const _sfc_main$e = {
+const _sfc_main$f = {
name: "Input",
mixins: [baseInput],
props: {
@@ -2568,9 +2568,9 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
], 512)
], 16);
}
-_sfc_main$e.render = _sfc_render$d;
-var index_vue_vue_type_style_index_0_lang$a = "\n.uni-label-pointer {\r\n cursor: pointer;\n}\r\n";
-const _sfc_main$d = {
+_sfc_main$f.render = _sfc_render$d;
+var index_vue_vue_type_style_index_0_lang$b = "\n.uni-label-pointer {\r\n cursor: pointer;\n}\r\n";
+const _sfc_main$e = {
name: "Label",
mixins: [emitter],
props: {
@@ -2610,7 +2610,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
renderSlot(_ctx.$slots, "default")
], 16);
}
-_sfc_main$d.render = _sfc_render$c;
+_sfc_main$e.render = _sfc_render$c;
const addListenerToElement = function(element, type, callback, capture) {
element.addEventListener(type, ($event) => {
if (typeof callback === "function") {
@@ -3016,7 +3016,7 @@ STD.prototype.reconfigure = function(e2, t2, n) {
this._springY.reconfigure(e2, t2, n);
this._springScale.reconfigure(e2, t2, n);
};
-var index_vue_vue_type_style_index_0_lang$9 = "\nuni-movable-view {\n display: inline-block;\n width: 10px;\n height: 10px;\n top: 0px;\n left: 0px;\n position: absolute;\n cursor: grab;\n}\nuni-movable-view[hidden] {\n display: none;\n}\n";
+var index_vue_vue_type_style_index_0_lang$a = "\nuni-movable-view {\n display: inline-block;\n width: 10px;\n height: 10px;\n top: 0px;\n left: 0px;\n position: absolute;\n cursor: grab;\n}\nuni-movable-view[hidden] {\n display: none;\n}\n";
var requesting = false;
function _requestAnimationFrame(e2) {
if (!requesting) {
@@ -3077,7 +3077,7 @@ function g(e2, t2, n) {
model: e2
};
}
-const _sfc_main$c = {
+const _sfc_main$d = {
name: "MovableView",
mixins: [touchtrack],
props: {
@@ -3636,10 +3636,10 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
renderSlot(_ctx.$slots, "default")
], 16);
}
-_sfc_main$c.render = _sfc_render$b;
-var index_vue_vue_type_style_index_0_lang$8 = "\nuni-navigator {\r\n height: auto;\r\n width: auto;\r\n display: block;\r\n cursor: pointer;\n}\nuni-navigator[hidden] {\r\n display: none;\n}\n.navigator-hover {\r\n background-color: rgba(0, 0, 0, 0.1);\r\n opacity: 0.7;\n}\r\n";
+_sfc_main$d.render = _sfc_render$b;
+var index_vue_vue_type_style_index_0_lang$9 = "\nuni-navigator {\r\n height: auto;\r\n width: auto;\r\n display: block;\r\n cursor: pointer;\n}\nuni-navigator[hidden] {\r\n display: none;\n}\n.navigator-hover {\r\n background-color: rgba(0, 0, 0, 0.1);\r\n opacity: 0.7;\n}\r\n";
const OPEN_TYPES = ["navigate", "redirect", "switchTab", "reLaunch", "navigateBack"];
-const _sfc_main$b = {
+const _sfc_main$c = {
name: "Navigator",
mixins: [hover],
props: {
@@ -3724,13 +3724,13 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
renderSlot(_ctx.$slots, "default")
], 16));
}
-_sfc_main$b.render = _sfc_render$a;
+_sfc_main$c.render = _sfc_render$a;
const VALUES = {
activeColor: "#007AFF",
backgroundColor: "#EBEBEB",
activeMode: "backwards"
};
-const _sfc_main$a = {
+const _sfc_main$b = {
name: "Progress",
props: {
percent: {
@@ -3845,9 +3845,9 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
$props.showInfo ? (openBlock(), createBlock("p", _hoisted_1$6, toDisplayString($data.currentPercent) + "% ", 1)) : createCommentVNode("", true)
], 16);
}
-_sfc_main$a.render = _sfc_render$9;
-var index_vue_vue_type_style_index_0_lang$7 = '\nuni-radio {\r\n -webkit-tap-highlight-color: transparent;\r\n display: inline-block;\r\n cursor: pointer;\n}\nuni-radio[hidden] {\r\n display: none;\n}\nuni-radio[disabled] {\r\n cursor: not-allowed;\n}\nuni-radio .uni-radio-wrapper {\r\n display: -webkit-inline-flex;\r\n display: inline-flex;\r\n -webkit-align-items: center;\r\n align-items: center;\r\n vertical-align: middle;\n}\nuni-radio .uni-radio-input {\r\n -webkit-appearance: none;\r\n appearance: none;\r\n margin-right: 5px;\r\n outline: 0;\r\n border: 1px solid #D1D1D1;\r\n background-color: #ffffff;\r\n border-radius: 50%;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\n}\nuni-radio:not([disabled]) .uni-radio-input:hover {\r\n border-color: #007aff;\n}\nuni-radio .uni-radio-input.uni-radio-input-checked:before {\r\n font: normal normal normal 14px/1 "uni";\r\n content: "\\EA08";\r\n color: #ffffff;\r\n font-size: 18px;\r\n position: absolute;\r\n top: 50%;\r\n left: 50%;\r\n transform: translate(-50%, -48%) scale(0.73);\r\n -webkit-transform: translate(-50%, -48%) scale(0.73);\n}\nuni-radio .uni-radio-input.uni-radio-input-disabled {\r\n background-color: #E1E1E1;\r\n border-color: #D1D1D1;\n}\nuni-radio .uni-radio-input.uni-radio-input-disabled:before {\r\n color: #ADADAD;\n}\nuni-radio-group {\r\n display: block;\n}\r\n';
-const _sfc_main$9 = {
+_sfc_main$b.render = _sfc_render$9;
+var index_vue_vue_type_style_index_0_lang$8 = '\nuni-radio {\r\n -webkit-tap-highlight-color: transparent;\r\n display: inline-block;\r\n cursor: pointer;\n}\nuni-radio[hidden] {\r\n display: none;\n}\nuni-radio[disabled] {\r\n cursor: not-allowed;\n}\nuni-radio .uni-radio-wrapper {\r\n display: -webkit-inline-flex;\r\n display: inline-flex;\r\n -webkit-align-items: center;\r\n align-items: center;\r\n vertical-align: middle;\n}\nuni-radio .uni-radio-input {\r\n -webkit-appearance: none;\r\n appearance: none;\r\n margin-right: 5px;\r\n outline: 0;\r\n border: 1px solid #D1D1D1;\r\n background-color: #ffffff;\r\n border-radius: 50%;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\n}\nuni-radio:not([disabled]) .uni-radio-input:hover {\r\n border-color: #007aff;\n}\nuni-radio .uni-radio-input.uni-radio-input-checked:before {\r\n font: normal normal normal 14px/1 "uni";\r\n content: "\\EA08";\r\n color: #ffffff;\r\n font-size: 18px;\r\n position: absolute;\r\n top: 50%;\r\n left: 50%;\r\n transform: translate(-50%, -48%) scale(0.73);\r\n -webkit-transform: translate(-50%, -48%) scale(0.73);\n}\nuni-radio .uni-radio-input.uni-radio-input-disabled {\r\n background-color: #E1E1E1;\r\n border-color: #D1D1D1;\n}\nuni-radio .uni-radio-input.uni-radio-input-disabled:before {\r\n color: #ADADAD;\n}\nuni-radio-group {\r\n display: block;\n}\r\n';
+const _sfc_main$a = {
name: "Radio",
mixins: [emitter, listeners],
props: {
@@ -3942,9 +3942,9 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
])
], 16, ["disabled"]);
}
-_sfc_main$9.render = _sfc_render$8;
-var index_vue_vue_type_style_index_0_lang$6 = "\nuni-radio-group[hidden] {\r\n display: none;\n}\r\n";
-const _sfc_main$8 = {
+_sfc_main$a.render = _sfc_render$8;
+var index_vue_vue_type_style_index_0_lang$7 = "\nuni-radio-group[hidden] {\r\n display: none;\n}\r\n";
+const _sfc_main$9 = {
name: "RadioGroup",
mixins: [emitter, listeners],
props: {
@@ -4033,9 +4033,9 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
renderSlot(_ctx.$slots, "default")
], 16);
}
-_sfc_main$8.render = _sfc_render$7;
-var index_vue_vue_type_style_index_0_lang$5 = "\n@keyframes once-show {\nfrom {\n top: 0;\n}\n}\nuni-resize-sensor,\nuni-resize-sensor > div {\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n overflow: hidden;\n}\nuni-resize-sensor {\n display: block;\n z-index: -1;\n visibility: hidden;\n animation: once-show 1ms;\n}\nuni-resize-sensor > div > div {\n position: absolute;\n left: 0;\n top: 0;\n}\nuni-resize-sensor > div:first-child > div {\n width: 100000px;\n height: 100000px;\n}\nuni-resize-sensor > div:last-child > div {\n width: 200%;\n height: 200%;\n}\n";
-const _sfc_main$7 = {
+_sfc_main$9.render = _sfc_render$7;
+var index_vue_vue_type_style_index_0_lang$6 = "\n@keyframes once-show {\nfrom {\n top: 0;\n}\n}\nuni-resize-sensor,\nuni-resize-sensor > div {\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n overflow: hidden;\n}\nuni-resize-sensor {\n display: block;\n z-index: -1;\n visibility: hidden;\n animation: once-show 1ms;\n}\nuni-resize-sensor > div > div {\n position: absolute;\n left: 0;\n top: 0;\n}\nuni-resize-sensor > div:first-child > div {\n width: 100000px;\n height: 100000px;\n}\nuni-resize-sensor > div:last-child > div {\n width: 200%;\n height: 200%;\n}\n";
+const _sfc_main$8 = {
name: "ResizeSensor",
props: {
initial: {
@@ -4315,7 +4315,7 @@ function parseNodes(nodes, parentNode) {
});
return parentNode;
}
-const _sfc_main$6 = {
+const _sfc_main$7 = {
name: "RichText",
props: {
nodes: {
@@ -4350,7 +4350,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
_hoisted_1$4
], 16);
}
-_sfc_main$6.render = _sfc_render$6;
+_sfc_main$7.render = _sfc_render$6;
function Friction(e2) {
this._drag = e2;
this._dragLog = Math.log(e2);
@@ -5022,8 +5022,8 @@ var scroller = {
}
}
};
-var index_vue_vue_type_style_index_0_lang$4 = "\nuni-scroll-view {\n display: block;\n width: 100%;\n}\nuni-scroll-view[hidden] {\n display: none;\n}\n.uni-scroll-view {\n position: relative;\n -webkit-overflow-scrolling: touch;\n width: 100%;\n /* display: flex; \u65F6\u5728\u5B89\u5353\u4E0B\u4F1A\u5BFC\u81F4scrollWidth\u548CoffsetWidth\u4E00\u6837 */\n height: 100%;\n max-height: inherit;\n}\n.uni-scroll-view-content {\n width: 100%;\n height: 100%;\n}\n.uni-scroll-view-refresher {\n position: relative;\n overflow: hidden;\n}\n.uni-scroll-view-refresh {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\n.uni-scroll-view-refresh-inner {\n display: flex;\n align-items: center;\n justify-content: center;\n line-height: 0;\n width: 40px;\n height: 40px;\n border-radius: 50%;\n background-color: #fff;\n box-shadow: 0 1px 6px rgba(0, 0, 0, 0.117647),\n 0 1px 4px rgba(0, 0, 0, 0.117647);\n}\n.uni-scroll-view-refresh__spinner {\n transform-origin: center center;\n animation: uni-scroll-view-refresh-rotate 2s linear infinite;\n}\n.uni-scroll-view-refresh__spinner > circle {\n stroke: currentColor;\n stroke-linecap: round;\n animation: uni-scroll-view-refresh-dash 2s linear infinite;\n}\n@keyframes uni-scroll-view-refresh-rotate {\n0% {\n transform: rotate(0deg);\n}\n100% {\n transform: rotate(360deg);\n}\n}\n@keyframes uni-scroll-view-refresh-dash {\n0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n}\n50% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -35px;\n}\n100% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -124px;\n}\n}\n";
-const _sfc_main$5 = {
+var index_vue_vue_type_style_index_0_lang$5 = "\nuni-scroll-view {\n display: block;\n width: 100%;\n}\nuni-scroll-view[hidden] {\n display: none;\n}\n.uni-scroll-view {\n position: relative;\n -webkit-overflow-scrolling: touch;\n width: 100%;\n /* display: flex; \u65F6\u5728\u5B89\u5353\u4E0B\u4F1A\u5BFC\u81F4scrollWidth\u548CoffsetWidth\u4E00\u6837 */\n height: 100%;\n max-height: inherit;\n}\n.uni-scroll-view-content {\n width: 100%;\n height: 100%;\n}\n.uni-scroll-view-refresher {\n position: relative;\n overflow: hidden;\n}\n.uni-scroll-view-refresh {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\n.uni-scroll-view-refresh-inner {\n display: flex;\n align-items: center;\n justify-content: center;\n line-height: 0;\n width: 40px;\n height: 40px;\n border-radius: 50%;\n background-color: #fff;\n box-shadow: 0 1px 6px rgba(0, 0, 0, 0.117647),\n 0 1px 4px rgba(0, 0, 0, 0.117647);\n}\n.uni-scroll-view-refresh__spinner {\n transform-origin: center center;\n animation: uni-scroll-view-refresh-rotate 2s linear infinite;\n}\n.uni-scroll-view-refresh__spinner > circle {\n stroke: currentColor;\n stroke-linecap: round;\n animation: uni-scroll-view-refresh-dash 2s linear infinite;\n}\n@keyframes uni-scroll-view-refresh-rotate {\n0% {\n transform: rotate(0deg);\n}\n100% {\n transform: rotate(360deg);\n}\n}\n@keyframes uni-scroll-view-refresh-dash {\n0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n}\n50% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -35px;\n}\n100% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -124px;\n}\n}\n";
+const _sfc_main$6 = {
name: "ScrollView",
mixins: [scroller],
props: {
@@ -5510,8 +5510,8 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
], 512)
], 16);
}
-_sfc_main$5.render = _sfc_render$5;
-const _sfc_main$4 = {
+_sfc_main$6.render = _sfc_render$5;
+const _sfc_main$5 = {
name: "Slider",
mixins: [emitter, listeners, touchtrack],
props: {
@@ -5708,9 +5708,9 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
renderSlot(_ctx.$slots, "default")
], 16);
}
-_sfc_main$4.render = _sfc_render$4;
-var index_vue_vue_type_style_index_0_lang$3 = "\nuni-swiper-item {\n display: block;\n overflow: hidden;\n will-change: transform;\n position: absolute;\n width: 100%;\n height: 100%;\n cursor: grab;\n}\nuni-swiper-item[hidden] {\n display: none;\n}\n";
-const _sfc_main$3 = {
+_sfc_main$5.render = _sfc_render$4;
+var index_vue_vue_type_style_index_0_lang$4 = "\nuni-swiper-item {\n display: block;\n overflow: hidden;\n will-change: transform;\n position: absolute;\n width: 100%;\n height: 100%;\n cursor: grab;\n}\nuni-swiper-item[hidden] {\n display: none;\n}\n";
+const _sfc_main$4 = {
name: "SwiperItem",
props: {
itemId: {
@@ -5736,9 +5736,9 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
renderSlot(_ctx.$slots, "default")
], 16);
}
-_sfc_main$3.render = _sfc_render$3;
-var index_vue_vue_type_style_index_0_lang$2 = '\nuni-switch {\r\n -webkit-tap-highlight-color: transparent;\r\n display: inline-block;\r\n cursor: pointer;\n}\nuni-switch[hidden] {\r\n display: none;\n}\nuni-switch[disabled] {\r\n cursor: not-allowed;\n}\nuni-switch .uni-switch-wrapper {\r\n display: -webkit-inline-flex;\r\n display: inline-flex;\r\n -webkit-align-items: center;\r\n align-items: center;\r\n vertical-align: middle;\n}\nuni-switch .uni-switch-input {\r\n -webkit-appearance: none;\r\n appearance: none;\r\n position: relative;\r\n width: 52px;\r\n height: 32px;\r\n margin-right: 5px;\r\n border: 1px solid #DFDFDF;\r\n outline: 0;\r\n border-radius: 16px;\r\n box-sizing: border-box;\r\n background-color: #DFDFDF;\r\n transition: background-color 0.1s, border 0.1s;\n}\nuni-switch[disabled] .uni-switch-input {\r\n opacity: .7;\n}\nuni-switch .uni-switch-input:before {\r\n content: " ";\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 50px;\r\n height: 30px;\r\n border-radius: 15px;\r\n background-color: #FDFDFD;\r\n transition: -webkit-transform 0.3s;\r\n transition: transform 0.3s;\r\n transition: transform 0.3s, -webkit-transform 0.3s;\n}\nuni-switch .uni-switch-input:after {\r\n content: " ";\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 30px;\r\n height: 30px;\r\n border-radius: 15px;\r\n background-color: #FFFFFF;\r\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);\r\n transition: -webkit-transform 0.3s;\r\n transition: transform 0.3s;\r\n transition: transform 0.3s, -webkit-transform 0.3s;\n}\nuni-switch .uni-switch-input.uni-switch-input-checked {\r\n border-color: #007aff;\r\n background-color: #007aff;\n}\nuni-switch .uni-switch-input.uni-switch-input-checked:before {\r\n -webkit-transform: scale(0);\r\n transform: scale(0);\n}\nuni-switch .uni-switch-input.uni-switch-input-checked:after {\r\n -webkit-transform: translateX(20px);\r\n transform: translateX(20px);\n}\nuni-switch .uni-checkbox-input {\r\n margin-right: 5px;\r\n -webkit-appearance: none;\r\n appearance: none;\r\n outline: 0;\r\n border: 1px solid #D1D1D1;\r\n background-color: #FFFFFF;\r\n border-radius: 3px;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\r\n color: #007aff;\n}\nuni-switch:not([disabled]) .uni-checkbox-input:hover {\r\n border-color: #007aff;\n}\nuni-switch .uni-checkbox-input.uni-checkbox-input-checked:before {\r\n font: normal normal normal 14px/1 "uni";\r\n content: "\\EA08";\r\n color: inherit;\r\n font-size: 22px;\r\n position: absolute;\r\n top: 50%;\r\n left: 50%;\r\n transform: translate(-50%, -48%) scale(0.73);\r\n -webkit-transform: translate(-50%, -48%) scale(0.73);\n}\nuni-switch .uni-checkbox-input.uni-checkbox-input-disabled {\r\n background-color: #E1E1E1;\n}\nuni-switch .uni-checkbox-input.uni-checkbox-input-disabled:before {\r\n color: #ADADAD;\n}\r\n';
-const _sfc_main$2 = {
+_sfc_main$4.render = _sfc_render$3;
+var index_vue_vue_type_style_index_0_lang$3 = '\nuni-switch {\r\n -webkit-tap-highlight-color: transparent;\r\n display: inline-block;\r\n cursor: pointer;\n}\nuni-switch[hidden] {\r\n display: none;\n}\nuni-switch[disabled] {\r\n cursor: not-allowed;\n}\nuni-switch .uni-switch-wrapper {\r\n display: -webkit-inline-flex;\r\n display: inline-flex;\r\n -webkit-align-items: center;\r\n align-items: center;\r\n vertical-align: middle;\n}\nuni-switch .uni-switch-input {\r\n -webkit-appearance: none;\r\n appearance: none;\r\n position: relative;\r\n width: 52px;\r\n height: 32px;\r\n margin-right: 5px;\r\n border: 1px solid #DFDFDF;\r\n outline: 0;\r\n border-radius: 16px;\r\n box-sizing: border-box;\r\n background-color: #DFDFDF;\r\n transition: background-color 0.1s, border 0.1s;\n}\nuni-switch[disabled] .uni-switch-input {\r\n opacity: .7;\n}\nuni-switch .uni-switch-input:before {\r\n content: " ";\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 50px;\r\n height: 30px;\r\n border-radius: 15px;\r\n background-color: #FDFDFD;\r\n transition: -webkit-transform 0.3s;\r\n transition: transform 0.3s;\r\n transition: transform 0.3s, -webkit-transform 0.3s;\n}\nuni-switch .uni-switch-input:after {\r\n content: " ";\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 30px;\r\n height: 30px;\r\n border-radius: 15px;\r\n background-color: #FFFFFF;\r\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);\r\n transition: -webkit-transform 0.3s;\r\n transition: transform 0.3s;\r\n transition: transform 0.3s, -webkit-transform 0.3s;\n}\nuni-switch .uni-switch-input.uni-switch-input-checked {\r\n border-color: #007aff;\r\n background-color: #007aff;\n}\nuni-switch .uni-switch-input.uni-switch-input-checked:before {\r\n -webkit-transform: scale(0);\r\n transform: scale(0);\n}\nuni-switch .uni-switch-input.uni-switch-input-checked:after {\r\n -webkit-transform: translateX(20px);\r\n transform: translateX(20px);\n}\nuni-switch .uni-checkbox-input {\r\n margin-right: 5px;\r\n -webkit-appearance: none;\r\n appearance: none;\r\n outline: 0;\r\n border: 1px solid #D1D1D1;\r\n background-color: #FFFFFF;\r\n border-radius: 3px;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\r\n color: #007aff;\n}\nuni-switch:not([disabled]) .uni-checkbox-input:hover {\r\n border-color: #007aff;\n}\nuni-switch .uni-checkbox-input.uni-checkbox-input-checked:before {\r\n font: normal normal normal 14px/1 "uni";\r\n content: "\\EA08";\r\n color: inherit;\r\n font-size: 22px;\r\n position: absolute;\r\n top: 50%;\r\n left: 50%;\r\n transform: translate(-50%, -48%) scale(0.73);\r\n -webkit-transform: translate(-50%, -48%) scale(0.73);\n}\nuni-switch .uni-checkbox-input.uni-checkbox-input-disabled {\r\n background-color: #E1E1E1;\n}\nuni-switch .uni-checkbox-input.uni-checkbox-input-disabled:before {\r\n color: #ADADAD;\n}\r\n';
+const _sfc_main$3 = {
name: "Switch",
mixins: [emitter, listeners],
props: {
@@ -5837,7 +5837,69 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
])
], 16, ["disabled"]);
}
-_sfc_main$2.render = _sfc_render$2;
+_sfc_main$3.render = _sfc_render$2;
+var index_vue_vue_type_style_index_0_lang$2 = "\nuni-text[selectable] {\r\n cursor: auto;\r\n user-select: text;\r\n -webkit-user-select: text;\n}\r\n";
+const SPACE_UNICODE = {
+ ensp: "\u2002",
+ emsp: "\u2003",
+ nbsp: "\xA0"
+};
+const _sfc_main$2 = {
+ name: "Text",
+ props: {
+ selectable: {
+ type: [Boolean, String],
+ default: false
+ },
+ space: {
+ type: String,
+ default: ""
+ },
+ decode: {
+ type: [Boolean, String],
+ default: false
+ }
+ },
+ methods: {
+ _decodeHtml(htmlString) {
+ if (this.space && SPACE_UNICODE[this.space]) {
+ htmlString = htmlString.replace(/ /g, SPACE_UNICODE[this.space]);
+ }
+ if (this.decode) {
+ htmlString = htmlString.replace(/ /g, SPACE_UNICODE.nbsp).replace(/ /g, SPACE_UNICODE.ensp).replace(/ /g, SPACE_UNICODE.emsp).replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&").replace(/"/g, '"').replace(/'/g, "'");
+ }
+ return htmlString;
+ }
+ },
+ render(createElement) {
+ const nodeList = [];
+ this.$slots.default && this.$slots.default.forEach((vnode) => {
+ if (vnode.text) {
+ const nodeText = vnode.text.replace(/\\n/g, "\n");
+ const texts = nodeText.split("\n");
+ texts.forEach((text2, index) => {
+ nodeList.push(this._decodeHtml(text2));
+ if (index !== texts.length - 1) {
+ nodeList.push(createElement("br"));
+ }
+ });
+ } else {
+ if (vnode.componentOptions && vnode.componentOptions.tag !== "v-uni-text") {
+ console.warn(" \u7EC4\u4EF6\u5185\u53EA\u652F\u6301\u5D4C\u5957 \uFF0C\u4E0D\u652F\u6301\u5176\u5B83\u7EC4\u4EF6\u6216\u81EA\u5B9A\u4E49\u7EC4\u4EF6\uFF0C\u5426\u5219\u4F1A\u5F15\u53D1\u5728\u4E0D\u540C\u5E73\u53F0\u7684\u6E32\u67D3\u5DEE\u5F02\u3002");
+ }
+ nodeList.push(vnode);
+ }
+ });
+ return createElement("uni-text", {
+ on: this.$listeners,
+ attrs: {
+ selectable: !!this.selectable
+ }
+ }, [
+ createElement("span", {}, nodeList)
+ ]);
+ }
+};
var index_vue_vue_type_style_index_0_lang$1 = "\nuni-textarea {\n width: 300px;\n height: 150px;\n display: block;\n position: relative;\n font-size: 16px;\n line-height: normal;\n white-space: pre-wrap;\n word-break: break-all;\n}\nuni-textarea[hidden] {\n display: none;\n}\n.uni-textarea-wrapper,\n.uni-textarea-placeholder,\n.uni-textarea-line,\n.uni-textarea-compute,\n.uni-textarea-textarea {\n outline: none;\n border: none;\n padding: 0;\n margin: 0;\n text-decoration: inherit;\n}\n.uni-textarea-wrapper {\n display: block;\n position: relative;\n width: 100%;\n height: 100%;\n}\n.uni-textarea-placeholder,\n.uni-textarea-line,\n.uni-textarea-compute,\n.uni-textarea-textarea {\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n white-space: inherit;\n word-break: inherit;\n}\n.uni-textarea-placeholder {\n color: grey;\n overflow: hidden;\n}\n.uni-textarea-line,\n.uni-textarea-compute {\n visibility: hidden;\n height: auto;\n}\n.uni-textarea-line {\n width: 1em;\n}\n.uni-textarea-textarea {\n resize: none;\n background: none;\n color: inherit;\n opacity: 1;\n -webkit-text-fill-color: currentcolor;\n font: inherit;\n line-height: inherit;\n letter-spacing: inherit;\n text-align: inherit;\n text-indent: inherit;\n text-transform: inherit;\n text-shadow: inherit;\n}\n/* \u7528\u4E8E\u89E3\u51B3 iOS textarea \u5185\u90E8\u9ED8\u8BA4\u8FB9\u8DDD */\n.uni-textarea-textarea-fix-margin {\n width: auto;\n right: 0;\n margin: 0 -3px;\n}\n";
const DARK_TEST_STRING = "(prefers-color-scheme: dark)";
const _sfc_main$1 = {
@@ -6138,4 +6200,4 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
], 16));
}
_sfc_main.render = _sfc_render;
-export {_sfc_main$m as Audio, _sfc_main$l as Canvas, _sfc_main$k as Checkbox, _sfc_main$j as CheckboxGroup, _sfc_main$i as Editor, _sfc_main$h as Form, _sfc_main$g as Icon, _sfc_main$f as Image, _sfc_main$e as Input, _sfc_main$d as Label, _sfc_main$c as MovableView, _sfc_main$b as Navigator, _sfc_main$a as Progress, _sfc_main$9 as Radio, _sfc_main$8 as RadioGroup, _sfc_main$7 as ResizeSensor, _sfc_main$6 as RichText, _sfc_main$5 as ScrollView, _sfc_main$4 as Slider, _sfc_main$3 as SwiperItem, _sfc_main$2 as Switch, _sfc_main$1 as Textarea, _sfc_main as View};
+export {_sfc_main$n as Audio, _sfc_main$m as Canvas, _sfc_main$l as Checkbox, _sfc_main$k as CheckboxGroup, _sfc_main$j as Editor, _sfc_main$i as Form, _sfc_main$h as Icon, _sfc_main$g as Image, _sfc_main$f as Input, _sfc_main$e as Label, _sfc_main$d as MovableView, _sfc_main$c as Navigator, _sfc_main$b as Progress, _sfc_main$a as Radio, _sfc_main$9 as RadioGroup, _sfc_main$8 as ResizeSensor, _sfc_main$7 as RichText, _sfc_main$6 as ScrollView, _sfc_main$5 as Slider, _sfc_main$4 as SwiperItem, _sfc_main$3 as Switch, _sfc_main$2 as Text, _sfc_main$1 as Textarea, _sfc_main as View};
diff --git a/packages/uni-components/src/components/index.ts b/packages/uni-components/src/components/index.ts
index 4dd07bb12d02a188d6a1754fe58c68c3fe2b5e71..4b277bf8dba88d9d91e21e179bab1493eb2a9cda 100644
--- a/packages/uni-components/src/components/index.ts
+++ b/packages/uni-components/src/components/index.ts
@@ -24,7 +24,7 @@ import Slider from './slider/index.vue'
// import Swiper from './swiper/index.vue'
import SwiperItem from './swiper-item/index.vue'
import Switch from './switch/index.vue'
-// import Text from './text/index.vue'
+import Text from './text/index.vue'
import Textarea from './textarea/index.vue'
import View from './view/index.vue'
export {
@@ -54,7 +54,7 @@ export {
// Swiper,
SwiperItem,
Switch,
- // Text,
+ Text,
Textarea,
View,
}
diff --git a/packages/uni-h5/dist/assets/index-85dd41fc.css b/packages/uni-h5/dist/assets/index-85dd41fc.css
new file mode 100644
index 0000000000000000000000000000000000000000..ac738aeb751f52b3566254055ff4457db73ad1b8
--- /dev/null
+++ b/packages/uni-h5/dist/assets/index-85dd41fc.css
@@ -0,0 +1,1726 @@
+
+uni-tabbar {
+ display: block;
+ box-sizing: border-box;
+ position: fixed;
+ left: 0;
+ bottom: 0;
+ width: 100%;
+ z-index: 998;
+}
+uni-tabbar .uni-tabbar {
+ display: flex;
+ position: fixed;
+ left: 0;
+ bottom: 0;
+ width: 100%;
+ z-index: 998;
+ box-sizing: border-box;
+ padding-bottom: 0;
+ padding-bottom: constant(safe-area-inset-bottom);
+ padding-bottom: env(safe-area-inset-bottom);
+}
+uni-tabbar .uni-tabbar ~ .uni-placeholder {
+ width: 100%;
+ height: 50px;
+ margin-bottom: 0;
+ margin-bottom: constant(safe-area-inset-bottom);
+ margin-bottom: env(safe-area-inset-bottom);
+}
+uni-tabbar .uni-tabbar * {
+ box-sizing: border-box;
+}
+uni-tabbar .uni-tabbar__item {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ flex-direction: column;
+ flex: 1;
+ font-size: 0;
+ text-align: center;
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
+}
+uni-tabbar .uni-tabbar__bd {
+ position: relative;
+ height: 50px;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ cursor: pointer;
+}
+uni-tabbar .uni-tabbar__icon {
+ position: relative;
+ display: inline-block;
+ margin-top: 5px;
+ width: 24px;
+ height: 24px;
+}
+uni-tabbar .uni-tabbar__icon.uni-tabbar__icon__diff {
+ margin-top: 0px;
+ width: 34px;
+ height: 34px;
+}
+uni-tabbar .uni-tabbar__icon img {
+ width: 100%;
+ height: 100%;
+}
+uni-tabbar .uni-tabbar__label {
+ position: relative;
+ text-align: center;
+ font-size: 10px;
+ line-height: 1.8;
+}
+uni-tabbar .uni-tabbar-border {
+ position: absolute;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 1px;
+ transform: scaleY(0.5);
+}
+uni-tabbar .uni-tabbar__reddot {
+ position: absolute;
+ top: 0;
+ right: 0;
+ width: 12px;
+ height: 12px;
+ border-radius: 50%;
+ background-color: #f43530;
+ color: #ffffff;
+ transform: translate(40%, -20%);
+}
+uni-tabbar .uni-tabbar__badge {
+ width: auto;
+ height: 16px;
+ line-height: 16px;
+ border-radius: 16px;
+ min-width: 16px;
+ padding: 0 2px;
+ font-size: 12px;
+ text-align: center;
+ white-space: nowrap;
+}
+
+uni-toast {
+ position: fixed;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ z-index: 999;
+ display: block;
+ box-sizing: border-box;
+ pointer-events: none;
+}
+uni-toast .uni-sample-toast {
+ position: fixed;
+ z-index: 999;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ text-align: center;
+ max-width: 80%;
+}
+uni-toast .uni-simple-toast__text {
+ display: inline-block;
+ vertical-align: middle;
+ color: #ffffff;
+ background-color: rgba(17, 17, 17, 0.7);
+ padding: 10px 20px;
+ border-radius: 5px;
+ font-size: 13px;
+ text-align: center;
+ max-width: 100%;
+ word-break: break-all;
+ white-space: normal;
+}
+uni-toast .uni-mask {
+ pointer-events: auto;
+}
+uni-toast .uni-toast {
+ position: fixed;
+ z-index: 999;
+ width: 8em;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ background: rgba(17, 17, 17, 0.7);
+ text-align: center;
+ border-radius: 5px;
+ color: #ffffff;
+}
+uni-toast .uni-toast * {
+ box-sizing: border-box;
+}
+uni-toast .uni-toast__icon {
+ margin: 20px 0 0;
+ width: 38px;
+ height: 38px;
+ vertical-align: baseline;
+}
+uni-toast .uni-icon_toast {
+ margin: 15px 0 0;
+}
+uni-toast .uni-icon_toast.uni-icon-success-no-circle:before {
+ color: #ffffff;
+ font-size: 55px;
+}
+uni-toast .uni-icon_toast.uni-loading {
+ margin: 20px 0 0;
+ width: 38px;
+ height: 38px;
+ vertical-align: baseline;
+}
+uni-toast .uni-toast__content {
+ margin: 0 0 15px;
+}
+
+uni-modal {
+ position: fixed;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ z-index: 999;
+ display: block;
+ box-sizing: border-box;
+}
+uni-modal .uni-modal {
+ position: fixed;
+ z-index: 999;
+ width: 80%;
+ max-width: 300px;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ background-color: #ffffff;
+ text-align: center;
+ border-radius: 3px;
+ overflow: hidden;
+}
+uni-modal .uni-modal * {
+ box-sizing: border-box;
+}
+uni-modal .uni-modal__hd {
+ padding: 1em 1.6em 0.3em;
+}
+uni-modal .uni-modal__title {
+ font-weight: 400;
+ font-size: 18px;
+ word-wrap:break-word;
+ word-break:break-all;
+ white-space: pre-wrap;
+ overflow : hidden;
+ text-overflow: ellipsis;
+ display: -webkit-box;
+ -webkit-line-clamp: 2;
+ -webkit-box-orient: vertical;
+}
+uni-modal .uni-modal__bd {
+ padding: 1.3em 1.6em 1.3em;
+ min-height: 40px;
+ font-size: 15px;
+ line-height: 1.4;
+ word-wrap: break-word;
+ word-break: break-all;
+ white-space: pre-wrap;
+ color: #999999;
+ max-height: 400px;
+ overflow-y: auto;
+}
+uni-modal .uni-modal__ft {
+ position: relative;
+ line-height: 48px;
+ font-size: 18px;
+ display: flex;
+}
+uni-modal .uni-modal__ft:after {
+ content: " ";
+ position: absolute;
+ left: 0;
+ top: 0;
+ right: 0;
+ height: 1px;
+ border-top: 1px solid #d5d5d6;
+ color: #d5d5d6;
+ transform-origin: 0 0;
+ transform: scaleY(0.5);
+}
+uni-modal .uni-modal__btn {
+ display: block;
+ flex: 1;
+ color: #3cc51f;
+ text-decoration: none;
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
+ position: relative;
+}
+uni-modal .uni-modal__btn:active {
+ background-color: #eeeeee;
+}
+uni-modal .uni-modal__btn:after {
+ content: " ";
+ position: absolute;
+ left: 0;
+ top: 0;
+ width: 1px;
+ bottom: 0;
+ border-left: 1px solid #d5d5d6;
+ color: #d5d5d6;
+ transform-origin: 0 0;
+ transform: scaleX(0.5);
+}
+uni-modal .uni-modal__btn:first-child:after {
+ display: none;
+}
+uni-modal .uni-modal__btn_default {
+ color: #353535;
+}
+uni-modal .uni-modal__btn_primary {
+ color: #007aff;
+}
+
+uni-actionsheet {
+ display: block;
+ box-sizing: border-box;
+}
+uni-actionsheet .uni-actionsheet {
+ position: fixed;
+ left: 0;
+ bottom: 0;
+ transform: translate(0, 100%);
+ backface-visibility: hidden;
+ z-index: 999;
+ width: 100%;
+ background-color: #efeff4;
+ visibility: hidden;
+ transition: transform 0.3s, visibility 0.3s;
+}
+uni-actionsheet .uni-actionsheet.uni-actionsheet_toggle {
+ visibility: visible;
+ transform: translate(0, 0);
+}
+uni-actionsheet .uni-actionsheet * {
+ box-sizing: border-box;
+}
+uni-actionsheet .uni-actionsheet__menu {
+ background-color: #fcfcfd;
+}
+uni-actionsheet .uni-actionsheet__action {
+ margin-top: 6px;
+ background-color: #fcfcfd;
+}
+uni-actionsheet .uni-actionsheet__cell ,
+ uni-actionsheet .uni-actionsheet__title {
+ position: relative;
+ padding: 10px 0;
+ text-align: center;
+ font-size: 18px;
+}
+uni-actionsheet .uni-actionsheet__cell:before {
+ content: " ";
+ position: absolute;
+ left: 0;
+ top: 0;
+ right: 0;
+ height: 1px;
+ border-top: 1px solid #e5e5e5;
+ color: #e5e5e5;
+ transform-origin: 0 0;
+ transform: scaleY(0.5);
+}
+uni-actionsheet .uni-actionsheet__cell:active {
+ background-color: #ececec;
+}
+uni-actionsheet .uni-actionsheet__cell:first-child:before {
+ display: none;
+}
+
+uni-canvas {
+ width: 300px;
+ height: 150px;
+ display: block;
+ position: relative;
+}
+uni-canvas > canvas {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+}
+
+uni-checkbox-group[hidden] {
+ display: none;
+}
+.ql-container {
+ display: block;
+ position: relative;
+ box-sizing: border-box;
+ -webkit-user-select: text;
+ user-select: text;
+ outline: none;
+ overflow: hidden;
+ width: 100%;
+ height: 200px;
+ min-height: 200px;
+}
+.ql-container[hidden] {
+ display: none;
+}
+.ql-container .ql-editor {
+ position: relative;
+ font-size: inherit;
+ line-height: inherit;
+ font-family: inherit;
+ min-height: inherit;
+ width: 100%;
+ height: 100%;
+ padding: 0;
+ overflow-x: hidden;
+ overflow-y: auto;
+ -webkit-tap-highlight-color: transparent;
+ -webkit-touch-callout: none;
+ -webkit-overflow-scrolling: touch;
+}
+.ql-container .ql-editor::-webkit-scrollbar {
+ width: 0 !important;
+}
+.ql-container .ql-editor.scroll-disabled {
+ overflow: hidden;
+}
+.ql-container .ql-image-overlay {
+ display: flex;
+ position: absolute;
+ box-sizing: border-box;
+ border: 1px dashed #ccc;
+ justify-content: center;
+ align-items: center;
+ -webkit-user-select: none;
+ user-select: none;
+}
+.ql-container .ql-image-overlay .ql-image-size {
+ position: absolute;
+ padding: 4px 8px;
+ text-align: center;
+ background-color: #fff;
+ color: #888;
+ border: 1px solid #ccc;
+ box-sizing: border-box;
+ opacity: 0.8;
+ right: 4px;
+ top: 4px;
+ font-size: 12px;
+ display: inline-block;
+ width: auto;
+}
+.ql-container .ql-image-overlay .ql-image-toolbar {
+ position: relative;
+ text-align: center;
+ box-sizing: border-box;
+ background: #000;
+ border-radius: 5px;
+ color: #fff;
+ font-size: 0;
+ min-height: 24px;
+ z-index: 100;
+}
+.ql-container .ql-image-overlay .ql-image-toolbar span {
+ display: inline-block;
+ cursor: pointer;
+ padding: 5px;
+ font-size: 12px;
+ border-right: 1px solid #fff;
+}
+.ql-container .ql-image-overlay .ql-image-toolbar span:last-child {
+ border-right: 0;
+}
+.ql-container .ql-image-overlay .ql-image-toolbar span.triangle-up {
+ padding: 0;
+ position: absolute;
+ top: -12px;
+ left: 50%;
+ transform: translatex(-50%);
+ width: 0;
+ height: 0;
+ border-width: 6px;
+ border-style: solid;
+ border-color: transparent transparent black transparent;
+}
+.ql-container .ql-image-overlay .ql-image-handle {
+ position: absolute;
+ height: 12px;
+ width: 12px;
+ border-radius: 50%;
+ border: 1px solid #ccc;
+ box-sizing: border-box;
+ background: #fff;
+}
+.ql-container img {
+ display: inline-block;
+ max-width: 100%;
+}
+.ql-clipboard p {
+ margin: 0;
+ padding: 0;
+}
+.ql-editor {
+ box-sizing: border-box;
+ height: 100%;
+ outline: none;
+ overflow-y: auto;
+ tab-size: 4;
+ -moz-tab-size: 4;
+ text-align: left;
+ white-space: pre-wrap;
+ word-wrap: break-word;
+}
+.ql-editor > * {
+ cursor: text;
+}
+.ql-editor p,
+.ql-editor ol,
+.ql-editor ul,
+.ql-editor pre,
+.ql-editor blockquote,
+.ql-editor h1,
+.ql-editor h2,
+.ql-editor h3,
+.ql-editor h4,
+.ql-editor h5,
+.ql-editor h6 {
+ margin: 0;
+ padding: 0;
+ counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
+}
+.ql-editor ol > li,
+.ql-editor ul > li {
+ list-style-type: none;
+}
+.ql-editor ul > li::before {
+ content: '\2022';
+}
+.ql-editor ul[data-checked=true],
+.ql-editor ul[data-checked=false] {
+ pointer-events: none;
+}
+.ql-editor ul[data-checked=true] > li *,
+.ql-editor ul[data-checked=false] > li * {
+ pointer-events: all;
+}
+.ql-editor ul[data-checked=true] > li::before,
+.ql-editor ul[data-checked=false] > li::before {
+ color: #777;
+ cursor: pointer;
+ pointer-events: all;
+}
+.ql-editor ul[data-checked=true] > li::before {
+ content: '\2611';
+}
+.ql-editor ul[data-checked=false] > li::before {
+ content: '\2610';
+}
+.ql-editor li::before {
+ display: inline-block;
+ white-space: nowrap;
+ width: 2em;
+}
+.ql-editor ol li {
+ counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
+ counter-increment: list-0;
+}
+.ql-editor ol li:before {
+ content: counter(list-0, decimal) '. ';
+}
+.ql-editor ol li.ql-indent-1 {
+ counter-increment: list-1;
+}
+.ql-editor ol li.ql-indent-1:before {
+ content: counter(list-1, lower-alpha) '. ';
+}
+.ql-editor ol li.ql-indent-1 {
+ counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
+}
+.ql-editor ol li.ql-indent-2 {
+ counter-increment: list-2;
+}
+.ql-editor ol li.ql-indent-2:before {
+ content: counter(list-2, lower-roman) '. ';
+}
+.ql-editor ol li.ql-indent-2 {
+ counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9;
+}
+.ql-editor ol li.ql-indent-3 {
+ counter-increment: list-3;
+}
+.ql-editor ol li.ql-indent-3:before {
+ content: counter(list-3, decimal) '. ';
+}
+.ql-editor ol li.ql-indent-3 {
+ counter-reset: list-4 list-5 list-6 list-7 list-8 list-9;
+}
+.ql-editor ol li.ql-indent-4 {
+ counter-increment: list-4;
+}
+.ql-editor ol li.ql-indent-4:before {
+ content: counter(list-4, lower-alpha) '. ';
+}
+.ql-editor ol li.ql-indent-4 {
+ counter-reset: list-5 list-6 list-7 list-8 list-9;
+}
+.ql-editor ol li.ql-indent-5 {
+ counter-increment: list-5;
+}
+.ql-editor ol li.ql-indent-5:before {
+ content: counter(list-5, lower-roman) '. ';
+}
+.ql-editor ol li.ql-indent-5 {
+ counter-reset: list-6 list-7 list-8 list-9;
+}
+.ql-editor ol li.ql-indent-6 {
+ counter-increment: list-6;
+}
+.ql-editor ol li.ql-indent-6:before {
+ content: counter(list-6, decimal) '. ';
+}
+.ql-editor ol li.ql-indent-6 {
+ counter-reset: list-7 list-8 list-9;
+}
+.ql-editor ol li.ql-indent-7 {
+ counter-increment: list-7;
+}
+.ql-editor ol li.ql-indent-7:before {
+ content: counter(list-7, lower-alpha) '. ';
+}
+.ql-editor ol li.ql-indent-7 {
+ counter-reset: list-8 list-9;
+}
+.ql-editor ol li.ql-indent-8 {
+ counter-increment: list-8;
+}
+.ql-editor ol li.ql-indent-8:before {
+ content: counter(list-8, lower-roman) '. ';
+}
+.ql-editor ol li.ql-indent-8 {
+ counter-reset: list-9;
+}
+.ql-editor ol li.ql-indent-9 {
+ counter-increment: list-9;
+}
+.ql-editor ol li.ql-indent-9:before {
+ content: counter(list-9, decimal) '. ';
+}
+.ql-editor .ql-indent-1:not(.ql-direction-rtl) {
+ padding-left: 2em;
+}
+.ql-editor li.ql-indent-1:not(.ql-direction-rtl) {
+ padding-left: 2em;
+}
+.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right {
+ padding-right: 2em;
+}
+.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right {
+ padding-right: 2em;
+}
+.ql-editor .ql-indent-2:not(.ql-direction-rtl) {
+ padding-left: 4em;
+}
+.ql-editor li.ql-indent-2:not(.ql-direction-rtl) {
+ padding-left: 4em;
+}
+.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right {
+ padding-right: 4em;
+}
+.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right {
+ padding-right: 4em;
+}
+.ql-editor .ql-indent-3:not(.ql-direction-rtl) {
+ padding-left: 6em;
+}
+.ql-editor li.ql-indent-3:not(.ql-direction-rtl) {
+ padding-left: 6em;
+}
+.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right {
+ padding-right: 6em;
+}
+.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right {
+ padding-right: 6em;
+}
+.ql-editor .ql-indent-4:not(.ql-direction-rtl) {
+ padding-left: 8em;
+}
+.ql-editor li.ql-indent-4:not(.ql-direction-rtl) {
+ padding-left: 8em;
+}
+.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right {
+ padding-right: 8em;
+}
+.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right {
+ padding-right: 8em;
+}
+.ql-editor .ql-indent-5:not(.ql-direction-rtl) {
+ padding-left: 10em;
+}
+.ql-editor li.ql-indent-5:not(.ql-direction-rtl) {
+ padding-left: 10em;
+}
+.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right {
+ padding-right: 10em;
+}
+.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right {
+ padding-right: 10em;
+}
+.ql-editor .ql-indent-6:not(.ql-direction-rtl) {
+ padding-left: 12em;
+}
+.ql-editor li.ql-indent-6:not(.ql-direction-rtl) {
+ padding-left: 12em;
+}
+.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right {
+ padding-right: 12em;
+}
+.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right {
+ padding-right: 12em;
+}
+.ql-editor .ql-indent-7:not(.ql-direction-rtl) {
+ padding-left: 14em;
+}
+.ql-editor li.ql-indent-7:not(.ql-direction-rtl) {
+ padding-left: 14em;
+}
+.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right {
+ padding-right: 14em;
+}
+.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right {
+ padding-right: 14em;
+}
+.ql-editor .ql-indent-8:not(.ql-direction-rtl) {
+ padding-left: 16em;
+}
+.ql-editor li.ql-indent-8:not(.ql-direction-rtl) {
+ padding-left: 16em;
+}
+.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right {
+ padding-right: 16em;
+}
+.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right {
+ padding-right: 16em;
+}
+.ql-editor .ql-indent-9:not(.ql-direction-rtl) {
+ padding-left: 18em;
+}
+.ql-editor li.ql-indent-9:not(.ql-direction-rtl) {
+ padding-left: 18em;
+}
+.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right {
+ padding-right: 18em;
+}
+.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right {
+ padding-right: 18em;
+}
+.ql-editor .ql-direction-rtl {
+ direction: rtl;
+ text-align: inherit;
+}
+.ql-editor .ql-align-center {
+ text-align: center;
+}
+.ql-editor .ql-align-justify {
+ text-align: justify;
+}
+.ql-editor .ql-align-right {
+ text-align: right;
+}
+.ql-editor.ql-blank::before {
+ color: rgba(0, 0, 0, 0.6);
+ content: attr(data-placeholder);
+ font-style: italic;
+ pointer-events: none;
+ position: absolute;
+}
+.ql-container.ql-disabled .ql-editor ul[data-checked] > li::before {
+ pointer-events: none;
+}
+.ql-clipboard {
+ left: -100000px;
+ height: 1px;
+ overflow-y: hidden;
+ position: absolute;
+ top: 50%;
+}
+
+
+
+uni-icon {
+ display: inline-block;
+ font-size: 0;
+ box-sizing: border-box;
+}
+uni-icon[hidden] {
+ display: none;
+}
+uni-icon > i {
+ font: normal normal normal 14px/1 'weui';
+}
+uni-icon > i:before {
+ margin: 0;
+ box-sizing: border-box;
+}
+@font-face {
+ font-weight: normal;
+ font-style: normal;
+ font-family: 'weui';
+ src: url('data:application/octet-stream;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzJAKEx8AAABfAAAAFZjbWFw65cFHQAAAhwAAAJQZ2x5Zp+UEEcAAASUAAAIvGhlYWQUqc7xAAAA4AAAADZoaGVhB/YD+wAAALwAAAAkaG10eEJoAAAAAAHUAAAASGxvY2EUxhJeAAAEbAAAACZtYXhwASEAQwAAARgAAAAgbmFtZeNcHtgAAA1QAAAB5nBvc3T6OoZLAAAPOAAAAOYAAQAAA+gAAABaA+gAAAAAA7MAAQAAAAAAAAAAAAAAAAAAABIAAQAAAAEAAMCU2KdfDzz1AAsD6AAAAADY7EUUAAAAANjsRRQAAAAAA7MD5AAAAAgAAgAAAAAAAAABAAAAEgA3AAUAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAAAAQOwAZAABQAIAnoCvAAAAIwCegK8AAAB4AAxAQIAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABA6gHqEQPoAAAAWgPoAAAAAAABAAAAAAAAAAAAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAAAAABQAAAAMAAAAsAAAABAAAAXQAAQAAAAAAbgADAAEAAAAsAAMACgAAAXQABABCAAAABAAEAAEAAOoR//8AAOoB//8AAAABAAQAAAABAAIAAwAEAAUABg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uAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAgAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASAQIBAwEEAQUBBgEHAQgBCQEKAQsBDAENAQ4BDwEQAREBEgETAAZjaXJjbGUIZG93bmxvYWQEaW5mbwxzYWZlLXN1Y2Nlc3MJc2FmZS13YXJuB3N1Y2Nlc3MOc3VjY2Vzcy1jaXJjbGURc3VjY2Vzcy1uby1jaXJjbGUHd2FpdGluZw53YWl0aW5nLWNpcmNsZQR3YXJuC2luZm8tY2lyY2xlBmNhbmNlbAZzZWFyY2gFY2xlYXIEYmFjawZkZWxldGUAAAAA')
+ format('truetype');
+}
+.uni-icon-success:before {
+ content: '\EA06';
+}
+.uni-icon-success_circle:before {
+ content: '\EA07';
+}
+.uni-icon-success_no_circle:before {
+ content: '\EA08';
+}
+.uni-icon-safe_success:before {
+ content: '\EA04';
+}
+.uni-icon-safe_warn:before {
+ content: '\EA05';
+}
+.uni-icon-info:before {
+ content: '\EA03';
+}
+.uni-icon-info_circle:before {
+ content: '\EA0C';
+}
+.uni-icon-warn:before {
+ content: '\EA0B';
+}
+.uni-icon-waiting:before {
+ content: '\EA09';
+}
+.uni-icon-waiting_circle:before {
+ content: '\EA0A';
+}
+.uni-icon-circle:before {
+ content: '\EA01';
+}
+.uni-icon-cancel:before {
+ content: '\EA0D';
+}
+.uni-icon-download:before {
+ content: '\EA02';
+}
+.uni-icon-search:before {
+ content: '\EA0E';
+}
+.uni-icon-clear:before {
+ content: '\EA0F';
+}
+.uni-icon-success {
+ color: #007aff;
+}
+.uni-icon-success_circle {
+ color: #007aff;
+}
+.uni-icon-success_no_circle {
+ color: #007aff;
+}
+.uni-icon-safe_success {
+ color: #007aff;
+}
+.uni-icon-safe_warn {
+ color: #ffbe00;
+}
+.uni-icon-info {
+ color: #10aeff;
+}
+.uni-icon-info_circle {
+ color: #007aff;
+}
+.uni-icon-warn {
+ color: #f76260;
+}
+.uni-icon-waiting {
+ color: #10aeff;
+}
+.uni-icon-waiting_circle {
+ color: #10aeff;
+}
+.uni-icon-circle {
+ color: #c9c9c9;
+}
+.uni-icon-cancel {
+ color: #f43530;
+}
+.uni-icon-download {
+ color: #007aff;
+}
+.uni-icon-search {
+ color: #b2b2b2;
+}
+.uni-icon-clear {
+ color: #b2b2b2;
+}
+
+uni-image {
+ width: 320px;
+ height: 240px;
+ display: inline-block;
+ overflow: hidden;
+ position: relative;
+}
+uni-image[hidden] {
+ display: none;
+}
+uni-image>div {
+ width: 100%;
+ height: 100%;
+}
+uni-image>img {
+ -webkit-touch-callout: none;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ display: block;
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ opacity: 0;
+}
+uni-image>.uni-image-will-change {
+ will-change: transform;
+}
+
+uni-input {
+ display: block;
+ font-size: 16px;
+ line-height: 1.4em;
+ height: 1.4em;
+ min-height: 1.4em;
+ overflow: hidden;
+}
+uni-input[hidden] {
+ display: none;
+}
+.uni-input-wrapper,
+.uni-input-placeholder,
+.uni-input-form,
+.uni-input-input {
+ outline: none;
+ border: none;
+ padding: 0;
+ margin: 0;
+ text-decoration: inherit;
+}
+.uni-input-wrapper,
+.uni-input-form {
+ display: flex;
+ position: relative;
+ width: 100%;
+ height: 100%;
+ flex-direction: column;
+ justify-content: center;
+}
+.uni-input-placeholder,
+.uni-input-input {
+ width: 100%;
+}
+.uni-input-placeholder {
+ position: absolute;
+ top: auto !important;
+ left: 0;
+ color: gray;
+ overflow: hidden;
+ text-overflow: clip;
+ white-space: pre;
+ word-break: keep-all;
+ pointer-events: none;
+ line-height: inherit;
+}
+.uni-input-input {
+ display: block;
+ height: 100%;
+ background: none;
+ color: inherit;
+ opacity: 1;
+ -webkit-text-fill-color: currentcolor;
+ font: inherit;
+ line-height: inherit;
+ letter-spacing: inherit;
+ text-align: inherit;
+ text-indent: inherit;
+ text-transform: inherit;
+ text-shadow: inherit;
+}
+.uni-input-input[type="search"]::-webkit-search-cancel-button {
+ display: none;
+}
+.uni-input-input::-webkit-outer-spin-button,
+.uni-input-input::-webkit-inner-spin-button {
+ -webkit-appearance: none;
+ margin: 0;
+}
+.uni-input-input[type="number"] {
+ -moz-appearance: textfield;
+}
+
+.uni-label-pointer {
+ cursor: pointer;
+}
+
+uni-movable-view {
+ display: inline-block;
+ width: 10px;
+ height: 10px;
+ top: 0px;
+ left: 0px;
+ position: absolute;
+ cursor: grab;
+}
+uni-movable-view[hidden] {
+ display: none;
+}
+
+uni-navigator {
+ height: auto;
+ width: auto;
+ display: block;
+ cursor: pointer;
+}
+uni-navigator[hidden] {
+ display: none;
+}
+.navigator-hover {
+ background-color: rgba(0, 0, 0, 0.1);
+ opacity: 0.7;
+}
+
+uni-radio {
+ -webkit-tap-highlight-color: transparent;
+ display: inline-block;
+ cursor: pointer;
+}
+uni-radio[hidden] {
+ display: none;
+}
+uni-radio[disabled] {
+ cursor: not-allowed;
+}
+uni-radio .uni-radio-wrapper {
+ display: -webkit-inline-flex;
+ display: inline-flex;
+ -webkit-align-items: center;
+ align-items: center;
+ vertical-align: middle;
+}
+uni-radio .uni-radio-input {
+ -webkit-appearance: none;
+ appearance: none;
+ margin-right: 5px;
+ outline: 0;
+ border: 1px solid #D1D1D1;
+ background-color: #ffffff;
+ border-radius: 50%;
+ width: 22px;
+ height: 22px;
+ position: relative;
+}
+uni-radio:not([disabled]) .uni-radio-input:hover {
+ border-color: #007aff;
+}
+uni-radio .uni-radio-input.uni-radio-input-checked:before {
+ font: normal normal normal 14px/1 "uni";
+ content: "\EA08";
+ color: #ffffff;
+ font-size: 18px;
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -48%) scale(0.73);
+ -webkit-transform: translate(-50%, -48%) scale(0.73);
+}
+uni-radio .uni-radio-input.uni-radio-input-disabled {
+ background-color: #E1E1E1;
+ border-color: #D1D1D1;
+}
+uni-radio .uni-radio-input.uni-radio-input-disabled:before {
+ color: #ADADAD;
+}
+uni-radio-group {
+ display: block;
+}
+
+uni-radio-group[hidden] {
+ display: none;
+}
+
+@keyframes once-show {
+from {
+ top: 0;
+}
+}
+uni-resize-sensor,
+uni-resize-sensor > div {
+ position: absolute;
+ left: 0;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ overflow: hidden;
+}
+uni-resize-sensor {
+ display: block;
+ z-index: -1;
+ visibility: hidden;
+ animation: once-show 1ms;
+}
+uni-resize-sensor > div > div {
+ position: absolute;
+ left: 0;
+ top: 0;
+}
+uni-resize-sensor > div:first-child > div {
+ width: 100000px;
+ height: 100000px;
+}
+uni-resize-sensor > div:last-child > div {
+ width: 200%;
+ height: 200%;
+}
+
+uni-scroll-view {
+ display: block;
+ width: 100%;
+}
+uni-scroll-view[hidden] {
+ display: none;
+}
+.uni-scroll-view {
+ position: relative;
+ -webkit-overflow-scrolling: touch;
+ width: 100%;
+ /* display: flex; 时在安卓下会导致scrollWidth和offsetWidth一样 */
+ height: 100%;
+ max-height: inherit;
+}
+.uni-scroll-view-content {
+ width: 100%;
+ height: 100%;
+}
+.uni-scroll-view-refresher {
+ position: relative;
+ overflow: hidden;
+}
+.uni-scroll-view-refresh {
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ display: flex;
+ flex-direction: row;
+ justify-content: center;
+ align-items: center;
+}
+.uni-scroll-view-refresh-inner {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ line-height: 0;
+ width: 40px;
+ height: 40px;
+ border-radius: 50%;
+ background-color: #fff;
+ box-shadow: 0 1px 6px rgba(0, 0, 0, 0.117647),
+ 0 1px 4px rgba(0, 0, 0, 0.117647);
+}
+.uni-scroll-view-refresh__spinner {
+ transform-origin: center center;
+ animation: uni-scroll-view-refresh-rotate 2s linear infinite;
+}
+.uni-scroll-view-refresh__spinner > circle {
+ stroke: currentColor;
+ stroke-linecap: round;
+ animation: uni-scroll-view-refresh-dash 2s linear infinite;
+}
+@keyframes uni-scroll-view-refresh-rotate {
+0% {
+ transform: rotate(0deg);
+}
+100% {
+ transform: rotate(360deg);
+}
+}
+@keyframes uni-scroll-view-refresh-dash {
+0% {
+ stroke-dasharray: 1, 200;
+ stroke-dashoffset: 0;
+}
+50% {
+ stroke-dasharray: 89, 200;
+ stroke-dashoffset: -35px;
+}
+100% {
+ stroke-dasharray: 89, 200;
+ stroke-dashoffset: -124px;
+}
+}
+
+uni-swiper-item {
+ display: block;
+ overflow: hidden;
+ will-change: transform;
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ cursor: grab;
+}
+uni-swiper-item[hidden] {
+ display: none;
+}
+
+uni-switch {
+ -webkit-tap-highlight-color: transparent;
+ display: inline-block;
+ cursor: pointer;
+}
+uni-switch[hidden] {
+ display: none;
+}
+uni-switch[disabled] {
+ cursor: not-allowed;
+}
+uni-switch .uni-switch-wrapper {
+ display: -webkit-inline-flex;
+ display: inline-flex;
+ -webkit-align-items: center;
+ align-items: center;
+ vertical-align: middle;
+}
+uni-switch .uni-switch-input {
+ -webkit-appearance: none;
+ appearance: none;
+ position: relative;
+ width: 52px;
+ height: 32px;
+ margin-right: 5px;
+ border: 1px solid #DFDFDF;
+ outline: 0;
+ border-radius: 16px;
+ box-sizing: border-box;
+ background-color: #DFDFDF;
+ transition: background-color 0.1s, border 0.1s;
+}
+uni-switch[disabled] .uni-switch-input {
+ opacity: .7;
+}
+uni-switch .uni-switch-input:before {
+ content: " ";
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 50px;
+ height: 30px;
+ border-radius: 15px;
+ background-color: #FDFDFD;
+ transition: -webkit-transform 0.3s;
+ transition: transform 0.3s;
+ transition: transform 0.3s, -webkit-transform 0.3s;
+}
+uni-switch .uni-switch-input:after {
+ content: " ";
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 30px;
+ height: 30px;
+ border-radius: 15px;
+ background-color: #FFFFFF;
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
+ transition: -webkit-transform 0.3s;
+ transition: transform 0.3s;
+ transition: transform 0.3s, -webkit-transform 0.3s;
+}
+uni-switch .uni-switch-input.uni-switch-input-checked {
+ border-color: #007aff;
+ background-color: #007aff;
+}
+uni-switch .uni-switch-input.uni-switch-input-checked:before {
+ -webkit-transform: scale(0);
+ transform: scale(0);
+}
+uni-switch .uni-switch-input.uni-switch-input-checked:after {
+ -webkit-transform: translateX(20px);
+ transform: translateX(20px);
+}
+uni-switch .uni-checkbox-input {
+ margin-right: 5px;
+ -webkit-appearance: none;
+ appearance: none;
+ outline: 0;
+ border: 1px solid #D1D1D1;
+ background-color: #FFFFFF;
+ border-radius: 3px;
+ width: 22px;
+ height: 22px;
+ position: relative;
+ color: #007aff;
+}
+uni-switch:not([disabled]) .uni-checkbox-input:hover {
+ border-color: #007aff;
+}
+uni-switch .uni-checkbox-input.uni-checkbox-input-checked:before {
+ font: normal normal normal 14px/1 "uni";
+ content: "\EA08";
+ color: inherit;
+ font-size: 22px;
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -48%) scale(0.73);
+ -webkit-transform: translate(-50%, -48%) scale(0.73);
+}
+uni-switch .uni-checkbox-input.uni-checkbox-input-disabled {
+ background-color: #E1E1E1;
+}
+uni-switch .uni-checkbox-input.uni-checkbox-input-disabled:before {
+ color: #ADADAD;
+}
+
+uni-text[selectable] {
+ cursor: auto;
+ user-select: text;
+ -webkit-user-select: text;
+}
+
+uni-textarea {
+ width: 300px;
+ height: 150px;
+ display: block;
+ position: relative;
+ font-size: 16px;
+ line-height: normal;
+ white-space: pre-wrap;
+ word-break: break-all;
+}
+uni-textarea[hidden] {
+ display: none;
+}
+.uni-textarea-wrapper,
+.uni-textarea-placeholder,
+.uni-textarea-line,
+.uni-textarea-compute,
+.uni-textarea-textarea {
+ outline: none;
+ border: none;
+ padding: 0;
+ margin: 0;
+ text-decoration: inherit;
+}
+.uni-textarea-wrapper {
+ display: block;
+ position: relative;
+ width: 100%;
+ height: 100%;
+}
+.uni-textarea-placeholder,
+.uni-textarea-line,
+.uni-textarea-compute,
+.uni-textarea-textarea {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ left: 0;
+ top: 0;
+ white-space: inherit;
+ word-break: inherit;
+}
+.uni-textarea-placeholder {
+ color: grey;
+ overflow: hidden;
+}
+.uni-textarea-line,
+.uni-textarea-compute {
+ visibility: hidden;
+ height: auto;
+}
+.uni-textarea-line {
+ width: 1em;
+}
+.uni-textarea-textarea {
+ resize: none;
+ background: none;
+ color: inherit;
+ opacity: 1;
+ -webkit-text-fill-color: currentcolor;
+ font: inherit;
+ line-height: inherit;
+ letter-spacing: inherit;
+ text-align: inherit;
+ text-indent: inherit;
+ text-transform: inherit;
+ text-shadow: inherit;
+}
+/* 用于解决 iOS textarea 内部默认边距 */
+.uni-textarea-textarea-fix-margin {
+ width: auto;
+ right: 0;
+ margin: 0 -3px;
+}
+
+uni-view {
+ display: block;
+}
+uni-view[hidden] {
+ display: none;
+}
+
+uni-page-head {
+ display: block;
+ box-sizing: border-box;
+}
+uni-page-head .uni-page-head {
+ position: fixed;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 44px;
+ height: calc(44px + constant(safe-area-inset-top));
+ height: calc(44px + env(safe-area-inset-top));
+ padding: 7px 3px;
+ padding-top: calc(7px + constant(safe-area-inset-top));
+ padding-top: calc(7px + env(safe-area-inset-top));
+ display: flex;
+ overflow: hidden;
+ justify-content: space-between;
+ box-sizing: border-box;
+ z-index: 998;
+ color: #fff;
+ background-color: #000;
+ transition-property: all;
+}
+uni-page-head .uni-page-head-titlePenetrate,
+uni-page-head .uni-page-head-titlePenetrate .uni-page-head-bd,
+uni-page-head .uni-page-head-titlePenetrate .uni-page-head-bd * {
+ pointer-events: none;
+}
+uni-page-head .uni-page-head-titlePenetrate * {
+ pointer-events: auto;
+}
+uni-page-head .uni-page-head.uni-page-head-transparent .uni-page-head-ft > div {
+ justify-content: center;
+}
+uni-page-head .uni-page-head ~ .uni-placeholder {
+ width: 100%;
+ height: 44px;
+ height: calc(44px + constant(safe-area-inset-top));
+ height: calc(44px + env(safe-area-inset-top));
+}
+uni-page-head .uni-placeholder-titlePenetrate {
+ pointer-events: none;
+}
+uni-page-head .uni-page-head * {
+ box-sizing: border-box;
+}
+uni-page-head .uni-page-head-hd {
+ display: flex;
+ align-items: center;
+ font-size: 16px;
+}
+uni-page-head .uni-page-head-bd {
+ position: absolute;
+ left: 70px;
+ right: 70px;
+ min-width: 0;
+ user-select: auto;
+}
+.uni-page-head-btn {
+ position: relative;
+ width: auto;
+ margin: 0 2px;
+ word-break: keep-all;
+ white-space: pre;
+ cursor: pointer;
+}
+.uni-page-head-transparent .uni-page-head-btn {
+ display: flex;
+ align-items: center;
+ width: 32px;
+ height: 32px;
+ border-radius: 50%;
+ background-color: rgba(0, 0, 0, 0.5);
+}
+uni-page-head .uni-btn-icon {
+ overflow: hidden;
+ min-width: 1em;
+}
+.uni-page-head-btn-red-dot::after {
+ content: attr(badge-text);
+ position: absolute;
+ right: 0;
+ top: 0;
+ background-color: red;
+ color: white;
+ width: 18px;
+ height: 18px;
+ line-height: 18px;
+ border-radius: 18px;
+ overflow: hidden;
+ transform: scale(0.5) translate(40%, -40%);
+ transform-origin: 100% 0;
+}
+.uni-page-head-btn-red-dot[badge-text]::after {
+ font-size: 12px;
+ width: auto;
+ min-width: 18px;
+ max-width: 42px;
+ text-align: center;
+ padding: 0 3px;
+ transform: scale(0.7) translate(40%, -40%);
+}
+.uni-page-head-btn-select > .uni-btn-icon::after {
+ display: inline-block;
+ font-family: 'unibtn';
+ content: '\e601';
+ margin-left: 2px;
+ transform: rotate(-90deg) scale(0.8);
+}
+.uni-page-head-search {
+ position: relative;
+ display: flex;
+ flex: 1;
+ margin: 0 2px;
+ line-height: 30px;
+ font-size: 15px;
+}
+.uni-page-head-search-input {
+ width: 100%;
+ height: 100%;
+ padding-left: 34px;
+ text-align: left;
+}
+.uni-page-head-search-placeholder {
+ position: absolute;
+ max-width: 100%;
+ height: 100%;
+ padding-left: 34px;
+ overflow: hidden;
+ word-break: keep-all;
+ white-space: pre;
+}
+.uni-page-head-search-placeholder-right {
+ right: 0;
+}
+.uni-page-head-search-placeholder-center {
+ left: 50%;
+ transform: translateX(-50%);
+}
+.uni-page-head-search-placeholder::before {
+ position: absolute;
+ top: 0;
+ left: 2px;
+ width: 30px;
+ content: '\ea0e';
+ display: block;
+ font-size: 20px;
+ font-family: 'uni';
+ text-align: center;
+}
+uni-page-head .uni-page-head-ft {
+ display: flex;
+ align-items: center;
+ flex-direction: row-reverse;
+ font-size: 13px;
+}
+uni-page-head .uni-page-head__title {
+ font-weight: bold;
+ font-size: 16px;
+ line-height: 30px;
+ text-align: center;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+}
+uni-page-head .uni-page-head__title .uni-loading {
+ width: 16px;
+ height: 16px;
+ margin-top: -3px;
+}
+uni-page-head .uni-page-head__title .uni-page-head__title_image {
+ width: auto;
+ height: 26px;
+ vertical-align: middle;
+}
+uni-page-head .uni-page-head-shadow {
+ overflow: visible;
+}
+uni-page-head .uni-page-head-shadow::after {
+ content: '';
+ position: absolute;
+ left: 0;
+ right: 0;
+ top: 100%;
+ height: 5px;
+ background-size: 100% 100%;
+}
+uni-page-head .uni-page-head-shadow-grey::after {
+ background-image: url('https://cdn.dcloud.net.cn/img/shadow-grey.png');
+}
+uni-page-head .uni-page-head-shadow-blue::after {
+ background-image: url('https://cdn.dcloud.net.cn/img/shadow-blue.png');
+}
+uni-page-head .uni-page-head-shadow-green::after {
+ background-image: url('https://cdn.dcloud.net.cn/img/shadow-green.png');
+}
+uni-page-head .uni-page-head-shadow-orange::after {
+ background-image: url('https://cdn.dcloud.net.cn/img/shadow-orange.png');
+}
+uni-page-head .uni-page-head-shadow-red::after {
+ background-image: url('https://cdn.dcloud.net.cn/img/shadow-red.png');
+}
+uni-page-head .uni-page-head-shadow-yellow::after {
+ background-image: url('https://cdn.dcloud.net.cn/img/shadow-yellow.png');
+}
+
+uni-page-wrapper {
+ display: block;
+ height: 100%;
+ position: relative;
+}
+uni-page-head[uni-page-head-type="default"] ~ uni-page-wrapper {
+ height: calc(100% - 44px);
+ height: calc(100% - 44px - constant(safe-area-inset-top));
+ height: calc(100% - 44px - env(safe-area-inset-top));
+}
+.uni-app--showtabbar uni-page-wrapper {
+ display: block;
+ height: calc(100% - 50px);
+ height: calc(100% - 50px - constant(safe-area-inset-bottom));
+ height: calc(100% - 50px - env(safe-area-inset-bottom));
+}
+.uni-app--showtabbar uni-page-wrapper::after {
+ content: "";
+ display: block;
+ width: 100%;
+ height: 50px;
+ height: calc(50px + constant(safe-area-inset-bottom));
+ height: calc(50px + env(safe-area-inset-bottom));
+}
+.uni-app--showtabbar uni-page-head[uni-page-head-type="default"] ~ uni-page-wrapper {
+ height: calc(100% - 44px - 50px);
+ height: calc(100% - 44px - constant(safe-area-inset-top) - 50px - constant(safe-area-inset-bottom));
+ height: calc(100% - 44px - env(safe-area-inset-top) - 50px - env(safe-area-inset-bottom));
+}
+uni-page-body {
+ display: block;
+ box-sizing: border-box;
+ width: 100%;
+}
+
+uni-page-refresh {
+ position: absolute;
+ top: 0;
+ width: 100%;
+ height: 40px;
+ display: block;
+ box-sizing: border-box;
+}
+uni-page-refresh .uni-page-refresh {
+ position: absolute;
+ top: -45px;
+ left: 50%;
+ transform: translate3d(-50%, 0, 0);
+ width: 40px;
+ height: 40px;
+ justify-content: center;
+ align-items: center;
+ background: #fff;
+ border-radius: 50%;
+ box-shadow: 0 1px 6px rgba(0, 0, 0, .117647), 0 1px 4px rgba(0, 0, 0, .117647);
+ display: none;
+ z-index: 997;
+}
+uni-page-refresh .uni-page-refresh-inner {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ line-height: 0;
+ width: 40px;
+ height: 40px;
+ border-radius: 50%;
+}
+uni-page-refresh.uni-page-refresh--pulling .uni-page-refresh,
+ uni-page-refresh.uni-page-refresh--aborting .uni-page-refresh,
+ uni-page-refresh.uni-page-refresh--reached .uni-page-refresh,
+ uni-page-refresh.uni-page-refresh--refreshing .uni-page-refresh,
+ uni-page-refresh.uni-page-refresh--restoring .uni-page-refresh {
+ display: flex;
+}
+uni-page-refresh.uni-page-refresh--pulling .uni-page-refresh__spinner,
+ uni-page-refresh.uni-page-refresh--aborting .uni-page-refresh__spinner,
+ uni-page-refresh.uni-page-refresh--reached .uni-page-refresh__spinner,
+ uni-page-refresh.uni-page-refresh--refreshing .uni-page-refresh__icon,
+ uni-page-refresh.uni-page-refresh--restoring .uni-page-refresh__icon {
+ display: none;
+}
+uni-page-refresh.uni-page-refresh--refreshing .uni-page-refresh__spinner {
+ transform-origin: center center;
+ animation: uni-page-refresh-rotate 2s linear infinite;
+}
+uni-page-refresh.uni-page-refresh--refreshing .uni-page-refresh__path {
+ stroke-dasharray: 1, 200;
+ stroke-dashoffset: 0;
+ stroke-linecap: round;
+ animation: uni-page-refresh-dash 1.5s ease-in-out infinite, uni-page-refresh-colorful 6s ease-in-out infinite;
+}
+@keyframes uni-page-refresh-rotate {
+100% {
+ -webkit-transform: rotate(360deg);
+ transform: rotate(360deg);
+}
+}
+@keyframes uni-page-refresh-dash {
+0% {
+ stroke-dasharray: 1, 200;
+ stroke-dashoffset: 0;
+}
+50% {
+ stroke-dasharray: 89, 200;
+ stroke-dashoffset: -35px;
+}
+100% {
+ stroke-dasharray: 89, 200;
+ stroke-dashoffset: -124px;
+}
+}
+
+uni-page {
+ display: block;
+ width: 100%;
+ height: 100%;
+}
+
+.uni-async-error {
+ position: absolute;
+ left: 0;
+ right: 0;
+ top: 0;
+ bottom: 0;
+ color: #999;
+ padding: 100px 0;
+ text-align: center;
+}
+
+.uni-async-loading {
+ box-sizing: border-box;
+ width: 100%;
+ padding: 50px;
+ text-align: center;
+}
+.uni-async-loading .uni-loading {
+ width: 30px;
+ height: 30px;
+}
diff --git a/packages/uni-h5/dist/uni-h5.esm.js b/packages/uni-h5/dist/uni-h5.esm.js
index 4211b84ca583e018849aff15db5ad6b1edc78858..b3a23cd6593c4763f2d64f25b768bf887a69b4cc 100644
--- a/packages/uni-h5/dist/uni-h5.esm.js
+++ b/packages/uni-h5/dist/uni-h5.esm.js
@@ -740,7 +740,7 @@ const afterEach = (to, from, failure) => {
console.log("afterEach", to, from, failure, JSON.stringify(history.state));
};
var tabBar_vue_vue_type_style_index_0_lang = "\nuni-tabbar {\r\n display: block;\r\n box-sizing: border-box;\r\n position: fixed;\r\n left: 0;\r\n bottom: 0;\r\n width: 100%;\r\n z-index: 998;\n}\nuni-tabbar .uni-tabbar {\r\n display: flex;\r\n position: fixed;\r\n left: 0;\r\n bottom: 0;\r\n width: 100%;\r\n z-index: 998;\r\n box-sizing: border-box;\r\n padding-bottom: 0;\r\n padding-bottom: constant(safe-area-inset-bottom);\r\n padding-bottom: env(safe-area-inset-bottom);\n}\nuni-tabbar .uni-tabbar ~ .uni-placeholder {\r\n width: 100%;\r\n height: 50px;\r\n margin-bottom: 0;\r\n margin-bottom: constant(safe-area-inset-bottom);\r\n margin-bottom: env(safe-area-inset-bottom);\n}\nuni-tabbar .uni-tabbar * {\r\n box-sizing: border-box;\n}\nuni-tabbar .uni-tabbar__item {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n flex-direction: column;\r\n flex: 1;\r\n font-size: 0;\r\n text-align: center;\r\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\nuni-tabbar .uni-tabbar__bd {\r\n position: relative;\r\n height: 50px;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n justify-content: center;\r\n cursor: pointer;\n}\nuni-tabbar .uni-tabbar__icon {\r\n position: relative;\r\n display: inline-block;\r\n margin-top: 5px;\r\n width: 24px;\r\n height: 24px;\n}\nuni-tabbar .uni-tabbar__icon.uni-tabbar__icon__diff {\r\n margin-top: 0px;\r\n width: 34px;\r\n height: 34px;\n}\nuni-tabbar .uni-tabbar__icon img {\r\n width: 100%;\r\n height: 100%;\n}\nuni-tabbar .uni-tabbar__label {\r\n position: relative;\r\n text-align: center;\r\n font-size: 10px;\r\n line-height: 1.8;\n}\nuni-tabbar .uni-tabbar-border {\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n width: 100%;\r\n height: 1px;\r\n transform: scaleY(0.5);\n}\nuni-tabbar .uni-tabbar__reddot {\r\n position: absolute;\r\n top: 0;\r\n right: 0;\r\n width: 12px;\r\n height: 12px;\r\n border-radius: 50%;\r\n background-color: #f43530;\r\n color: #ffffff;\r\n transform: translate(40%, -20%);\n}\nuni-tabbar .uni-tabbar__badge {\r\n width: auto;\r\n height: 16px;\r\n line-height: 16px;\r\n border-radius: 16px;\r\n min-width: 16px;\r\n padding: 0 2px;\r\n font-size: 12px;\r\n text-align: center;\r\n white-space: nowrap;\n}\r\n";
-const _sfc_main$x = {
+const _sfc_main$y = {
name: "TabBar",
props: {
position: {
@@ -871,7 +871,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
_hoisted_2$b
]);
}
-_sfc_main$x.render = _sfc_render$w;
+_sfc_main$y.render = _sfc_render$w;
var Transtion = {
methods: {
beforeTransition() {
@@ -881,7 +881,7 @@ var Transtion = {
}
};
var toast_vue_vue_type_style_index_0_lang = "\nuni-toast {\r\n position: fixed;\r\n top: 0;\r\n right: 0;\r\n bottom: 0;\r\n left: 0;\r\n z-index: 999;\r\n display: block;\r\n box-sizing: border-box;\r\n pointer-events: none;\n}\nuni-toast .uni-sample-toast {\r\n position: fixed;\r\n z-index: 999;\r\n top: 50%;\r\n left: 50%;\r\n transform: translate(-50%, -50%);\r\n text-align: center;\r\n max-width: 80%;\n}\nuni-toast .uni-simple-toast__text {\r\n display: inline-block;\r\n vertical-align: middle;\r\n color: #ffffff;\r\n background-color: rgba(17, 17, 17, 0.7);\r\n padding: 10px 20px;\r\n border-radius: 5px;\r\n font-size: 13px;\r\n text-align: center;\r\n max-width: 100%;\r\n word-break: break-all;\r\n white-space: normal;\n}\nuni-toast .uni-mask {\r\n pointer-events: auto;\n}\nuni-toast .uni-toast {\r\n position: fixed;\r\n z-index: 999;\r\n width: 8em;\r\n top: 50%;\r\n left: 50%;\r\n transform: translate(-50%, -50%);\r\n background: rgba(17, 17, 17, 0.7);\r\n text-align: center;\r\n border-radius: 5px;\r\n color: #ffffff;\n}\nuni-toast .uni-toast * {\r\n box-sizing: border-box;\n}\nuni-toast .uni-toast__icon {\r\n margin: 20px 0 0;\r\n width: 38px;\r\n height: 38px;\r\n vertical-align: baseline;\n}\nuni-toast .uni-icon_toast {\r\n margin: 15px 0 0;\n}\nuni-toast .uni-icon_toast.uni-icon-success-no-circle:before {\r\n color: #ffffff;\r\n font-size: 55px;\n}\nuni-toast .uni-icon_toast.uni-loading {\r\n margin: 20px 0 0;\r\n width: 38px;\r\n height: 38px;\r\n vertical-align: baseline;\n}\nuni-toast .uni-toast__content {\r\n margin: 0 0 15px;\n}\r\n";
-const _sfc_main$w = {
+const _sfc_main$x = {
name: "Toast",
mixins: [Transtion],
props: {
@@ -974,9 +974,9 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
_: 1
});
}
-_sfc_main$w.render = _sfc_render$v;
+_sfc_main$x.render = _sfc_render$v;
var modal_vue_vue_type_style_index_0_lang = '\nuni-modal {\r\n position: fixed;\r\n top: 0;\r\n right: 0;\r\n bottom: 0;\r\n left: 0;\r\n z-index: 999;\r\n display: block;\r\n box-sizing: border-box;\n}\nuni-modal .uni-modal {\r\n position: fixed;\r\n z-index: 999;\r\n width: 80%;\r\n max-width: 300px;\r\n top: 50%;\r\n left: 50%;\r\n transform: translate(-50%, -50%);\r\n background-color: #ffffff;\r\n text-align: center;\r\n border-radius: 3px;\r\n overflow: hidden;\n}\nuni-modal .uni-modal * {\r\n box-sizing: border-box;\n}\nuni-modal .uni-modal__hd {\r\n padding: 1em 1.6em 0.3em;\n}\nuni-modal .uni-modal__title {\r\n font-weight: 400;\r\n font-size: 18px;\r\n word-wrap:break-word;\r\n word-break:break-all;\r\n white-space: pre-wrap;\r\n overflow : hidden;\r\n text-overflow: ellipsis;\r\n display: -webkit-box;\r\n -webkit-line-clamp: 2;\r\n -webkit-box-orient: vertical;\n}\nuni-modal .uni-modal__bd {\r\n padding: 1.3em 1.6em 1.3em;\r\n min-height: 40px;\r\n font-size: 15px;\r\n line-height: 1.4;\r\n word-wrap: break-word;\r\n word-break: break-all;\r\n white-space: pre-wrap;\r\n color: #999999;\r\n max-height: 400px;\r\n overflow-y: auto;\n}\nuni-modal .uni-modal__ft {\r\n position: relative;\r\n line-height: 48px;\r\n font-size: 18px;\r\n display: flex;\n}\nuni-modal .uni-modal__ft:after {\r\n content: " ";\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n right: 0;\r\n height: 1px;\r\n border-top: 1px solid #d5d5d6;\r\n color: #d5d5d6;\r\n transform-origin: 0 0;\r\n transform: scaleY(0.5);\n}\nuni-modal .uni-modal__btn {\r\n display: block;\r\n flex: 1;\r\n color: #3cc51f;\r\n text-decoration: none;\r\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\r\n position: relative;\n}\nuni-modal .uni-modal__btn:active {\r\n background-color: #eeeeee;\n}\nuni-modal .uni-modal__btn:after {\r\n content: " ";\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n width: 1px;\r\n bottom: 0;\r\n border-left: 1px solid #d5d5d6;\r\n color: #d5d5d6;\r\n transform-origin: 0 0;\r\n transform: scaleX(0.5);\n}\nuni-modal .uni-modal__btn:first-child:after {\r\n display: none;\n}\nuni-modal .uni-modal__btn_default {\r\n color: #353535;\n}\nuni-modal .uni-modal__btn_primary {\r\n color: #007aff;\n}\r\n';
-const _sfc_main$v = {
+const _sfc_main$w = {
name: "Modal",
mixins: [Transtion],
props: {
@@ -1068,9 +1068,9 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
_: 1
});
}
-_sfc_main$v.render = _sfc_render$u;
+_sfc_main$w.render = _sfc_render$u;
var actionSheet_vue_vue_type_style_index_0_lang = '\nuni-actionsheet {\r\n display: block;\r\n box-sizing: border-box;\n}\nuni-actionsheet .uni-actionsheet {\r\n position: fixed;\r\n left: 0;\r\n bottom: 0;\r\n transform: translate(0, 100%);\r\n backface-visibility: hidden;\r\n z-index: 999;\r\n width: 100%;\r\n background-color: #efeff4;\r\n visibility: hidden;\r\n transition: transform 0.3s, visibility 0.3s;\n}\nuni-actionsheet .uni-actionsheet.uni-actionsheet_toggle {\r\n visibility: visible;\r\n transform: translate(0, 0);\n}\nuni-actionsheet .uni-actionsheet * {\r\n box-sizing: border-box;\n}\nuni-actionsheet .uni-actionsheet__menu {\r\n background-color: #fcfcfd;\n}\nuni-actionsheet .uni-actionsheet__action {\r\n margin-top: 6px;\r\n background-color: #fcfcfd;\n}\nuni-actionsheet .uni-actionsheet__cell ,\r\n uni-actionsheet .uni-actionsheet__title {\r\n position: relative;\r\n padding: 10px 0;\r\n text-align: center;\r\n font-size: 18px;\n}\nuni-actionsheet .uni-actionsheet__cell:before {\r\n content: " ";\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n right: 0;\r\n height: 1px;\r\n border-top: 1px solid #e5e5e5;\r\n color: #e5e5e5;\r\n transform-origin: 0 0;\r\n transform: scaleY(0.5);\n}\nuni-actionsheet .uni-actionsheet__cell:active {\r\n background-color: #ececec;\n}\nuni-actionsheet .uni-actionsheet__cell:first-child:before {\r\n display: none;\n}\r\n';
-const _sfc_main$u = {
+const _sfc_main$v = {
name: "ActionSheet",
props: {
title: {
@@ -1144,14 +1144,14 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
], 2)
], 32);
}
-_sfc_main$u.render = _sfc_render$t;
+_sfc_main$v.render = _sfc_render$t;
var Components = {
- Toast: _sfc_main$w,
- Modal: _sfc_main$v,
- ActionSheet: _sfc_main$u
+ Toast: _sfc_main$x,
+ Modal: _sfc_main$w,
+ ActionSheet: _sfc_main$v
};
var components = __assign({
- TabBar: _sfc_main$x
+ TabBar: _sfc_main$y
}, Components);
var ActionSheet = {
data() {
@@ -2085,7 +2085,7 @@ var api = /* @__PURE__ */ Object.freeze({
switchTab,
getRealPath
});
-const _sfc_main$t = {
+const _sfc_main$u = {
name: "App",
components,
mixins,
@@ -2169,7 +2169,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
]) : createCommentVNode("", true)
], 2);
}
-_sfc_main$t.render = _sfc_render$s;
+_sfc_main$u.render = _sfc_render$s;
function mergeTitleNView(navigationBar, titleNView) {
if (isPlainObject(titleNView)) {
if (hasOwn(titleNView, "backgroundColor")) {
@@ -2587,7 +2587,7 @@ try {
} catch (e2) {
}
const passiveOptions = supportsPassive$1 ? {passive: true} : false;
-const _sfc_main$s = {
+const _sfc_main$t = {
name: "Audio",
mixins: [subscriber],
props: {
@@ -2742,7 +2742,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
])
], 16, ["id", "controls"]);
}
-_sfc_main$s.render = _sfc_render$r;
+_sfc_main$t.render = _sfc_render$r;
const pixelRatio = function() {
const canvas = document.createElement("canvas");
canvas.height = canvas.width = 0;
@@ -2871,7 +2871,7 @@ function wrapper(canvas) {
canvas.height = canvas.offsetHeight * pixelRatio;
canvas.getContext("2d").__hidpi__ = true;
}
-var index_vue_vue_type_style_index_0_lang$j = "\nuni-canvas {\r\n width: 300px;\r\n height: 150px;\r\n display: block;\r\n position: relative;\n}\nuni-canvas > canvas {\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: 100%;\n}\r\n";
+var index_vue_vue_type_style_index_0_lang$k = "\nuni-canvas {\r\n width: 300px;\r\n height: 150px;\r\n display: block;\r\n position: relative;\n}\nuni-canvas > canvas {\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: 100%;\n}\r\n";
function resolveColor(color) {
color = color.slice(0);
color[3] = color[3] / 255;
@@ -2896,7 +2896,7 @@ function getTempCanvas(width = 0, height = 0) {
tempCanvas.height = height;
return tempCanvas;
}
-const _sfc_main$r = {
+const _sfc_main$s = {
name: "Canvas",
mixins: [subscriber],
props: {
@@ -3414,8 +3414,8 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
}, null, 8, ["onResize"])
], 16, ["canvas-id", "disable-scroll"]);
}
-_sfc_main$r.render = _sfc_render$q;
-const _sfc_main$q = {
+_sfc_main$s.render = _sfc_render$q;
+const _sfc_main$r = {
name: "Checkbox",
mixins: [emitter, listeners],
props: {
@@ -3505,9 +3505,9 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
])
], 16, ["disabled"]);
}
-_sfc_main$q.render = _sfc_render$p;
-var index_vue_vue_type_style_index_0_lang$i = "\nuni-checkbox-group[hidden] {\r\n display: none;\n}\r\n";
-const _sfc_main$p = {
+_sfc_main$r.render = _sfc_render$p;
+var index_vue_vue_type_style_index_0_lang$j = "\nuni-checkbox-group[hidden] {\r\n display: none;\n}\r\n";
+const _sfc_main$q = {
name: "CheckboxGroup",
mixins: [emitter, listeners],
props: {
@@ -3578,7 +3578,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
renderSlot(_ctx.$slots, "default")
], 16);
}
-_sfc_main$p.render = _sfc_render$o;
+_sfc_main$q.render = _sfc_render$o;
var startTag = /^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/;
var endTag = /^<\/([-A-Za-z0-9_]+)[^>]*>/;
var attr = /([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g;
@@ -3963,7 +3963,7 @@ function register(Quill) {
}
var editor_css_vue_type_style_index_0_src_lang = ".ql-container {\n display: block;\n position: relative;\n box-sizing: border-box;\n -webkit-user-select: text;\n user-select: text;\n outline: none;\n overflow: hidden;\n width: 100%;\n height: 200px;\n min-height: 200px;\n}\n.ql-container[hidden] {\n display: none;\n}\n.ql-container .ql-editor {\n position: relative;\n font-size: inherit;\n line-height: inherit;\n font-family: inherit;\n min-height: inherit;\n width: 100%;\n height: 100%;\n padding: 0;\n overflow-x: hidden;\n overflow-y: auto;\n -webkit-tap-highlight-color: transparent;\n -webkit-touch-callout: none;\n -webkit-overflow-scrolling: touch;\n}\n.ql-container .ql-editor::-webkit-scrollbar {\n width: 0 !important;\n}\n.ql-container .ql-editor.scroll-disabled {\n overflow: hidden;\n}\n.ql-container .ql-image-overlay {\n display: flex;\n position: absolute;\n box-sizing: border-box;\n border: 1px dashed #ccc;\n justify-content: center;\n align-items: center;\n -webkit-user-select: none;\n user-select: none;\n}\n.ql-container .ql-image-overlay .ql-image-size {\n position: absolute;\n padding: 4px 8px;\n text-align: center;\n background-color: #fff;\n color: #888;\n border: 1px solid #ccc;\n box-sizing: border-box;\n opacity: 0.8;\n right: 4px;\n top: 4px;\n font-size: 12px;\n display: inline-block;\n width: auto;\n}\n.ql-container .ql-image-overlay .ql-image-toolbar {\n position: relative;\n text-align: center;\n box-sizing: border-box;\n background: #000;\n border-radius: 5px;\n color: #fff;\n font-size: 0;\n min-height: 24px;\n z-index: 100;\n}\n.ql-container .ql-image-overlay .ql-image-toolbar span {\n display: inline-block;\n cursor: pointer;\n padding: 5px;\n font-size: 12px;\n border-right: 1px solid #fff;\n}\n.ql-container .ql-image-overlay .ql-image-toolbar span:last-child {\n border-right: 0;\n}\n.ql-container .ql-image-overlay .ql-image-toolbar span.triangle-up {\n padding: 0;\n position: absolute;\n top: -12px;\n left: 50%;\n transform: translatex(-50%);\n width: 0;\n height: 0;\n border-width: 6px;\n border-style: solid;\n border-color: transparent transparent black transparent;\n}\n.ql-container .ql-image-overlay .ql-image-handle {\n position: absolute;\n height: 12px;\n width: 12px;\n border-radius: 50%;\n border: 1px solid #ccc;\n box-sizing: border-box;\n background: #fff;\n}\n.ql-container img {\n display: inline-block;\n max-width: 100%;\n}\n.ql-clipboard p {\n margin: 0;\n padding: 0;\n}\n.ql-editor {\n box-sizing: border-box;\n height: 100%;\n outline: none;\n overflow-y: auto;\n tab-size: 4;\n -moz-tab-size: 4;\n text-align: left;\n white-space: pre-wrap;\n word-wrap: break-word;\n}\n.ql-editor > * {\n cursor: text;\n}\n.ql-editor p,\n.ql-editor ol,\n.ql-editor ul,\n.ql-editor pre,\n.ql-editor blockquote,\n.ql-editor h1,\n.ql-editor h2,\n.ql-editor h3,\n.ql-editor h4,\n.ql-editor h5,\n.ql-editor h6 {\n margin: 0;\n padding: 0;\n counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol > li,\n.ql-editor ul > li {\n list-style-type: none;\n}\n.ql-editor ul > li::before {\n content: '\\2022';\n}\n.ql-editor ul[data-checked=true],\n.ql-editor ul[data-checked=false] {\n pointer-events: none;\n}\n.ql-editor ul[data-checked=true] > li *,\n.ql-editor ul[data-checked=false] > li * {\n pointer-events: all;\n}\n.ql-editor ul[data-checked=true] > li::before,\n.ql-editor ul[data-checked=false] > li::before {\n color: #777;\n cursor: pointer;\n pointer-events: all;\n}\n.ql-editor ul[data-checked=true] > li::before {\n content: '\\2611';\n}\n.ql-editor ul[data-checked=false] > li::before {\n content: '\\2610';\n}\n.ql-editor li::before {\n display: inline-block;\n white-space: nowrap;\n width: 2em;\n}\n.ql-editor ol li {\n counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n counter-increment: list-0;\n}\n.ql-editor ol li:before {\n content: counter(list-0, decimal) '. ';\n}\n.ql-editor ol li.ql-indent-1 {\n counter-increment: list-1;\n}\n.ql-editor ol li.ql-indent-1:before {\n content: counter(list-1, lower-alpha) '. ';\n}\n.ql-editor ol li.ql-indent-1 {\n counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-2 {\n counter-increment: list-2;\n}\n.ql-editor ol li.ql-indent-2:before {\n content: counter(list-2, lower-roman) '. ';\n}\n.ql-editor ol li.ql-indent-2 {\n counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-3 {\n counter-increment: list-3;\n}\n.ql-editor ol li.ql-indent-3:before {\n content: counter(list-3, decimal) '. ';\n}\n.ql-editor ol li.ql-indent-3 {\n counter-reset: list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-4 {\n counter-increment: list-4;\n}\n.ql-editor ol li.ql-indent-4:before {\n content: counter(list-4, lower-alpha) '. ';\n}\n.ql-editor ol li.ql-indent-4 {\n counter-reset: list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-5 {\n counter-increment: list-5;\n}\n.ql-editor ol li.ql-indent-5:before {\n content: counter(list-5, lower-roman) '. ';\n}\n.ql-editor ol li.ql-indent-5 {\n counter-reset: list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-6 {\n counter-increment: list-6;\n}\n.ql-editor ol li.ql-indent-6:before {\n content: counter(list-6, decimal) '. ';\n}\n.ql-editor ol li.ql-indent-6 {\n counter-reset: list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-7 {\n counter-increment: list-7;\n}\n.ql-editor ol li.ql-indent-7:before {\n content: counter(list-7, lower-alpha) '. ';\n}\n.ql-editor ol li.ql-indent-7 {\n counter-reset: list-8 list-9;\n}\n.ql-editor ol li.ql-indent-8 {\n counter-increment: list-8;\n}\n.ql-editor ol li.ql-indent-8:before {\n content: counter(list-8, lower-roman) '. ';\n}\n.ql-editor ol li.ql-indent-8 {\n counter-reset: list-9;\n}\n.ql-editor ol li.ql-indent-9 {\n counter-increment: list-9;\n}\n.ql-editor ol li.ql-indent-9:before {\n content: counter(list-9, decimal) '. ';\n}\n.ql-editor .ql-indent-1:not(.ql-direction-rtl) {\n padding-left: 2em;\n}\n.ql-editor li.ql-indent-1:not(.ql-direction-rtl) {\n padding-left: 2em;\n}\n.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right {\n padding-right: 2em;\n}\n.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right {\n padding-right: 2em;\n}\n.ql-editor .ql-indent-2:not(.ql-direction-rtl) {\n padding-left: 4em;\n}\n.ql-editor li.ql-indent-2:not(.ql-direction-rtl) {\n padding-left: 4em;\n}\n.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right {\n padding-right: 4em;\n}\n.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right {\n padding-right: 4em;\n}\n.ql-editor .ql-indent-3:not(.ql-direction-rtl) {\n padding-left: 6em;\n}\n.ql-editor li.ql-indent-3:not(.ql-direction-rtl) {\n padding-left: 6em;\n}\n.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right {\n padding-right: 6em;\n}\n.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right {\n padding-right: 6em;\n}\n.ql-editor .ql-indent-4:not(.ql-direction-rtl) {\n padding-left: 8em;\n}\n.ql-editor li.ql-indent-4:not(.ql-direction-rtl) {\n padding-left: 8em;\n}\n.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right {\n padding-right: 8em;\n}\n.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right {\n padding-right: 8em;\n}\n.ql-editor .ql-indent-5:not(.ql-direction-rtl) {\n padding-left: 10em;\n}\n.ql-editor li.ql-indent-5:not(.ql-direction-rtl) {\n padding-left: 10em;\n}\n.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right {\n padding-right: 10em;\n}\n.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right {\n padding-right: 10em;\n}\n.ql-editor .ql-indent-6:not(.ql-direction-rtl) {\n padding-left: 12em;\n}\n.ql-editor li.ql-indent-6:not(.ql-direction-rtl) {\n padding-left: 12em;\n}\n.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right {\n padding-right: 12em;\n}\n.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right {\n padding-right: 12em;\n}\n.ql-editor .ql-indent-7:not(.ql-direction-rtl) {\n padding-left: 14em;\n}\n.ql-editor li.ql-indent-7:not(.ql-direction-rtl) {\n padding-left: 14em;\n}\n.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right {\n padding-right: 14em;\n}\n.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right {\n padding-right: 14em;\n}\n.ql-editor .ql-indent-8:not(.ql-direction-rtl) {\n padding-left: 16em;\n}\n.ql-editor li.ql-indent-8:not(.ql-direction-rtl) {\n padding-left: 16em;\n}\n.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right {\n padding-right: 16em;\n}\n.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right {\n padding-right: 16em;\n}\n.ql-editor .ql-indent-9:not(.ql-direction-rtl) {\n padding-left: 18em;\n}\n.ql-editor li.ql-indent-9:not(.ql-direction-rtl) {\n padding-left: 18em;\n}\n.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right {\n padding-right: 18em;\n}\n.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right {\n padding-right: 18em;\n}\n.ql-editor .ql-direction-rtl {\n direction: rtl;\n text-align: inherit;\n}\n.ql-editor .ql-align-center {\n text-align: center;\n}\n.ql-editor .ql-align-justify {\n text-align: justify;\n}\n.ql-editor .ql-align-right {\n text-align: right;\n}\n.ql-editor.ql-blank::before {\n color: rgba(0, 0, 0, 0.6);\n content: attr(data-placeholder);\n font-style: italic;\n pointer-events: none;\n position: absolute;\n}\n.ql-container.ql-disabled .ql-editor ul[data-checked] > li::before {\n pointer-events: none;\n}\n.ql-clipboard {\n left: -100000px;\n height: 1px;\n overflow-y: hidden;\n position: absolute;\n top: 50%;\n}\n";
var index_vue_vue_type_style_index_1_lang = "\n";
-const _sfc_main$o = {
+const _sfc_main$p = {
name: "Editor",
mixins: [subscriber, emitter, keyboard],
props: {
@@ -4291,9 +4291,9 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
class: "ql-container"
}, _ctx.$attrs), null, 16, ["id"]);
}
-_sfc_main$o.render = _sfc_render$n;
-var index_vue_vue_type_style_index_0_lang$h = "\r\n";
-const _sfc_main$n = {
+_sfc_main$p.render = _sfc_render$n;
+var index_vue_vue_type_style_index_0_lang$i = "\r\n";
+const _sfc_main$o = {
name: "Form",
mixins: [listeners],
data() {
@@ -4341,9 +4341,9 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
])
], 16);
}
-_sfc_main$n.render = _sfc_render$m;
-var index_vue_vue_type_style_index_0_lang$g = "\nuni-icon {\r\n display: inline-block;\r\n font-size: 0;\r\n box-sizing: border-box;\n}\nuni-icon[hidden] {\r\n display: none;\n}\nuni-icon > i {\r\n font: normal normal normal 14px/1 'weui';\n}\nuni-icon > i:before {\r\n margin: 0;\r\n box-sizing: border-box;\n}\n@font-face {\r\n font-weight: normal;\r\n font-style: normal;\r\n font-family: 'weui';\r\n src: url('data:application/octet-stream;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzJAKEx8AAABfAAAAFZjbWFw65cFHQAAAhwAAAJQZ2x5Zp+UEEcAAASUAAAIvGhlYWQUqc7xAAAA4AAAADZoaGVhB/YD+wAAALwAAAAkaG10eEJoAAAAAAHUAAAASGxvY2EUxhJeAAAEbAAAACZtYXhwASEAQwAAARgAAAAgbmFtZeNcHtgAAA1QAAAB5nBvc3T6OoZLAAAPOAAAAOYAAQAAA+gAAABaA+gAAAAAA7MAAQAAAAAAAAAAAAAAAAAAABIAAQAAAAEAAMCU2KdfDzz1AAsD6AAAAADY7EUUAAAAANjsRRQAAAAAA7MD5AAAAAgAAgAAAAAAAAABAAAAEgA3AAUAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAAAAQOwAZAABQAIAnoCvAAAAIwCegK8AAA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AJgD6d2V1aVJlZ3VsYXJ3ZXVpd2V1aVZlcnNpb24gMS4wd2V1aUdlbmVyYXRlZCBieSBzdmcydHRmIGZyb20gRm9udGVsbG8gcHJvamVjdC5odHRwOi8vZm9udGVsbG8uY29tAHcAZQB1AGkAUgBlAGcAdQBsAGEAcgB3AGUAdQBpAHcAZQB1AGkAVgBlAHIAcwBpAG8AbgAgADEALgAwAHcAZQB1AGkARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABzAHYAZwAyAHQAdABmACAAZgByAG8AbQAgAEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAgAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASAQIBAwEEAQUBBgEHAQgBCQEKAQsBDAENAQ4BDwEQAREBEgETAAZjaXJjbGUIZG93bmxvYWQEaW5mbwxzYWZlLXN1Y2Nlc3MJc2FmZS13YXJuB3N1Y2Nlc3MOc3VjY2Vzcy1jaXJjbGURc3VjY2Vzcy1uby1jaXJjbGUHd2FpdGluZw53YWl0aW5nLWNpcmNsZQR3YXJuC2luZm8tY2lyY2xlBmNhbmNlbAZzZWFyY2gFY2xlYXIEYmFjawZkZWxldGUAAAAA')\r\n format('truetype');\n}\n.uni-icon-success:before {\r\n content: '\\EA06';\n}\n.uni-icon-success_circle:before {\r\n content: '\\EA07';\n}\n.uni-icon-success_no_circle:before {\r\n content: '\\EA08';\n}\n.uni-icon-safe_success:before {\r\n content: '\\EA04';\n}\n.uni-icon-safe_warn:before {\r\n content: '\\EA05';\n}\n.uni-icon-info:before {\r\n content: '\\EA03';\n}\n.uni-icon-info_circle:before {\r\n content: '\\EA0C';\n}\n.uni-icon-warn:before {\r\n content: '\\EA0B';\n}\n.uni-icon-waiting:before {\r\n content: '\\EA09';\n}\n.uni-icon-waiting_circle:before {\r\n content: '\\EA0A';\n}\n.uni-icon-circle:before {\r\n content: '\\EA01';\n}\n.uni-icon-cancel:before {\r\n content: '\\EA0D';\n}\n.uni-icon-download:before {\r\n content: '\\EA02';\n}\n.uni-icon-search:before {\r\n content: '\\EA0E';\n}\n.uni-icon-clear:before {\r\n content: '\\EA0F';\n}\n.uni-icon-success {\r\n color: #007aff;\n}\n.uni-icon-success_circle {\r\n color: #007aff;\n}\n.uni-icon-success_no_circle {\r\n color: #007aff;\n}\n.uni-icon-safe_success {\r\n color: #007aff;\n}\n.uni-icon-safe_warn {\r\n color: #ffbe00;\n}\n.uni-icon-info {\r\n color: #10aeff;\n}\n.uni-icon-info_circle {\r\n color: #007aff;\n}\n.uni-icon-warn {\r\n color: #f76260;\n}\n.uni-icon-waiting {\r\n color: #10aeff;\n}\n.uni-icon-waiting_circle {\r\n color: #10aeff;\n}\n.uni-icon-circle {\r\n color: #c9c9c9;\n}\n.uni-icon-cancel {\r\n color: #f43530;\n}\n.uni-icon-download {\r\n color: #007aff;\n}\n.uni-icon-search {\r\n color: #b2b2b2;\n}\n.uni-icon-clear {\r\n color: #b2b2b2;\n}\r\n";
-const _sfc_main$m = {
+_sfc_main$o.render = _sfc_render$m;
+var index_vue_vue_type_style_index_0_lang$h = "\nuni-icon {\r\n display: inline-block;\r\n font-size: 0;\r\n box-sizing: border-box;\n}\nuni-icon[hidden] {\r\n display: none;\n}\nuni-icon > i {\r\n font: normal normal normal 14px/1 'weui';\n}\nuni-icon > i:before {\r\n margin: 0;\r\n box-sizing: border-box;\n}\n@font-face {\r\n font-weight: normal;\r\n font-style: normal;\r\n font-family: 'weui';\r\n src: url('data:application/octet-stream;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzJAKEx8AAABfAAAAFZjbWFw65cFHQAAAhwAAAJQZ2x5Zp+UEEcAAASUAAAIvGhlYWQUqc7xAAAA4AAAADZoaGVhB/YD+wAAALwAAAAkaG10eEJoAAAAAAHUAAAASGxvY2EUxhJeAAAEbAAAACZtYXhwASEAQwAAARgA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before {\r\n content: '\\EA06';\n}\n.uni-icon-success_circle:before {\r\n content: '\\EA07';\n}\n.uni-icon-success_no_circle:before {\r\n content: '\\EA08';\n}\n.uni-icon-safe_success:before {\r\n content: '\\EA04';\n}\n.uni-icon-safe_warn:before {\r\n content: '\\EA05';\n}\n.uni-icon-info:before {\r\n content: '\\EA03';\n}\n.uni-icon-info_circle:before {\r\n content: '\\EA0C';\n}\n.uni-icon-warn:before {\r\n content: '\\EA0B';\n}\n.uni-icon-waiting:before {\r\n content: '\\EA09';\n}\n.uni-icon-waiting_circle:before {\r\n content: '\\EA0A';\n}\n.uni-icon-circle:before {\r\n content: '\\EA01';\n}\n.uni-icon-cancel:before {\r\n content: '\\EA0D';\n}\n.uni-icon-download:before {\r\n content: '\\EA02';\n}\n.uni-icon-search:before {\r\n content: '\\EA0E';\n}\n.uni-icon-clear:before {\r\n content: '\\EA0F';\n}\n.uni-icon-success {\r\n color: #007aff;\n}\n.uni-icon-success_circle {\r\n color: #007aff;\n}\n.uni-icon-success_no_circle {\r\n color: #007aff;\n}\n.uni-icon-safe_success {\r\n color: #007aff;\n}\n.uni-icon-safe_warn {\r\n color: #ffbe00;\n}\n.uni-icon-info {\r\n color: #10aeff;\n}\n.uni-icon-info_circle {\r\n color: #007aff;\n}\n.uni-icon-warn {\r\n color: #f76260;\n}\n.uni-icon-waiting {\r\n color: #10aeff;\n}\n.uni-icon-waiting_circle {\r\n color: #10aeff;\n}\n.uni-icon-circle {\r\n color: #c9c9c9;\n}\n.uni-icon-cancel {\r\n color: #f43530;\n}\n.uni-icon-download {\r\n color: #007aff;\n}\n.uni-icon-search {\r\n color: #b2b2b2;\n}\n.uni-icon-clear {\r\n color: #b2b2b2;\n}\r\n";
+const _sfc_main$n = {
name: "Icon",
props: {
type: {
@@ -4382,9 +4382,9 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
}, null, 6)
], 16);
}
-_sfc_main$m.render = _sfc_render$l;
-var index_vue_vue_type_style_index_0_lang$f = "\nuni-image {\r\n width: 320px;\r\n height: 240px;\r\n display: inline-block;\r\n overflow: hidden;\r\n position: relative;\n}\nuni-image[hidden] {\r\n display: none;\n}\nuni-image>div {\r\n width: 100%;\r\n height: 100%;\n}\nuni-image>img {\r\n -webkit-touch-callout: none;\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n display: block;\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: 100%;\r\n opacity: 0;\n}\nuni-image>.uni-image-will-change {\r\n will-change: transform;\n}\r\n";
-const _sfc_main$l = {
+_sfc_main$n.render = _sfc_render$l;
+var index_vue_vue_type_style_index_0_lang$g = "\nuni-image {\r\n width: 320px;\r\n height: 240px;\r\n display: inline-block;\r\n overflow: hidden;\r\n position: relative;\n}\nuni-image[hidden] {\r\n display: none;\n}\nuni-image>div {\r\n width: 100%;\r\n height: 100%;\n}\nuni-image>img {\r\n -webkit-touch-callout: none;\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n display: block;\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: 100%;\r\n opacity: 0;\n}\nuni-image>.uni-image-will-change {\r\n will-change: transform;\n}\r\n";
+const _sfc_main$m = {
name: "Image",
props: {
src: {
@@ -4550,11 +4550,11 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
}, null, 8, ["onResize"])) : createCommentVNode("", true)
], 16);
}
-_sfc_main$l.render = _sfc_render$k;
-var index_vue_vue_type_style_index_0_lang$e = '\nuni-input {\r\n display: block;\r\n font-size: 16px;\r\n line-height: 1.4em;\r\n height: 1.4em;\r\n min-height: 1.4em;\r\n overflow: hidden;\n}\nuni-input[hidden] {\r\n display: none;\n}\n.uni-input-wrapper,\r\n.uni-input-placeholder,\r\n.uni-input-form,\r\n.uni-input-input {\r\n outline: none;\r\n border: none;\r\n padding: 0;\r\n margin: 0;\r\n text-decoration: inherit;\n}\n.uni-input-wrapper,\r\n.uni-input-form {\r\n display: flex;\r\n position: relative;\r\n width: 100%;\r\n height: 100%;\r\n flex-direction: column;\r\n justify-content: center;\n}\n.uni-input-placeholder,\r\n.uni-input-input {\r\n width: 100%;\n}\n.uni-input-placeholder {\r\n position: absolute;\r\n top: auto !important;\r\n left: 0;\r\n color: gray;\r\n overflow: hidden;\r\n text-overflow: clip;\r\n white-space: pre;\r\n word-break: keep-all;\r\n pointer-events: none;\r\n line-height: inherit;\n}\n.uni-input-input {\r\n display: block;\r\n height: 100%;\r\n background: none;\r\n color: inherit;\r\n opacity: 1;\r\n -webkit-text-fill-color: currentcolor;\r\n font: inherit;\r\n line-height: inherit;\r\n letter-spacing: inherit;\r\n text-align: inherit;\r\n text-indent: inherit;\r\n text-transform: inherit;\r\n text-shadow: inherit;\n}\n.uni-input-input[type="search"]::-webkit-search-cancel-button {\r\n display: none;\n}\n.uni-input-input::-webkit-outer-spin-button,\r\n.uni-input-input::-webkit-inner-spin-button {\r\n -webkit-appearance: none;\r\n margin: 0;\n}\n.uni-input-input[type="number"] {\r\n -moz-appearance: textfield;\n}\r\n';
+_sfc_main$m.render = _sfc_render$k;
+var index_vue_vue_type_style_index_0_lang$f = '\nuni-input {\r\n display: block;\r\n font-size: 16px;\r\n line-height: 1.4em;\r\n height: 1.4em;\r\n min-height: 1.4em;\r\n overflow: hidden;\n}\nuni-input[hidden] {\r\n display: none;\n}\n.uni-input-wrapper,\r\n.uni-input-placeholder,\r\n.uni-input-form,\r\n.uni-input-input {\r\n outline: none;\r\n border: none;\r\n padding: 0;\r\n margin: 0;\r\n text-decoration: inherit;\n}\n.uni-input-wrapper,\r\n.uni-input-form {\r\n display: flex;\r\n position: relative;\r\n width: 100%;\r\n height: 100%;\r\n flex-direction: column;\r\n justify-content: center;\n}\n.uni-input-placeholder,\r\n.uni-input-input {\r\n width: 100%;\n}\n.uni-input-placeholder {\r\n position: absolute;\r\n top: auto !important;\r\n left: 0;\r\n color: gray;\r\n overflow: hidden;\r\n text-overflow: clip;\r\n white-space: pre;\r\n word-break: keep-all;\r\n pointer-events: none;\r\n line-height: inherit;\n}\n.uni-input-input {\r\n display: block;\r\n height: 100%;\r\n background: none;\r\n color: inherit;\r\n opacity: 1;\r\n -webkit-text-fill-color: currentcolor;\r\n font: inherit;\r\n line-height: inherit;\r\n letter-spacing: inherit;\r\n text-align: inherit;\r\n text-indent: inherit;\r\n text-transform: inherit;\r\n text-shadow: inherit;\n}\n.uni-input-input[type="search"]::-webkit-search-cancel-button {\r\n display: none;\n}\n.uni-input-input::-webkit-outer-spin-button,\r\n.uni-input-input::-webkit-inner-spin-button {\r\n -webkit-appearance: none;\r\n margin: 0;\n}\n.uni-input-input[type="number"] {\r\n -moz-appearance: textfield;\n}\r\n';
const INPUT_TYPES = ["text", "number", "idcard", "digit", "password"];
const NUMBER_TYPES = ["number", "digit"];
-const _sfc_main$k = {
+const _sfc_main$l = {
name: "Input",
mixins: [baseInput],
props: {
@@ -4772,9 +4772,9 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
], 512)
], 16);
}
-_sfc_main$k.render = _sfc_render$j;
-var index_vue_vue_type_style_index_0_lang$d = "\n.uni-label-pointer {\r\n cursor: pointer;\n}\r\n";
-const _sfc_main$j = {
+_sfc_main$l.render = _sfc_render$j;
+var index_vue_vue_type_style_index_0_lang$e = "\n.uni-label-pointer {\r\n cursor: pointer;\n}\r\n";
+const _sfc_main$k = {
name: "Label",
mixins: [emitter],
props: {
@@ -4814,7 +4814,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
renderSlot(_ctx.$slots, "default")
], 16);
}
-_sfc_main$j.render = _sfc_render$i;
+_sfc_main$k.render = _sfc_render$i;
const addListenerToElement = function(element, type, callback, capture) {
element.addEventListener(type, ($event) => {
if (typeof callback === "function") {
@@ -5220,7 +5220,7 @@ STD.prototype.reconfigure = function(e2, t2, n) {
this._springY.reconfigure(e2, t2, n);
this._springScale.reconfigure(e2, t2, n);
};
-var index_vue_vue_type_style_index_0_lang$c = "\nuni-movable-view {\n display: inline-block;\n width: 10px;\n height: 10px;\n top: 0px;\n left: 0px;\n position: absolute;\n cursor: grab;\n}\nuni-movable-view[hidden] {\n display: none;\n}\n";
+var index_vue_vue_type_style_index_0_lang$d = "\nuni-movable-view {\n display: inline-block;\n width: 10px;\n height: 10px;\n top: 0px;\n left: 0px;\n position: absolute;\n cursor: grab;\n}\nuni-movable-view[hidden] {\n display: none;\n}\n";
var requesting = false;
function _requestAnimationFrame(e2) {
if (!requesting) {
@@ -5281,7 +5281,7 @@ function g(e2, t2, n) {
model: e2
};
}
-const _sfc_main$i = {
+const _sfc_main$j = {
name: "MovableView",
mixins: [touchtrack],
props: {
@@ -5840,10 +5840,10 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
renderSlot(_ctx.$slots, "default")
], 16);
}
-_sfc_main$i.render = _sfc_render$h;
-var index_vue_vue_type_style_index_0_lang$b = "\nuni-navigator {\r\n height: auto;\r\n width: auto;\r\n display: block;\r\n cursor: pointer;\n}\nuni-navigator[hidden] {\r\n display: none;\n}\n.navigator-hover {\r\n background-color: rgba(0, 0, 0, 0.1);\r\n opacity: 0.7;\n}\r\n";
+_sfc_main$j.render = _sfc_render$h;
+var index_vue_vue_type_style_index_0_lang$c = "\nuni-navigator {\r\n height: auto;\r\n width: auto;\r\n display: block;\r\n cursor: pointer;\n}\nuni-navigator[hidden] {\r\n display: none;\n}\n.navigator-hover {\r\n background-color: rgba(0, 0, 0, 0.1);\r\n opacity: 0.7;\n}\r\n";
const OPEN_TYPES = ["navigate", "redirect", "switchTab", "reLaunch", "navigateBack"];
-const _sfc_main$h = {
+const _sfc_main$i = {
name: "Navigator",
mixins: [hover],
props: {
@@ -5928,13 +5928,13 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
renderSlot(_ctx.$slots, "default")
], 16));
}
-_sfc_main$h.render = _sfc_render$g;
+_sfc_main$i.render = _sfc_render$g;
const VALUES = {
activeColor: "#007AFF",
backgroundColor: "#EBEBEB",
activeMode: "backwards"
};
-const _sfc_main$g = {
+const _sfc_main$h = {
name: "Progress",
props: {
percent: {
@@ -6049,9 +6049,9 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
$props.showInfo ? (openBlock(), createBlock("p", _hoisted_1$9, toDisplayString($data.currentPercent) + "% ", 1)) : createCommentVNode("", true)
], 16);
}
-_sfc_main$g.render = _sfc_render$f;
-var index_vue_vue_type_style_index_0_lang$a = '\nuni-radio {\r\n -webkit-tap-highlight-color: transparent;\r\n display: inline-block;\r\n cursor: pointer;\n}\nuni-radio[hidden] {\r\n display: none;\n}\nuni-radio[disabled] {\r\n cursor: not-allowed;\n}\nuni-radio .uni-radio-wrapper {\r\n display: -webkit-inline-flex;\r\n display: inline-flex;\r\n -webkit-align-items: center;\r\n align-items: center;\r\n vertical-align: middle;\n}\nuni-radio .uni-radio-input {\r\n -webkit-appearance: none;\r\n appearance: none;\r\n margin-right: 5px;\r\n outline: 0;\r\n border: 1px solid #D1D1D1;\r\n background-color: #ffffff;\r\n border-radius: 50%;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\n}\nuni-radio:not([disabled]) .uni-radio-input:hover {\r\n border-color: #007aff;\n}\nuni-radio .uni-radio-input.uni-radio-input-checked:before {\r\n font: normal normal normal 14px/1 "uni";\r\n content: "\\EA08";\r\n color: #ffffff;\r\n font-size: 18px;\r\n position: absolute;\r\n top: 50%;\r\n left: 50%;\r\n transform: translate(-50%, -48%) scale(0.73);\r\n -webkit-transform: translate(-50%, -48%) scale(0.73);\n}\nuni-radio .uni-radio-input.uni-radio-input-disabled {\r\n background-color: #E1E1E1;\r\n border-color: #D1D1D1;\n}\nuni-radio .uni-radio-input.uni-radio-input-disabled:before {\r\n color: #ADADAD;\n}\nuni-radio-group {\r\n display: block;\n}\r\n';
-const _sfc_main$f = {
+_sfc_main$h.render = _sfc_render$f;
+var index_vue_vue_type_style_index_0_lang$b = '\nuni-radio {\r\n -webkit-tap-highlight-color: transparent;\r\n display: inline-block;\r\n cursor: pointer;\n}\nuni-radio[hidden] {\r\n display: none;\n}\nuni-radio[disabled] {\r\n cursor: not-allowed;\n}\nuni-radio .uni-radio-wrapper {\r\n display: -webkit-inline-flex;\r\n display: inline-flex;\r\n -webkit-align-items: center;\r\n align-items: center;\r\n vertical-align: middle;\n}\nuni-radio .uni-radio-input {\r\n -webkit-appearance: none;\r\n appearance: none;\r\n margin-right: 5px;\r\n outline: 0;\r\n border: 1px solid #D1D1D1;\r\n background-color: #ffffff;\r\n border-radius: 50%;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\n}\nuni-radio:not([disabled]) .uni-radio-input:hover {\r\n border-color: #007aff;\n}\nuni-radio .uni-radio-input.uni-radio-input-checked:before {\r\n font: normal normal normal 14px/1 "uni";\r\n content: "\\EA08";\r\n color: #ffffff;\r\n font-size: 18px;\r\n position: absolute;\r\n top: 50%;\r\n left: 50%;\r\n transform: translate(-50%, -48%) scale(0.73);\r\n -webkit-transform: translate(-50%, -48%) scale(0.73);\n}\nuni-radio .uni-radio-input.uni-radio-input-disabled {\r\n background-color: #E1E1E1;\r\n border-color: #D1D1D1;\n}\nuni-radio .uni-radio-input.uni-radio-input-disabled:before {\r\n color: #ADADAD;\n}\nuni-radio-group {\r\n display: block;\n}\r\n';
+const _sfc_main$g = {
name: "Radio",
mixins: [emitter, listeners],
props: {
@@ -6146,9 +6146,9 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
])
], 16, ["disabled"]);
}
-_sfc_main$f.render = _sfc_render$e;
-var index_vue_vue_type_style_index_0_lang$9 = "\nuni-radio-group[hidden] {\r\n display: none;\n}\r\n";
-const _sfc_main$e = {
+_sfc_main$g.render = _sfc_render$e;
+var index_vue_vue_type_style_index_0_lang$a = "\nuni-radio-group[hidden] {\r\n display: none;\n}\r\n";
+const _sfc_main$f = {
name: "RadioGroup",
mixins: [emitter, listeners],
props: {
@@ -6237,9 +6237,9 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
renderSlot(_ctx.$slots, "default")
], 16);
}
-_sfc_main$e.render = _sfc_render$d;
-var index_vue_vue_type_style_index_0_lang$8 = "\n@keyframes once-show {\nfrom {\n top: 0;\n}\n}\nuni-resize-sensor,\nuni-resize-sensor > div {\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n overflow: hidden;\n}\nuni-resize-sensor {\n display: block;\n z-index: -1;\n visibility: hidden;\n animation: once-show 1ms;\n}\nuni-resize-sensor > div > div {\n position: absolute;\n left: 0;\n top: 0;\n}\nuni-resize-sensor > div:first-child > div {\n width: 100000px;\n height: 100000px;\n}\nuni-resize-sensor > div:last-child > div {\n width: 200%;\n height: 200%;\n}\n";
-const _sfc_main$d = {
+_sfc_main$f.render = _sfc_render$d;
+var index_vue_vue_type_style_index_0_lang$9 = "\n@keyframes once-show {\nfrom {\n top: 0;\n}\n}\nuni-resize-sensor,\nuni-resize-sensor > div {\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n overflow: hidden;\n}\nuni-resize-sensor {\n display: block;\n z-index: -1;\n visibility: hidden;\n animation: once-show 1ms;\n}\nuni-resize-sensor > div > div {\n position: absolute;\n left: 0;\n top: 0;\n}\nuni-resize-sensor > div:first-child > div {\n width: 100000px;\n height: 100000px;\n}\nuni-resize-sensor > div:last-child > div {\n width: 200%;\n height: 200%;\n}\n";
+const _sfc_main$e = {
name: "ResizeSensor",
props: {
initial: {
@@ -6519,7 +6519,7 @@ function parseNodes(nodes, parentNode) {
});
return parentNode;
}
-const _sfc_main$c = {
+const _sfc_main$d = {
name: "RichText",
props: {
nodes: {
@@ -6554,7 +6554,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
_hoisted_1$7
], 16);
}
-_sfc_main$c.render = _sfc_render$c;
+_sfc_main$d.render = _sfc_render$c;
function Friction(e2) {
this._drag = e2;
this._dragLog = Math.log(e2);
@@ -7226,8 +7226,8 @@ var scroller = {
}
}
};
-var index_vue_vue_type_style_index_0_lang$7 = "\nuni-scroll-view {\n display: block;\n width: 100%;\n}\nuni-scroll-view[hidden] {\n display: none;\n}\n.uni-scroll-view {\n position: relative;\n -webkit-overflow-scrolling: touch;\n width: 100%;\n /* display: flex; \u65F6\u5728\u5B89\u5353\u4E0B\u4F1A\u5BFC\u81F4scrollWidth\u548CoffsetWidth\u4E00\u6837 */\n height: 100%;\n max-height: inherit;\n}\n.uni-scroll-view-content {\n width: 100%;\n height: 100%;\n}\n.uni-scroll-view-refresher {\n position: relative;\n overflow: hidden;\n}\n.uni-scroll-view-refresh {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\n.uni-scroll-view-refresh-inner {\n display: flex;\n align-items: center;\n justify-content: center;\n line-height: 0;\n width: 40px;\n height: 40px;\n border-radius: 50%;\n background-color: #fff;\n box-shadow: 0 1px 6px rgba(0, 0, 0, 0.117647),\n 0 1px 4px rgba(0, 0, 0, 0.117647);\n}\n.uni-scroll-view-refresh__spinner {\n transform-origin: center center;\n animation: uni-scroll-view-refresh-rotate 2s linear infinite;\n}\n.uni-scroll-view-refresh__spinner > circle {\n stroke: currentColor;\n stroke-linecap: round;\n animation: uni-scroll-view-refresh-dash 2s linear infinite;\n}\n@keyframes uni-scroll-view-refresh-rotate {\n0% {\n transform: rotate(0deg);\n}\n100% {\n transform: rotate(360deg);\n}\n}\n@keyframes uni-scroll-view-refresh-dash {\n0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n}\n50% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -35px;\n}\n100% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -124px;\n}\n}\n";
-const _sfc_main$b = {
+var index_vue_vue_type_style_index_0_lang$8 = "\nuni-scroll-view {\n display: block;\n width: 100%;\n}\nuni-scroll-view[hidden] {\n display: none;\n}\n.uni-scroll-view {\n position: relative;\n -webkit-overflow-scrolling: touch;\n width: 100%;\n /* display: flex; \u65F6\u5728\u5B89\u5353\u4E0B\u4F1A\u5BFC\u81F4scrollWidth\u548CoffsetWidth\u4E00\u6837 */\n height: 100%;\n max-height: inherit;\n}\n.uni-scroll-view-content {\n width: 100%;\n height: 100%;\n}\n.uni-scroll-view-refresher {\n position: relative;\n overflow: hidden;\n}\n.uni-scroll-view-refresh {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\n.uni-scroll-view-refresh-inner {\n display: flex;\n align-items: center;\n justify-content: center;\n line-height: 0;\n width: 40px;\n height: 40px;\n border-radius: 50%;\n background-color: #fff;\n box-shadow: 0 1px 6px rgba(0, 0, 0, 0.117647),\n 0 1px 4px rgba(0, 0, 0, 0.117647);\n}\n.uni-scroll-view-refresh__spinner {\n transform-origin: center center;\n animation: uni-scroll-view-refresh-rotate 2s linear infinite;\n}\n.uni-scroll-view-refresh__spinner > circle {\n stroke: currentColor;\n stroke-linecap: round;\n animation: uni-scroll-view-refresh-dash 2s linear infinite;\n}\n@keyframes uni-scroll-view-refresh-rotate {\n0% {\n transform: rotate(0deg);\n}\n100% {\n transform: rotate(360deg);\n}\n}\n@keyframes uni-scroll-view-refresh-dash {\n0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n}\n50% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -35px;\n}\n100% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -124px;\n}\n}\n";
+const _sfc_main$c = {
name: "ScrollView",
mixins: [scroller],
props: {
@@ -7714,8 +7714,8 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
], 512)
], 16);
}
-_sfc_main$b.render = _sfc_render$b;
-const _sfc_main$a = {
+_sfc_main$c.render = _sfc_render$b;
+const _sfc_main$b = {
name: "Slider",
mixins: [emitter, listeners, touchtrack],
props: {
@@ -7912,9 +7912,9 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
renderSlot(_ctx.$slots, "default")
], 16);
}
-_sfc_main$a.render = _sfc_render$a;
-var index_vue_vue_type_style_index_0_lang$6 = "\nuni-swiper-item {\n display: block;\n overflow: hidden;\n will-change: transform;\n position: absolute;\n width: 100%;\n height: 100%;\n cursor: grab;\n}\nuni-swiper-item[hidden] {\n display: none;\n}\n";
-const _sfc_main$9 = {
+_sfc_main$b.render = _sfc_render$a;
+var index_vue_vue_type_style_index_0_lang$7 = "\nuni-swiper-item {\n display: block;\n overflow: hidden;\n will-change: transform;\n position: absolute;\n width: 100%;\n height: 100%;\n cursor: grab;\n}\nuni-swiper-item[hidden] {\n display: none;\n}\n";
+const _sfc_main$a = {
name: "SwiperItem",
props: {
itemId: {
@@ -7940,9 +7940,9 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
renderSlot(_ctx.$slots, "default")
], 16);
}
-_sfc_main$9.render = _sfc_render$9;
-var index_vue_vue_type_style_index_0_lang$5 = '\nuni-switch {\r\n -webkit-tap-highlight-color: transparent;\r\n display: inline-block;\r\n cursor: pointer;\n}\nuni-switch[hidden] {\r\n display: none;\n}\nuni-switch[disabled] {\r\n cursor: not-allowed;\n}\nuni-switch .uni-switch-wrapper {\r\n display: -webkit-inline-flex;\r\n display: inline-flex;\r\n -webkit-align-items: center;\r\n align-items: center;\r\n vertical-align: middle;\n}\nuni-switch .uni-switch-input {\r\n -webkit-appearance: none;\r\n appearance: none;\r\n position: relative;\r\n width: 52px;\r\n height: 32px;\r\n margin-right: 5px;\r\n border: 1px solid #DFDFDF;\r\n outline: 0;\r\n border-radius: 16px;\r\n box-sizing: border-box;\r\n background-color: #DFDFDF;\r\n transition: background-color 0.1s, border 0.1s;\n}\nuni-switch[disabled] .uni-switch-input {\r\n opacity: .7;\n}\nuni-switch .uni-switch-input:before {\r\n content: " ";\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 50px;\r\n height: 30px;\r\n border-radius: 15px;\r\n background-color: #FDFDFD;\r\n transition: -webkit-transform 0.3s;\r\n transition: transform 0.3s;\r\n transition: transform 0.3s, -webkit-transform 0.3s;\n}\nuni-switch .uni-switch-input:after {\r\n content: " ";\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 30px;\r\n height: 30px;\r\n border-radius: 15px;\r\n background-color: #FFFFFF;\r\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);\r\n transition: -webkit-transform 0.3s;\r\n transition: transform 0.3s;\r\n transition: transform 0.3s, -webkit-transform 0.3s;\n}\nuni-switch .uni-switch-input.uni-switch-input-checked {\r\n border-color: #007aff;\r\n background-color: #007aff;\n}\nuni-switch .uni-switch-input.uni-switch-input-checked:before {\r\n -webkit-transform: scale(0);\r\n transform: scale(0);\n}\nuni-switch .uni-switch-input.uni-switch-input-checked:after {\r\n -webkit-transform: translateX(20px);\r\n transform: translateX(20px);\n}\nuni-switch .uni-checkbox-input {\r\n margin-right: 5px;\r\n -webkit-appearance: none;\r\n appearance: none;\r\n outline: 0;\r\n border: 1px solid #D1D1D1;\r\n background-color: #FFFFFF;\r\n border-radius: 3px;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\r\n color: #007aff;\n}\nuni-switch:not([disabled]) .uni-checkbox-input:hover {\r\n border-color: #007aff;\n}\nuni-switch .uni-checkbox-input.uni-checkbox-input-checked:before {\r\n font: normal normal normal 14px/1 "uni";\r\n content: "\\EA08";\r\n color: inherit;\r\n font-size: 22px;\r\n position: absolute;\r\n top: 50%;\r\n left: 50%;\r\n transform: translate(-50%, -48%) scale(0.73);\r\n -webkit-transform: translate(-50%, -48%) scale(0.73);\n}\nuni-switch .uni-checkbox-input.uni-checkbox-input-disabled {\r\n background-color: #E1E1E1;\n}\nuni-switch .uni-checkbox-input.uni-checkbox-input-disabled:before {\r\n color: #ADADAD;\n}\r\n';
-const _sfc_main$8 = {
+_sfc_main$a.render = _sfc_render$9;
+var index_vue_vue_type_style_index_0_lang$6 = '\nuni-switch {\r\n -webkit-tap-highlight-color: transparent;\r\n display: inline-block;\r\n cursor: pointer;\n}\nuni-switch[hidden] {\r\n display: none;\n}\nuni-switch[disabled] {\r\n cursor: not-allowed;\n}\nuni-switch .uni-switch-wrapper {\r\n display: -webkit-inline-flex;\r\n display: inline-flex;\r\n -webkit-align-items: center;\r\n align-items: center;\r\n vertical-align: middle;\n}\nuni-switch .uni-switch-input {\r\n -webkit-appearance: none;\r\n appearance: none;\r\n position: relative;\r\n width: 52px;\r\n height: 32px;\r\n margin-right: 5px;\r\n border: 1px solid #DFDFDF;\r\n outline: 0;\r\n border-radius: 16px;\r\n box-sizing: border-box;\r\n background-color: #DFDFDF;\r\n transition: background-color 0.1s, border 0.1s;\n}\nuni-switch[disabled] .uni-switch-input {\r\n opacity: .7;\n}\nuni-switch .uni-switch-input:before {\r\n content: " ";\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 50px;\r\n height: 30px;\r\n border-radius: 15px;\r\n background-color: #FDFDFD;\r\n transition: -webkit-transform 0.3s;\r\n transition: transform 0.3s;\r\n transition: transform 0.3s, -webkit-transform 0.3s;\n}\nuni-switch .uni-switch-input:after {\r\n content: " ";\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 30px;\r\n height: 30px;\r\n border-radius: 15px;\r\n background-color: #FFFFFF;\r\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);\r\n transition: -webkit-transform 0.3s;\r\n transition: transform 0.3s;\r\n transition: transform 0.3s, -webkit-transform 0.3s;\n}\nuni-switch .uni-switch-input.uni-switch-input-checked {\r\n border-color: #007aff;\r\n background-color: #007aff;\n}\nuni-switch .uni-switch-input.uni-switch-input-checked:before {\r\n -webkit-transform: scale(0);\r\n transform: scale(0);\n}\nuni-switch .uni-switch-input.uni-switch-input-checked:after {\r\n -webkit-transform: translateX(20px);\r\n transform: translateX(20px);\n}\nuni-switch .uni-checkbox-input {\r\n margin-right: 5px;\r\n -webkit-appearance: none;\r\n appearance: none;\r\n outline: 0;\r\n border: 1px solid #D1D1D1;\r\n background-color: #FFFFFF;\r\n border-radius: 3px;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\r\n color: #007aff;\n}\nuni-switch:not([disabled]) .uni-checkbox-input:hover {\r\n border-color: #007aff;\n}\nuni-switch .uni-checkbox-input.uni-checkbox-input-checked:before {\r\n font: normal normal normal 14px/1 "uni";\r\n content: "\\EA08";\r\n color: inherit;\r\n font-size: 22px;\r\n position: absolute;\r\n top: 50%;\r\n left: 50%;\r\n transform: translate(-50%, -48%) scale(0.73);\r\n -webkit-transform: translate(-50%, -48%) scale(0.73);\n}\nuni-switch .uni-checkbox-input.uni-checkbox-input-disabled {\r\n background-color: #E1E1E1;\n}\nuni-switch .uni-checkbox-input.uni-checkbox-input-disabled:before {\r\n color: #ADADAD;\n}\r\n';
+const _sfc_main$9 = {
name: "Switch",
mixins: [emitter, listeners],
props: {
@@ -8041,7 +8041,69 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
])
], 16, ["disabled"]);
}
-_sfc_main$8.render = _sfc_render$8;
+_sfc_main$9.render = _sfc_render$8;
+var index_vue_vue_type_style_index_0_lang$5 = "\nuni-text[selectable] {\r\n cursor: auto;\r\n user-select: text;\r\n -webkit-user-select: text;\n}\r\n";
+const SPACE_UNICODE = {
+ ensp: "\u2002",
+ emsp: "\u2003",
+ nbsp: "\xA0"
+};
+const _sfc_main$8 = {
+ name: "Text",
+ props: {
+ selectable: {
+ type: [Boolean, String],
+ default: false
+ },
+ space: {
+ type: String,
+ default: ""
+ },
+ decode: {
+ type: [Boolean, String],
+ default: false
+ }
+ },
+ methods: {
+ _decodeHtml(htmlString) {
+ if (this.space && SPACE_UNICODE[this.space]) {
+ htmlString = htmlString.replace(/ /g, SPACE_UNICODE[this.space]);
+ }
+ if (this.decode) {
+ htmlString = htmlString.replace(/ /g, SPACE_UNICODE.nbsp).replace(/ /g, SPACE_UNICODE.ensp).replace(/ /g, SPACE_UNICODE.emsp).replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&").replace(/"/g, '"').replace(/'/g, "'");
+ }
+ return htmlString;
+ }
+ },
+ render(createElement) {
+ const nodeList = [];
+ this.$slots.default && this.$slots.default.forEach((vnode) => {
+ if (vnode.text) {
+ const nodeText = vnode.text.replace(/\\n/g, "\n");
+ const texts = nodeText.split("\n");
+ texts.forEach((text2, index2) => {
+ nodeList.push(this._decodeHtml(text2));
+ if (index2 !== texts.length - 1) {
+ nodeList.push(createElement("br"));
+ }
+ });
+ } else {
+ if (vnode.componentOptions && vnode.componentOptions.tag !== "v-uni-text") {
+ console.warn(" \u7EC4\u4EF6\u5185\u53EA\u652F\u6301\u5D4C\u5957 \uFF0C\u4E0D\u652F\u6301\u5176\u5B83\u7EC4\u4EF6\u6216\u81EA\u5B9A\u4E49\u7EC4\u4EF6\uFF0C\u5426\u5219\u4F1A\u5F15\u53D1\u5728\u4E0D\u540C\u5E73\u53F0\u7684\u6E32\u67D3\u5DEE\u5F02\u3002");
+ }
+ nodeList.push(vnode);
+ }
+ });
+ return createElement("uni-text", {
+ on: this.$listeners,
+ attrs: {
+ selectable: !!this.selectable
+ }
+ }, [
+ createElement("span", {}, nodeList)
+ ]);
+ }
+};
var index_vue_vue_type_style_index_0_lang$4 = "\nuni-textarea {\n width: 300px;\n height: 150px;\n display: block;\n position: relative;\n font-size: 16px;\n line-height: normal;\n white-space: pre-wrap;\n word-break: break-all;\n}\nuni-textarea[hidden] {\n display: none;\n}\n.uni-textarea-wrapper,\n.uni-textarea-placeholder,\n.uni-textarea-line,\n.uni-textarea-compute,\n.uni-textarea-textarea {\n outline: none;\n border: none;\n padding: 0;\n margin: 0;\n text-decoration: inherit;\n}\n.uni-textarea-wrapper {\n display: block;\n position: relative;\n width: 100%;\n height: 100%;\n}\n.uni-textarea-placeholder,\n.uni-textarea-line,\n.uni-textarea-compute,\n.uni-textarea-textarea {\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n white-space: inherit;\n word-break: inherit;\n}\n.uni-textarea-placeholder {\n color: grey;\n overflow: hidden;\n}\n.uni-textarea-line,\n.uni-textarea-compute {\n visibility: hidden;\n height: auto;\n}\n.uni-textarea-line {\n width: 1em;\n}\n.uni-textarea-textarea {\n resize: none;\n background: none;\n color: inherit;\n opacity: 1;\n -webkit-text-fill-color: currentcolor;\n font: inherit;\n line-height: inherit;\n letter-spacing: inherit;\n text-align: inherit;\n text-indent: inherit;\n text-transform: inherit;\n text-shadow: inherit;\n}\n/* \u7528\u4E8E\u89E3\u51B3 iOS textarea \u5185\u90E8\u9ED8\u8BA4\u8FB9\u8DDD */\n.uni-textarea-textarea-fix-margin {\n width: auto;\n right: 0;\n margin: 0 -3px;\n}\n";
const DARK_TEST_STRING = "(prefers-color-scheme: dark)";
const _sfc_main$7 = {
@@ -8485,7 +8547,7 @@ const _sfc_main$5 = {
name: "PageHead",
mixins: [transparent],
components: {
- VUniInput: _sfc_main$k
+ VUniInput: _sfc_main$l
},
props: {
backButton: {
@@ -9302,11 +9364,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
}
_sfc_main.render = _sfc_render;
function initSystemComponents(app) {
- _sfc_main$t.name = COMPONENT_NAME_PREFIX + _sfc_main$t.name;
+ _sfc_main$u.name = COMPONENT_NAME_PREFIX + _sfc_main$u.name;
_sfc_main$2.name = COMPONENT_NAME_PREFIX + _sfc_main$2.name;
_sfc_main$1.name = COMPONENT_NAME_PREFIX + _sfc_main$1.name;
_sfc_main.name = COMPONENT_NAME_PREFIX + _sfc_main.name;
- app.component(_sfc_main$t.name, _sfc_main$t);
+ app.component(_sfc_main$u.name, _sfc_main$u);
app.component(_sfc_main$2.name, _sfc_main$2);
app.component(_sfc_main$1.name, _sfc_main$1);
app.component(_sfc_main.name, _sfc_main);
@@ -9337,7 +9399,9 @@ var index = {
initService(app);
initSystemComponents(app);
initMixin(app);
- initRouter(app);
+ if (__UNI_FEATURE_PAGES__) {
+ initRouter(app);
+ }
}
};
const UniViewJSBridge$1 = extend(ViewJSBridge, {
@@ -9351,4 +9415,4 @@ const UniServiceJSBridge$1 = extend(ServiceJSBridge, {
window.UniViewJSBridge.subscribeHandler(event2, args, pageId);
}
});
-export {_sfc_main$1 as AsyncErrorComponent, _sfc_main as AsyncLoadingComponent, _sfc_main$s as Audio, _sfc_main$r as Canvas, _sfc_main$q as Checkbox, _sfc_main$p as CheckboxGroup, _sfc_main$o as Editor, _sfc_main$n as Form, _sfc_main$m as Icon, _sfc_main$l as Image, _sfc_main$k as Input, _sfc_main$j as Label, _sfc_main$i as MovableView, _sfc_main$h as Navigator, _sfc_main$2 as PageComponent, _sfc_main$g as Progress, _sfc_main$f as Radio, _sfc_main$e as RadioGroup, _sfc_main$d as ResizeSensor, _sfc_main$c as RichText, _sfc_main$b as ScrollView, _sfc_main$a as Slider, _sfc_main$9 as SwiperItem, _sfc_main$8 as Switch, _sfc_main$7 as Textarea, UniServiceJSBridge$1 as UniServiceJSBridge, UniViewJSBridge$1 as UniViewJSBridge, _sfc_main$6 as View, addInterceptor, arrayBufferToBase64, base64ToArrayBuffer, canIUse, createIntersectionObserver, createSelectorQuery, getApp$1 as getApp, getCurrentPages$1 as getCurrentPages, getImageInfo, getRealPath, getSystemInfo, getSystemInfoSync, makePhoneCall, navigateBack, navigateTo, openDocument, index as plugin, promiseInterceptor, reLaunch, redirectTo, removeInterceptor, switchTab, uni$1 as uni, upx2px};
+export {_sfc_main$1 as AsyncErrorComponent, _sfc_main as AsyncLoadingComponent, _sfc_main$t as Audio, _sfc_main$s as Canvas, _sfc_main$r as Checkbox, _sfc_main$q as CheckboxGroup, _sfc_main$p as Editor, _sfc_main$o as Form, _sfc_main$n as Icon, _sfc_main$m as Image, _sfc_main$l as Input, _sfc_main$k as Label, _sfc_main$j as MovableView, _sfc_main$i as Navigator, _sfc_main$2 as PageComponent, _sfc_main$h as Progress, _sfc_main$g as Radio, _sfc_main$f as RadioGroup, _sfc_main$e as ResizeSensor, _sfc_main$d as RichText, _sfc_main$c as ScrollView, _sfc_main$b as Slider, _sfc_main$a as SwiperItem, _sfc_main$9 as Switch, _sfc_main$8 as Text, _sfc_main$7 as Textarea, UniServiceJSBridge$1 as UniServiceJSBridge, UniViewJSBridge$1 as UniViewJSBridge, _sfc_main$6 as View, addInterceptor, arrayBufferToBase64, base64ToArrayBuffer, canIUse, createIntersectionObserver, createSelectorQuery, getApp$1 as getApp, getCurrentPages$1 as getCurrentPages, getImageInfo, getRealPath, getSystemInfo, getSystemInfoSync, makePhoneCall, navigateBack, navigateTo, openDocument, index as plugin, promiseInterceptor, reLaunch, redirectTo, removeInterceptor, switchTab, uni$1 as uni, upx2px};
diff --git a/packages/uni-h5/src/framework/plugin/index.ts b/packages/uni-h5/src/framework/plugin/index.ts
index e93e7df66315e801fff78561fffd6254da36c052..2565e8486017e6666136145dea87f88328d353df 100644
--- a/packages/uni-h5/src/framework/plugin/index.ts
+++ b/packages/uni-h5/src/framework/plugin/index.ts
@@ -18,6 +18,9 @@ export default {
initSystemComponents(app)
initMixin(app)
- initRouter(app)
+
+ if (__UNI_FEATURE_PAGES__) {
+ initRouter(app)
+ }
},
}
diff --git a/packages/uni-h5/style/image.css b/packages/uni-h5/style/image.css
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/packages/uni-h5/style/text.css b/packages/uni-h5/style/text.css
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/packages/uni-h5/style/view.css b/packages/uni-h5/style/view.css
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/packages/uni-shared/dist/uni-shared.cjs.js b/packages/uni-shared/dist/uni-shared.cjs.js
new file mode 100644
index 0000000000000000000000000000000000000000..0e237b01c45cf0fc4fa0f3f389c5c51ee6aeecf2
--- /dev/null
+++ b/packages/uni-shared/dist/uni-shared.cjs.js
@@ -0,0 +1,139 @@
+'use strict';
+
+Object.defineProperty(exports, '__esModule', { value: true });
+
+var shared = require('@vue/shared');
+
+const NAVBAR_HEIGHT = 44;
+const TABBAR_HEIGHT = 50;
+const COMPONENT_NAME_PREFIX = 'VUni';
+
+function debounce(fn, delay) {
+ let timeout;
+ const newFn = function () {
+ clearTimeout(timeout);
+ const timerFn = () => fn.apply(this, arguments);
+ timeout = setTimeout(timerFn, delay);
+ };
+ newFn.cancel = function () {
+ clearTimeout(timeout);
+ };
+ return newFn;
+}
+
+function plusReady(callback) {
+ if (typeof callback !== 'function') {
+ return;
+ }
+ if (window.plus) {
+ return callback();
+ }
+ document.addEventListener('plusready', callback);
+}
+
+const encode = encodeURIComponent;
+function stringifyQuery(obj, encodeStr = encode) {
+ const res = obj
+ ? Object.keys(obj)
+ .map((key) => {
+ let val = obj[key];
+ if (typeof val === undefined || val === null) {
+ val = '';
+ }
+ else if (shared.isPlainObject(val)) {
+ val = JSON.stringify(val);
+ }
+ return encodeStr(key) + '=' + encodeStr(val);
+ })
+ .filter((x) => x.length > 0)
+ .join('&')
+ : null;
+ return res ? `?${res}` : '';
+}
+
+const BUILT_IN_TAGS = [
+ 'uni-ad',
+ 'uni-audio',
+ 'uni-button',
+ 'uni-camera',
+ 'uni-canvas',
+ 'uni-checkbox',
+ 'uni-checkbox-group',
+ 'uni-cover-image',
+ 'uni-cover-view',
+ 'uni-editor',
+ 'uni-form',
+ 'uni-functional-page-navigator',
+ 'uni-icon',
+ 'uni-image',
+ 'uni-input',
+ 'uni-label',
+ 'uni-live-player',
+ 'uni-live-pusher',
+ 'uni-map',
+ 'uni-movable-area',
+ 'uni-movable-view',
+ 'uni-navigator',
+ 'uni-official-account',
+ 'uni-open-data',
+ 'uni-picker',
+ 'uni-picker-view',
+ 'uni-picker-view-column',
+ 'uni-progress',
+ 'uni-radio',
+ 'uni-radio-group',
+ 'uni-rich-text',
+ 'uni-scroll-view',
+ 'uni-slider',
+ 'uni-swiper',
+ 'uni-swiper-item',
+ 'uni-switch',
+ 'uni-text',
+ 'uni-textarea',
+ 'uni-video',
+ 'uni-view',
+ 'uni-web-view',
+];
+const TAGS = [
+ 'uni-app',
+ 'uni-layout',
+ 'uni-content',
+ 'uni-main',
+ 'uni-top-window',
+ 'uni-left-window',
+ 'uni-right-window',
+ 'uni-tabbar',
+ 'uni-page',
+ 'uni-page-head',
+ 'uni-page-wrapper',
+ 'uni-page-body',
+ 'uni-page-refresh',
+ 'uni-actionsheet',
+ 'uni-modal',
+ 'uni-toast',
+ 'uni-resize-sensor',
+ 'uni-shadow-root',
+];
+function isBuiltInComponent(tag) {
+ return BUILT_IN_TAGS.indexOf('uni-' + tag) !== -1;
+}
+function isCustomElement(tag) {
+ return TAGS.indexOf(tag) !== -1 || BUILT_IN_TAGS.indexOf(tag) !== -1;
+}
+function isNativeTag(tag) {
+ return (shared.isHTMLTag(tag) || shared.isSVGTag(tag)) && !isBuiltInComponent(tag);
+}
+const COMPONENT_PREFIX = 'v-uni-';
+
+exports.BUILT_IN_TAGS = BUILT_IN_TAGS;
+exports.COMPONENT_NAME_PREFIX = COMPONENT_NAME_PREFIX;
+exports.COMPONENT_PREFIX = COMPONENT_PREFIX;
+exports.NAVBAR_HEIGHT = NAVBAR_HEIGHT;
+exports.TABBAR_HEIGHT = TABBAR_HEIGHT;
+exports.TAGS = TAGS;
+exports.debounce = debounce;
+exports.isBuiltInComponent = isBuiltInComponent;
+exports.isCustomElement = isCustomElement;
+exports.isNativeTag = isNativeTag;
+exports.plusReady = plusReady;
+exports.stringifyQuery = stringifyQuery;
diff --git a/packages/uni-shared/dist/uni-shared.d.ts b/packages/uni-shared/dist/uni-shared.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..132476f096fe8487133e97b40a8daeba04fbebe2
--- /dev/null
+++ b/packages/uni-shared/dist/uni-shared.d.ts
@@ -0,0 +1,29 @@
+
+export declare const BUILT_IN_TAGS: string[];
+
+export declare const COMPONENT_NAME_PREFIX = "VUni";
+
+export declare const COMPONENT_PREFIX = "v-uni-";
+
+export declare function debounce(fn: Function, delay: number): {
+ (this: any): void;
+ cancel(): void;
+};
+
+export declare function isBuiltInComponent(tag: string): boolean;
+
+export declare function isCustomElement(tag: string): boolean;
+
+export declare function isNativeTag(tag: string): boolean;
+
+export declare const NAVBAR_HEIGHT = 44;
+
+export declare function plusReady(callback: () => void): void;
+
+export declare function stringifyQuery(obj?: Record, encodeStr?: typeof encodeURIComponent): string;
+
+export declare const TABBAR_HEIGHT = 50;
+
+export declare const TAGS: string[];
+
+export { }
diff --git a/packages/uni-shared/dist/uni-shared.esm.js b/packages/uni-shared/dist/uni-shared.esm.js
new file mode 100644
index 0000000000000000000000000000000000000000..82e921386e5f2f4409e358e88f8e42f6e4ba8c70
--- /dev/null
+++ b/packages/uni-shared/dist/uni-shared.esm.js
@@ -0,0 +1,124 @@
+import { isPlainObject, isHTMLTag, isSVGTag } from '@vue/shared';
+
+const NAVBAR_HEIGHT = 44;
+const TABBAR_HEIGHT = 50;
+const COMPONENT_NAME_PREFIX = 'VUni';
+
+function debounce(fn, delay) {
+ let timeout;
+ const newFn = function () {
+ clearTimeout(timeout);
+ const timerFn = () => fn.apply(this, arguments);
+ timeout = setTimeout(timerFn, delay);
+ };
+ newFn.cancel = function () {
+ clearTimeout(timeout);
+ };
+ return newFn;
+}
+
+function plusReady(callback) {
+ if (typeof callback !== 'function') {
+ return;
+ }
+ if (window.plus) {
+ return callback();
+ }
+ document.addEventListener('plusready', callback);
+}
+
+const encode = encodeURIComponent;
+function stringifyQuery(obj, encodeStr = encode) {
+ const res = obj
+ ? Object.keys(obj)
+ .map((key) => {
+ let val = obj[key];
+ if (typeof val === undefined || val === null) {
+ val = '';
+ }
+ else if (isPlainObject(val)) {
+ val = JSON.stringify(val);
+ }
+ return encodeStr(key) + '=' + encodeStr(val);
+ })
+ .filter((x) => x.length > 0)
+ .join('&')
+ : null;
+ return res ? `?${res}` : '';
+}
+
+const BUILT_IN_TAGS = [
+ 'uni-ad',
+ 'uni-audio',
+ 'uni-button',
+ 'uni-camera',
+ 'uni-canvas',
+ 'uni-checkbox',
+ 'uni-checkbox-group',
+ 'uni-cover-image',
+ 'uni-cover-view',
+ 'uni-editor',
+ 'uni-form',
+ 'uni-functional-page-navigator',
+ 'uni-icon',
+ 'uni-image',
+ 'uni-input',
+ 'uni-label',
+ 'uni-live-player',
+ 'uni-live-pusher',
+ 'uni-map',
+ 'uni-movable-area',
+ 'uni-movable-view',
+ 'uni-navigator',
+ 'uni-official-account',
+ 'uni-open-data',
+ 'uni-picker',
+ 'uni-picker-view',
+ 'uni-picker-view-column',
+ 'uni-progress',
+ 'uni-radio',
+ 'uni-radio-group',
+ 'uni-rich-text',
+ 'uni-scroll-view',
+ 'uni-slider',
+ 'uni-swiper',
+ 'uni-swiper-item',
+ 'uni-switch',
+ 'uni-text',
+ 'uni-textarea',
+ 'uni-video',
+ 'uni-view',
+ 'uni-web-view',
+];
+const TAGS = [
+ 'uni-app',
+ 'uni-layout',
+ 'uni-content',
+ 'uni-main',
+ 'uni-top-window',
+ 'uni-left-window',
+ 'uni-right-window',
+ 'uni-tabbar',
+ 'uni-page',
+ 'uni-page-head',
+ 'uni-page-wrapper',
+ 'uni-page-body',
+ 'uni-page-refresh',
+ 'uni-actionsheet',
+ 'uni-modal',
+ 'uni-toast',
+ 'uni-resize-sensor',
+ 'uni-shadow-root',
+];
+function isBuiltInComponent(tag) {
+ return BUILT_IN_TAGS.indexOf('uni-' + tag) !== -1;
+}
+function isCustomElement(tag) {
+ return TAGS.indexOf(tag) !== -1 || BUILT_IN_TAGS.indexOf(tag) !== -1;
+}
+function isNativeTag(tag) {
+ return (isHTMLTag(tag) || isSVGTag(tag)) && !isBuiltInComponent(tag);
+}
+const COMPONENT_PREFIX = 'v-uni-';
+
+export { BUILT_IN_TAGS, COMPONENT_NAME_PREFIX, COMPONENT_PREFIX, NAVBAR_HEIGHT, TABBAR_HEIGHT, TAGS, debounce, isBuiltInComponent, isCustomElement, isNativeTag, plusReady, stringifyQuery };
diff --git a/packages/vite-plugin-uni/src/config/define.ts b/packages/vite-plugin-uni/src/config/define.ts
index 11d424df684b216896796180bba83b3ee195a340..34fbc00ed40e1cd8f86b727b6aa65929f526e12f 100644
--- a/packages/vite-plugin-uni/src/config/define.ts
+++ b/packages/vite-plugin-uni/src/config/define.ts
@@ -5,6 +5,7 @@ import { ConfigEnv, UserConfig } from 'vite'
import { VitePluginUniResolvedOptions } from '..'
interface PagesFeatures {
+ pages: boolean
tabBar: boolean
}
interface ManifestFeatures {
@@ -19,12 +20,16 @@ function resolvePagesFeature(
{ command }: ConfigEnv
): PagesFeatures {
const features: PagesFeatures = {
- tabBar: true,
+ pages: true, // 是否多页面
+ tabBar: true, // 是否启用tabBar
}
if (command === 'build') {
- const { tabBar } = parse(
+ const { tabBar, pages } = parse(
fs.readFileSync(path.join(inputDir, 'pages.json'), 'utf8')
)
+ if (pages && pages.length === 1) {
+ features.pages = false
+ }
if (!(tabBar && tabBar.list && tabBar.list.length)) {
features.tabBar = false
}
@@ -57,15 +62,16 @@ export function createDefine(
{ inputDir }: VitePluginUniResolvedOptions,
env: ConfigEnv
): UserConfig['define'] {
- const features = Object.assign(
+ const { wx, wxs, promise, routerMode, pages, tabBar } = Object.assign(
resolveManifestFeature(inputDir),
resolvePagesFeature(inputDir, env)
)
return {
- __UNI_FEATURE_WX__: features.wx,
- __UNI_FEATURE_WXS__: features.wxs,
- __UNI_FEATURE_PROMISE__: features.promise,
- __UNI_FEATURE_ROUTER_MODE__: features.routerMode,
- __UNI_FEATURE_TABBAR__: features.tabBar,
+ __UNI_FEATURE_WX__: wx,
+ __UNI_FEATURE_WXS__: wxs,
+ __UNI_FEATURE_PROMISE__: promise,
+ __UNI_FEATURE_ROUTER_MODE__: routerMode,
+ __UNI_FEATURE_PAGES__: pages,
+ __UNI_FEATURE_TABBAR__: tabBar,
}
}
diff --git a/packages/vite-plugin-uni/src/config/index.ts b/packages/vite-plugin-uni/src/config/index.ts
index c6edd13b322c88dd84dbbaf59a6d725efb23a14c..758c2af21010a38e229866c9af1ebf593ef80b4c 100644
--- a/packages/vite-plugin-uni/src/config/index.ts
+++ b/packages/vite-plugin-uni/src/config/index.ts
@@ -11,9 +11,11 @@ import { createOptimizeDeps } from './optimizeDeps'
export function createConfig(
options: VitePluginUniResolvedOptions
): Plugin['config'] {
- return (_config, env) => {
+ return (config, env) => {
+ if (config.root) {
+ options.root = config.root
+ }
return {
- root: options.root,
base: options.base,
define: createDefine(options, env),
resolve: createResolve(options),
diff --git a/scripts/utils.js b/scripts/utils.js
index 90c0c7172fb6ec9adc7e4af1c05ff5be54475371..9b10b27efe2a958f1dde3cca534895ea46b47fd2 100644
--- a/scripts/utils.js
+++ b/scripts/utils.js
@@ -2,7 +2,7 @@ const fs = require('fs')
const path = require('path')
const chalk = require('chalk')
-const targets = (exports.targets = fs.readdirSync('packages').filter(f => {
+const targets = (exports.targets = fs.readdirSync('packages').filter((f) => {
if (!fs.statSync(`packages/${f}`).isDirectory()) {
return false
}
@@ -13,11 +13,16 @@ const targets = (exports.targets = fs.readdirSync('packages').filter(f => {
)
} catch (e) {}
return false
-})).sort((a, b) => (a === 'uni-shared' ? -1 : 0))
-
+})).sort((a, b) =>
+ a === 'uni-shared' || b === 'size-check'
+ ? -1
+ : a === 'size-check' || b === 'uni-shared'
+ ? 1
+ : a.localeCompare(b)
+)
exports.fuzzyMatchTarget = (partialTargets, includeAllMatching) => {
const matched = []
- partialTargets.forEach(partialTarget => {
+ partialTargets.forEach((partialTarget) => {
for (const target of targets) {
if (target.match(partialTarget)) {
matched.push(target)