This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user