| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- page {
- background: #f5f5f5;
- height: 100%;
- }
- .address-container {
- display: flex;
- flex-direction: column;
- align-items: stretch;
- padding-bottom: calc(env(safe-area-inset-bottom) + 172rpx);
- }
- .address-container .address-list {
- font-size: 24rpx;
- background-color: #ffffff;
- -webkit-overflow-scrolling: touch;
- }
- .address-list .no-address {
- width: 750rpx;
- padding-top: 30vh;
- display: flex;
- flex-direction: column;
- justify-content: flex-start;
- align-items: center;
- }
- .address-list .no-address__icon {
- width: 224rpx;
- height: 224rpx;
- }
- .address-list .no-address__text {
- font-size: 28rpx;
- line-height: 40rpx;
- color: #999999;
- margin-top: 24rpx;
- }
- .address-container .bottom-fixed {
- border-top: 1rpx solid #e5e5e5;
- position: fixed;
- bottom: 0;
- left: 0;
- right: 0;
- z-index: 1000;
- background: #fff;
- display: flex;
- justify-content: center;
- flex-direction: column;
- align-items: center;
- padding: 12rpx 32rpx calc(env(safe-area-inset-bottom) + 12rpx) 32rpx;
- }
- .address-container .btn-wrap {
- width: 100%;
- display: flex;
- justify-content: space-between;
- align-items: center;
- font-size: 32rpx;
- font-weight: bold;
- }
- .address-container .btn-wrap .location-btn {
- width: 332rpx;
- height: 88rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- background-color: #ffffff;
- color: #333;
- position: relative;
- }
- .address-container .btn-wrap .location-btn::after {
- content: '';
- position: absolute; /* 把父视图设置为relative,方便定位*/
- top: 0;
- left: 0;
- width: 200%;
- height: 200%;
- transform: scale(0.5);
- transform-origin: 0 0;
- box-sizing: border-box;
- border-radius: 88rpx;
- border: #dddddd 2rpx solid;
- }
- .address-container .btn-wrap .address-btn {
- width: 332rpx;
- height: 88rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- background-color: #fa4126;
- border-radius: 44rpx;
- color: #fff;
- }
- .address-container .btn-wrap .btn-default {
- background: #c6c6c6;
- }
- .address-container .bottom-fixed .footer {
- margin-top: 10rpx;
- display: inline-block;
- width: 100%;
- text-align: center;
- font-size: 24rpx;
- font-weight: 400;
- color: #ff2525;
- line-height: 60rpx;
- height: 60rpx;
- }
- .address-container .message {
- margin-top: 48rpx;
- }
- .address-container .custom-class {
- margin-right: 12rpx;
- font-weight: normal;
- }
|