This commit is contained in:
202
node_modules/@dcloudio/uni-h5/LICENSE
generated
vendored
Normal file
202
node_modules/@dcloudio/uni-h5/LICENSE
generated
vendored
Normal file
@@ -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.
|
||||
14602
node_modules/@dcloudio/uni-h5/dist-x/uni-h5.cjs.js
generated
vendored
Normal file
14602
node_modules/@dcloudio/uni-h5/dist-x/uni-h5.cjs.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
30882
node_modules/@dcloudio/uni-h5/dist-x/uni-h5.es.js
generated
vendored
Normal file
30882
node_modules/@dcloudio/uni-h5/dist-x/uni-h5.es.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
15
node_modules/@dcloudio/uni-h5/lib/automator.js
generated
vendored
Normal file
15
node_modules/@dcloudio/uni-h5/lib/automator.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1
node_modules/@dcloudio/uni-h5/lib/uni.automator.js
generated
vendored
Normal file
1
node_modules/@dcloudio/uni-h5/lib/uni.automator.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";var e=require("debug"),t=require("postcss-selector-parser"),o=require("fs");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=a(e),n=a(t),s=a(o);const i=r.default("automator:devtool");function c(e){e.walk((e=>{if("tag"===e.type){const t=e.value;e.value="page"===t?"uni-page-body":"uni-"+t}}))}const l=["Page.getElement","Page.getElements","Element.getElement","Element.getElements"];function p(e){try{return require(e)}catch(t){return require(require.resolve(e,{paths:[process.cwd()]}))}}/^win/.test(process.platform);const u=["chromium","firefox","webkit"];let w=!1;try{w=!!p("playwright")}catch(e){}const d=new Map;function f(e="chromium"){const t=e&&u.includes(e)?e:u[0];let o=d.get(t);return o||(o=function(e){if("webkit"===e)return h("webkit");if("firefox"===e)return h("firefox");if(w)return h("chromium");throw new Error("Playwright dependency not found, please install playwright!")}(t),d.set(t,o)),o}function h(e){const t=p("playwright");let o,a;return{type:e,provider:"playwright",async open(r,n,s){o=await t[e].launch(n.options),"firefox"===e&&(n.contextOptions.isMobile=!1),i(`browser.newContext ${JSON.stringify(n.contextOptions)}`);const c=await o.newContext(n.contextOptions);a=await c.newPage(),a.on("console",(e=>{s.emit("App.logAdded",{type:e.type(),args:[e.text()]})})),a.on("pageerror",(e=>{s.emit("App.exceptionThrown",e)})),await a.goto(n.url||r),await a.waitForTimeout(1e3)},close:()=>o.close(),screenshot(e=!1){let t={fullPage:e};return"true"===process.env.UNI_AUTOMATOR_WEB_SCREENSHOT_NO_NAVIGATION_BAR&&(t={fullPage:e,clip:{x:0,y:44,width:Number.MAX_VALUE,height:Number.MAX_VALUE}}),a.screenshot(t).then((e=>e.toString("base64")))},swipe:e=>new Promise((async t=>{const{startPoint:o,endPoint:r}=e;await a.evaluate((([e,t])=>{window.scrollBy({left:e.x-t.x,top:e.y-t.y,behavior:"smooth"})}),[o,r]),t("swipe success")})),tap:e=>new Promise((async t=>{const{x:o,y:r,duration:n}=e;await a.mouse.move(o,r),await a.mouse.down(),await a.waitForTimeout(n||0),await a.mouse.up(),t("tap success")})),keyboardInput:e=>new Promise((async t=>{await a.keyboard.type(e.text),t("keyboardInput success")}))}}let y;const m={"Tool.close":{reflect:async()=>{await y.close()}},"App.start":{reflect:async()=>{}},"App.exit":{reflect:async()=>{}},"App.enableLog":{reflect:()=>Promise.resolve()},"App.captureScreenshot":{reflect:async(e,t)=>{const o=await y.screenshot(!!t.fullPage);return i(`App.captureScreenshot ${o.length}`),{data:o}}},"App.swipe":{reflect:async(e,t)=>{const o=await y.swipe(t);return i(`App.swipe ${o.length}`),{data:o}}},"App.tap":{reflect:async(e,t)=>{const o=await y.tap(t);return i(`App.tap ${o.length}`),{data:o}}},"App.keyboardInput":{reflect:async(e,t)=>{const o=await y.keyboardInput(t);return i(`App.keyboardInput ${o.length}`),{data:o}}}};!function(e){l.forEach((t=>{e[t]=function(e){return{reflect:async(t,o)=>t(e,o,!1),params:e=>(e.selector&&(e.selector=n.default(c).processSync(e.selector)),e)}}(t)}))}(m);const g={devtools:{name:"browser",paths:[],validate:async function(e){var t;return e.options=e.options||{},e.executablePath&&!e.options.executablePath&&(e.options.executablePath=e.executablePath),e.contextOptions={viewport:Object.assign({width:375,height:667},e.options.defaultViewport||{}),hasTouch:!0,isMobile:!0,deviceScaleFactor:(null===(t=e.options.defaultViewport)||void 0===t?void 0:t.deviceScaleFactor)||2},e.options.defaultViewport=Object.assign({width:375,height:667,deviceScaleFactor:2,hasTouch:!0,isMobile:!0},e.options.defaultViewport||{}),e.teardown||(e.teardown=!1===e.options.headless?"disconnect":"close"),e},create:async function(e,t,o){t.executablePath?await new Promise(((o,a)=>{const{exec:r}=require("node:child_process");if(/^win/.test(process.platform)){const a="C:\\Users\\Public\\AppData\\Local\\chrome";s.default.existsSync(a)||s.default.mkdirSync(a,{recursive:!0}),r(`start ${t.executablePath} --user-data-dir=${a} ${e}`,(e=>{if(e)throw console.error(`open ${t.executablePath} fail, ${e}`),Error(e)})),setTimeout((()=>{o(null)}),1e3)}else r(`open -a "${t.executablePath}" ${e}`,(e=>{e&&(console.error(`open ${t.executablePath} fail, ${e}`),a(e)),o(null)}))})):(y=f(process.env.BROWSER),i("createDevtools "+(y.provider+" "+y.type+" "+JSON.stringify(t))),await y.open(e,t,o))}},shouldCompile:(e,t)=>!t.url,adapter:m};module.exports=g;
|
||||
1
node_modules/@dcloudio/uni-h5/license.md
generated
vendored
Normal file
1
node_modules/@dcloudio/uni-h5/license.md
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
[https://dcloud.io/license/uni-app.html](https://dcloud.io/license/uni-app.html)
|
||||
60
node_modules/@dcloudio/uni-h5/package.json
generated
vendored
Normal file
60
node_modules/@dcloudio/uni-h5/package.json
generated
vendored
Normal file
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"name": "@dcloudio/uni-h5",
|
||||
"version": "3.0.0-4080720251210001",
|
||||
"description": "@dcloudio/uni-h5",
|
||||
"main": "./dist/uni-h5.cjs.js",
|
||||
"module": "./dist/uni-h5.es.js",
|
||||
"files": [
|
||||
"dist",
|
||||
"dist-x",
|
||||
"lib",
|
||||
"style"
|
||||
],
|
||||
"sideEffects": [
|
||||
"lib/automator.js"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/dcloudio/uni-app.git",
|
||||
"directory": "packages/uni-h5"
|
||||
},
|
||||
"license": "Apache-2.0",
|
||||
"bugs": {
|
||||
"url": "https://github.com/dcloudio/uni-app/issues"
|
||||
},
|
||||
"uni-app": {
|
||||
"name": "uni-h5",
|
||||
"apply": [
|
||||
"h5"
|
||||
],
|
||||
"main": "dist/uni.compiler.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vue/server-renderer": "3.4.21",
|
||||
"@vue/shared": "3.4.21",
|
||||
"debug": "4.3.7",
|
||||
"localstorage-polyfill": "^1.0.1",
|
||||
"safe-area-insets": "1.4.1",
|
||||
"postcss-selector-parser": "6.1.2",
|
||||
"vue-router": "4.4.4",
|
||||
"xmlhttprequest": "^1.8.0",
|
||||
"@dcloudio/uni-h5-vite": "3.0.0-4080720251210001",
|
||||
"@dcloudio/uni-i18n": "3.0.0-4080720251210001",
|
||||
"@dcloudio/uni-shared": "3.0.0-4080720251210001",
|
||||
"@dcloudio/uni-h5-vue": "3.0.0-4080720251210001"
|
||||
},
|
||||
"gitHead": "33e807d66e1fe47e2ee08ad9c59247e37b8884da",
|
||||
"devDependencies": {
|
||||
"@types/estree": "1.0.5",
|
||||
"@types/google.maps": "3.58.0",
|
||||
"@amap/amap-jsapi-types": "0.0.8",
|
||||
"acorn-loose": "^8.2.1",
|
||||
"acorn-walk": "^8.2.0",
|
||||
"estree-walker": "2.0.2",
|
||||
"fast-glob": "3.3.3",
|
||||
"fs-extra": "10.1.0",
|
||||
"unplugin-auto-import": "19.1.0",
|
||||
"vue": "3.4.21",
|
||||
"@dcloudio/uni-cli-shared": "3.0.0-4080720251210001"
|
||||
}
|
||||
}
|
||||
8
node_modules/@dcloudio/uni-h5/style/ad-content-page.css
generated
vendored
Normal file
8
node_modules/@dcloudio/uni-h5/style/ad-content-page.css
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
uni-ad-content-page {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
uni-ad-content-page[hidden] {
|
||||
display: none;
|
||||
}
|
||||
8
node_modules/@dcloudio/uni-h5/style/ad-draw.css
generated
vendored
Normal file
8
node_modules/@dcloudio/uni-h5/style/ad-draw.css
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
uni-ad-draw {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
uni-ad-draw[hidden] {
|
||||
display: none;
|
||||
}
|
||||
8
node_modules/@dcloudio/uni-h5/style/ad.css
generated
vendored
Normal file
8
node_modules/@dcloudio/uni-h5/style/ad.css
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
uni-ad {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
uni-ad[hidden] {
|
||||
display: none;
|
||||
}
|
||||
134
node_modules/@dcloudio/uni-h5/style/api/action-sheet.css
generated
vendored
Normal file
134
node_modules/@dcloudio/uni-h5/style/api/action-sheet.css
generated
vendored
Normal file
@@ -0,0 +1,134 @@
|
||||
uni-actionsheet {
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.uni-actionsheet {
|
||||
position: fixed;
|
||||
left: 6px;
|
||||
right: 6px;
|
||||
bottom: 6px;
|
||||
transform: translate(0, 100%);
|
||||
backface-visibility: hidden;
|
||||
z-index: 999;
|
||||
visibility: hidden;
|
||||
transition: transform 0.3s, visibility 0.3s;
|
||||
}
|
||||
|
||||
.uni-actionsheet.uni-actionsheet_toggle {
|
||||
visibility: visible;
|
||||
transform: translate(0, 0);
|
||||
}
|
||||
|
||||
.uni-actionsheet * {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.uni-actionsheet__menu,
|
||||
.uni-actionsheet__action {
|
||||
border-radius: 5px;
|
||||
background-color: #fcfcfd;
|
||||
}
|
||||
|
||||
.uni-actionsheet__action {
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.uni-actionsheet__cell,
|
||||
.uni-actionsheet__title {
|
||||
position: relative;
|
||||
padding: 10px 6px;
|
||||
text-align: center;
|
||||
font-size: 18px;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.uni-actionsheet__title {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
color: var(--UI-FG);
|
||||
background-color: #fff;
|
||||
border-radius: 5px 5px 0 0;
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
}
|
||||
|
||||
.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__cell:active {
|
||||
background-color: #ececec;
|
||||
}
|
||||
|
||||
.uni-actionsheet__cell:first-child:before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 500px) and (min-height: 500px) {
|
||||
.uni-mask.uni-actionsheet__mask {
|
||||
background: none;
|
||||
}
|
||||
|
||||
.uni-actionsheet {
|
||||
width: 300px;
|
||||
left: 50%;
|
||||
right: auto;
|
||||
top: 50%;
|
||||
bottom: auto;
|
||||
transform: translate(-50%, -50%);
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s, visibility 0.3s;
|
||||
}
|
||||
|
||||
.uni-actionsheet.uni-actionsheet_toggle {
|
||||
opacity: 1;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.uni-actionsheet__menu {
|
||||
box-shadow: 0px 0 20px 5px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.uni-actionsheet__action {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.uni-actionsheet__title {
|
||||
background-color: var(--UI-BG-1);
|
||||
border-bottom-color: var(--UI-BORDER-COLOR-1);
|
||||
}
|
||||
|
||||
body .uni-actionsheet {
|
||||
background-color: var(--UI-BG-1);
|
||||
}
|
||||
|
||||
.uni-actionsheet__action,
|
||||
body .uni-actionsheet__menu {
|
||||
background-color: var(--UI-BG-2);
|
||||
}
|
||||
|
||||
.uni-actionsheet__cell:active {
|
||||
background-color: var(--UI-BG-COLOR-ACTIVE);
|
||||
}
|
||||
|
||||
.uni-actionsheet__cell:before {
|
||||
border-top-color: var(--UI-BORDER-COLOR-1);
|
||||
color: var(--UI-BORDER-COLOR-1);
|
||||
}
|
||||
}
|
||||
220
node_modules/@dcloudio/uni-h5/style/api/location-picker.css
generated
vendored
Normal file
220
node_modules/@dcloudio/uni-h5/style/api/location-picker.css
generated
vendored
Normal file
@@ -0,0 +1,220 @@
|
||||
.uni-system-choose-location {
|
||||
display: block;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: #f8f8f8;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.uni-system-choose-location .map {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 300px;
|
||||
}
|
||||
|
||||
.uni-system-choose-location .map-location {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
bottom: 50%;
|
||||
width: 32px;
|
||||
height: 52px;
|
||||
margin-left: -16px;
|
||||
cursor: pointer;
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
.uni-system-choose-location .map-move {
|
||||
position: absolute;
|
||||
bottom: 50px;
|
||||
right: 10px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
box-sizing: border-box;
|
||||
line-height: 40px;
|
||||
background-color: white;
|
||||
border-radius: 50%;
|
||||
pointer-events: auto;
|
||||
cursor: pointer;
|
||||
box-shadow: 0px 0 5px 1px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.uni-system-choose-location .map-move>svg {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.uni-system-choose-location .nav {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
background-color: transparent;
|
||||
background-image: linear-gradient( to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
|
||||
}
|
||||
|
||||
.uni-system-choose-location .nav-btn {
|
||||
position: absolute;
|
||||
box-sizing: border-box;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 60px;
|
||||
height: 44px;
|
||||
padding: 6px;
|
||||
line-height: 32px;
|
||||
font-size: 26px;
|
||||
color: white;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.uni-system-choose-location .nav-btn.confirm {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.uni-system-choose-location .nav-btn.disable {
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
.uni-system-choose-location .nav-btn>svg {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
/* line-height: inherit; */
|
||||
border-radius: 2px;
|
||||
box-sizing: border-box;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
.uni-system-choose-location .nav-btn.confirm>svg {
|
||||
background-color: #007aff;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.uni-system-choose-location .menu {
|
||||
position: absolute;
|
||||
top: 300px;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
bottom: 0;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.uni-system-choose-location .search {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
height: 50px;
|
||||
padding: 8px;
|
||||
line-height: 34px;
|
||||
box-sizing: border-box;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.uni-system-choose-location .search-input {
|
||||
flex: 1;
|
||||
height: 100%;
|
||||
border-radius: 5px;
|
||||
padding: 0 5px;
|
||||
background: #ebebeb;
|
||||
}
|
||||
|
||||
.uni-system-choose-location .search-btn {
|
||||
margin-left: 5px;
|
||||
color: #007aff;
|
||||
font-size: 17px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.uni-system-choose-location .list {
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
bottom: 0;
|
||||
padding-bottom: 10px;
|
||||
/* background-color: #f6f6f6; */
|
||||
}
|
||||
|
||||
.uni-system-choose-location .list-loading {
|
||||
display: flex;
|
||||
height: 50px;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.uni-system-choose-location .list-item {
|
||||
position: relative;
|
||||
padding: 10px;
|
||||
padding-right: 40px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.uni-system-choose-location .list-item>svg {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 10px;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
margin-top: -15px;
|
||||
box-sizing: border-box;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.uni-system-choose-location .list-item.selected>svg {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.uni-system-choose-location .list-item:not(:last-child)::after {
|
||||
position: absolute;
|
||||
content: "";
|
||||
height: 1px;
|
||||
left: 10px;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
background-color: #d3d3d3;
|
||||
}
|
||||
|
||||
.uni-system-choose-location .list-item-title {
|
||||
font-size: 14px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.uni-system-choose-location .list-item-detail {
|
||||
font-size: 12px;
|
||||
color: #808080;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 800px) {
|
||||
.uni-system-choose-location .map {
|
||||
top: 0;
|
||||
height: 100%;
|
||||
}
|
||||
.uni-system-choose-location .map-move {
|
||||
bottom: 10px;
|
||||
right: 320px;
|
||||
}
|
||||
.uni-system-choose-location .menu {
|
||||
top: 54px;
|
||||
left: auto;
|
||||
right: 10px;
|
||||
width: 300px;
|
||||
bottom: 10px;
|
||||
max-height: 600px;
|
||||
box-shadow: 0px 0 20px 5px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
}
|
||||
133
node_modules/@dcloudio/uni-h5/style/api/location-view.css
generated
vendored
Normal file
133
node_modules/@dcloudio/uni-h5/style/api/location-view.css
generated
vendored
Normal file
@@ -0,0 +1,133 @@
|
||||
.uni-system-open-location {
|
||||
display: block;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: #f8f8f8;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.uni-system-open-location .map {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
bottom: 80px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.uni-system-open-location .info {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 80px;
|
||||
background-color: white;
|
||||
padding: 15px;
|
||||
box-sizing: border-box;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.uni-system-open-location .info>.name {
|
||||
font-size: 17px;
|
||||
color: #111111;
|
||||
}
|
||||
|
||||
.uni-system-open-location .info>.address {
|
||||
font-size: 14px;
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
.uni-system-open-location .info>.nav {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 15px;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
border-radius: 50%;
|
||||
margin-top: -25px;
|
||||
background-color: #007aff;
|
||||
}
|
||||
|
||||
.uni-system-open-location .info>.nav>svg {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 10px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.uni-system-open-location .map-move {
|
||||
position: absolute;
|
||||
bottom: 50px;
|
||||
right: 10px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
box-sizing: border-box;
|
||||
line-height: 40px;
|
||||
background-color: white;
|
||||
border-radius: 50%;
|
||||
pointer-events: auto;
|
||||
cursor: pointer;
|
||||
box-shadow: 0px 0 5px 1px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.uni-system-open-location .map-move>svg {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.uni-system-open-location .nav-btn-back {
|
||||
position: absolute;
|
||||
box-sizing: border-box;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
padding: 6px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.uni-system-open-location .nav-btn-back>svg {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 50%;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
padding: 3px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.uni-system-open-location .map-content {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0px;
|
||||
width: 100%;
|
||||
bottom: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.uni-system-open-location .map-content.fix-position {
|
||||
top: -74px;
|
||||
bottom: -44px;
|
||||
}
|
||||
|
||||
.uni-system-open-location .map-content>iframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.uni-system-open-location .actTonav {
|
||||
position: absolute;
|
||||
right: 16px;
|
||||
bottom: 56px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
border-radius: 60px;
|
||||
}
|
||||
155
node_modules/@dcloudio/uni-h5/style/api/modal.css
generated
vendored
Normal file
155
node_modules/@dcloudio/uni-h5/style/api/modal.css
generated
vendored
Normal file
@@ -0,0 +1,155 @@
|
||||
uni-modal {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: 999;
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.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 * {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.uni-modal__hd {
|
||||
padding: 1em 1.6em 0.3em;
|
||||
}
|
||||
|
||||
.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__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-x: hidden;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.uni-modal__textarea {
|
||||
resize: none;
|
||||
border: 0;
|
||||
margin: 0;
|
||||
width: 90%;
|
||||
padding: 10px;
|
||||
font-size: 20px;
|
||||
outline: none;
|
||||
border: none;
|
||||
background-color: #eee;
|
||||
text-decoration: inherit;
|
||||
/* 解决单行中文内容会出现滚动条的问题 */
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.uni-modal__ft {
|
||||
position: relative;
|
||||
line-height: 48px;
|
||||
font-size: 18px;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.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__btn {
|
||||
display: block;
|
||||
flex: 1;
|
||||
color: #3cc51f;
|
||||
text-decoration: none;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.uni-modal__btn:active {
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
||||
.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__btn:first-child:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.uni-modal__btn_default {
|
||||
color: #353535;
|
||||
}
|
||||
|
||||
.uni-modal__btn_primary {
|
||||
color: #007aff;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.uni-modal {
|
||||
color: var(--UI-FG-0);
|
||||
background-color: var(--UI-BG-2);
|
||||
}
|
||||
|
||||
.uni-modal__bd {
|
||||
color: var(--UI-FG-1);
|
||||
}
|
||||
|
||||
.uni-modal__btn:active {
|
||||
color: rgb(170, 170, 170);
|
||||
background-color: var(--UI-BG-COLOR-ACTIVE);
|
||||
}
|
||||
|
||||
.uni-modal__ft:after,
|
||||
.uni-modal__btn:after {
|
||||
color: var(--UI-BORDER-COLOR-1);
|
||||
border-color: var(--UI-BORDER-COLOR-1);
|
||||
}
|
||||
}
|
||||
91
node_modules/@dcloudio/uni-h5/style/api/toast.css
generated
vendored
Normal file
91
node_modules/@dcloudio/uni-h5/style/api/toast.css
generated
vendored
Normal file
@@ -0,0 +1,91 @@
|
||||
uni-toast {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: 999;
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
pointer-events: none;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.uni-sample-toast {
|
||||
position: fixed;
|
||||
z-index: 999;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
text-align: center;
|
||||
max-width: 80%;
|
||||
}
|
||||
|
||||
.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-word;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
uni-toast .uni-mask {
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.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 * {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.uni-toast__icon {
|
||||
margin: 20px 0 0;
|
||||
width: 38px!important;
|
||||
height: 38px!important;
|
||||
vertical-align: baseline!important;
|
||||
}
|
||||
|
||||
.uni-icon_toast {
|
||||
margin: 15px 0 0;
|
||||
}
|
||||
|
||||
.uni-icon_toast.uni-icon-success-no-circle:before {
|
||||
color: #ffffff;
|
||||
font-size: 55px;
|
||||
}
|
||||
|
||||
.uni-icon_toast.uni-loading {
|
||||
margin: 20px 0 0;
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
.uni-toast__content {
|
||||
margin: 0 0 15px;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.uni-toast {
|
||||
background-color: #606060;
|
||||
color: var(--UI-FG-0);
|
||||
}
|
||||
}
|
||||
8
node_modules/@dcloudio/uni-h5/style/camera.css
generated
vendored
Normal file
8
node_modules/@dcloudio/uni-h5/style/camera.css
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
uni-camera {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
uni-camera[hidden] {
|
||||
display: none;
|
||||
}
|
||||
33
node_modules/@dcloudio/uni-h5/style/cover-image.css
generated
vendored
Normal file
33
node_modules/@dcloudio/uni-h5/style/cover-image.css
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
uni-cover-image {
|
||||
display: block;
|
||||
line-height: 1.2;
|
||||
overflow: hidden;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
uni-cover-image img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
uni-cover-image[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
uni-cover-image .uni-cover-image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
text-overflow: inherit;
|
||||
overflow: inherit;
|
||||
white-space: nowrap;
|
||||
-webkit-align-items: inherit;
|
||||
align-items: inherit;
|
||||
-webkit-justify-content: inherit;
|
||||
justify-content: inherit;
|
||||
-webkit-flex-direction: inherit;
|
||||
flex-direction: inherit;
|
||||
font-size: 0;
|
||||
display: inherit;
|
||||
}
|
||||
29
node_modules/@dcloudio/uni-h5/style/cover-view.css
generated
vendored
Normal file
29
node_modules/@dcloudio/uni-h5/style/cover-view.css
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
uni-cover-view {
|
||||
display: block;
|
||||
line-height: 1.2;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
uni-cover-view[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
uni-cover-view .uni-cover-view {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
text-overflow: inherit;
|
||||
overflow: hidden;
|
||||
white-space: inherit;
|
||||
-webkit-align-items: inherit;
|
||||
align-items: inherit;
|
||||
-webkit-justify-content: inherit;
|
||||
justify-content: inherit;
|
||||
-webkit-flex-direction: inherit;
|
||||
flex-direction: inherit;
|
||||
-webkit-flex-wrap: inherit;
|
||||
flex-wrap: inherit;
|
||||
display: inherit;
|
||||
overflow: inherit;
|
||||
}
|
||||
21
node_modules/@dcloudio/uni-h5/style/framework/async.css
generated
vendored
Normal file
21
node_modules/@dcloudio/uni-h5/style/framework/async.css
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
.uni-async-error {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
color: #999;
|
||||
padding: 100px 10px;
|
||||
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;
|
||||
}
|
||||
139
node_modules/@dcloudio/uni-h5/style/framework/base.css
generated
vendored
Normal file
139
node_modules/@dcloudio/uni-h5/style/framework/base.css
generated
vendored
Normal file
@@ -0,0 +1,139 @@
|
||||
* {
|
||||
margin: 0;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
overflow-x: hidden;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
uni-app,
|
||||
uni-page,
|
||||
uni-page-wrapper,
|
||||
uni-page-body {
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
uni-page-wrapper {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#app,
|
||||
uni-app,
|
||||
uni-page,
|
||||
uni-page-wrapper {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
/* toast,modal,actionSheet,picker,layout */
|
||||
.uni-mask {
|
||||
position: fixed;
|
||||
z-index: 999;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
/* toast,modal,actionSheet,picker */
|
||||
.uni-fade-enter-active,
|
||||
.uni-fade-leave-active {
|
||||
transition-duration: 0.25s;
|
||||
transition-property: opacity;
|
||||
transition-timing-function: ease;
|
||||
}
|
||||
|
||||
.uni-fade-enter-from,
|
||||
.uni-fade-leave-active {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.uni-loading,
|
||||
uni-button[loading]:before {
|
||||
background-color: transparent;
|
||||
background-image: url('data:image/svg+xml;base64, PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=');
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.uni-loading {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
animation: uni-loading 1s steps(12, end) infinite;
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
@keyframes uni-loading {
|
||||
0% {
|
||||
transform: rotate3d(0, 0, 1, 0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: rotate3d(0, 0, 1, 360deg);
|
||||
}
|
||||
}
|
||||
|
||||
html {
|
||||
/* --UI-BG-0: #ededed; */
|
||||
--primary-color: #007aff;
|
||||
--UI-BG: #fff;
|
||||
--UI-BG-1: #f7f7f7;
|
||||
--UI-BG-2: #fff;
|
||||
--UI-BG-3: #f7f7f7;
|
||||
--UI-BG-4: #4c4c4c;
|
||||
--UI-BG-5: #fff;
|
||||
--UI-FG: #000;
|
||||
--UI-FG-0: rgba(0, 0, 0, 0.9);
|
||||
--UI-FG-HALF: rgba(0, 0, 0, 0.9);
|
||||
--UI-FG-1: rgba(0, 0, 0, 0.5);
|
||||
--UI-FG-2: rgba(0, 0, 0, 0.3);
|
||||
--UI-FG-3: rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
html {
|
||||
--UI-BG-COLOR-ACTIVE: #373737;
|
||||
--UI-BORDER-COLOR-1: #373737;
|
||||
/* UI */
|
||||
--UI-BG: #000;
|
||||
--UI-BG-0: #191919;
|
||||
--UI-BG-1: #1f1f1f;
|
||||
--UI-BG-2: #232323;
|
||||
--UI-BG-3: #2f2f2f;
|
||||
--UI-BG-4: #606060;
|
||||
--UI-BG-5: #2c2c2c;
|
||||
--UI-FG: #fff;
|
||||
--UI-FG-0: hsla(0, 0%, 100%, 0.8);
|
||||
--UI-FG-HALF: hsla(0, 0%, 100%, 0.6);
|
||||
--UI-FG-1: hsla(0, 0%, 100%, 0.5);
|
||||
--UI-FG-2: hsla(0, 0%, 100%, 0.3);
|
||||
--UI-FG-3: hsla(0, 0%, 100%, 0.05);
|
||||
}
|
||||
|
||||
.uni-mask {
|
||||
background: rgba(0, 0, 0, .6);
|
||||
}
|
||||
|
||||
body,
|
||||
uni-page-body {
|
||||
background-color: var(--UI-BG-0);
|
||||
color: var(--UI-FG-0);
|
||||
}
|
||||
}
|
||||
|
||||
uni-page[data-type] uni-page-body {
|
||||
background-color: transparent;
|
||||
}
|
||||
56
node_modules/@dcloudio/uni-h5/style/framework/layout.css
generated
vendored
Normal file
56
node_modules/@dcloudio/uni-h5/style/framework/layout.css
generated
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
uni-content {
|
||||
display: flex;
|
||||
flex: 1 0 auto;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
uni-main {
|
||||
flex: 1;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
uni-top-window + uni-content {
|
||||
height: calc(100vh - var(--top-window-height));
|
||||
}
|
||||
|
||||
uni-left-window {
|
||||
position: relative;
|
||||
width: var(--window-left);
|
||||
order: -1;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
uni-right-window {
|
||||
position: relative;
|
||||
width: var(--window-right);
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
uni-left-window[data-show],
|
||||
uni-right-window[data-show] {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
uni-right-window[data-show] {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
uni-content .uni-mask,
|
||||
.uni-left-window,
|
||||
.uni-right-window {
|
||||
z-index: 997;
|
||||
}
|
||||
|
||||
.uni-mask + .uni-left-window,
|
||||
.uni-mask + .uni-right-window {
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
.uni-top-window {
|
||||
position: fixed;
|
||||
left: var(--window-margin);
|
||||
right: var(--window-margin);
|
||||
top: 0;
|
||||
z-index: 998;
|
||||
overflow: hidden;
|
||||
}
|
||||
57
node_modules/@dcloudio/uni-h5/style/framework/nvue.css
generated
vendored
Normal file
57
node_modules/@dcloudio/uni-h5/style/framework/nvue.css
generated
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
[nvue] uni-view,
|
||||
[nvue] uni-label,
|
||||
[nvue] uni-swiper-item,
|
||||
[nvue] uni-scroll-view {
|
||||
display: flex;
|
||||
flex-shrink: 0;
|
||||
flex-grow: 0;
|
||||
flex-basis: auto;
|
||||
align-items: stretch;
|
||||
align-content: flex-start;
|
||||
}
|
||||
|
||||
[nvue] uni-button {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
[nvue-dir-row] uni-view,
|
||||
[nvue-dir-row] uni-label,
|
||||
[nvue-dir-row] uni-swiper-item {
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
[nvue-dir-column] uni-view,
|
||||
[nvue-dir-column] uni-label,
|
||||
[nvue-dir-column] uni-swiper-item {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
[nvue-dir-row-reverse] uni-view,
|
||||
[nvue-dir-row-reverse] uni-label,
|
||||
[nvue-dir-row-reverse] uni-swiper-item {
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
|
||||
[nvue-dir-column-reverse] uni-view,
|
||||
[nvue-dir-column-reverse] uni-label,
|
||||
[nvue-dir-column-reverse] uni-swiper-item {
|
||||
flex-direction: column-reverse;
|
||||
}
|
||||
|
||||
[nvue] uni-view,
|
||||
[nvue] uni-image,
|
||||
[nvue] uni-input,
|
||||
[nvue] uni-scroll-view,
|
||||
[nvue] uni-swiper,
|
||||
[nvue] uni-swiper-item,
|
||||
[nvue] uni-text,
|
||||
[nvue] uni-textarea,
|
||||
[nvue] uni-video {
|
||||
position: relative;
|
||||
border: 0px solid #000000;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
[nvue] uni-swiper-item {
|
||||
position: absolute;
|
||||
}
|
||||
226
node_modules/@dcloudio/uni-h5/style/framework/pageHead.css
generated
vendored
Normal file
226
node_modules/@dcloudio/uni-h5/style/framework/pageHead.css
generated
vendored
Normal file
@@ -0,0 +1,226 @@
|
||||
uni-page-head {
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.uni-page-head {
|
||||
position: fixed;
|
||||
left: var(--window-left);
|
||||
right: var(--window-right);
|
||||
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 * {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.uni-page-head .uni-btn-icon {
|
||||
overflow: hidden;
|
||||
min-width: 1em;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.uni-page-head-titlePenetrate,
|
||||
.uni-page-head-titlePenetrate .uni-page-head-bd,
|
||||
.uni-page-head-titlePenetrate .uni-page-head-bd * {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.uni-page-head-titlePenetrate * {
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.uni-page-head.uni-page-head-transparent .uni-page-head-ft > div {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.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-placeholder-titlePenetrate {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.uni-page-head-hd {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.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;
|
||||
font-size: 0px;
|
||||
}
|
||||
|
||||
/* .uni-page-head-btn svg {
|
||||
} */
|
||||
|
||||
.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-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 svg {
|
||||
vertical-align: middle;
|
||||
margin-left: 2px;
|
||||
transform: rotate(270deg) 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-input .uni-input-input:disabled {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.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-icon {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 2px;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.uni-page-head-ft {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row-reverse;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.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__title .uni-loading {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin-top: -3px;
|
||||
}
|
||||
|
||||
.uni-page-head__title .uni-page-head__title_image {
|
||||
width: auto;
|
||||
height: 26px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.uni-page-head-shadow {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.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-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));
|
||||
}
|
||||
88
node_modules/@dcloudio/uni-h5/style/framework/pageRefresh.css
generated
vendored
Normal file
88
node_modules/@dcloudio/uni-h5/style/framework/pageRefresh.css
generated
vendored
Normal file
@@ -0,0 +1,88 @@
|
||||
uni-page-refresh {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.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, 0.117647),
|
||||
0 1px 4px rgba(0, 0, 0, 0.117647);
|
||||
display: none;
|
||||
z-index: 997;
|
||||
}
|
||||
|
||||
.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--pulling .uni-page-refresh,
|
||||
.uni-page-refresh--aborting .uni-page-refresh,
|
||||
.uni-page-refresh--reached .uni-page-refresh,
|
||||
.uni-page-refresh--refreshing .uni-page-refresh,
|
||||
.uni-page-refresh--restoring .uni-page-refresh {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.uni-page-refresh--pulling .uni-page-refresh__spinner,
|
||||
.uni-page-refresh--aborting .uni-page-refresh__spinner,
|
||||
.uni-page-refresh--reached .uni-page-refresh__spinner,
|
||||
.uni-page-refresh--refreshing .uni-page-refresh__icon,
|
||||
.uni-page-refresh--restoring .uni-page-refresh__icon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.uni-page-refresh--refreshing .uni-page-refresh__spinner {
|
||||
transform-origin: center center;
|
||||
animation: uni-page-refresh-rotate 2s linear infinite;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
}
|
||||
8
node_modules/@dcloudio/uni-h5/style/framework/shadow.css
generated
vendored
Normal file
8
node_modules/@dcloudio/uni-h5/style/framework/shadow.css
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
body::after {
|
||||
position: fixed;
|
||||
content: '';
|
||||
left: -1000px;
|
||||
top: -1000px;
|
||||
animation: shadow-preload 0.1s;
|
||||
animation-delay: 3s;
|
||||
}
|
||||
166
node_modules/@dcloudio/uni-h5/style/framework/tabBar.css
generated
vendored
Normal file
166
node_modules/@dcloudio/uni-h5/style/framework/tabBar.css
generated
vendored
Normal file
@@ -0,0 +1,166 @@
|
||||
uni-tabbar {
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
z-index: 998;
|
||||
}
|
||||
|
||||
.uni-tabbar {
|
||||
display: flex;
|
||||
z-index: 998;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.uni-tabbar-top,
|
||||
.uni-tabbar-bottom,
|
||||
.uni-tabbar-top .uni-tabbar,
|
||||
.uni-tabbar-bottom .uni-tabbar {
|
||||
position: fixed;
|
||||
left: var(--window-left);
|
||||
right: var(--window-right);
|
||||
}
|
||||
|
||||
.uni-app--showlayout + .uni-tabbar-top,
|
||||
.uni-app--showlayout + .uni-tabbar-bottom,
|
||||
.uni-app--showlayout + .uni-tabbar-top .uni-tabbar,
|
||||
.uni-app--showlayout + .uni-tabbar-bottom .uni-tabbar {
|
||||
left: var(--window-margin);
|
||||
right: var(--window-margin);
|
||||
}
|
||||
|
||||
.uni-tabbar-bottom .uni-tabbar {
|
||||
bottom: 0;
|
||||
padding-bottom: 0;
|
||||
padding-bottom: constant(safe-area-inset-bottom);
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
}
|
||||
|
||||
.uni-tabbar ~ .uni-placeholder {
|
||||
width: 100%;
|
||||
margin-bottom: 0;
|
||||
margin-bottom: constant(safe-area-inset-bottom);
|
||||
margin-bottom: env(safe-area-inset-bottom);
|
||||
}
|
||||
|
||||
.uni-tabbar * {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.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__bd {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.uni-tabbar__icon {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.uni-tabbar__icon.uni-tabbar__icon__diff {
|
||||
margin-top: 0px;
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
}
|
||||
|
||||
.uni-tabbar__icon img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.uni-tabbar__iconfont {
|
||||
font-family: 'UniTabbarIconFont';
|
||||
}
|
||||
|
||||
.uni-tabbar__label {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.uni-tabbar-border {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
transform: scaleY(0.5);
|
||||
}
|
||||
|
||||
.uni-tabbar__reddot {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
right: 0;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
background-color: #f43530;
|
||||
color: #ffffff;
|
||||
transform: translate(40%, 0%);
|
||||
}
|
||||
|
||||
.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-tabbar__mid {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.uni-app--showtabbar uni-page-wrapper {
|
||||
display: block;
|
||||
height: calc(100% - var(--tab-bar-height));
|
||||
height: calc(100% - var(--tab-bar-height) - constant(safe-area-inset-bottom));
|
||||
height: calc(100% - var(--tab-bar-height) - env(safe-area-inset-bottom));
|
||||
}
|
||||
uni-page[data-type] uni-page-wrapper {
|
||||
height: 100%;
|
||||
}
|
||||
.uni-app--showtabbar uni-page-wrapper::after {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: var(--tab-bar-height);
|
||||
height: calc(var(--tab-bar-height) + constant(safe-area-inset-bottom));
|
||||
height: calc(var(--tab-bar-height) + env(safe-area-inset-bottom));
|
||||
}
|
||||
.uni-app--showtabbar
|
||||
uni-page-head[uni-page-head-type='default']
|
||||
~ uni-page-wrapper {
|
||||
height: calc(100% - 44px - var(--tab-bar-height));
|
||||
height: calc(
|
||||
100% - 44px - constant(safe-area-inset-top) - var(--tab-bar-height) -
|
||||
constant(safe-area-inset-bottom)
|
||||
);
|
||||
height: calc(
|
||||
100% - 44px - env(safe-area-inset-top) - var(--tab-bar-height) -
|
||||
env(safe-area-inset-bottom)
|
||||
);
|
||||
}
|
||||
472
node_modules/@dcloudio/uni-h5/style/framework/uvue.css
generated
vendored
Normal file
472
node_modules/@dcloudio/uni-h5/style/framework/uvue.css
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
8
node_modules/@dcloudio/uni-h5/style/live-player.css
generated
vendored
Normal file
8
node_modules/@dcloudio/uni-h5/style/live-player.css
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
uni-live-player {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
uni-live-player[hidden] {
|
||||
display: none;
|
||||
}
|
||||
8
node_modules/@dcloudio/uni-h5/style/live-pusher.css
generated
vendored
Normal file
8
node_modules/@dcloudio/uni-h5/style/live-pusher.css
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
uni-live-pusher {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
uni-live-pusher[hidden] {
|
||||
display: none;
|
||||
}
|
||||
34
node_modules/@dcloudio/uni-h5/style/map.css
generated
vendored
Normal file
34
node_modules/@dcloudio/uni-h5/style/map.css
generated
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
uni-map {
|
||||
position: relative;
|
||||
width: 300px;
|
||||
height: 150px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
uni-map[hidden] {
|
||||
display: none;
|
||||
}
|
||||
/* 处理高德地图 marker label 默认样式 */
|
||||
.amap-marker-label {
|
||||
padding: 0;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
/* 处理高德地图 open-location icon 被遮挡问题 */
|
||||
.amap-marker > .amap-icon > img {
|
||||
left: 0 !important;
|
||||
top: 0 !important;
|
||||
}
|
||||
|
||||
.uni-map-control {
|
||||
position: absolute;
|
||||
width: 0;
|
||||
height: 0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 999;
|
||||
}
|
||||
.uni-map-control-icon {
|
||||
position: absolute;
|
||||
max-width: initial;
|
||||
}
|
||||
221
node_modules/@dcloudio/uni-h5/style/picker.css
generated
vendored
Normal file
221
node_modules/@dcloudio/uni-h5/style/picker.css
generated
vendored
Normal file
@@ -0,0 +1,221 @@
|
||||
uni-picker {
|
||||
position: relative;
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
uni-picker[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
uni-picker[disabled] {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.uni-picker-container {
|
||||
display: none;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
box-sizing: border-box;
|
||||
z-index: 999;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.uni-picker-container .uni-picker-custom * {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.uni-picker-container .uni-picker-custom {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
transform: translate(0, 100%);
|
||||
backface-visibility: hidden;
|
||||
z-index: 999;
|
||||
width: 100%;
|
||||
background-color: #fff;
|
||||
visibility: hidden;
|
||||
transition: transform 0.3s, visibility 0.3s;
|
||||
}
|
||||
|
||||
.uni-picker-container .uni-picker-custom.uni-picker-toggle {
|
||||
visibility: visible;
|
||||
transform: translate(0, 0);
|
||||
}
|
||||
|
||||
.uni-picker-container .uni-picker-content {
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 238px;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.uni-picker-container .uni-picker-item {
|
||||
padding: 0;
|
||||
height: 34px;
|
||||
line-height: 34px;
|
||||
text-align: center;
|
||||
color: #000;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.uni-picker-container .uni-picker-header {
|
||||
display: block;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
height: 45px;
|
||||
}
|
||||
|
||||
.uni-picker-container .uni-picker-header:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
clear: both;
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
color: #e5e5e5;
|
||||
transform-origin: 0 100%;
|
||||
transform: scaleY(0.5);
|
||||
}
|
||||
|
||||
.uni-picker-container .uni-picker-action {
|
||||
display: block;
|
||||
max-width: 50%;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 0 14px;
|
||||
font-size: 17px;
|
||||
line-height: 45px;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.uni-picker-container .uni-picker-action.uni-picker-action-cancel {
|
||||
float: left;
|
||||
color: #888;
|
||||
}
|
||||
|
||||
.uni-picker-container .uni-picker-action.uni-picker-action-confirm {
|
||||
float: right;
|
||||
color: #007aff;
|
||||
}
|
||||
|
||||
.uni-picker-container .uni-picker-select {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.uni-picker-system {
|
||||
position: absolute;
|
||||
display: none;
|
||||
display: block;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.uni-picker-system > .uni-picker-system_input {
|
||||
position: absolute;
|
||||
border: none;
|
||||
height: 100%;
|
||||
opacity: 0;
|
||||
/* Chrome 无效 */
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.uni-picker-system > .uni-picker-system_input.firefox {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.uni-picker-system > .uni-picker-system_input.chrome {
|
||||
/* 日历空白位置宽度 32px */
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 2em;
|
||||
font-size: 32px;
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 500px) and (min-height: 500px) {
|
||||
.uni-mask.uni-picker-mask {
|
||||
background: none;
|
||||
}
|
||||
.uni-picker-container .uni-picker-custom {
|
||||
width: 300px !important;
|
||||
left: 50%;
|
||||
right: auto;
|
||||
top: 50%;
|
||||
bottom: auto;
|
||||
transform: translate(-50%, -50%);
|
||||
opacity: 0;
|
||||
border-radius: 5px;
|
||||
transition: opacity 0.3s, visibility 0.3s;
|
||||
box-shadow: 0px 0 20px 5px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
.uni-picker-container .uni-picker-header {
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
.uni-picker-container .uni-picker-content {
|
||||
/* transform 用于解决 Safari overflow 失效的问题 */
|
||||
transform: translate(0 0);
|
||||
overflow: hidden;
|
||||
border-radius: 0 0 5px 5px;
|
||||
}
|
||||
.uni-picker-container .uni-picker-custom.uni-picker-toggle {
|
||||
opacity: 1;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
.uni-selector-select .uni-picker-header,
|
||||
.uni-selector-select .uni-picker-content {
|
||||
display: none;
|
||||
}
|
||||
.uni-selector-select .uni-picker-select {
|
||||
display: block;
|
||||
max-height: 300px;
|
||||
overflow: auto;
|
||||
background-color: white;
|
||||
border-radius: 5px;
|
||||
padding: 6px 0;
|
||||
}
|
||||
.uni-selector-select .uni-picker-item {
|
||||
padding: 0 10px;
|
||||
color: #555555;
|
||||
}
|
||||
.uni-selector-select .uni-picker-item:hover {
|
||||
background-color: #f6f6f6;
|
||||
}
|
||||
.uni-selector-select .uni-picker-item.selected {
|
||||
color: #007aff;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.uni-picker-container .uni-picker-content {
|
||||
background-color: var(--UI-BG-2);
|
||||
}
|
||||
.uni-selector-select .uni-picker-item,
|
||||
.uni-picker-container .uni-picker-item,
|
||||
.uni-picker-container .uni-picker-action.uni-picker-action-cancel {
|
||||
color: var(--UI-FG-0);
|
||||
}
|
||||
.uni-picker-container .uni-picker-custom {
|
||||
background-color: var(--UI-BG-2);
|
||||
}
|
||||
.uni-picker-container .uni-picker-header:after {
|
||||
border-bottom-color: var(--UI-FG-3);
|
||||
}
|
||||
}
|
||||
361
node_modules/@dcloudio/uni-h5/style/video.css
generated
vendored
Normal file
361
node_modules/@dcloudio/uni-h5/style/video.css
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
24
node_modules/@dcloudio/uni-h5/style/web-view.css
generated
vendored
Normal file
24
node_modules/@dcloudio/uni-h5/style/web-view.css
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
uni-web-view {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
/* #ifndef UNI-APP-X */
|
||||
uni-web-view.uni-webview--fullscreen {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
/* #endif */
|
||||
|
||||
/* #ifdef UNI-APP-X */
|
||||
uni-web-view.uni-webview {
|
||||
flex: 1;
|
||||
}
|
||||
uni-web-view.uni-webview > iframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: none;
|
||||
}
|
||||
/* #endif */
|
||||
Reference in New Issue
Block a user