123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386 |
- @font-face {
- font-family: "ysbth";
- src: url('ysbth.ttf') format('truetype');
- }
- ax-body{
- display: block;
- height: 100%;
- background: #F6FAFF;
- }
- .body{
- position: relative;
- z-index: 1;
- }
- /* 页面背景 */
- .page-background{
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- z-index: 0;
- }
- .page-background image{
- display: block;
- width: 100%;
- transform: scaleY(-100%);
- }
- /* 统计卡 */
- .sta-card{
- flex: 1;
- display: flex;
- align-items: center;
- justify-content: center;
- flex-direction: column;
- height: 78px;
- border-radius: 8px;
- background-color: #F2F8FF;
- box-shadow: 0 3px 6px rgba(122, 168, 222, 0.3);
- position: relative;
- overflow: hidden;
- }
- .sta-card::before{
- content: '';
- display: block;
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- box-shadow: 0 8px 8px #fff inset;
- background-color: transparent !important;
- }
- .sta-card + .sta-card{
- margin-left: 10px;
- }
- .sta-card .value{
- font-size: 24px;
- font-weight: bold;
- position: relative;
- z-index: 3;
- }
- .sta-card .name{
- font-size: 12px;
- color: #aaa;
- position: relative;
- z-index: 3;
- }
- .sta-card .bg{
- position: absolute;
- top: 0;
- right: 0;
- height: 100%;
- z-index: 2;
- }
- .overflow-payment{
- position: absolute;
- width: 176rpx;
- height: 40rpx;
- background: #FF4D3A;
- border-radius: 8rpx;
- font-size: 24rpx;
- color: #FFFFFF;
- text-align: center;
- top:0;
- right: 0;
- z-index: 9999;
- }
- /* 卡片 */
- .card{
- border-radius: 16px;
- padding: 15px 0;
- margin-top: 10px;
- }
- .card .title{
- /* display: flex;
- align-items: flex-end;
- justify-content: space-between; */
- margin-bottom: 20px;
- font-weight: bold;
- }
- .title-text{
- font-weight: normal;
- font-size:26rpx;
- color: #666;
- }
- .card .title .more{
- display: flex;
- align-items: center;
- justify-content: center;
- font-weight: normal;
- font-size: 14px;
- color: #aaa;
- }
- .card .title .more .icon{
- margin-left: 5px;
- }
- /* 温馨提示 */
- .tips .li{
- font-size: 14px;
- color: #666;
- }
- .tips .li + .li{
- margin-top: 7px;
- }
- /* 优惠券 */
- .coupons{
- display: grid;
- grid-template-columns: 1fr 1fr 1fr;
- gap: 10px;
- }
- .coupons .item{
- --item-bg: #3eb6f8;
- --item-bg-active: #0093e4;
- --coupon-bg: #fff;
- --coupon-bg-active: #3ab8ff;
- --font-color: #3eb6f8;
- --font-color-active: #fff;
-
- padding: 5px;
- height: 150px;
- border-radius: 10px;
- background-color: var(--item-bg);
- color: var(--font-color);
- }
- .coupons .item .coupon{
- display: flex;
- flex-direction: column;
- width: 100%;
- height: 100%;
- overflow: hidden;
- border-radius: 10px;
- filter: drop-shadow(0 1px 6px rgba(102, 102, 102, 0.3));
- }
- .coupons .item .coupon .top{
- flex: 1;
- display: flex;
- align-items: center;
- justify-content: center;
- flex-direction: column;
- background-color: var(--coupon-bg);
- }
- .coupons .item .coupon .top .value{
- font-size: 36px;
- font-weight: bold;
- }
- .coupons .item .coupon .top .unit{
- font-size: 14px;
- }
- .coupons .item .coupon .bottom{
- text-align: center;
- font-size: 14px;
- background-color: var(--coupon-bg);
- padding: 10px;
- }
- .coupons .item .coupon .middle{
- display: flex;
- align-items: center;
- justify-content: space-between;
- height: 10px;
- position: relative;
- overflow: hidden;
- }
- .coupons .item .coupon .middle::before{
- content: '';
- display: block;
- width: 50%;
- height: 10px;
- background: radial-gradient(circle 10px at left, transparent 5px, var(--coupon-bg) 50%);
- }
- .coupons .item .coupon .middle::after{
- content: '';
- display: block;
- width: 50%;
- height: 10px;
- background: radial-gradient(circle 10px at right, transparent 5px, var(--coupon-bg) 50%);
- }
- .coupons .item .coupon .middle .line{
- position: absolute;
- top: 50%;
- left: 10px;
- right: 10px;
- border-top: 1px dashed var(--font-color);
- }
- .coupons .item.active{
- background-color: var(--item-bg-active);
- color: var(--font-color-active);
- }
- .coupons .item.active .coupon .middle .line{
- border-color: var(--font-color-active);
- }
- .coupons .item.active .coupon .top,
- .coupons .item.active .coupon .bottom{
- background-color: var(--coupon-bg-active);
- }
- .coupons .item.active .coupon .middle::before{
- background: radial-gradient(circle 10px at left, transparent 5px, var(--coupon-bg-active) 50%);
- }
- .coupons .item.active .coupon .middle::after{
- background: radial-gradient(circle 10px at right, transparent 5px, var(--coupon-bg-active) 50%);
- }
- .pay-type{
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- .pay-type .icon{
- display: flex;
- align-items: center;
- justify-content: center;
- width: 20px;
- height: 20px;
- font-size: 14px;
- margin-right: 5px;
- border-radius: 100pc;
- background-color: #04BE02;
- color: #fff;
- }
- .footer{
- position: fixed;
- left: 10px;
- right: 10px;
- bottom: 0;
- }
- .pay{
- display: flex;
- align-items: center;
- justify-content: center;
- height: 50px;
- font-size: 14px;
- margin-top: 20px;
- border-radius: 8px;
- color: #2B303A;
- background: linear-gradient(to right,#8FF8FB,#47AEFF);
- }
- .pay::after{
- content: unset;
- display: none;
- }
- .pay[disabled]{
- text-shadow: unset;
- background: #ddd;
- }
- .coupon-item{
- --item-color: #D6F3FF;
- font-family: 'ysbth';
- color: #2B303A;
- background-color: var(--item-color);
- border-radius: 8px;
- text-align: center;
- padding: 0 8px;
- position: relative;
- margin-bottom: 10px;
- }
- .coupon-item .ticket{
- background-color: #F2F8FF;
- border-radius: 8px;
- margin-top: -10px;
- box-shadow: 0 -1px 6px rgba(122, 168, 222, 0.1);
- }
- .coupon-item .ticket .value{
- display: flex;
- align-items: flex-end;
- justify-content: center;
- padding-top: 10px;
- color: #2B303A;
- }
- .coupon-item .ticket .value .val{
- display: inline-block;
- font-size: 18px;
- font-weight: bold;
- transform: translateY(2px);
- margin-right: 2px;
- }
- .coupon-item .ticket .value .unit{
- font-size: 12px;
- }
- .coupon-item .ticket .line-wrap{
- display: flex;
- align-items: center;
- position: relative;
- height: 16px;
- }
- .coupon-item .ticket .line-wrap .line{
- flex: 1;
- height: 1px;
- border-top: 1px dashed #aaa;
- }
- .coupon-item .ticket .line-wrap .circle{
- width: 16px;
- height: 16px;
- border-radius: 100%;
- background-color: var(--item-color);
- }
- .coupon-item .ticket .line-wrap view:first-child{
- transform: translateX(-50%);
- }
- .coupon-item .ticket .line-wrap view:last-child{
- transform: translateX(50%);
- }
- .coupon-item .ticket .margin{
- height: 15px;
- }
- .coupon-item .trapezium{
- width: 100%;
- height: 10px;
- position: relative;
- overflow: hidden;
- margin-top: -10px;
- }
- .coupon-item .trapezium::after{
- content: '';
- display: block;
- width: 50%;
- height: 10px;
- position: absolute;
- left: 0;
- bottom: 0;
- transform: skewX(-15deg) translateX(0.3em);
- border-radius: 10px 0 0 0;
- background-color: var(--item-color);
- }
- .coupon-item .trapezium::before{
- content: '';
- display: block;
- width: 50%;
- height: 10px;
- position: absolute;
- right: 0;
- bottom: 0;
- transform: skewX(15deg) translateX(-0.3em);
- border-radius: 0 10px 0 0;
- background-color: var(--item-color);
- }
- .coupon-item .text{
- margin-top: -8px;
- position: relative;
- z-index: 3;
- }
- .coupon-item.active{
- --item-color: #47AEFF !important;
- }
- .coupon-item.active .ticket .value{
- color: #47AEFF;
- }
- .coupon-item.active .text{
- color: #fff;
- }
- .payment-tips{
- width: 702rpx;
- height: 72rpx;
- background: #FFF6E8;
- border-radius: 16rpx;
- font-size: 24rpx;
- color: #FAB04D;
- line-height: 72rpx;
- text-align: center;
- }
|