Commit c4045dd7 authored by 郭志伟's avatar 郭志伟

chore(ui): 升级业务库0.1.11

parent e204c17b
...@@ -30,185 +30,193 @@ ...@@ -30,185 +30,193 @@
</template> </template>
<script lang="ts" src="./index.ts"></script> <script lang="ts" src="./index.ts"></script>
<style> <style>
/** /**
* Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/) * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
* http://cssreset.com * http://cssreset.com
*/ */
html, html,
body, body,
div, div,
span, span,
applet, applet,
object, object,
iframe, iframe,
h1, h1,
h2, h2,
h3, h3,
h4, h4,
h5, h5,
h6, h6,
p, p,
blockquote, blockquote,
pre, pre,
a, a,
abbr, abbr,
acronym, acronym,
address, address,
big, big,
cite, cite,
code, code,
del, del,
dfn, dfn,
em, em,
img, img,
ins, ins,
kbd, kbd,
q, q,
s, s,
samp, samp,
small, small,
strike, strike,
strong, strong,
sub, sub,
sup, sup,
tt, tt,
var, var,
b, b,
u, u,
i, i,
center, center,
dl, dl,
dt, dt,
dd, dd,
ol, ol,
ul, ul,
li, li,
fieldset, fieldset,
form, form,
label, label,
legend, legend,
table, table,
caption, caption,
tbody, tbody,
tfoot, tfoot,
thead, thead,
tr, tr,
th, th,
td, td,
article, article,
aside, aside,
canvas, canvas,
details, details,
embed, embed,
figure, figure,
figcaption, figcaption,
footer, footer,
header, header,
menu, menu,
nav, nav,
output, output,
ruby, ruby,
section, section,
summary, summary,
time, time,
mark, mark,
audio, audio,
video, video,
input { input {
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
font-size: 100%; font-size: 100%;
font-weight: normal; font-weight: normal;
vertical-align: baseline; vertical-align: baseline;
} }
/* HTML5 display-role reset for older browsers */ /* HTML5 display-role reset for older browsers */
article, article,
aside, aside,
details, details,
figcaption, figcaption,
figure, figure,
footer, footer,
header, header,
menu, menu,
nav, nav,
section { section {
display: block; display: block;
} }
body { body {
line-height: 1; line-height: 1;
-webkit-text-size-adjust: 100% !important; -webkit-text-size-adjust: 100% !important;
text-size-adjust: 100% !important; text-size-adjust: 100% !important;
-moz-text-size-adjust: 100% !important; -moz-text-size-adjust: 100% !important;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
} }
blockquote, blockquote,
q { q {
quotes: none; quotes: none;
} }
blockquote::before, blockquote::before,
blockquote::after, blockquote::after,
q::before, q::before,
q::after { q::after {
content: none; content: none;
} }
table { table {
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0; border-spacing: 0;
} }
/* custom */ /* custom */
a { a {
color: #7e8c8d; color: #7e8c8d;
text-decoration: none; text-decoration: none;
} }
li { li {
list-style: none; list-style: none;
} }
*, *,
*:before, *::before,
*:after { *::after {
box-sizing: border-box; box-sizing: border-box;
} -webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Chrome/Safari/Opera */
-khtml-user-select: none; /* Konqueror */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently */
}
html { html {
font-size: 10vw !important; font-size: 10vw !important;
font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif; font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
} }
html, html,
body, body,
#app { #app {
height: 100%; height: 100%;
} }
.cr-popup .cr-notify { .cr-popup .cr-notify {
font-size: 14px; font-size: 14px;
} }
.cr-toast .cr-toast--inner { .cr-toast .cr-toast--inner {
box-sizing: content-box; box-sizing: content-box;
} }
@media screen and (min-width: 769Px) { @media screen and (min-width: 769px) {
html { html {
font-size: 37.5Px !important; font-size: 37.5px !important;
} }
body { body {
max-width: 375Px; max-width: 375px;
/*max-height: 667Px;*/
/* max-height: 667Px; */
margin: 0 auto !important; margin: 0 auto !important;
} }
} }
.mainload { .mainload {
position: fixed; position: fixed;
top: 0; top: 0;
bottom: 0; bottom: 0;
...@@ -219,72 +227,83 @@ ...@@ -219,72 +227,83 @@
align-items: center; align-items: center;
z-index: 999; z-index: 999;
background-color: #fff; background-color: #fff;
} }
.mainload .container {
.mainload .container {
text-align: center; text-align: center;
} }
.mainload p {
.mainload p {
font-size: 16px; font-size: 16px;
color: #666; color: #666;
margin-top: 10px; margin-top: 10px;
} }
.mainload .circular {
.mainload .circular {
height: 36px; height: 36px;
width: 36px; width: 36px;
animation: loading-rotate 2s linear infinite; animation: loading-rotate 2s linear infinite;
} }
.mainload .path {
.mainload .path {
animation: loading-dash 1.5s ease-in-out infinite; animation: loading-dash 1.5s ease-in-out infinite;
stroke-dasharray: 90,150; stroke-dasharray: 90, 150;
stroke-dashoffset: 0; stroke-dashoffset: 0;
stroke-width: 3; stroke-width: 3;
stroke: #ec3333; stroke: #ec3333;
stroke-linecap: round; stroke-linecap: round;
} }
@keyframes loading-rotate {
@keyframes loading-rotate {
to { to {
transform: rotate(1turn) transform: rotate(1turn);
} }
} }
@keyframes loading-dash {
@keyframes loading-dash {
0% { 0% {
stroke-dasharray: 1,200; stroke-dasharray: 1, 200;
stroke-dashoffset: 0 stroke-dashoffset: 0;
} }
50% { 50% {
stroke-dasharray: 90,150; stroke-dasharray: 90, 150;
stroke-dashoffset: -40px stroke-dashoffset: -40px;
} }
to { to {
stroke-dasharray: 90,150; stroke-dasharray: 90, 150;
stroke-dashoffset: -120px stroke-dashoffset: -120px;
}
} }
}
.swiper-container { .swiper-container {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
list-style: none; list-style: none;
padding: 0; padding: 0;
/* Fix of Webkit flickering */ /* Fix of Webkit flickering */
z-index: 1; z-index: 1;
} }
.swiper-container-vertical > .swiper-wrapper {
.swiper-container-vertical > .swiper-wrapper {
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
-webkit-box-direction: normal; -webkit-box-direction: normal;
-webkit-flex-direction: column; -webkit-flex-direction: column;
-ms-flex-direction: column; -ms-flex-direction: column;
flex-direction: column; flex-direction: column;
} }
.swiper-container-wp8-vertical, .swiper-container-wp8-vertical,
.swiper-container-wp8-vertical > .swiper-wrapper { .swiper-container-wp8-vertical > .swiper-wrapper {
-ms-touch-action: pan-x; -ms-touch-action: pan-x;
touch-action: pan-x; touch-action: pan-x;
} }
.swiper-wrapper {
.swiper-wrapper {
position: relative; position: relative;
width: 100%; width: 100%;
height: 100%; height: 100%;
...@@ -300,18 +319,21 @@ ...@@ -300,18 +319,21 @@
transition-property: transform, -webkit-transform; transition-property: transform, -webkit-transform;
-webkit-box-sizing: content-box; -webkit-box-sizing: content-box;
box-sizing: content-box; box-sizing: content-box;
} }
.swiper-container-android .swiper-slide,
.swiper-wrapper { .swiper-container-android .swiper-slide,
-webkit-transform: translate3d(0px, 0, 0); .swiper-wrapper {
transform: translate3d(0px, 0, 0); -webkit-transform: translate3d(0, 0, 0);
} transform: translate3d(0, 0, 0);
.swiper-container-multirow > .swiper-wrapper { }
.swiper-container-multirow > .swiper-wrapper {
-webkit-flex-wrap: wrap; -webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap; -ms-flex-wrap: wrap;
flex-wrap: wrap; flex-wrap: wrap;
} }
.swiper-slide {
.swiper-slide {
-webkit-flex-shrink: 0; -webkit-flex-shrink: 0;
-ms-flex-negative: 0; -ms-flex-negative: 0;
flex-shrink: 0; flex-shrink: 0;
...@@ -323,8 +345,9 @@ ...@@ -323,8 +345,9 @@
-o-transition-property: transform; -o-transition-property: transform;
transition-property: transform; transition-property: transform;
transition-property: transform, -webkit-transform; transition-property: transform, -webkit-transform;
} }
.swiper-slide-invisible-blank {
.swiper-slide-invisible-blank {
visibility: hidden; visibility: hidden;
} }
</style> </style>
\ No newline at end of file
...@@ -1658,9 +1658,9 @@ ...@@ -1658,9 +1658,9 @@
} }
}, },
"@qg/citrus-ui": { "@qg/citrus-ui": {
"version": "0.1.10", "version": "0.1.11",
"resolved": "http://npmprivate.quantgroups.com/@qg%2fcitrus-ui/-/citrus-ui-0.1.10.tgz", "resolved": "http://npmprivate.quantgroups.com/@qg%2fcitrus-ui/-/citrus-ui-0.1.11.tgz",
"integrity": "sha512-aK3zz9HBzMZDPfYbYfx5q2cq6Hm4Yj1FjsxXMJDPMPGebBOmgpeIsaEVZQjdRbpcLU9VcqVmS4ByTCE8jXO2Hw==", "integrity": "sha512-EGtJKbVSXEkeoy0zc+N6BiR6mam2OopapAwu7EiV+wLCITKUaikIkWAwUjg52s2m00a6N7ul7+NjRP2PLlfz1A==",
"requires": { "requires": {
"@better-scroll/core": "^2.1.1", "@better-scroll/core": "^2.1.1",
"@qg/cherry-ui": "^2.20.20", "@qg/cherry-ui": "^2.20.20",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment