fix: 微信登录补充保存username和role
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Agent
2026-04-04 07:35:21 +00:00
parent 756444ef2b
commit d12eea7693
10597 changed files with 817047 additions and 3 deletions

View 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
View 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
View File

@@ -0,0 +1,8 @@
uni-ad {
display: block;
overflow: hidden;
}
uni-ad[hidden] {
display: none;
}

View 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);
}
}

View 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);
}
}

View 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
View 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
View 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
View 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
View 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
View 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;
}

View 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
View 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;
}

View 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
View 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;
}

View 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));
}

View 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;
}
}

View File

@@ -0,0 +1,8 @@
body::after {
position: fixed;
content: '';
left: -1000px;
top: -1000px;
animation: shadow-preload 0.1s;
animation-delay: 3s;
}

View 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

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
View 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
View 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
View 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
View 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

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
View 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 */