Commit d92b4366 authored by xinzhedeai's avatar xinzhedeai

隐患列表api 新增api

parent 633f5d92
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -86,28 +86,28 @@ ul {
}
.van-hairline--top:after {
border-top-width: .02667rem
border-top-width: .02rem
}
.van-hairline--left:after {
border-left-width: .02667rem
border-left-width: .02rem
}
.van-hairline--right:after {
border-right-width: .02667rem
border-right-width: .02rem
}
.van-hairline--bottom:after {
border-bottom-width: .02667rem
border-bottom-width: .02rem
}
.van-hairline--top-bottom:after,
.van-hairline-unset--top-bottom:after {
border-width: .02667rem 0
border-width: .02rem 0
}
.van-hairline--surround:after {
border-width: .02667rem
border-width: .02rem
}
@-webkit-keyframes van-slide-up-enter {
......@@ -351,17 +351,17 @@ ul {
top: 0;
right: 0;
box-sizing: border-box;
min-width: .42667rem;
padding: 0 .08rem;
min-width: .32rem;
padding: 0 .06rem;
color: #fff;
font-weight: 500;
font-size: .32rem;
font-size: .24rem;
font-family: -apple-system-font, Helvetica Neue, Arial, sans-serif;
line-height: 1.2;
text-align: center;
background-color: #ee0a24;
border: .02667rem solid #fff;
border-radius: .42667rem;
border: .02rem solid #fff;
border-radius: .32rem;
-webkit-transform: translate(50%, -50%);
transform: translate(50%, -50%);
-webkit-transform-origin: 100%;
......@@ -369,9 +369,9 @@ ul {
}
.van-info--dot {
width: .21333rem;
width: .16rem;
min-width: 0;
height: .21333rem;
height: .16rem;
background-color: #ee0a24;
border-radius: 100%
}
......@@ -380,11 +380,11 @@ ul {
position: relative;
display: block;
box-sizing: border-box;
padding: .53333rem .32rem;
padding: .4rem .24rem;
overflow: hidden;
color: #323233;
font-size: .37333rem;
line-height: .53333rem;
font-size: .28rem;
line-height: .4rem;
background-color: #f7f8fa;
cursor: pointer;
-webkit-user-select: none;
......@@ -402,7 +402,7 @@ ul {
}
.van-sidebar-item:not(:last-child):after {
border-bottom-width: .02667rem
border-bottom-width: .02rem
}
.van-sidebar-item--select {
......@@ -419,8 +419,8 @@ ul {
position: absolute;
top: 50%;
left: 0;
width: .10667rem;
height: .42667rem;
width: .08rem;
height: .32rem;
background-color: #ee0a24;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
......@@ -438,7 +438,7 @@ ul {
.van-icon {
position: relative;
font: normal normal normal .37333rem/1 vant-icon;
font: normal normal normal .28rem/1 vant-icon;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased
......@@ -1442,15 +1442,15 @@ ul {
-webkit-justify-content: center;
justify-content: center;
color: #646566;
font-size: .32rem;
font-size: .24rem;
line-height: 1;
cursor: pointer
}
.van-tabbar-item__icon {
position: relative;
margin-bottom: .10667rem;
font-size: .58667rem
margin-bottom: .08rem;
font-size: .44rem
}
.van-tabbar-item__icon .van-icon {
......@@ -1459,7 +1459,7 @@ ul {
.van-tabbar-item__icon img {
display: block;
height: .53333rem
height: .4rem
}
.van-tabbar-item--active {
......@@ -1468,7 +1468,7 @@ ul {
}
.van-tabbar-item .van-info {
margin-top: .10667rem
margin-top: .08rem
}
.van-step {
......@@ -1477,13 +1477,13 @@ ul {
-webkit-flex: 1;
flex: 1;
color: #969799;
font-size: .37333rem
font-size: .28rem
}
.van-step__circle {
display: block;
width: .13333rem;
height: .13333rem;
width: .1rem;
height: .1rem;
background-color: #969799;
border-radius: 50%
}
......@@ -1507,7 +1507,7 @@ ul {
.van-step--horizontal:last-child {
position: absolute;
right: .02667rem;
right: .02rem;
width: auto
}
......@@ -1518,16 +1518,16 @@ ul {
}
.van-step--horizontal:last-child .van-step__circle-container {
right: -.24rem;
right: -.18rem;
left: auto
}
.van-step--horizontal .van-step__circle-container {
position: absolute;
top: .8rem;
left: -.21333rem;
top: .6rem;
left: -.16rem;
z-index: 1;
padding: 0 .21333rem;
padding: 0 .16rem;
background-color: #fff;
-webkit-transform: translateY(-50%);
transform: translateY(-50%)
......@@ -1535,28 +1535,28 @@ ul {
.van-step--horizontal .van-step__title {
display: inline-block;
margin-left: .08rem;
font-size: .32rem;
margin-left: .06rem;
font-size: .24rem;
-webkit-transform: translateX(-50%);
transform: translateX(-50%)
}
@media (max-width:321px) {
.van-step--horizontal .van-step__title {
font-size: .29333rem
font-size: .22rem
}
}
.van-step--horizontal .van-step__line {
top: .8rem;
top: .6rem;
left: 0;
width: 100%;
height: .02667rem
height: .02rem
}
.van-step--horizontal .van-step__icon {
display: block;
font-size: .32rem
font-size: .24rem
}
.van-step--horizontal .van-step--process {
......@@ -1566,29 +1566,29 @@ ul {
.van-step--vertical {
display: block;
float: none;
padding: .26667rem .26667rem .26667rem 0;
line-height: .48rem
padding: .2rem .2rem .2rem 0;
line-height: .36rem
}
.van-step--vertical:not(:last-child):after {
border-bottom-width: .02667rem
border-bottom-width: .02rem
}
.van-step--vertical .van-step__circle-container {
position: absolute;
top: .50667rem;
left: -.4rem;
top: .38rem;
left: -.3rem;
z-index: 1;
font-size: .32rem;
font-size: .24rem;
line-height: 1;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%)
}
.van-step--vertical .van-step__line {
top: .42667rem;
left: -.4rem;
width: .02667rem;
top: .32rem;
left: -.3rem;
width: .02rem;
height: 100%
}
......@@ -1634,14 +1634,14 @@ ul {
}
.van-rate__item:not(:last-child) {
padding-right: .10667rem
padding-right: .08rem
}
.van-rate__icon {
display: block;
width: 1em;
color: #c8c9cc;
font-size: .53333rem
font-size: .4rem
}
.van-rate__icon--half {
......@@ -1676,18 +1676,18 @@ ul {
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
height: 1.06667rem;
padding: 0 .42667rem;
height: .8rem;
padding: 0 .32rem;
color: #ed6a0c;
font-size: .37333rem;
line-height: .64rem;
font-size: .28rem;
line-height: .48rem;
background-color: #fffbe8
}
.van-notice-bar__left-icon,
.van-notice-bar__right-icon {
min-width: .64rem;
font-size: .42667rem
min-width: .48rem;
font-size: .32rem
}
.van-notice-bar__right-icon {
......@@ -1723,7 +1723,7 @@ ul {
.van-notice-bar--wrapable {
height: auto;
padding: .21333rem .42667rem
padding: .16rem .32rem
}
.van-notice-bar--wrapable .van-notice-bar__wrap {
......@@ -1739,7 +1739,7 @@ ul {
.van-nav-bar {
position: relative;
z-index: 1;
line-height: .58667rem;
line-height: .44rem;
text-align: center;
background-color: #fff;
-webkit-user-select: none;
......@@ -1770,12 +1770,12 @@ ul {
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
height: 1.22667rem
height: .92rem
}
.van-nav-bar__arrow {
margin-right: .10667rem;
font-size: .42667rem
margin-right: .08rem;
font-size: .32rem
}
.van-nav-bar__title {
......@@ -1783,7 +1783,7 @@ ul {
margin: 0 auto;
color: #323233;
font-weight: 500;
font-size: .42667rem
font-size: .32rem
}
.van-nav-bar__left,
......@@ -1797,8 +1797,8 @@ ul {
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
padding: 0 .42667rem;
font-size: .37333rem;
padding: 0 .32rem;
font-size: .28rem;
cursor: pointer
}
......@@ -1829,7 +1829,7 @@ ul {
}
.van-grid-item__icon {
font-size: .74667rem
font-size: .56rem
}
.van-grid-item__icon-wrapper {
......@@ -1838,13 +1838,13 @@ ul {
.van-grid-item__text {
color: #646566;
font-size: .32rem;
font-size: .24rem;
line-height: 1.5;
word-break: break-all
}
.van-grid-item__icon+.van-grid-item__text {
margin-top: .21333rem
margin-top: .16rem
}
.van-grid-item__content {
......@@ -1857,13 +1857,13 @@ ul {
flex-direction: column;
box-sizing: border-box;
height: 100%;
padding: .42667rem .21333rem;
padding: .32rem .16rem;
background-color: #fff
}
.van-grid-item__content:after {
z-index: 1;
border-width: 0 .02667rem .02667rem 0
border-width: 0 .02rem .02rem 0
}
.van-grid-item__content--square {
......@@ -1891,11 +1891,11 @@ ul {
.van-grid-item__content--horizontal .van-grid-item__icon+.van-grid-item__text {
margin-top: 0;
margin-left: .21333rem
margin-left: .16rem
}
.van-grid-item__content--surround:after {
border-width: .02667rem
border-width: .02rem
}
.van-grid-item__content--clickable {
......@@ -1917,10 +1917,10 @@ ul {
-webkit-box-pack: center;
-webkit-justify-content: center;
justify-content: center;
min-width: 1.28rem;
min-width: .96rem;
height: 100%;
color: #646566;
font-size: .26667rem;
font-size: .2rem;
line-height: 1;
text-align: center;
background-color: #fff;
......@@ -1934,9 +1934,9 @@ ul {
.van-goods-action-icon__icon {
position: relative;
width: 1em;
margin: 0 auto .13333rem;
margin: 0 auto .1rem;
color: #323233;
font-size: .48rem
font-size: .36rem
}
.van-checkbox {
......@@ -1961,7 +1961,7 @@ ul {
}
.van-checkbox--horizontal {
margin-right: .32rem
margin-right: .24rem
}
.van-checkbox__icon {
......@@ -1969,7 +1969,7 @@ ul {
-webkit-flex: none;
flex: none;
height: 1em;
font-size: .53333rem;
font-size: .4rem;
line-height: 1em;
cursor: pointer
}
......@@ -1983,7 +1983,7 @@ ul {
font-size: .8em;
line-height: 1.25;
text-align: center;
border: .02667rem solid #c8c9cc;
border: .02rem solid #c8c9cc;
-webkit-transition-duration: .2s;
transition-duration: .2s;
-webkit-transition-property: color, border-color, background-color;
......@@ -2014,13 +2014,13 @@ ul {
}
.van-checkbox__label {
margin-left: .21333rem;
margin-left: .16rem;
color: #323233;
line-height: .53333rem
line-height: .4rem
}
.van-checkbox__label--left {
margin: 0 .21333rem 0 0
margin: 0 .16rem 0 0
}
.van-checkbox__label--disabled {
......@@ -2028,11 +2028,11 @@ ul {
}
.van-coupon {
margin: 0 .32rem .32rem;
margin: 0 .24rem .24rem;
overflow: hidden;
background-color: #fff;
border-radius: .21333rem;
box-shadow: 0 0 .10667rem rgba(0, 0, 0, .1)
border-radius: .16rem;
box-shadow: 0 0 .08rem rgba(0, 0, 0, .1)
}
.van-coupon:active {
......@@ -2047,15 +2047,15 @@ ul {
-webkit-align-items: center;
align-items: center;
box-sizing: border-box;
min-height: 2.24rem;
padding: .37333rem 0;
min-height: 1.68rem;
padding: .28rem 0;
color: #323233
}
.van-coupon__head {
position: relative;
min-width: 2.56rem;
padding: 0 .21333rem;
min-width: 1.92rem;
padding: 0 .16rem;
color: #ee0a24;
text-align: center
}
......@@ -2070,9 +2070,9 @@ ul {
}
.van-coupon__amount {
margin-bottom: .16rem;
margin-bottom: .12rem;
font-weight: 500;
font-size: .8rem
font-size: .6rem
}
.van-coupon__amount span {
......@@ -2081,12 +2081,12 @@ ul {
}
.van-coupon__amount span:not(:empty) {
margin-left: .05333rem
margin-left: .04rem
}
.van-coupon__condition {
font-size: .32rem;
line-height: .42667rem;
font-size: .24rem;
line-height: .32rem;
white-space: pre-wrap
}
......@@ -2095,31 +2095,31 @@ ul {
-webkit-box-flex: 1;
-webkit-flex: 1;
flex: 1;
border-radius: 0 .21333rem .21333rem 0
border-radius: 0 .16rem .16rem 0
}
.van-coupon__name {
margin-bottom: .26667rem;
margin-bottom: .2rem;
font-weight: 700;
font-size: .37333rem;
line-height: .53333rem
font-size: .28rem;
line-height: .4rem
}
.van-coupon__valid {
font-size: .32rem
font-size: .24rem
}
.van-coupon__corner {
position: absolute;
top: 0;
right: .42667rem;
right: .32rem;
bottom: 0
}
.van-coupon__description {
padding: .21333rem .42667rem;
font-size: .32rem;
border-top: .02667rem dashed #ebedf0
padding: .16rem .32rem;
font-size: .24rem;
border-top: .02rem dashed #ebedf0
}
.van-coupon--disabled:active {
......@@ -2127,7 +2127,7 @@ ul {
}
.van-coupon--disabled .van-coupon-item__content {
height: 1.97333rem
height: 1.48rem
}
.van-coupon--disabled .van-coupon__head {
......@@ -2175,14 +2175,14 @@ ul {
-webkit-justify-content: center;
justify-content: center;
color: #969799;
font-size: .37333rem;
font-size: .28rem;
background-color: #f7f8fa
}
.van-image__error-icon,
.van-image__loading-icon {
color: #dcdee0;
font-size: .85333rem
font-size: .64rem
}
.van-radio {
......@@ -2207,7 +2207,7 @@ ul {
}
.van-radio--horizontal {
margin-right: .32rem
margin-right: .24rem
}
.van-radio__icon {
......@@ -2215,7 +2215,7 @@ ul {
-webkit-flex: none;
flex: none;
height: 1em;
font-size: .53333rem;
font-size: .4rem;
line-height: 1em;
cursor: pointer
}
......@@ -2229,7 +2229,7 @@ ul {
font-size: .8em;
line-height: 1.25;
text-align: center;
border: .02667rem solid #c8c9cc;
border: .02rem solid #c8c9cc;
-webkit-transition-duration: .2s;
transition-duration: .2s;
-webkit-transition-property: color, border-color, background-color;
......@@ -2260,13 +2260,13 @@ ul {
}
.van-radio__label {
margin-left: .21333rem;
margin-left: .16rem;
color: #323233;
line-height: .53333rem
line-height: .4rem
}
.van-radio__label--left {
margin: 0 .21333rem 0 0
margin: 0 .16rem 0 0
}
.van-radio__label--disabled {
......@@ -2281,11 +2281,11 @@ ul {
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
padding: 0 .10667rem;
padding: 0 .08rem;
color: #fff;
font-size: .32rem;
line-height: .42667rem;
border-radius: .05333rem
font-size: .24rem;
line-height: .32rem;
border-radius: .04rem
}
.van-tag--default {
......@@ -2339,7 +2339,7 @@ ul {
right: 0;
bottom: 0;
left: 0;
border: .02667rem solid;
border: .02rem solid;
border-color: inherit;
border-radius: inherit;
content: "";
......@@ -2347,45 +2347,45 @@ ul {
}
.van-tag--medium {
padding: .05333rem .16rem
padding: .04rem .12rem
}
.van-tag--large {
padding: .10667rem .21333rem;
font-size: .37333rem;
border-radius: .10667rem
padding: .08rem .16rem;
font-size: .28rem;
border-radius: .08rem
}
.van-tag--mark {
border-radius: 0 26.64rem 26.64rem 0
border-radius: 0 19.98rem 19.98rem 0
}
.van-tag--mark:after {
display: block;
width: .05333rem;
width: .04rem;
content: ""
}
.van-tag--round {
border-radius: 26.64rem
border-radius: 19.98rem
}
.van-tag__close {
margin-left: .05333rem;
margin-left: .04rem;
cursor: pointer
}
.van-card {
position: relative;
box-sizing: border-box;
padding: .21333rem .42667rem;
padding: .16rem .32rem;
color: #323233;
font-size: .32rem;
font-size: .24rem;
background-color: #fafafa
}
.van-card:not(:first-child) {
margin-top: .21333rem
margin-top: .16rem
}
.van-card__header {
......@@ -2399,13 +2399,13 @@ ul {
-webkit-box-flex: 0;
-webkit-flex: none;
flex: none;
width: 2.34667rem;
height: 2.34667rem;
margin-right: .21333rem
width: 1.76rem;
height: 1.76rem;
margin-right: .16rem
}
.van-card__thumb img {
border-radius: .21333rem
border-radius: .16rem
}
.van-card__content {
......@@ -2424,7 +2424,7 @@ ul {
-webkit-justify-content: space-between;
justify-content: space-between;
min-width: 0;
min-height: 2.34667rem
min-height: 1.76rem
}
.van-card__content--centered {
......@@ -2439,30 +2439,30 @@ ul {
}
.van-card__title {
max-height: .85333rem;
max-height: .64rem;
font-weight: 500;
line-height: .42667rem
line-height: .32rem
}
.van-card__desc {
max-height: .53333rem;
max-height: .4rem;
color: #646566
}
.van-card__bottom,
.van-card__desc {
line-height: .53333rem
line-height: .4rem
}
.van-card__price {
display: inline-block;
color: #323233;
font-weight: 500;
font-size: .32rem
font-size: .24rem
}
.van-card__price-integer {
font-size: .42667rem
font-size: .32rem
}
.van-card__price-decimal,
......@@ -2472,9 +2472,9 @@ ul {
.van-card__origin-price {
display: inline-block;
margin-left: .13333rem;
margin-left: .1rem;
color: #969799;
font-size: .26667rem;
font-size: .2rem;
text-decoration: line-through
}
......@@ -2485,7 +2485,7 @@ ul {
.van-card__tag {
position: absolute;
top: .05333rem;
top: .04rem;
left: 0
}
......@@ -2497,7 +2497,7 @@ ul {
}
.van-card__footer .van-button {
margin-left: .13333rem
margin-left: .1rem
}
.van-cell {
......@@ -2507,11 +2507,11 @@ ul {
display: flex;
box-sizing: border-box;
width: 100%;
padding: .26667rem .42667rem;
padding: .2rem .32rem;
overflow: hidden;
color: #323233;
font-size: .37333rem;
line-height: .64rem;
font-size: .28rem;
line-height: .48rem;
background-color: #fff
}
......@@ -2520,10 +2520,10 @@ ul {
box-sizing: border-box;
content: " ";
pointer-events: none;
right: .42667rem;
right: .32rem;
bottom: 0;
left: .42667rem;
border-bottom: .02667rem solid #ebedf0;
left: .32rem;
border-bottom: .02rem solid #ebedf0;
-webkit-transform: scaleY(.5);
transform: scaleY(.5)
}
......@@ -2534,10 +2534,10 @@ ul {
}
.van-cell__label {
margin-top: .10667rem;
margin-top: .08rem;
color: #969799;
font-size: .32rem;
line-height: .48rem
font-size: .24rem;
line-height: .36rem
}
.van-cell__title,
......@@ -2563,17 +2563,17 @@ ul {
.van-cell__left-icon,
.van-cell__right-icon {
height: .64rem;
font-size: .42667rem;
line-height: .64rem
height: .48rem;
font-size: .32rem;
line-height: .48rem
}
.van-cell__left-icon {
margin-right: .10667rem
margin-right: .08rem
}
.van-cell__right-icon {
margin-left: .10667rem;
margin-left: .08rem;
color: #969799
}
......@@ -2591,9 +2591,9 @@ ul {
.van-cell--required:before {
position: absolute;
left: .21333rem;
left: .16rem;
color: #ee0a24;
font-size: .37333rem;
font-size: .28rem;
content: "*"
}
......@@ -2604,16 +2604,16 @@ ul {
}
.van-cell--large {
padding-top: .32rem;
padding-bottom: .32rem
padding-top: .24rem;
padding-bottom: .24rem
}
.van-cell--large .van-cell__title {
font-size: .42667rem
font-size: .32rem
}
.van-cell--large .van-cell__label {
font-size: .37333rem
font-size: .28rem
}
.van-coupon-cell__value--selected {
......@@ -2621,21 +2621,21 @@ ul {
}
.van-contact-card {
padding: .42667rem
padding: .32rem
}
.van-contact-card__value {
margin-left: .13333rem;
line-height: .53333rem
margin-left: .1rem;
line-height: .4rem
}
.van-contact-card--add .van-contact-card__value {
line-height: 1.06667rem
line-height: .8rem
}
.van-contact-card--add .van-cell__left-icon {
color: #1989fa;
font-size: 1.06667rem
font-size: .8rem
}
.van-contact-card:before {
......@@ -2643,10 +2643,10 @@ ul {
right: 0;
bottom: 0;
left: 0;
height: .05333rem;
height: .04rem;
background: -webkit-repeating-linear-gradient(135deg, #ff6c6c, #ff6c6c 20%, transparent 0, transparent 25%, #1989fa 0, #1989fa 45%, transparent 0, transparent 50%);
background: repeating-linear-gradient(-45deg, #ff6c6c, #ff6c6c 20%, transparent 0, transparent 25%, #1989fa 0, #1989fa 45%, transparent 0, transparent 50%);
background-size: 2.13333rem;
background-size: 1.6rem;
content: ""
}
......@@ -2660,9 +2660,9 @@ ul {
content: " ";
pointer-events: none;
top: 0;
right: .42667rem;
left: .42667rem;
border-top: .02667rem solid #ebedf0;
right: .32rem;
left: .32rem;
border-top: .02rem solid #ebedf0;
-webkit-transform: scaleY(.5);
transform: scaleY(.5)
}
......@@ -2677,7 +2677,7 @@ ul {
}
.van-collapse-item__title:after {
right: .42667rem;
right: .32rem;
display: none
}
......@@ -2715,9 +2715,9 @@ ul {
}
.van-collapse-item__content {
padding: .32rem .42667rem;
padding: .24rem .32rem;
color: #969799;
font-size: .37333rem;
font-size: .28rem;
line-height: 1.5;
background-color: #fff
}
......@@ -2728,7 +2728,7 @@ ul {
flex: none;
box-sizing: border-box;
width: 6.2em;
margin-right: .32rem;
margin-right: .24rem;
color: #646566;
text-align: left;
word-wrap: break-word
......@@ -2814,13 +2814,13 @@ ul {
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
min-height: .64rem
min-height: .48rem
}
.van-field__control[type=date],
.van-field__control[type=datetime-local],
.van-field__control[type=time] {
min-height: .64rem
min-height: .48rem
}
.van-field__control[type=search] {
......@@ -2837,26 +2837,26 @@ ul {
.van-field__clear,
.van-field__right-icon {
margin-right: -.21333rem;
padding: 0 .21333rem;
margin-right: -.16rem;
padding: 0 .16rem;
line-height: inherit
}
.van-field__clear {
color: #c8c9cc;
font-size: .42667rem;
font-size: .32rem;
cursor: pointer
}
.van-field__left-icon .van-icon,
.van-field__right-icon .van-icon {
display: block;
font-size: .42667rem;
font-size: .32rem;
line-height: inherit
}
.van-field__left-icon {
margin-right: .10667rem
margin-right: .08rem
}
.van-field__right-icon {
......@@ -2864,12 +2864,12 @@ ul {
}
.van-field__button {
padding-left: .21333rem
padding-left: .16rem
}
.van-field__error-message {
color: #ee0a24;
font-size: .32rem;
font-size: .24rem;
text-align: left
}
......@@ -2882,10 +2882,10 @@ ul {
}
.van-field__word-limit {
margin-top: .10667rem;
margin-top: .08rem;
color: #646566;
font-size: .32rem;
line-height: .42667rem;
font-size: .24rem;
line-height: .32rem;
text-align: right
}
......@@ -2901,7 +2901,7 @@ ul {
}
.van-field--min-height .van-field__control {
min-height: 1.6rem
min-height: 1.2rem
}
.van-search {
......@@ -2909,7 +2909,7 @@ ul {
-webkit-align-items: center;
align-items: center;
box-sizing: border-box;
padding: .26667rem .32rem;
padding: .2rem .24rem;
background-color: #fff
}
......@@ -2924,27 +2924,27 @@ ul {
-webkit-box-flex: 1;
-webkit-flex: 1;
flex: 1;
padding-left: .32rem;
padding-left: .24rem;
background-color: #f7f8fa;
border-radius: .05333rem
border-radius: .04rem
}
.van-search__content--round {
border-radius: 26.64rem
border-radius: 19.98rem
}
.van-search__label {
padding: 0 .13333rem;
padding: 0 .1rem;
color: #323233;
font-size: .37333rem;
line-height: .90667rem
font-size: .28rem;
line-height: .68rem
}
.van-search .van-cell {
-webkit-box-flex: 1;
-webkit-flex: 1;
flex: 1;
padding: .13333rem .21333rem .13333rem 0;
padding: .1rem .16rem .1rem 0;
background-color: initial
}
......@@ -2964,10 +2964,10 @@ ul {
}
.van-search__action {
padding: 0 .21333rem;
padding: 0 .16rem;
color: #323233;
font-size: .37333rem;
line-height: .90667rem;
font-size: .28rem;
line-height: .68rem;
cursor: pointer;
-webkit-user-select: none;
user-select: none
......@@ -3001,7 +3001,7 @@ ul {
}
.van-popup--center.van-popup--round {
border-radius: .42667rem
border-radius: .32rem
}
.van-popup--top {
......@@ -3011,7 +3011,7 @@ ul {
}
.van-popup--top.van-popup--round {
border-radius: 0 0 .42667rem .42667rem
border-radius: 0 0 .32rem .32rem
}
.van-popup--right {
......@@ -3022,7 +3022,7 @@ ul {
}
.van-popup--right.van-popup--round {
border-radius: .42667rem 0 0 .42667rem
border-radius: .32rem 0 0 .32rem
}
.van-popup--bottom {
......@@ -3032,7 +3032,7 @@ ul {
}
.van-popup--bottom.van-popup--round {
border-radius: .42667rem .42667rem 0 0
border-radius: .32rem .32rem 0 0
}
.van-popup--left {
......@@ -3043,7 +3043,7 @@ ul {
}
.van-popup--left.van-popup--round {
border-radius: 0 .42667rem .42667rem 0
border-radius: 0 .32rem .32rem 0
}
.van-popup--safe-area-inset-bottom {
......@@ -3095,7 +3095,7 @@ ul {
position: absolute;
z-index: 1;
color: #c8c9cc;
font-size: .58667rem;
font-size: .44rem;
cursor: pointer
}
......@@ -3104,44 +3104,44 @@ ul {
}
.van-popup__close-icon--top-left {
top: .42667rem;
left: .42667rem
top: .32rem;
left: .32rem
}
.van-popup__close-icon--top-right {
top: .42667rem;
right: .42667rem
top: .32rem;
right: .32rem
}
.van-popup__close-icon--bottom-left {
bottom: .42667rem;
left: .42667rem
bottom: .32rem;
left: .32rem
}
.van-popup__close-icon--bottom-right {
right: .42667rem;
bottom: .42667rem
right: .32rem;
bottom: .32rem
}
.van-share-sheet__header {
padding: .32rem .42667rem .10667rem;
padding: .24rem .32rem .08rem;
text-align: center
}
.van-share-sheet__title {
margin-top: .21333rem;
margin-top: .16rem;
color: #323233;
font-weight: 400;
font-size: .37333rem;
line-height: .53333rem
font-size: .28rem;
line-height: .4rem
}
.van-share-sheet__description {
display: block;
margin-top: .21333rem;
margin-top: .16rem;
color: #969799;
font-size: .32rem;
line-height: .42667rem
font-size: .24rem;
line-height: .32rem
}
.van-share-sheet__options {
......@@ -3149,7 +3149,7 @@ ul {
display: -webkit-box;
display: -webkit-flex;
display: flex;
padding: .42667rem 0 .42667rem .21333rem;
padding: .32rem 0 .32rem .16rem;
overflow-x: auto;
overflow-y: visible;
-webkit-overflow-scrolling: touch
......@@ -3162,8 +3162,8 @@ ul {
pointer-events: none;
top: 0;
right: 0;
left: .42667rem;
border-top: .02667rem solid #ebedf0;
left: .32rem;
border-top: .02rem solid #ebedf0;
-webkit-transform: scaleY(.5);
transform: scaleY(.5)
}
......@@ -3193,30 +3193,30 @@ ul {
}
.van-share-sheet__icon {
width: 1.28rem;
height: 1.28rem;
margin: 0 .42667rem
width: .96rem;
height: .96rem;
margin: 0 .32rem
}
.van-share-sheet__name {
margin-top: .21333rem;
padding: 0 .10667rem;
margin-top: .16rem;
padding: 0 .08rem;
color: #646566;
font-size: .32rem
font-size: .24rem
}
.van-share-sheet__option-description {
padding: 0 .10667rem;
padding: 0 .08rem;
color: #c8c9cc;
font-size: .32rem
font-size: .24rem
}
.van-share-sheet__cancel {
display: block;
width: 100%;
padding: 0;
font-size: .42667rem;
line-height: 1.28rem;
font-size: .32rem;
line-height: .96rem;
text-align: center;
background: #fff;
border: none;
......@@ -3225,7 +3225,7 @@ ul {
.van-share-sheet__cancel:before {
display: block;
height: .21333rem;
height: .16rem;
background-color: #f7f8fa;
content: " "
}
......@@ -3254,12 +3254,12 @@ ul {
height: 0;
border-color: transparent;
border-style: solid;
border-width: .16rem
border-width: .12rem
}
.van-popover__content {
overflow: hidden;
border-radius: .21333rem
border-radius: .16rem
}
.van-popover__action {
......@@ -3271,11 +3271,11 @@ ul {
-webkit-align-items: center;
align-items: center;
box-sizing: border-box;
width: 3.41333rem;
height: 1.17333rem;
padding: 0 .42667rem;
font-size: .37333rem;
line-height: .53333rem;
width: 2.56rem;
height: .88rem;
padding: 0 .32rem;
font-size: .28rem;
line-height: .4rem;
cursor: pointer
}
......@@ -3300,8 +3300,8 @@ ul {
}
.van-popover__action-icon {
margin-right: .21333rem;
font-size: .53333rem
margin-right: .16rem;
font-size: .4rem
}
.van-popover__action--with-icon .van-popover__action-text {
......@@ -3333,7 +3333,7 @@ ul {
}
.van-popover[data-popper-placement=top-start] .van-popover__arrow {
left: .42667rem
left: .32rem
}
.van-popover[data-popper-placement=top-end] {
......@@ -3342,7 +3342,7 @@ ul {
}
.van-popover[data-popper-placement=top-end] .van-popover__arrow {
right: .42667rem
right: .32rem
}
.van-popover[data-popper-placement^=left] .van-popover__arrow {
......@@ -3368,7 +3368,7 @@ ul {
}
.van-popover[data-popper-placement=left-start] .van-popover__arrow {
top: .42667rem
top: .32rem
}
.van-popover[data-popper-placement=left-end] {
......@@ -3377,7 +3377,7 @@ ul {
}
.van-popover[data-popper-placement=left-end] .van-popover__arrow {
bottom: .42667rem
bottom: .32rem
}
.van-popover[data-popper-placement^=right] .van-popover__arrow {
......@@ -3403,7 +3403,7 @@ ul {
}
.van-popover[data-popper-placement=right-start] .van-popover__arrow {
top: .42667rem
top: .32rem
}
.van-popover[data-popper-placement=right-end] {
......@@ -3412,7 +3412,7 @@ ul {
}
.van-popover[data-popper-placement=right-end] .van-popover__arrow {
bottom: .42667rem
bottom: .32rem
}
.van-popover[data-popper-placement^=bottom] .van-popover__arrow {
......@@ -3438,7 +3438,7 @@ ul {
}
.van-popover[data-popper-placement=bottom-start] .van-popover__arrow {
left: .42667rem
left: .32rem
}
.van-popover[data-popper-placement=bottom-end] {
......@@ -3447,7 +3447,7 @@ ul {
}
.van-popover[data-popper-placement=bottom-end] .van-popover__arrow {
right: .42667rem
right: .32rem
}
.van-popover--light {
......@@ -3456,7 +3456,7 @@ ul {
.van-popover--light .van-popover__content {
background-color: #fff;
box-shadow: 0 .05333rem .32rem rgba(50, 50, 51, .12)
box-shadow: 0 .04rem .24rem rgba(50, 50, 51, .12)
}
.van-popover--light .van-popover__arrow {
......@@ -3532,10 +3532,10 @@ ul {
-webkit-justify-content: center;
justify-content: center;
box-sizing: border-box;
padding: .21333rem .42667rem;
padding: .16rem .32rem;
color: #fff;
font-size: .37333rem;
line-height: .53333rem;
font-size: .28rem;
line-height: .4rem;
white-space: pre-wrap;
text-align: center;
word-wrap: break-word
......@@ -3605,9 +3605,9 @@ ul {
.van-loading__spinner {
display: inline-block;
width: .8rem;
width: .6rem;
max-width: 100%;
height: .8rem;
height: .6rem;
max-height: 100%;
-webkit-animation: van-rotate .8s linear infinite;
animation: van-rotate .8s linear infinite
......@@ -3628,7 +3628,7 @@ ul {
.van-loading__spinner--spinner i:before {
display: block;
width: .05333rem;
width: .04rem;
height: 25%;
margin: 0 auto;
background-color: currentColor;
......@@ -3657,9 +3657,9 @@ ul {
.van-loading__text {
display: inline-block;
margin-left: .21333rem;
margin-left: .16rem;
color: #969799;
font-size: .37333rem;
font-size: .28rem;
vertical-align: middle
}
......@@ -3677,7 +3677,7 @@ ul {
}
.van-loading--vertical .van-loading__text {
margin: .21333rem 0 0
margin: .16rem 0 0
}
@-webkit-keyframes van-circular {
......@@ -3805,11 +3805,11 @@ ul {
position: absolute;
left: 0;
width: 100%;
height: 1.33333rem;
height: 1rem;
overflow: hidden;
color: #969799;
font-size: .37333rem;
line-height: 1.33333rem;
font-size: .28rem;
line-height: 1rem;
text-align: center;
-webkit-transform: translateY(-100%);
transform: translateY(-100%)
......@@ -3821,14 +3821,14 @@ ul {
left: 0;
z-index: 100;
width: 100%;
padding-bottom: .58667rem;
padding-bottom: .44rem;
background-color: #f2f3f5;
-webkit-user-select: none;
user-select: none
}
.van-number-keyboard--with-title {
border-radius: .53333rem .53333rem 0 0
border-radius: .4rem .4rem 0 0
}
.van-number-keyboard__header {
......@@ -3843,10 +3843,10 @@ ul {
-webkit-justify-content: center;
justify-content: center;
box-sizing: initial;
height: .90667rem;
padding-top: .16rem;
height: .68rem;
padding-top: .12rem;
color: #646566;
font-size: .42667rem
font-size: .32rem
}
.van-number-keyboard__title {
......@@ -3863,7 +3863,7 @@ ul {
display: -webkit-box;
display: -webkit-flex;
display: flex;
padding: .16rem 0 0 .16rem
padding: .12rem 0 0 .12rem
}
.van-number-keyboard__keys {
......@@ -3881,9 +3881,9 @@ ul {
position: absolute;
right: 0;
height: 100%;
padding: 0 .42667rem;
padding: 0 .32rem;
color: #576b95;
font-size: .37333rem;
font-size: .28rem;
background-color: initial;
border: none;
cursor: pointer
......@@ -3920,26 +3920,26 @@ ul {
-webkit-box-pack: center;
-webkit-justify-content: center;
justify-content: center;
height: 1.28rem;
font-size: .74667rem;
height: .96rem;
font-size: .56rem;
line-height: 1.5;
background-color: #fff;
border-radius: .21333rem;
border-radius: .16rem;
cursor: pointer
}
.van-key--large {
position: absolute;
top: 0;
right: .16rem;
bottom: .16rem;
right: .12rem;
bottom: .12rem;
left: 0;
height: auto
}
.van-key--blue,
.van-key--delete {
font-size: .42667rem
font-size: .32rem
}
.van-key--active {
......@@ -3963,7 +3963,7 @@ ul {
-webkit-flex-basis: 33%;
flex-basis: 33%;
box-sizing: border-box;
padding: 0 .16rem .16rem 0
padding: 0 .12rem .12rem 0
}
.van-key__wrapper--wider {
......@@ -3972,13 +3972,13 @@ ul {
}
.van-key__delete-icon {
width: .85333rem;
height: .58667rem
width: .64rem;
height: .44rem
}
.van-key__collapse-icon {
width: .8rem;
height: .64rem
width: .6rem;
height: .48rem
}
.van-key__loading-icon {
......@@ -3989,8 +3989,8 @@ ul {
.van-list__finished-text,
.van-list__loading {
color: #969799;
font-size: .37333rem;
line-height: 1.33333rem;
font-size: .28rem;
line-height: 1rem;
text-align: center
}
......@@ -4004,8 +4004,8 @@ ul {
display: inline-block;
box-sizing: initial;
width: 2em;
font-size: .8rem;
border: .02667rem solid rgba(0, 0, 0, .1);
font-size: .6rem;
border: .02rem solid rgba(0, 0, 0, .1);
border-radius: 1em;
cursor: pointer;
-webkit-transition: background-color .3s;
......@@ -4025,7 +4025,7 @@ ul {
width: 1em;
font-size: inherit;
border-radius: 100%;
box-shadow: 0 .08rem .02667rem 0 rgba(0, 0, 0, .05), 0 .05333rem .05333rem 0 rgba(0, 0, 0, .1), 0 .08rem .08rem 0 rgba(0, 0, 0, .05);
box-shadow: 0 .06rem .02rem 0 rgba(0, 0, 0, .05), 0 .04rem .04rem 0 rgba(0, 0, 0, .1), 0 .06rem .06rem 0 rgba(0, 0, 0, .05);
-webkit-transition: -webkit-transform .3s cubic-bezier(.3, 1.05, .4, 1.05);
transition: -webkit-transform .3s cubic-bezier(.3, 1.05, .4, 1.05);
transition: transform .3s cubic-bezier(.3, 1.05, .4, 1.05);
......@@ -4063,13 +4063,13 @@ ul {
}
.van-switch-cell {
padding-top: .24rem;
padding-bottom: .24rem
padding-top: .18rem;
padding-bottom: .18rem
}
.van-switch-cell--large {
padding-top: .29333rem;
padding-bottom: .29333rem
padding-top: .22rem;
padding-bottom: .22rem
}
.van-switch-cell .van-switch {
......@@ -4080,13 +4080,13 @@ ul {
position: relative;
display: inline-block;
box-sizing: border-box;
height: 1.17333rem;
height: .88rem;
margin: 0;
padding: 0;
font-size: .42667rem;
font-size: .32rem;
line-height: 1.2;
text-align: center;
border-radius: .05333rem;
border-radius: .04rem;
cursor: pointer;
-webkit-transition: opacity .2s;
transition: opacity .2s;
......@@ -4121,31 +4121,31 @@ ul {
.van-button--default {
color: #323233;
background-color: #fff;
border: .02667rem solid #ebedf0
border: .02rem solid #ebedf0
}
.van-button--primary {
color: #fff;
background-color: #07c160;
border: .02667rem solid #07c160
border: .02rem solid #07c160
}
.van-button--info {
color: #fff;
background-color: #1989fa;
border: .02667rem solid #1989fa
border: .02rem solid #1989fa
}
.van-button--danger {
color: #fff;
background-color: #ee0a24;
border: .02667rem solid #ee0a24
border: .02rem solid #ee0a24
}
.van-button--warning {
color: #fff;
background-color: #ff976a;
border: .02667rem solid #ff976a
border: .02rem solid #ff976a
}
.van-button--plain {
......@@ -4170,18 +4170,18 @@ ul {
.van-button--large {
width: 100%;
height: 1.33333rem
height: 1rem
}
.van-button--normal {
padding: 0 .4rem;
font-size: .37333rem
padding: 0 .3rem;
font-size: .28rem
}
.van-button--small {
height: .85333rem;
padding: 0 .21333rem;
font-size: .32rem
height: .64rem;
padding: 0 .16rem;
font-size: .24rem
}
.van-button__loading {
......@@ -4190,13 +4190,13 @@ ul {
}
.van-button--mini {
height: .64rem;
padding: 0 .10667rem;
font-size: .26667rem
height: .48rem;
padding: 0 .08rem;
font-size: .2rem
}
.van-button--mini+.van-button--mini {
margin-left: .10667rem
margin-left: .08rem
}
.van-button--block {
......@@ -4214,7 +4214,7 @@ ul {
}
.van-button--round {
border-radius: 26.64rem
border-radius: 19.98rem
}
.van-button--square {
......@@ -4247,7 +4247,7 @@ ul {
.van-button__loading+.van-button__text,
.van-button__text+.van-button__icon,
.van-button__text+.van-button__loading {
margin-left: .10667rem
margin-left: .08rem
}
.van-button--hairline {
......@@ -4256,11 +4256,11 @@ ul {
.van-button--hairline:after {
border-color: inherit;
border-radius: .10667rem
border-radius: .08rem
}
.van-button--hairline.van-button--round:after {
border-radius: 26.64rem
border-radius: 19.98rem
}
.van-button--hairline.van-button--square:after {
......@@ -4281,16 +4281,16 @@ ul {
}
.van-submit-bar__tip {
padding: .21333rem .32rem;
padding: .16rem .24rem;
color: #f56723;
font-size: .32rem;
font-size: .24rem;
line-height: 1.5;
background-color: #fff7cc
}
.van-submit-bar__tip-icon {
min-width: .48rem;
font-size: .32rem;
min-width: .36rem;
font-size: .24rem;
vertical-align: middle
}
......@@ -4308,16 +4308,16 @@ ul {
-webkit-box-pack: end;
-webkit-justify-content: flex-end;
justify-content: flex-end;
height: 1.33333rem;
padding: 0 .42667rem;
font-size: .37333rem
height: 1rem;
padding: 0 .32rem;
font-size: .28rem
}
.van-submit-bar__text {
-webkit-box-flex: 1;
-webkit-flex: 1;
flex: 1;
padding-right: .32rem;
padding-right: .24rem;
color: #323233;
text-align: right
}
......@@ -4327,24 +4327,24 @@ ul {
}
.van-submit-bar__suffix-label {
margin-left: .13333rem;
margin-left: .1rem;
font-weight: 500
}
.van-submit-bar__price {
color: #ee0a24;
font-weight: 500;
font-size: .32rem
font-size: .24rem
}
.van-submit-bar__price--integer {
font-size: .53333rem;
font-size: .4rem;
font-family: Avenir-Heavy, PingFang SC, Helvetica Neue, Arial, sans-serif
}
.van-submit-bar__button {
width: 2.93333rem;
height: 1.06667rem;
width: 2.2rem;
height: .8rem;
font-weight: 500;
border: none
}
......@@ -4362,23 +4362,23 @@ ul {
-webkit-box-flex: 1;
-webkit-flex: 1;
flex: 1;
height: 1.06667rem;
height: .8rem;
font-weight: 500;
font-size: .37333rem;
font-size: .28rem;
border: none;
border-radius: 0
}
.van-goods-action-button--first {
margin-left: .13333rem;
border-top-left-radius: 26.64rem;
border-bottom-left-radius: 26.64rem
margin-left: .1rem;
border-top-left-radius: 19.98rem;
border-bottom-left-radius: 19.98rem
}
.van-goods-action-button--last {
margin-right: .13333rem;
border-top-right-radius: 26.64rem;
border-bottom-right-radius: 26.64rem
margin-right: .1rem;
border-top-right-radius: 19.98rem;
border-bottom-right-radius: 19.98rem
}
.van-goods-action-button--warning {
......@@ -4393,7 +4393,7 @@ ul {
@media (max-width:321px) {
.van-goods-action-button {
font-size: .34667rem
font-size: .26rem
}
}
......@@ -4415,18 +4415,18 @@ ul {
-webkit-justify-content: center;
justify-content: center;
box-sizing: initial;
width: 2.34667rem;
width: 1.76rem;
max-width: 70%;
min-height: 2.34667rem;
padding: .42667rem;
min-height: 1.76rem;
padding: .32rem;
color: #fff;
font-size: .37333rem;
line-height: .53333rem;
font-size: .28rem;
line-height: .4rem;
white-space: pre-wrap;
text-align: center;
word-break: break-all;
background-color: rgba(0, 0, 0, .7);
border-radius: .21333rem;
border-radius: .16rem;
-webkit-transform: translate3d(-50%, -50%, 0);
transform: translate3d(-50%, -50%, 0)
}
......@@ -4443,9 +4443,9 @@ ul {
.van-toast--text {
width: -webkit-fit-content;
width: fit-content;
min-width: 2.56rem;
min-width: 1.92rem;
min-height: 0;
padding: .21333rem .32rem
padding: .16rem .24rem
}
.van-toast--html .van-toast__text,
......@@ -4463,16 +4463,16 @@ ul {
}
.van-toast__icon {
font-size: .96rem
font-size: .72rem
}
.van-toast__loading {
padding: .10667rem;
padding: .08rem;
color: #fff
}
.van-toast__text {
margin-top: .21333rem
margin-top: .16rem
}
.van-calendar {
......@@ -4498,31 +4498,31 @@ ul {
}
.van-calendar__popup .van-popup__close-icon {
top: .29333rem
top: .22rem
}
.van-calendar__header {
-webkit-flex-shrink: 0;
flex-shrink: 0;
box-shadow: 0 .05333rem .26667rem hsla(220, 1%, 50%, .16)
box-shadow: 0 .04rem .2rem hsla(220, 1%, 50%, .16)
}
.van-calendar__header-subtitle,
.van-calendar__header-title,
.van-calendar__month-title {
height: 1.17333rem;
height: .88rem;
font-weight: 500;
line-height: 1.17333rem;
line-height: .88rem;
text-align: center
}
.van-calendar__header-title {
font-size: .42667rem
font-size: .32rem
}
.van-calendar__header-subtitle,
.van-calendar__month-title {
font-size: .37333rem
font-size: .28rem
}
.van-calendar__weekdays {
......@@ -4535,8 +4535,8 @@ ul {
-webkit-box-flex: 1;
-webkit-flex: 1;
flex: 1;
font-size: .32rem;
line-height: .8rem;
font-size: .24rem;
line-height: .6rem;
text-align: center
}
......@@ -4565,7 +4565,7 @@ ul {
left: 50%;
z-index: 0;
color: rgba(242, 243, 245, .8);
font-size: 4.26667rem;
font-size: 3.2rem;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
pointer-events: none
......@@ -4588,8 +4588,8 @@ ul {
.van-calendar__day {
position: relative;
width: 14.285%;
height: 1.70667rem;
font-size: .42667rem;
height: 1.28rem;
font-size: .32rem;
cursor: pointer
}
......@@ -4603,16 +4603,16 @@ ul {
}
.van-calendar__day--start {
border-radius: .10667rem 0 0 .10667rem
border-radius: .08rem 0 0 .08rem
}
.van-calendar__day--end {
border-radius: 0 .10667rem .10667rem 0
border-radius: 0 .08rem .08rem 0
}
.van-calendar__day--multiple-selected,
.van-calendar__day--start-end {
border-radius: .10667rem
border-radius: .08rem
}
.van-calendar__day--middle {
......@@ -4640,38 +4640,38 @@ ul {
position: absolute;
right: 0;
left: 0;
font-size: .26667rem;
line-height: .37333rem
font-size: .2rem;
line-height: .28rem
}
@media (max-width:350px) {
.van-calendar__bottom-info,
.van-calendar__top-info {
font-size: .24rem
font-size: .18rem
}
}
.van-calendar__top-info {
top: .16rem
top: .12rem
}
.van-calendar__bottom-info {
bottom: .16rem
bottom: .12rem
}
.van-calendar__selected-day {
width: 1.44rem;
height: 1.44rem;
width: 1.08rem;
height: 1.08rem;
color: #fff;
background-color: #ee0a24;
border-radius: .10667rem
border-radius: .08rem
}
.van-calendar__footer {
-webkit-flex-shrink: 0;
flex-shrink: 0;
padding: 0 .42667rem;
padding: 0 .32rem;
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom)
}
......@@ -4681,8 +4681,8 @@ ul {
}
.van-calendar__confirm {
height: .96rem;
margin: .18667rem 0
height: .72rem;
margin: .14rem 0
}
.van-picker {
......@@ -4702,14 +4702,14 @@ ul {
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
height: 1.17333rem
height: .88rem
}
.van-picker__cancel,
.van-picker__confirm {
height: 100%;
padding: 0 .42667rem;
font-size: .37333rem;
padding: 0 .32rem;
font-size: .28rem;
background-color: initial;
border: none;
cursor: pointer
......@@ -4731,8 +4731,8 @@ ul {
.van-picker__title {
max-width: 50%;
font-weight: 500;
font-size: .42667rem;
line-height: .53333rem;
font-size: .32rem;
line-height: .4rem;
text-align: center
}
......@@ -4767,8 +4767,8 @@ ul {
.van-picker__frame {
top: 50%;
right: .42667rem;
left: .42667rem;
right: .32rem;
left: .32rem;
z-index: 2;
-webkit-transform: translateY(-50%);
transform: translateY(-50%)
......@@ -4799,7 +4799,7 @@ ul {
-webkit-flex: 1;
flex: 1;
overflow: hidden;
font-size: .42667rem
font-size: .32rem
}
.van-picker-column__wrapper {
......@@ -4817,7 +4817,7 @@ ul {
-webkit-box-pack: center;
-webkit-justify-content: center;
justify-content: center;
padding: 0 .10667rem;
padding: 0 .08rem;
color: #000
}
......@@ -4851,8 +4851,8 @@ ul {
.van-action-sheet__item {
display: block;
width: 100%;
padding: .37333rem .42667rem;
font-size: .42667rem;
padding: .28rem .32rem;
font-size: .32rem;
background-color: #fff;
border: none;
cursor: pointer
......@@ -4864,7 +4864,7 @@ ul {
}
.van-action-sheet__item {
line-height: .58667rem
line-height: .44rem
}
.van-action-sheet__item--disabled,
......@@ -4893,15 +4893,15 @@ ul {
}
.van-action-sheet__subname {
margin-top: .21333rem;
margin-top: .16rem;
color: #969799;
font-size: .32rem;
line-height: .48rem
font-size: .24rem;
line-height: .36rem
}
.van-action-sheet__gap {
display: block;
height: .21333rem;
height: .16rem;
background-color: #f7f8fa
}
......@@ -4909,8 +4909,8 @@ ul {
-webkit-flex-shrink: 0;
flex-shrink: 0;
font-weight: 500;
font-size: .42667rem;
line-height: 1.28rem;
font-size: .32rem;
line-height: .96rem;
text-align: center
}
......@@ -4918,10 +4918,10 @@ ul {
position: relative;
-webkit-flex-shrink: 0;
flex-shrink: 0;
padding: .53333rem .42667rem;
padding: .4rem .32rem;
color: #969799;
font-size: .37333rem;
line-height: .53333rem;
font-size: .28rem;
line-height: .4rem;
text-align: center
}
......@@ -4930,17 +4930,17 @@ ul {
box-sizing: border-box;
content: " ";
pointer-events: none;
right: .42667rem;
right: .32rem;
bottom: 0;
left: .42667rem;
border-bottom: .02667rem solid #ebedf0;
left: .32rem;
border-bottom: .02rem solid #ebedf0;
-webkit-transform: scaleY(.5);
transform: scaleY(.5)
}
.van-action-sheet__loading-icon .van-loading__spinner {
width: .58667rem;
height: .58667rem
width: .44rem;
height: .44rem
}
.van-action-sheet__close {
......@@ -4948,9 +4948,9 @@ ul {
top: 0;
right: 0;
z-index: 1;
padding: 0 .42667rem;
padding: 0 .32rem;
color: #c8c9cc;
font-size: .58667rem;
font-size: .44rem;
line-height: inherit
}
......@@ -4970,7 +4970,7 @@ ul {
-webkit-align-items: center;
align-items: center;
box-sizing: initial;
height: 1.33333rem;
height: 1rem;
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
background-color: #fff
......@@ -4984,11 +4984,11 @@ ul {
position: fixed;
top: 45%;
left: 50%;
width: 8.53333rem;
width: 6.4rem;
overflow: hidden;
font-size: .42667rem;
font-size: .32rem;
background-color: #fff;
border-radius: .42667rem;
border-radius: .32rem;
-webkit-transform: translate3d(-50%, -50%, 0);
transform: translate3d(-50%, -50%, 0);
-webkit-backface-visibility: hidden;
......@@ -5008,14 +5008,14 @@ ul {
}
.van-dialog__header {
padding-top: .69333rem;
padding-top: .52rem;
font-weight: 500;
line-height: .64rem;
line-height: .48rem;
text-align: center
}
.van-dialog__header--isolated {
padding: .64rem 0
padding: .48rem 0
}
.van-dialog__content--isolated {
......@@ -5025,7 +5025,7 @@ ul {
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
min-height: 2.77333rem
min-height: 2.08rem
}
.van-dialog__message {
......@@ -5033,10 +5033,10 @@ ul {
-webkit-flex: 1;
flex: 1;
max-height: 60vh;
padding: .69333rem .64rem;
padding: .52rem .48rem;
overflow-y: auto;
font-size: .37333rem;
line-height: .53333rem;
font-size: .28rem;
line-height: .4rem;
white-space: pre-wrap;
text-align: center;
word-wrap: break-word;
......@@ -5044,7 +5044,7 @@ ul {
}
.van-dialog__message--has-title {
padding-top: .21333rem;
padding-top: .16rem;
color: #646566
}
......@@ -5070,7 +5070,7 @@ ul {
-webkit-box-flex: 1;
-webkit-flex: 1;
flex: 1;
height: 1.28rem;
height: .96rem;
margin: 0;
border: 0
}
......@@ -5083,17 +5083,17 @@ ul {
.van-dialog--round-button .van-dialog__footer {
position: relative;
height: auto;
padding: .21333rem .64rem .42667rem
padding: .16rem .48rem .32rem
}
.van-dialog--round-button .van-dialog__message {
padding-bottom: .42667rem;
padding-bottom: .32rem;
color: #323233
}
.van-dialog--round-button .van-dialog__cancel,
.van-dialog--round-button .van-dialog__confirm {
height: .96rem
height: .72rem
}
.van-dialog--round-button .van-dialog__confirm {
......@@ -5113,12 +5113,12 @@ ul {
}
.van-contact-edit {
padding: .42667rem
padding: .32rem
}
.van-contact-edit__fields {
overflow: hidden;
border-radius: .10667rem
border-radius: .08rem
}
.van-contact-edit__fields .van-field__label {
......@@ -5126,28 +5126,28 @@ ul {
}
.van-contact-edit__switch-cell {
margin-top: .26667rem;
padding-top: .24rem;
padding-bottom: .24rem;
border-radius: .10667rem
margin-top: .2rem;
padding-top: .18rem;
padding-bottom: .18rem;
border-radius: .08rem
}
.van-contact-edit__buttons {
padding: .85333rem 0
padding: .64rem 0
}
.van-contact-edit .van-button {
margin-bottom: .32rem;
font-size: .42667rem
margin-bottom: .24rem;
font-size: .32rem
}
.van-address-edit {
padding: .32rem
padding: .24rem
}
.van-address-edit__fields {
overflow: hidden;
border-radius: .21333rem
border-radius: .16rem
}
.van-address-edit__fields .van-field__label {
......@@ -5155,17 +5155,17 @@ ul {
}
.van-address-edit__default {
margin-top: .32rem;
margin-top: .24rem;
overflow: hidden;
border-radius: .21333rem
border-radius: .16rem
}
.van-address-edit__buttons {
padding: .85333rem .10667rem
padding: .64rem .08rem
}
.van-address-edit__buttons .van-button {
margin-bottom: .32rem
margin-bottom: .24rem
}
.van-address-edit-detail {
......@@ -5182,7 +5182,7 @@ ul {
.van-address-edit-detail__finish {
color: #1989fa;
font-size: .32rem
font-size: .24rem
}
.van-radio-group--horizontal {
......@@ -5196,11 +5196,11 @@ ul {
.van-contact-list {
box-sizing: border-box;
height: 100%;
padding-bottom: 2.13333rem
padding-bottom: 1.6rem
}
.van-contact-list__item {
padding: .42667rem
padding: .32rem
}
.van-contact-list__item-value {
......@@ -5210,15 +5210,15 @@ ul {
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
padding-right: .85333rem;
padding-left: .21333rem
padding-right: .64rem;
padding-left: .16rem
}
.van-contact-list__item-tag {
-webkit-box-flex: 0;
-webkit-flex: none;
flex: none;
margin-left: .21333rem;
margin-left: .16rem;
padding-top: 0;
padding-bottom: 0;
line-height: 1.4em
......@@ -5232,7 +5232,7 @@ ul {
}
.van-contact-list__edit {
font-size: .42667rem
font-size: .32rem
}
.van-contact-list__bottom {
......@@ -5241,21 +5241,21 @@ ul {
bottom: 0;
left: 0;
z-index: 999;
padding: 0 .42667rem;
padding: 0 .32rem;
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
background-color: #fff
}
.van-contact-list__add {
height: 1.06667rem;
margin: .13333rem 0
height: .8rem;
margin: .1rem 0
}
.van-address-list {
box-sizing: border-box;
height: 100%;
padding: .32rem .32rem 2.13333rem
padding: .24rem .24rem 1.6rem
}
.van-address-list__bottom {
......@@ -5265,36 +5265,36 @@ ul {
z-index: 999;
box-sizing: border-box;
width: 100%;
padding: 0 .42667rem;
padding: 0 .32rem;
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
background-color: #fff
}
.van-address-list__add {
height: 1.06667rem;
margin: .13333rem 0
height: .8rem;
margin: .1rem 0
}
.van-address-list__disabled-text {
padding: .53333rem 0 .42667rem;
padding: .4rem 0 .32rem;
color: #969799;
font-size: .37333rem;
line-height: .53333rem
font-size: .28rem;
line-height: .4rem
}
.van-address-item {
padding: .32rem;
padding: .24rem;
background-color: #fff;
border-radius: .21333rem
border-radius: .16rem
}
.van-address-item:not(:last-child) {
margin-bottom: .32rem
margin-bottom: .24rem
}
.van-address-item__value {
padding-right: 1.17333rem
padding-right: .88rem
}
.van-address-item__name {
......@@ -5304,16 +5304,16 @@ ul {
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
margin-bottom: .21333rem;
font-size: .42667rem;
line-height: .58667rem
margin-bottom: .16rem;
font-size: .32rem;
line-height: .44rem
}
.van-address-item__tag {
-webkit-box-flex: 0;
-webkit-flex: none;
flex: none;
margin-left: .21333rem;
margin-left: .16rem;
padding-top: 0;
padding-bottom: 0;
line-height: 1.4em
......@@ -5321,8 +5321,8 @@ ul {
.van-address-item__address {
color: #323233;
font-size: .34667rem;
line-height: .48rem
font-size: .26rem;
line-height: .36rem
}
.van-address-item--disabled .van-address-item__address,
......@@ -5333,9 +5333,9 @@ ul {
.van-address-item__edit {
position: absolute;
top: 50%;
right: .42667rem;
right: .32rem;
color: #969799;
font-size: .53333rem;
font-size: .4rem;
-webkit-transform: translateY(-50%);
transform: translateY(-50%)
}
......@@ -5345,7 +5345,7 @@ ul {
}
.van-address-item .van-radio__label {
margin-left: .32rem
margin-left: .24rem
}
.van-address-item .van-radio__icon--checked .van-icon {
......@@ -5356,17 +5356,17 @@ ul {
.van-badge {
display: inline-block;
box-sizing: border-box;
min-width: .42667rem;
padding: 0 .08rem;
min-width: .32rem;
padding: 0 .06rem;
color: #fff;
font-weight: 500;
font-size: .32rem;
font-size: .24rem;
font-family: -apple-system-font, Helvetica Neue, Arial, sans-serif;
line-height: 1.2;
text-align: center;
background-color: #ee0a24;
border: .02667rem solid #fff;
border-radius: 26.64rem
border: .02rem solid #fff;
border-radius: 19.98rem
}
.van-badge--fixed {
......@@ -5380,9 +5380,9 @@ ul {
}
.van-badge--dot {
width: .21333rem;
width: .16rem;
min-width: 0;
height: .21333rem;
height: .16rem;
background-color: #ee0a24;
border-radius: 100%
}
......@@ -5428,10 +5428,10 @@ ul {
-webkit-justify-content: center;
justify-content: center;
box-sizing: border-box;
padding: 0 .10667rem;
padding: 0 .08rem;
color: #646566;
font-size: .37333rem;
line-height: .53333rem;
font-size: .28rem;
line-height: .4rem;
cursor: pointer
}
......@@ -5474,7 +5474,7 @@ ul {
-webkit-box-flex: 1;
-webkit-flex: 1 0 auto;
flex: 1 0 auto;
padding: 0 .32rem
padding: 0 .24rem
}
.van-tabs__wrap--scrollable .van-tabs__nav {
......@@ -5500,25 +5500,25 @@ ul {
.van-tabs__nav--line {
box-sizing: initial;
height: 100%;
padding-bottom: .4rem
padding-bottom: .3rem
}
.van-tabs__nav--line.van-tabs__nav--complete {
padding-right: .21333rem;
padding-left: .21333rem
padding-right: .16rem;
padding-left: .16rem
}
.van-tabs__nav--card {
box-sizing: border-box;
height: .8rem;
margin: 0 .42667rem;
border: .02667rem solid #ee0a24;
border-radius: .05333rem
height: .6rem;
margin: 0 .32rem;
border: .02rem solid #ee0a24;
border-radius: .04rem
}
.van-tabs__nav--card .van-tab {
color: #ee0a24;
border-right: .02667rem solid #ee0a24
border-right: .02rem solid #ee0a24
}
.van-tabs__nav--card .van-tab:last-child {
......@@ -5536,13 +5536,13 @@ ul {
.van-tabs__line {
position: absolute;
bottom: .4rem;
bottom: .3rem;
left: 0;
z-index: 1;
width: 1.06667rem;
height: .08rem;
width: .8rem;
height: .06rem;
background-color: #ee0a24;
border-radius: .08rem
border-radius: .06rem
}
.van-tabs__track {
......@@ -5560,11 +5560,11 @@ ul {
}
.van-tabs--line .van-tabs__wrap {
height: 1.17333rem
height: .88rem
}
.van-tabs--card>.van-tabs__wrap {
height: .8rem
height: .6rem
}
.van-coupon-list {
......@@ -5574,15 +5574,15 @@ ul {
}
.van-coupon-list__field {
padding: .13333rem 0 .13333rem .42667rem
padding: .1rem 0 .1rem .32rem
}
.van-coupon-list__field .van-field__body {
height: .90667rem;
padding-left: .32rem;
line-height: .90667rem;
height: .68rem;
padding-left: .24rem;
line-height: .68rem;
background: #f7f8fa;
border-radius: .45333rem
border-radius: .34rem
}
.van-coupon-list__field .van-field__body::-webkit-input-placeholder {
......@@ -5611,25 +5611,25 @@ ul {
-webkit-box-flex: 0;
-webkit-flex: none;
flex: none;
height: .85333rem;
font-size: .42667rem;
line-height: .8rem;
height: .64rem;
font-size: .32rem;
line-height: .6rem;
border: 0
}
.van-coupon-list .van-tabs__wrap {
box-shadow: 0 .16rem .32rem -.32rem #969799
box-shadow: 0 .12rem .24rem -.24rem #969799
}
.van-coupon-list__list {
box-sizing: border-box;
padding: .42667rem 0 .64rem;
padding: .32rem 0 .48rem;
overflow-y: auto;
-webkit-overflow-scrolling: touch
}
.van-coupon-list__list--with-bottom {
padding-bottom: 1.76rem
padding-bottom: 1.32rem
}
.van-coupon-list__bottom {
......@@ -5639,30 +5639,30 @@ ul {
z-index: 999;
box-sizing: border-box;
width: 100%;
padding: .13333rem .42667rem;
padding: .1rem .32rem;
font-weight: 500;
background-color: #fff
}
.van-coupon-list__close {
height: 1.06667rem
height: .8rem
}
.van-coupon-list__empty {
padding-top: 1.6rem;
padding-top: 1.2rem;
text-align: center
}
.van-coupon-list__empty p {
margin: .42667rem 0;
margin: .32rem 0;
color: #969799;
font-size: .37333rem;
line-height: .53333rem
font-size: .28rem;
line-height: .4rem
}
.van-coupon-list__empty img {
width: 5.33333rem;
height: 5.33333rem
width: 4rem;
height: 4rem
}
.van-cascader__header {
......@@ -5675,19 +5675,19 @@ ul {
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
height: 1.28rem;
padding: 0 .42667rem
height: .96rem;
padding: 0 .32rem
}
.van-cascader__title {
font-weight: 500;
font-size: .42667rem;
line-height: .53333rem
font-size: .32rem;
line-height: .4rem
}
.van-cascader__close-icon {
color: #c8c9cc;
font-size: .58667rem
font-size: .44rem
}
.van-cascader__close-icon:active {
......@@ -5698,16 +5698,16 @@ ul {
-webkit-box-flex: 0;
-webkit-flex: none;
flex: none;
padding: 0 .26667rem
padding: 0 .2rem
}
.van-cascader__tabs.van-tabs--line .van-tabs__wrap {
height: 1.28rem
height: .96rem
}
.van-cascader__tabs .van-tabs__nav--complete {
padding-right: .16rem;
padding-left: .16rem
padding-right: .12rem;
padding-left: .12rem
}
.van-cascader__tab {
......@@ -5730,9 +5730,9 @@ ul {
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
padding: .26667rem .42667rem;
font-size: .37333rem;
line-height: .53333rem
padding: .2rem .32rem;
font-size: .28rem;
line-height: .4rem
}
.van-cascader__option:active {
......@@ -5745,13 +5745,13 @@ ul {
}
.van-cascader__selected-icon {
font-size: .48rem
font-size: .36rem
}
.van-cascader__options {
box-sizing: border-box;
height: 10.24rem;
padding-top: .16rem;
height: 7.68rem;
padding-top: .12rem;
overflow-y: auto;
-webkit-overflow-scrolling: touch
}
......@@ -5761,20 +5761,20 @@ ul {
}
.van-cell-group--inset {
margin: 0 .42667rem;
margin: 0 .32rem;
overflow: hidden;
border-radius: .21333rem
border-radius: .16rem
}
.van-cell-group__title {
padding: .42667rem .42667rem .21333rem;
padding: .32rem .32rem .16rem;
color: #969799;
font-size: .37333rem;
line-height: .42667rem
font-size: .28rem;
line-height: .32rem
}
.van-cell-group__title--inset {
padding: .42667rem .42667rem .21333rem .85333rem
padding: .32rem .32rem .16rem .64rem
}
.van-panel {
......@@ -5786,7 +5786,7 @@ ul {
}
.van-panel__footer {
padding: .21333rem .42667rem
padding: .16rem .32rem
}
.van-checkbox-group--horizontal {
......@@ -5800,8 +5800,8 @@ ul {
.van-circle {
position: relative;
display: inline-block;
width: 2.66667rem;
height: 2.66667rem;
width: 2rem;
height: 2rem;
text-align: center
}
......@@ -5829,11 +5829,11 @@ ul {
left: 0;
box-sizing: border-box;
width: 100%;
padding: 0 .10667rem;
padding: 0 .08rem;
color: #323233;
font-weight: 500;
font-size: .37333rem;
line-height: .53333rem;
font-size: .28rem;
line-height: .4rem;
-webkit-transform: translateY(-50%);
transform: translateY(-50%)
}
......@@ -5841,7 +5841,7 @@ ul {
.van-col {
float: left;
box-sizing: border-box;
min-height: .02667rem
min-height: .02rem
}
.van-col--1 {
......@@ -6038,8 +6038,8 @@ ul {
.van-count-down {
color: #323233;
font-size: .37333rem;
line-height: .53333rem
font-size: .28rem;
line-height: .4rem
}
.van-divider {
......@@ -6049,10 +6049,10 @@ ul {
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
margin: .42667rem 0;
margin: .32rem 0;
color: #969799;
font-size: .37333rem;
line-height: .64rem;
font-size: .28rem;
line-height: .48rem;
border-color: #ebedf0;
border-style: solid;
border-width: 0
......@@ -6065,10 +6065,10 @@ ul {
-webkit-flex: 1;
flex: 1;
box-sizing: border-box;
height: .02667rem;
height: .02rem;
border-color: inherit;
border-style: inherit;
border-width: .02667rem 0 0
border-width: .02rem 0 0
}
.van-divider:before {
......@@ -6088,13 +6088,13 @@ ul {
.van-divider--content-center:before,
.van-divider--content-left:before,
.van-divider--content-right:before {
margin-right: .42667rem
margin-right: .32rem
}
.van-divider--content-center:after,
.van-divider--content-left:after,
.van-divider--content-right:after {
margin-left: .42667rem;
margin-left: .32rem;
content: ""
}
......@@ -6113,9 +6113,9 @@ ul {
display: -webkit-box;
display: -webkit-flex;
display: flex;
height: 1.28rem;
height: .96rem;
background-color: #fff;
box-shadow: 0 .05333rem .32rem hsla(210, 1%, 40%, .12)
box-shadow: 0 .04rem .24rem hsla(210, 1%, 40%, .12)
}
.van-dropdown-menu__bar--opened {
......@@ -6155,18 +6155,18 @@ ul {
position: relative;
box-sizing: border-box;
max-width: 100%;
padding: 0 .21333rem;
padding: 0 .16rem;
color: #323233;
font-size: .4rem;
line-height: .58667rem
font-size: .3rem;
line-height: .44rem
}
.van-dropdown-menu__title:after {
position: absolute;
top: 50%;
right: -.10667rem;
margin-top: -.13333rem;
border: .08rem solid;
right: -.08rem;
margin-top: -.1rem;
border: .06rem solid;
border-color: transparent transparent #dcdee0 #dcdee0;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
......@@ -6183,7 +6183,7 @@ ul {
}
.van-dropdown-menu__title--down:after {
margin-top: -.02667rem;
margin-top: -.02rem;
-webkit-transform: rotate(135deg);
transform: rotate(135deg)
}
......@@ -6203,12 +6203,12 @@ ul {
-webkit-justify-content: center;
justify-content: center;
box-sizing: border-box;
padding: .85333rem 0
padding: .64rem 0
}
.van-empty__image {
width: 4.26667rem;
height: 4.26667rem
width: 3.2rem;
height: 3.2rem
}
.van-empty__image img {
......@@ -6217,15 +6217,15 @@ ul {
}
.van-empty__description {
margin-top: .42667rem;
padding: 0 1.6rem;
margin-top: .32rem;
padding: 0 1.2rem;
color: #969799;
font-size: .37333rem;
line-height: .53333rem
font-size: .28rem;
line-height: .4rem
}
.van-empty__bottom {
margin-top: .64rem
margin-top: .48rem
}
.van-grid {
......@@ -6262,7 +6262,7 @@ ul {
.van-swipe__indicators {
position: absolute;
bottom: .32rem;
bottom: .24rem;
left: 50%;
display: -webkit-box;
display: -webkit-flex;
......@@ -6274,7 +6274,7 @@ ul {
.van-swipe__indicators--vertical {
top: 50%;
bottom: auto;
left: .32rem;
left: .24rem;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
......@@ -6284,12 +6284,12 @@ ul {
}
.van-swipe__indicators--vertical .van-swipe__indicator:not(:last-child) {
margin-bottom: .16rem
margin-bottom: .12rem
}
.van-swipe__indicator {
width: .16rem;
height: .16rem;
width: .12rem;
height: .12rem;
background-color: #ebedf0;
border-radius: 100%;
opacity: .3;
......@@ -6298,7 +6298,7 @@ ul {
}
.van-swipe__indicator:not(:last-child) {
margin-right: .16rem
margin-right: .12rem
}
.van-swipe__indicator--active {
......@@ -6368,7 +6368,7 @@ ul {
}
.van-image-preview__image .van-image__error-icon {
font-size: .96rem
font-size: .72rem
}
.van-image-preview__image .van-image__loading {
......@@ -6377,12 +6377,12 @@ ul {
.van-image-preview__index {
position: absolute;
top: .42667rem;
top: .32rem;
left: 50%;
color: #fff;
font-size: .37333rem;
line-height: .53333rem;
text-shadow: 0 .02667rem .02667rem #323233;
font-size: .28rem;
line-height: .4rem;
text-shadow: 0 .02rem .02rem #323233;
-webkit-transform: translate(-50%);
transform: translate(-50%)
}
......@@ -6395,7 +6395,7 @@ ul {
position: absolute;
z-index: 1;
color: #c8c9cc;
font-size: .58667rem;
font-size: .44rem;
cursor: pointer
}
......@@ -6404,23 +6404,23 @@ ul {
}
.van-image-preview__close-icon--top-left {
top: .42667rem;
left: .42667rem
top: .32rem;
left: .32rem
}
.van-image-preview__close-icon--top-right {
top: .42667rem;
right: .42667rem
top: .32rem;
right: .32rem
}
.van-image-preview__close-icon--bottom-left {
bottom: .42667rem;
left: .42667rem
bottom: .32rem;
left: .32rem
}
.van-image-preview__close-icon--bottom-right {
right: .42667rem;
bottom: .42667rem
right: .32rem;
bottom: .32rem
}
.van-uploader {
......@@ -6475,9 +6475,9 @@ ul {
-webkit-justify-content: center;
justify-content: center;
box-sizing: border-box;
width: 2.13333rem;
height: 2.13333rem;
margin: 0 .21333rem .21333rem 0;
width: 1.6rem;
height: 1.6rem;
margin: 0 .16rem .16rem 0;
background-color: #f7f8fa
}
......@@ -6491,25 +6491,25 @@ ul {
.van-uploader__upload-icon {
color: #dcdee0;
font-size: .64rem
font-size: .48rem
}
.van-uploader__upload-text {
margin-top: .21333rem;
margin-top: .16rem;
color: #969799;
font-size: .32rem
font-size: .24rem
}
.van-uploader__preview {
position: relative;
margin: 0 .21333rem .21333rem 0;
margin: 0 .16rem .16rem 0;
cursor: pointer
}
.van-uploader__preview-image {
display: block;
width: 2.13333rem;
height: 2.13333rem;
width: 1.6rem;
height: 1.6rem;
overflow: hidden
}
......@@ -6517,18 +6517,18 @@ ul {
position: absolute;
top: 0;
right: 0;
width: .37333rem;
height: .37333rem;
width: .28rem;
height: .28rem;
background-color: rgba(0, 0, 0, .7);
border-radius: 0 0 0 .32rem
border-radius: 0 0 0 .24rem
}
.van-uploader__preview-delete-icon {
position: absolute;
top: -.05333rem;
right: -.05333rem;
top: -.04rem;
right: -.04rem;
color: #fff;
font-size: .42667rem;
font-size: .32rem;
-webkit-transform: scale(.5);
transform: scale(.5)
}
......@@ -6561,19 +6561,19 @@ ul {
}
.van-uploader__mask-icon {
font-size: .58667rem
font-size: .44rem
}
.van-uploader__mask-message {
margin-top: .16rem;
padding: 0 .10667rem;
font-size: .32rem;
line-height: .37333rem
margin-top: .12rem;
padding: 0 .08rem;
font-size: .24rem;
line-height: .28rem
}
.van-uploader__loading {
width: .58667rem;
height: .58667rem;
width: .44rem;
height: .44rem;
color: #fff
}
......@@ -6591,34 +6591,34 @@ ul {
-webkit-box-pack: center;
-webkit-justify-content: center;
justify-content: center;
width: 2.13333rem;
height: 2.13333rem;
width: 1.6rem;
height: 1.6rem;
background-color: #f7f8fa
}
.van-uploader__file-icon {
color: #646566;
font-size: .53333rem
font-size: .4rem
}
.van-uploader__file-name {
box-sizing: border-box;
width: 100%;
margin-top: .21333rem;
padding: 0 .10667rem;
margin-top: .16rem;
padding: 0 .08rem;
color: #646566;
font-size: .32rem;
font-size: .24rem;
text-align: center
}
.van-index-anchor {
z-index: 1;
box-sizing: border-box;
padding: 0 .42667rem;
padding: 0 .32rem;
color: #323233;
font-weight: 500;
font-size: .37333rem;
line-height: .85333rem;
font-size: .28rem;
line-height: .64rem;
background-color: initial
}
......@@ -6652,10 +6652,10 @@ ul {
}
.van-index-bar__index {
padding: 0 .21333rem 0 .42667rem;
padding: 0 .16rem 0 .32rem;
font-weight: 500;
font-size: .26667rem;
line-height: .37333rem
font-size: .2rem;
line-height: .28rem
}
.van-index-bar__index--active {
......@@ -6666,7 +6666,7 @@ ul {
display: -webkit-box;
display: -webkit-flex;
display: flex;
font-size: .37333rem
font-size: .28rem
}
.van-pagination__item,
......@@ -6687,8 +6687,8 @@ ul {
-webkit-flex: 1;
flex: 1;
box-sizing: border-box;
min-width: .96rem;
height: 1.06667rem;
min-width: .72rem;
height: .8rem;
color: #1989fa;
background-color: #fff;
cursor: pointer;
......@@ -6702,11 +6702,11 @@ ul {
}
.van-pagination__item:after {
border-width: .02667rem 0 .02667rem .02667rem
border-width: .02rem 0 .02rem .02rem
}
.van-pagination__item:last-child:after {
border-right-width: .02667rem
border-right-width: .02rem
}
.van-pagination__item--active {
......@@ -6716,7 +6716,7 @@ ul {
.van-pagination__next,
.van-pagination__prev {
padding: 0 .10667rem;
padding: 0 .08rem;
cursor: pointer
}
......@@ -6738,26 +6738,26 @@ ul {
-webkit-box-flex: 1;
-webkit-flex: 1;
flex: 1;
height: 1.06667rem;
height: .8rem;
color: #646566
}
.van-pagination--simple .van-pagination__next:after,
.van-pagination--simple .van-pagination__prev:after {
border-width: .02667rem
border-width: .02rem
}
.van-password-input {
position: relative;
margin: 0 .42667rem;
margin: 0 .32rem;
-webkit-user-select: none;
user-select: none
}
.van-password-input__error-info,
.van-password-input__info {
margin-top: .42667rem;
font-size: .37333rem;
margin-top: .32rem;
font-size: .28rem;
text-align: center
}
......@@ -6774,12 +6774,12 @@ ul {
display: -webkit-flex;
display: flex;
width: 100%;
height: 1.33333rem;
height: 1rem;
cursor: pointer
}
.van-password-input__security:after {
border-radius: .16rem
border-radius: .12rem
}
.van-password-input__security li {
......@@ -6797,14 +6797,14 @@ ul {
-webkit-justify-content: center;
justify-content: center;
height: 100%;
font-size: .53333rem;
font-size: .4rem;
line-height: 1.2;
background-color: #fff
}
.van-password-input__security i {
width: .26667rem;
height: .26667rem;
width: .2rem;
height: .2rem;
background-color: #000;
border-radius: 100%;
visibility: hidden
......@@ -6820,7 +6820,7 @@ ul {
}
.van-password-input__cursor {
width: .02667rem;
width: .02rem;
height: 40%;
background-color: #323233;
-webkit-animation: van-cursor-flicker 1s infinite;
......@@ -6857,9 +6857,9 @@ ul {
.van-progress {
position: relative;
height: .10667rem;
height: .08rem;
background: #ebedf0;
border-radius: .10667rem
border-radius: .08rem
}
.van-progress__portion {
......@@ -6875,9 +6875,9 @@ ul {
top: 50%;
box-sizing: border-box;
min-width: 3.6em;
padding: 0 .13333rem;
padding: 0 .1rem;
color: #fff;
font-size: .26667rem;
font-size: .2rem;
line-height: 1.6;
text-align: center;
word-break: keep-all;
......@@ -6941,7 +6941,7 @@ ul {
}
.van-sidebar {
width: 2.13333rem;
width: 1.6rem;
overflow-y: auto;
-webkit-overflow-scrolling: touch
}
......@@ -6951,7 +6951,7 @@ ul {
display: -webkit-box;
display: -webkit-flex;
display: flex;
font-size: .37333rem;
font-size: .28rem;
-webkit-user-select: none;
user-select: none
}
......@@ -6966,7 +6966,7 @@ ul {
}
.van-tree-select__nav-item {
padding: .37333rem .32rem
padding: .28rem .24rem
}
.van-tree-select__content {
......@@ -6980,9 +6980,9 @@ ul {
.van-tree-select__item {
position: relative;
padding: 0 .85333rem 0 .42667rem;
padding: 0 .64rem 0 .32rem;
font-weight: 500;
line-height: 1.28rem;
line-height: .96rem;
cursor: pointer
}
......@@ -6998,29 +6998,29 @@ ul {
.van-tree-select__selected {
position: absolute;
top: 50%;
right: .42667rem;
margin-top: -.21333rem;
font-size: .42667rem
right: .32rem;
margin-top: -.16rem;
font-size: .32rem
}
.van-skeleton {
display: -webkit-box;
display: -webkit-flex;
display: flex;
padding: 0 .42667rem
padding: 0 .32rem
}
.van-skeleton__avatar {
-webkit-flex-shrink: 0;
flex-shrink: 0;
width: .85333rem;
height: .85333rem;
margin-right: .42667rem;
width: .64rem;
height: .64rem;
margin-right: .32rem;
background-color: #f2f3f5
}
.van-skeleton__avatar--round {
border-radius: 26.64rem
border-radius: 19.98rem
}
.van-skeleton__content {
......@@ -7028,12 +7028,12 @@ ul {
}
.van-skeleton__avatar+.van-skeleton__content {
padding-top: .21333rem
padding-top: .16rem
}
.van-skeleton__row,
.van-skeleton__title {
height: .42667rem;
height: .32rem;
background-color: #f2f3f5
}
......@@ -7043,11 +7043,11 @@ ul {
}
.van-skeleton__row:not(:first-child) {
margin-top: .32rem
margin-top: .24rem
}
.van-skeleton__title+.van-skeleton__row {
margin-top: .53333rem
margin-top: .4rem
}
.van-skeleton--animate {
......@@ -7057,7 +7057,7 @@ ul {
.van-skeleton--round .van-skeleton__row,
.van-skeleton--round .van-skeleton__title {
border-radius: 26.64rem
border-radius: 19.98rem
}
@-webkit-keyframes van-skeleton-blink {
......@@ -7082,8 +7082,8 @@ ul {
.van-stepper__plus {
position: relative;
box-sizing: border-box;
width: .74667rem;
height: .74667rem;
width: .56rem;
height: .56rem;
margin: 0;
padding: 0;
color: #323233;
......@@ -7096,12 +7096,12 @@ ul {
.van-stepper__minus:before,
.van-stepper__plus:before {
width: 50%;
height: .02667rem
height: .02rem
}
.van-stepper__minus:after,
.van-stepper__plus:after {
width: .02667rem;
width: .02rem;
height: 50%
}
......@@ -7136,7 +7136,7 @@ ul {
}
.van-stepper__minus {
border-radius: .10667rem 0 0 .10667rem
border-radius: .08rem 0 0 .08rem
}
.van-stepper__minus:after {
......@@ -7144,23 +7144,23 @@ ul {
}
.van-stepper__plus {
border-radius: 0 .10667rem .10667rem 0
border-radius: 0 .08rem .08rem 0
}
.van-stepper__input {
box-sizing: border-box;
width: .85333rem;
height: .74667rem;
margin: 0 .05333rem;
width: .64rem;
height: .56rem;
margin: 0 .04rem;
padding: 0;
color: #323233;
font-size: .37333rem;
font-size: .28rem;
line-height: normal;
text-align: center;
vertical-align: middle;
background-color: #f2f3f5;
border: 0;
border-width: .02667rem 0;
border-width: .02rem 0;
border-radius: 0;
-webkit-appearance: none
}
......@@ -7205,7 +7205,7 @@ ul {
.van-stepper--round .van-stepper__minus {
color: #ee0a24;
background-color: #fff;
border: .02667rem solid #ee0a24
border: .02rem solid #ee0a24
}
.van-sku-container {
......@@ -7222,7 +7222,7 @@ ul {
min-height: 50%;
max-height: 80%;
overflow-y: visible;
font-size: .37333rem;
font-size: .28rem;
background: #fff
}
......@@ -7230,7 +7230,7 @@ ul {
-webkit-box-flex: 1;
-webkit-flex: 1 1 auto;
flex: 1 1 auto;
min-height: 1.17333rem;
min-height: .88rem;
overflow-y: scroll;
-webkit-overflow-scrolling: touch
}
......@@ -7245,17 +7245,17 @@ ul {
display: flex;
-webkit-flex-shrink: 0;
flex-shrink: 0;
margin: 0 .42667rem
margin: 0 .32rem
}
.van-sku-header__img-wrap {
-webkit-flex-shrink: 0;
flex-shrink: 0;
width: 2.56rem;
height: 2.56rem;
margin: .32rem .32rem .32rem 0;
width: 1.92rem;
height: 1.92rem;
margin: .24rem .24rem .24rem 0;
overflow: hidden;
border-radius: .10667rem
border-radius: .08rem
}
.van-sku-header__goods-info {
......@@ -7269,43 +7269,43 @@ ul {
-webkit-box-pack: end;
-webkit-justify-content: flex-end;
justify-content: flex-end;
padding: .32rem .53333rem .32rem 0
padding: .24rem .4rem .24rem 0
}
.van-sku-header-item {
margin-top: .21333rem;
margin-top: .16rem;
color: #969799;
font-size: .32rem;
line-height: .42667rem
font-size: .24rem;
line-height: .32rem
}
.van-sku__price-symbol {
font-size: .42667rem;
font-size: .32rem;
vertical-align: bottom
}
.van-sku__price-num {
font-weight: 500;
font-size: .58667rem;
font-size: .44rem;
vertical-align: bottom;
word-wrap: break-word
}
.van-sku__goods-price {
margin-left: -.05333rem;
margin-left: -.04rem;
color: #ee0a24
}
.van-sku__price-tag {
position: relative;
display: inline-block;
margin-left: .21333rem;
padding: 0 .13333rem;
margin-left: .16rem;
padding: 0 .1rem;
overflow: hidden;
color: #ee0a24;
font-size: .32rem;
line-height: .42667rem;
border-radius: .21333rem
font-size: .24rem;
line-height: .32rem;
border-radius: .16rem
}
.van-sku__price-tag:before {
......@@ -7320,7 +7320,7 @@ ul {
}
.van-sku-group-container {
padding-top: .32rem
padding-top: .24rem
}
.van-sku-group-container--hide-soldout .van-sku-row__item--disabled {
......@@ -7328,7 +7328,7 @@ ul {
}
.van-sku-row {
margin: 0 .42667rem .32rem
margin: 0 .32rem .24rem
}
.van-sku-row:last-child {
......@@ -7340,7 +7340,7 @@ ul {
position: relative;
overflow: hidden;
color: #323233;
border-radius: .10667rem;
border-radius: .08rem;
cursor: pointer
}
......@@ -7376,25 +7376,25 @@ ul {
-webkit-box-pack: center;
-webkit-justify-content: center;
justify-content: center;
min-width: 1.06667rem;
margin: 0 .32rem .32rem 0;
font-size: .34667rem;
line-height: .42667rem;
min-width: .8rem;
margin: 0 .24rem .24rem 0;
font-size: .26rem;
line-height: .32rem;
vertical-align: middle
}
.van-sku-row__item-img {
z-index: 1;
width: .64rem;
height: .64rem;
margin: .10667rem 0 .10667rem .10667rem;
width: .48rem;
height: .48rem;
margin: .08rem 0 .08rem .08rem;
object-fit: cover;
border-radius: .05333rem
border-radius: .04rem
}
.van-sku-row__item-name {
z-index: 1;
padding: .21333rem
padding: .16rem
}
.van-sku-row__item--disabled {
......@@ -7419,9 +7419,9 @@ ul {
-webkit-box-direction: normal;
-webkit-flex-direction: column;
flex-direction: column;
width: 2.93333rem;
margin: 0 .10667rem .10667rem 0;
border: .02667rem solid transparent
width: 2.2rem;
margin: 0 .08rem .08rem 0;
border: .02rem solid transparent
}
.van-sku-row__image-item:last-child {
......@@ -7430,7 +7430,7 @@ ul {
.van-sku-row__image-item-img {
width: 100%;
height: 2.93333rem
height: 2.2rem
}
.van-sku-row__image-item-img-icon {
......@@ -7438,13 +7438,13 @@ ul {
top: 0;
right: 0;
z-index: 3;
width: .48rem;
height: .48rem;
width: .36rem;
height: .36rem;
color: #fff;
line-height: .48rem;
line-height: .36rem;
text-align: center;
background-color: rgba(0, 0, 0, .4);
border-bottom-left-radius: .10667rem
border-bottom-left-radius: .08rem
}
.van-sku-row__image-item-name {
......@@ -7459,10 +7459,10 @@ ul {
-webkit-justify-content: center;
justify-content: center;
box-sizing: border-box;
height: 1.06667rem;
padding: .10667rem;
font-size: .32rem;
line-height: .42667rem
height: .8rem;
padding: .08rem;
font-size: .24rem;
line-height: .32rem
}
.van-sku-row__image-item-name span {
......@@ -7485,7 +7485,7 @@ ul {
}
.van-sku-row__title {
padding-bottom: .32rem
padding-bottom: .24rem
}
.van-sku-row__title-multiple {
......@@ -7493,7 +7493,7 @@ ul {
}
.van-sku-row__scroller {
margin: 0 -.42667rem;
margin: 0 -.32rem;
overflow-x: scroll;
overflow-y: hidden;
-webkit-overflow-scrolling: touch
......@@ -7507,15 +7507,15 @@ ul {
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: inline-flex;
margin-bottom: .10667rem;
padding: 0 .42667rem
margin-bottom: .08rem;
padding: 0 .32rem
}
.van-sku-row__indicator {
width: 1.06667rem;
height: .10667rem;
width: .8rem;
height: .08rem;
background: #ebedf0;
border-radius: .05333rem
border-radius: .04rem
}
.van-sku-row__indicator-wrapper {
......@@ -7525,25 +7525,25 @@ ul {
-webkit-box-pack: center;
-webkit-justify-content: center;
justify-content: center;
padding-bottom: .42667rem
padding-bottom: .32rem
}
.van-sku-row__indicator-slider {
width: 50%;
height: 100%;
background-color: #ee0a24;
border-radius: .05333rem
border-radius: .04rem
}
.van-sku-stepper-stock {
padding: .32rem .42667rem;
padding: .24rem .32rem;
overflow: hidden;
line-height: .8rem
line-height: .6rem
}
.van-sku__stepper {
float: right;
padding-left: .10667rem
padding-left: .08rem
}
.van-sku__stepper-title {
......@@ -7553,14 +7553,14 @@ ul {
.van-sku__stepper-quota {
float: right;
color: #ee0a24;
font-size: .32rem
font-size: .24rem
}
.van-sku__stock {
display: inline-block;
margin-right: .21333rem;
margin-right: .16rem;
color: #969799;
font-size: .32rem
font-size: .24rem
}
.van-sku__stock-num--highlight {
......@@ -7568,12 +7568,12 @@ ul {
}
.van-sku-messages {
padding-bottom: .85333rem
padding-bottom: .64rem
}
.van-sku-messages__image-cell .van-cell__title {
max-width: 6.2em;
margin-right: .32rem;
margin-right: .24rem;
color: #646566;
text-align: left;
word-wrap: break-word
......@@ -7586,8 +7586,8 @@ ul {
.van-sku-messages__image-cell-label {
color: #969799;
font-size: .32rem;
line-height: .48rem
font-size: .24rem;
line-height: .36rem
}
.van-sku-messages__cell-block {
......@@ -7599,10 +7599,10 @@ ul {
box-sizing: border-box;
content: " ";
pointer-events: none;
right: .42667rem;
right: .32rem;
bottom: 0;
left: .42667rem;
border-bottom: .02667rem solid #ebedf0;
left: .32rem;
border-bottom: .02rem solid #ebedf0;
-webkit-transform: scaleY(.5);
transform: scaleY(.5)
}
......@@ -7612,11 +7612,11 @@ ul {
}
.van-sku-messages__extra-message {
margin-top: -.05333rem;
padding: 0 .42667rem .32rem;
margin-top: -.04rem;
padding: 0 .32rem .24rem;
color: #969799;
font-size: .32rem;
line-height: .48rem
font-size: .24rem;
line-height: .36rem
}
.van-sku-actions {
......@@ -7625,25 +7625,25 @@ ul {
display: flex;
-webkit-flex-shrink: 0;
flex-shrink: 0;
padding: .21333rem .42667rem
padding: .16rem .32rem
}
.van-sku-actions .van-button {
height: 1.06667rem;
height: .8rem;
font-weight: 500;
font-size: .37333rem;
font-size: .28rem;
border: none;
border-radius: 0
}
.van-sku-actions .van-button:first-of-type {
border-top-left-radius: .53333rem;
border-bottom-left-radius: .53333rem
border-top-left-radius: .4rem;
border-bottom-left-radius: .4rem
}
.van-sku-actions .van-button:last-of-type {
border-top-right-radius: .53333rem;
border-bottom-right-radius: .53333rem
border-top-right-radius: .4rem;
border-bottom-right-radius: .4rem
}
.van-sku-actions .van-button--warning {
......@@ -7659,17 +7659,17 @@ ul {
.van-slider {
position: relative;
width: 100%;
height: .05333rem;
height: .04rem;
background-color: #ebedf0;
border-radius: 26.64rem;
border-radius: 19.98rem;
cursor: pointer
}
.van-slider:before {
position: absolute;
top: -.21333rem;
top: -.16rem;
right: 0;
bottom: -.21333rem;
bottom: -.16rem;
left: 0;
content: ""
}
......@@ -7685,11 +7685,11 @@ ul {
}
.van-slider__button {
width: .64rem;
height: .64rem;
width: .48rem;
height: .48rem;
background-color: #fff;
border-radius: 50%;
box-shadow: 0 .02667rem .05333rem rgba(0, 0, 0, .5)
box-shadow: 0 .02rem .04rem rgba(0, 0, 0, .5)
}
.van-slider__button-wrapper,
......@@ -7724,7 +7724,7 @@ ul {
.van-slider--vertical {
display: inline-block;
width: .05333rem;
width: .04rem;
height: 100%
}
......@@ -7747,9 +7747,9 @@ ul {
.van-slider--vertical:before {
top: 0;
right: -.21333rem;
right: -.16rem;
bottom: 0;
left: -.21333rem
left: -.16rem
}
.van-steps {
......@@ -7758,7 +7758,7 @@ ul {
}
.van-steps--horizontal {
padding: .26667rem .26667rem 0
padding: .2rem .2rem 0
}
.van-steps--horizontal .van-steps__items {
......@@ -7766,12 +7766,12 @@ ul {
display: -webkit-box;
display: -webkit-flex;
display: flex;
margin: 0 0 .26667rem;
padding-bottom: .58667rem
margin: 0 0 .2rem;
padding-bottom: .44rem
}
.van-steps--vertical {
padding: 0 0 0 .85333rem
padding: 0 0 0 .64rem
}
.van-swipe-cell {
......@@ -7815,7 +7815,7 @@ ul {
display: flex;
box-sizing: initial;
width: 100%;
height: 1.33333rem;
height: 1rem;
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
background-color: #fff
......
......@@ -48,7 +48,7 @@ var userInfo = {
}
var token =
"Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiJkZTZlMjMwNDEyNGU0MjA2OGE0ZDZhYTJjZDgzNGM1NyIsInVzZXIiOiJhZG1pbiIsInN1YiI6ImFkbWluIn0.EtHtN1UsPPe-EQMZ8yCt8-ln-zpRR76ou2mUrZ8x5y_9LIoS-_0ZT5DPIHKu9fDKggIWtSYgr4aSWxkOKND6xw";
"Bearer eyJhbGciOiJIUzUxMiJ9.eyJqdGkiOiI5MzYzZTcwYTUzNzU0ODkxYTQ2YWJjMGI2ZmYxNGY4OCIsInVzZXIiOiJhZG1pbiIsInN1YiI6ImFkbWluIn0._QR-As4S1_XI3AFKDukHwJpYuOkeAW76nNGrVrhF3lJMijAuWdjriVeYBDuHVN8MsIeIi7wVn9Di4wPKvJJXDg";
localStorage.setItem('Authorization', token)
localStorage.setItem('appCounty', userInfo.user.county)
......
......@@ -68,5 +68,29 @@ var http = {
})
})
},
postFile: function(url, params) {
return new Promise((resolve, reject) => {
axios({
url,
method: 'POST',
data: params,
headers: {
'Content-Type':'multipart/form-data;',
'Authorization': localStorage.getItem('Authorization')
},
}).then(res => {
let response = res.data
console.log('res.statusCode', response)
if(response.statusCode >= 300){
// alert('系统发生错误')
return
}
resolve(res.data)
})
.catch(err => {
reject(err.data)
})
})
},
}
......@@ -20,6 +20,7 @@ document.write('<script type="text/javascript" src="' + contextPath + '/js/vue.m
<script type="text/javascript" src="https://cdn.bootcdn.net/ajax/libs/vant/2.12.54/vant.min.js"></script>\
<script type="text/javascript" src="' + contextPath + '/js/flexible.js"></script>\
<script type="text/javascript" src="' + contextPath + '/js/axios.min.js"></script>\
<script type="text/javascript" src="' + contextPath + '/js/util.js"></script>\
<script type="text/javascript" src="' + contextPath + '/js/common.js"></script>\
<script type="text/javascript" src="' + contextPath + '/js/http.js?rev=' + jsVersion + '"></script>');
......
'use strict';
//环境路径
var port = window.location.port;
var contextPath = '';
var comboChangeFlag = "true"
//Timstamp 函数, durian请求体用
function makeStamp(d) { // Date d
var y = d.getFullYear(), M = d.getMonth() + 1, D = d.getDate(), h = d
.getHours(), m = d.getMinutes(), s = d.getSeconds(), ss = d
.getMilliseconds(),
pad = function(x) {
x = x + '';
if (x.length === 1) {
return '0' + x;
}
return x;
};
return y + pad(M) + pad(D) + pad(h) + pad(m) + pad(s) + pad(ss);
}
function getTargetDate(dayLength, type) {
var dayLength = dayLength || 0;
var tempDate = new Date();
tempDate.setDate(tempDate.getDate() + dayLength);
var year = tempDate.getFullYear();
var month = tempDate.getMonth() + 1 < 10 ? "0" + (tempDate.getMonth() + 1) : tempDate.getMonth() + 1;
var day = tempDate.getDate() < 10 ? "0" + tempDate.getDate() : tempDate.getDate();
var time = '';
time = type === "start" ? " 00:00:00" : " 23:59:59";
return year + "-" + month + "-" + day + time;
}
// 时间 YYYY-MM-DD HH:MM
function getTargetDateYMDHM(dayLength, type) {
var dayLength = dayLength || 0;
var tempDate = new Date();
tempDate.setDate(tempDate.getDate() + dayLength);
var year = tempDate.getFullYear();
var month = tempDate.getMonth() + 1 < 10 ? "0" + (tempDate.getMonth() + 1) : tempDate.getMonth() + 1;
var day = tempDate.getDate() < 10 ? "0" + tempDate.getDate() : tempDate.getDate();
var time = '';
time = type === "start" ? " 00:00" : " 23:59";
return year + "-" + month + "-" + day + time;
}
function getTargetDateYMD(dayLength, type) {
var dayLength = dayLength || 0;
var tempDate = new Date();
tempDate.setDate(tempDate.getDate() + dayLength);
var year = tempDate.getFullYear();
var month = tempDate.getMonth() + 1 < 10 ? "0" + (tempDate.getMonth() + 1) : tempDate.getMonth() + 1;
var day = tempDate.getDate() < 10 ? "0" + tempDate.getDate() : tempDate.getDate();
return year + "-" + month + "-" + day;
}
function getTargetDateYM(dayLength, type) {
var dayLength = dayLength || 0;
var tempDate = new Date();
tempDate.setDate(tempDate.getDate() + dayLength);
var year = tempDate.getFullYear();
var month = tempDate.getMonth() + 1 < 10 ? "0" + (tempDate.getMonth() + 1) : tempDate.getMonth() + 1;
// var day = tempDate.getDate() < 10 ? "0" + tempDate.getDate() : tempDate.getDate();
return year + "-" + month;
}
/**
*
* @functionName: getPageName
* @Description: get page name from URL
* @author: Double
*
*/
function getPageName() {
var pathname = window.location.pathname;
if (pathname) {
pathname = pathname.split('/');
return pathname[pathname.length - 1].split('.')[0];
} else {
return '';
}
}
/**
*
* @functionName: getOS
* @Description: get operating system
* @author: Double
*
*/
function getOS() {
var ua = navigator.userAgent.toLowerCase();
if (ua.indexOf('windows nt 6.3') != -1) {
return 'Windows 8';
} else if (ua.indexOf('windows nt 6.1') != -1) {
return 'Windows 7';
} else if (ua.indexOf('windows nt 6.0') != -1) {
return 'Windows Vista';
} else if (ua.indexOf('windows nt 5.2') != -1) {
return 'Windows 2003';
} else if (ua.indexOf('windows nt 5.1') != -1) {
return 'Windows XP';
} else if (ua.indexOf('windows nt 5.0') != -1) {
return 'Windows 2000';
} else if (ua.indexOf('windows') != -1 || ua.indexOf('win32') != -1) {
return 'Windows';
} else if (ua.indexOf('macintosh') != -1 || ua.indexOf('mac os x') != -1) {
return 'Macintosh';
} else if (ua.indexOf('adobeair') != -1) {
return 'Adobeair';
} else if (ua.indexOf('linux') != -1) {
return 'Linux';
} else if (ua.indexOf('iphone') != -1) {
return 'iPhone';
} else if (ua.indexOf('ipad') != -1) {
return 'iPad';
} else if (ua.indexOf('android') != -1) {
return 'Android';
} else {
return 'Unknow';
}
}
/**
*
* @functionName: getNavigator
* @Description: get navigator
* @author: Double
*
*/
function getNavigator() {
var ua = navigator.userAgent.toLowerCase();
if (ua.indexOf('chrome') != -1) {
return 'Chrome';
} else if (ua.indexOf('firefox') != -1) {
return 'Firefox';
} else if (ua.indexOf('safari') != -1) {
return 'Safari';
} else if (ua.indexOf('opera') != -1) {
return 'Opera';
} else if(ua.indexOf('trident') != -1 && ua.indexOf('rv:11') != -1) {
return 'IE 11.0';
} else if (ua.indexOf('msie 10.0') != -1) {
return 'IE 10.0';
} else if (ua.indexOf('msie 9.0') != -1) {
return 'IE 9.0';
} else if (ua.indexOf('msie 8.0') != -1) {
return 'IE 8.0';
} else {
return 'Unknow';
}
}
/**
*
* @functionName: isPC
* @Description: 判断使用设备是否为PC
* @author: Double
*
*/
function isPC() {
var userAgentInfo = navigator.userAgent;
var agents = new Array('Android', 'iPhone', 'SymbianOS', 'Windows Phone', 'iPad', 'iPod');
var flag = true;
for (var v = 0; v < agents.length; v++) {
if (userAgentInfo.indexOf(agents[v]) > 0) {
flag = false;
break;
}
}
return flag;
}
/**
*
* @functionName: getParameter
* @Description: get parameter from URL
* @author: Double
*
*/
function getParameter(name) {
var search = location.search;
if(!search) {
return false;
}
search = search.split('?')
var data = search[1].split('=');
if(search[1].indexOf(name) == (-1)) {
return '';
return;
}
if(search[1].indexOf('&') == (-1)) {
data = search[1].split('=');
return data[1];
} else {
data = search[1].split('&');
for(var i = 0; i <= data.length - 1; i++){
var l_data=data[i].split('=');
if(l_data[0] == name) {
return l_data[1];
break;
} else {
continue;
}
}
}
}
/**
*
* @functionName: setParameter
* @Description: set parameter to URL
* @author: Double
*
*/
function setParameter() {
if (arguments.length >= 1) {
var url = arguments[0], paramsObj = arguments[1];
if (paramsObj) {
var parameter = '';
for (var x in paramsObj) {
parameter += x + '=' + paramsObj[x] + '&';
}
url += '?' + parameter.substr(0, parameter.length - 1);
}
return url;
} else {
customUtil.layerAlert("setParameter : 参数错误, 支持2个参数(url-必填, paramsObj)", 2);
}
}
/**
*
* @functionName: trim
* @Description: 由于IE8不支持trim方法,此处自定义
* @author: Double
*
*/
String.prototype.trim = function() {
return this.replace(/(^\s*)|(\s*$)/g, '');
}
/**
* @functionName: setCookie
* @Description: set cookies
* @author: Double
*/
function setCookie(name, value, days) {
if(name === 'whMap'|| name === 'columnArr'){ // 页面搜索条件记录 更改存取方式
localStorage.setItem(name, value);
return;
}
var len = arguments.length;
if (len == 2) {
var exp = new Date();
exp.setTime(exp.getTime() + 30*24*60*60*1000);
document.cookie = name + '=' + escape (value) + ';expires=' + exp.toGMTString() + ';path=/';
} else if (len == 3) {
var exp = new Date();
exp.setDate(exp.getDate() + parseInt(days));
exp.setHours(1, 0, 0, 0);
document.cookie = name + '=' + escape (value) + ';expires=' + exp.toGMTString() + ';path=/';
} else {
customUtil.layerAlert("SetCookie参数错误!", 2);
}
}
/**
*
* @functionName: getCookie
* @Description: get cookies
* @author: Double
*
*/
function getCookie(name) {
if(name === 'whMap'|| name === 'columnArr'){ // 页面搜索条件记录 更改存取方式
return localStorage.getItem(name);
}
var arr,reg=new RegExp('(^| )'+name+'=([^;]*)(;|$)');
if(arr=document.cookie.match(reg))
return unescape(arr[2]);
else
return null;
}
/**
*
* @functionName: jumpBack
* @Description: 从详情页跳回
* @author: Double
*
*/
function jumpBack(destination) {
var from = getParameter('from');
if (!from || from == destination) {
window.location.href = destination + '.html';
} else {
window.close();
}
}
/**
*
* @functionName: delCookie
* @Description: delete cookies
* @author: Double
*
*/
function delCookie(name) {
var exp = new Date();
exp.setTime(exp.getTime() - 1);
var cval = getCookie(name);
if(cval != null)
document.cookie = name + '=' + cval + ';expires=' + exp.toGMTString() + ';path=/';
}
/**
*
* @functionName: serializeObject
* @Description: form序列化成object
* @author: Double
* @param: form
*/
var serializeObject = function() {
if (arguments.length === 1) {
var form = arguments[0], o = {};
$.each(form.serializeArray(), function(index) {
if (o[this['name']]) {
o[this['name']] = o[this['name']] + ',' + this['value'].trim();
} else {
o[this['name']] = this['value'].trim();
}
});
return o;
} else {
customUtil.layerAlert("serializeObject : 参数错误, 支持1个参数(form)", 2);
}
};
/**
*
* @functionName: formatDate
* @Description: 格式化Date对象
* @author: Double
* @param: date, symbol-选填
*/
function formatDate() {
if (arguments.length > 0 && arguments.length < 3) {
var date = arguments[0], symbol = (arguments[1] ? arguments[1] : '-');
if (!date) {
return '';
}
if (!(date instanceof Date)) {
date = date.split(/\s/)[0].split('-');
date = new Date(date[0], parseInt(date[1]) - 1, date[2]);
}
var year = date.getFullYear(), month = date.getMonth() + 1, day = date.getDate();
month = month < 10 ? '0' + month : month;
day = day < 10 ? '0' + day : day;
return year + symbol + month + symbol + day;
} else {
customUtil.layerAlert("formatDate : 参数错误, 支持2个参数(date, symbol-选填)", 2);
}
}
/**
*
* @functionName: formatTime
* @Description: 格式化Date对象的time
* @author: Double
* @param: date
*/
function formatTime() {
if (arguments.length === 1) {
var date = arguments[0];
if (!date) {
return '';
}
if (!(date instanceof Date)) {
date = date.split(/\s/);
if (!date[1]) {
return '';
}
var time = date[1].split(':');
if (!time[2]) {
time[2] = '00';
}
date = date[0].split('-');
date = new Date(date[0], parseInt(date[1]) - 1, date[2], time[0], time[1], time[2]);
}
var hour = date.getHours(), minute = date.getMinutes(), second = date.getSeconds();
hour = hour < 10 ? '0' + hour : hour;
minute = minute < 10 ? '0' + minute : minute;
second = second < 10 ? '0' + second : second;
return hour + ':' + minute + ':' + second;
} else {
customUtil.layerAlert("formatTime : 参数错误, 支持1个参数(date)", 2);
}
}
/**
*
* @functionName: objToStr
* @Description: 将JSON转换为String, 作为参数传进函数
* @author: Double
* @param: obj
*/
function objToStr(obj) {
if (arguments.length === 1) {
for(var key in obj) {
if (typeof(obj[key]) === 'string' && obj[key].indexOf('[') > -1) {
obj[key] = obj[key].replace(/\\\"/g, '\"');
obj[key] = obj[key].replace(/\"/g, '\\\"');
}
}
return JSON.stringify(obj).replace(/\s/g, '&nbsp;');
} else {
customUtil.layerAlert("objToStr : 参数错误, 支持1个参数(obj)", 2);
}
}
/**
*
* @functionName:
* @Description: 获取url页面名称方法
* @author: haliluya
* @param: date
* @desc : 2017-2-15 09:37:28
*/
function getPageName() {
var pageN = window.location.pathname;
pageN = pageN.substring(pageN.lastIndexOf("/")+1,pageN.indexOf("."));
if(pageN) return pageN;
}
/**
* 根据一个link字符串获取页面的名称
*/
function getPageNameByLink(link){
var link = link ? link : 'index';
return link.substring(link.lastIndexOf("/") + 1, link.indexOf("."));
}
/**
* @desc 获取当前日期(0)、前几天(负数)、后几天(正数)
* @param day
* @returns
*/
function getDay(day){
var today = new Date();
var milliseconds = today.getTime() + 1000*60*60*24*day;
today.setTime(milliseconds);
var tYear = today.getFullYear();
var tMonth = today.getMonth();
var tDate = today.getDate();
tMonth = doHandleMonth(tMonth + 1);
tDate = doHandleMonth(tDate);
return tYear+"-"+tMonth+"-"+tDate;
}
function doHandleMonth(month){
var m = month;
if(month.toString().length == 1){
m = "0" + month;
}
return m;
}
function blankReplace(str){
return str || '';
}
// 日期 年月日时分秒 2018-08-01 22:22:22
function getYmdHms4laydate(d) { // Date d
var y = d.getFullYear(), M = d.getMonth() + 1, D = d.getDate(), h = d
.getHours(), mi = d.getMinutes(), s = d.getSeconds();
var pad = function(x) {
x = x + '';
if (x.length === 1) {
return '0' + x;
}
return x;
};
return [y, pad(M), pad(D)].join('-') + ' ' + [pad(h), pad(mi), pad(s)].join(':');
}
//日期 年月日时分 2018-08-01 22:22
function getYmdHm4laydate(d) { // Date d
var y = d.getFullYear(), M = d.getMonth() + 1, D = d.getDate(), h = d
.getHours(), mi = d.getMinutes();
var pad = function(x) {
x = x + '';
if (x.length === 1) {
return '0' + x;
}
return x;
};
return [y, pad(M), pad(D)].join('-') + ' ' + [pad(h), pad(mi)].join(':');
}
//日期 年月日时分 2018-8-1
function formatDateByLaydate(d){
var y = d.getFullYear(), M = d.getMonth() + 1, D = d.getDate();
return [y, M, D].join('-');
}
//日期 年月日时分 2018-08-01
function formatDateByLaydate1(d){
var y = d.getFullYear(), M = d.getMonth() + 1, D = d.getDate();
var pad = function(x) {
x = x + '';
if (x.length === 1) {
return '0' + x;
}
return x;
};
return [y, pad(M), pad(D)].join('-');
}
// datagrid 列内容鼠标悬浮详情显示
function getMore4title(value){
if(value !== 0){
value = (value)|| "";
}
return '<span title="'+ value +'">'+ value +'</span>';
}
//datagrid 列内容鼠标悬浮详情显示需要过滤<时
function getMore4titleForExp(value){
if(value !== 0){
value = (value)|| "";
if(isString(value)){
value=value.replace(/</g,"&lt;");
value=value.replace(/\"/g,"");
}
}
return '<span title="'+ value +'">'+ value +'</span>';
}
function isString(str){
return (typeof str=='string')&&str.constructor==String;
}
//获取商品总金额
function getTotalPInfo4pGrid(target){
var rows = $(target).datagrid('getData').rows;
var sumMoney = 0;
if(rows.length){
rows.forEach(function(item, index){
sumMoney += ((item.productPrice || 0) * (item.productAmount || 0)) * 1;
})
}
return {
productTotalMoney: sumMoney,
total: rows.length
}
}
//获取包裹列表所有包裹的总重量和总数目
function getTotalW4pGrid(target){
var rows = $(target).datagrid('getData').rows;
var sumWeight=0, sumCnt = 0;
if(rows.length){
rows.forEach(function(item, index){
sumWeight += (item.packageWeight || 0) * 1;
})
}
return {
packageTotalW: sumWeight.toFixed(2),
total: rows.length
}
}
// 数字科学计数显示
function numFormat(s, n) {
if(!s){return 0}
n = n > 0 && n <= 20 ? n : 2;
s = parseInt((s + "").replace(/[^\d\.-]/g, "")).toFixed(n) + "";
var l = s.split(".")[0].split("").reverse(), r = s.split(".")[1];
var t = "";
for (var i = 0; i < l.length; i++) {
t += l[i] + ((i + 1) % 3 == 0 && (i + 1) != l.length ? "," : "");
}
return t.split("").reverse().join("");
}
/**
*
* @param path
* @returns 下载文件 更新版本号
*/
function downloadFile(path){
location.href = contextPath + path +'?rev='+ (+new Date());
}
/**
* 跳转页面 更新版本号
* @param path
* @returns
* @demo navigatePage('/warehouse/company/companyDetail.html?companyId=1002');
*/
function navigatePage(path){
if(!path){return;}
var url = contextPath;
if(path.indexOf('?') > -1){ // 带有参数
url += path + '&rev='+ (+new Date())
}else{
url += path + '?rev='+ (+new Date())
}
location.href = url;
}
......@@ -21,7 +21,7 @@ window.addEventListener("load", function() {
},
methods: {
nav(item){
location.href='./yh-list.html'
location.href='./yh-list.html?companyId='+item.companyId
},
resetSearchForm(){
this.page = 0
......
......@@ -9,38 +9,37 @@ window.addEventListener("load", function() {
return {
form: {
// 检查日期
hdInspectDate: '',
hdInspectDate: '2024-03-08 00:00:00',
// 检查人员
hdInspectExpert: '',
hdInspectExpert: '发发发',
// 隐患类型
hdLevel: '1',
// 安全类别
curSelectSecType: '',
curSelectSecType: '安全资料类',
// 安全检查类别
curSelectSecCheckTypeReplace: '',
curSelectSecCheckTypeReplace: '测试资料',
// 当前选择的安全检查内容
curSelectCheckContent: '',
curSelectCheckContent: '测试内容',
// 发现问题
hdName: '',
hdName: '测试问题',
// 隐患描述
hdDesc: "",
hdDesc: "水电费双方都",
// 检查依据
basis: '',
basis: '测试依据',
// 隐患整改建议
suggestion: '',
suggestion: '测试建议',
// 隐患图片
hdPic: null,
// hdPic: null,
// 隐患整改日期
hdRectificationDate: '2024-3-8 10:04:09',
hdRectificationDate: '2024-03-08',
// 隐患整改图片
hdRectificationPic: null,
// hdRectificationPic: null,
// 整改图片文件路径
rectFilePath: '',
// 审核人
hdAcceptancePerson: "刘德华",
hdRectificationRecord: '24年02月22日 审核未通过;24年02月22日 审核未通过',
hdInspectDate: '2024-3-11 14:37:53',
hdStatus: 1,
hdStatus: 0, // 整改中
},
// 企业id
companyId: localStorage.getItem('companyId'),
......@@ -122,16 +121,20 @@ window.addEventListener("load", function() {
return
}
let formData = {
...this.form
}
formData.county = localStorage.getItem('appCounty');
delete formData.hdPic
delete formData.hdRectificationPic
delete formData.imgsrcurl
delete formData.imgrecturl
delete formData.hdFilePath
delete formData.rectFilePath
let formData = new FormData()
for (const key of Object.keys(this.form)) {
formData.append(key, this.form[key]);
}
formData.append('companyId', getParameter('companyId'))
// delete formData.hdPic
// delete formData.hdRectificationPic
// delete formData.imgsrcurl
// delete formData.imgrecturl
// delete formData.hdFilePath
// delete formData.rectFilePath
// delete formData.hdInspectDate
if (!this.form.comment) {
delete formData.comment
......@@ -143,12 +146,15 @@ window.addEventListener("load", function() {
delete formData.hdRectificationDate
}
formData.append('hdPic', this.fileList[0].file )
var url = this.form.hdId ? "/api/thHiddenDanger/update" : "/api/thHiddenDanger"
http.post(url, {
...formData
}).then((res) => {
http.postFile(url, formData).then((res) => {
console.log('添加结果', res)
vant.Toast({
message: '操作成功',
})
// this.secCheckTypeReplace = res.content || []
})
......@@ -157,7 +163,8 @@ window.addEventListener("load", function() {
},
formatDate(date) {
return `${date.getFullYear() + 1}/${date.getMonth() + 1}/${date.getDate()}`;
console.log(((date.getMonth()+1)>9?'':'0'))
return `${date.getFullYear() + 1}-${((date.getMonth()+1)>9?'':'0')+(date.getMonth() + 1)}-${(date.getDate()>9?'':'0')+date.getDate()} 00:00:00`;
},
onConfirm4secType(value, index) {
console.log('value', value)
......
......@@ -26,21 +26,21 @@
<div class="list-item-wrapper" >
<p class="">
<span id="">
隐患描述 {{item==1}}
{{item.hdDesc}}
</span>
</p>
<p class="list-content-fz">
<p class="list-content-fz" v-if="item.hdStatus==0">
<van-tag type="warning" size="mini">整改中</van-tag>
</p>
<!-- <p class="list-content-fz" v-if="item==2">
<p class="list-content-fz" v-if="item.hdStatus==3">
<van-tag type="warning">待审核</van-tag>
</p>
<p class="list-content-fz" v-if="item==3">
<p class="list-content-fz" v-if="item.hdStatus==1">
<van-tag type="primary">审核通过</van-tag>
</p>
<p class="list-content-fz" v-if="item==4">
<p class="list-content-fz" v-if="item.hdStatus==2">
<van-tag type="danger">审核未通过</van-tag>
</p> -->
</p>
<div class="list-function-btn-wrapper pd-01rem">
<van-button type="info" size="mini">查看</van-button>
<van-button type="info" size="mini">编辑</van-button>
......
/**
* author: dabao
*/
var VUE = null
window.addEventListener("load", function() {
var VUE = new Vue({
VUE = new Vue({
el: '#app',
data() {
return {
......@@ -10,6 +11,9 @@ window.addEventListener("load", function() {
list: [],
loading: false,
finished: false,
page: 0,
size: 20,
total: 0
}
},
mounted() {
......@@ -20,22 +24,30 @@ window.addEventListener("load", function() {
// location.href='./yh-list.html'
},
add(){
location.href='./yh-list-detail.html'
location.href='./yh-list-detail.html?companyId='+getParameter('companyId')
},
getList(){
console.log('到底了,开始加载。。。。')
for (let i = 0; i < 10; i++) {
this.list.push(this.list.length + 1);
}
console.log(this.list)
http.get('/api/thHiddenDanger',{
page: this.page++,// 每次请求增加下一页
size: this.size,
companyId: getParameter('companyId'),
county: localStorage.getItem('appCounty'),
sort: 'hdId,desc',
}).then((res)=>{
this.loading = false; // 加载状态结束
console.log('响应结果', res.content)
this.list.push(...res.content);
this.total = res.totalElements
console.log('响应结果list', this.list)
console.log('响应结果totalElements', res.totalElements)
if(this.page*this.size >= this.total){
this.finished = true; // 下滑不在刷新数据
}
})
// 加载状态结束
this.loading = false;
// // 数据全部加载完成
if (this.list.length >= 40) {
this.finished = true;
}
}
},
});
......
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