| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225 |
- /* pages/user/address/address.wxss */
- page {
- background: #F8F8F8;
- }
- .addressList {
- padding: 24rpx;
- }
- .address {
- background: #FFFFFF;
- box-sizing: border-box;
- margin-bottom: 20rpx;
- border-radius: 15rpx;
- border: 1px solid white;
- }
- .address.check {
- border: 1px solid #00BC8A;
- }
- .addrtop {
- padding: 20rpx;
- }
- .company {
- font-weight: 600;
- font-size: 28rpx;
- color: #202020;
- line-height: 50rpx;
- }
- .addInfo {
- font-weight: 400;
- font-size: 20rpx;
- color: #5C5C5C;
- line-height: 26rpx;
- }
- .customer {
- font-weight: 400;
- font-size: 20rpx;
- color: #202020;
- line-height: 36rpx;
- }
- .tool {
- border-top: 1px solid #F8F8F8;
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 16rpx 20rpx;
- }
- .toolLeft {
- flex: 1;
- font-weight: 400;
- font-size: 20rpx;
- color: #00BC8A;
- line-height: 20rpx;
- }
- .isDefault {
- font-weight: 400;
- color: #000000;
- font-size: 20rpx;
- line-height: 24rpx;
- }
- .isDefault::before {
- font-size: 24rpx;
- margin-right: 10rpx;
- vertical-align: top;
- }
- .isDefault.icon-a-Check23::before {
- color: #00BC8A;
- }
- .toolRight {
- text-align: right;
- }
- .toolRight view,
- .toolRight navigator {
- display: inline-block;
- font-weight: 400;
- color: #000000;
- font-size: 20rpx;
- line-height: 23rpx;
- margin-left: 48rpx;
- }
- .toolRight .iconfont::before {
- margin-right: 6rpx;
- }
- .addAddress {
- position: fixed;
- left: 0;
- bottom: 0;
- text-align: center;
- background: #FFFFFF;
- width: 100%;
- padding: 20rpx 58rpx;
- display: flex;
- box-sizing: border-box;
- }
- .addAddress navigator {
- max-width: 634rpx;
- height: 80rpx;
- background: #00BC8A;
- border-radius: 8rpx 8rpx 8rpx 8rpx;
- font-weight: 500;
- font-size: 32rpx;
- color: #FFFFFF;
- line-height: 80rpx;
- text-align: center;
- flex: 1;
- }
- .addAddress view {
- max-width: 180rpx;
- height: 80rpx;
- background: #00BC8A;
- border-radius: 8rpx 8rpx 8rpx 8rpx;
- font-weight: 500;
- font-size: 32rpx;
- color: #FFFFFF;
- line-height: 80rpx;
- text-align: center;
- flex: 1;
- margin-left: 40rpx;
- }
- .search {
- height: 68rpx;
- background: #FFFFFF;
- margin: 24rpx 20rpx 24rpx 20rpx;
- position: sticky;
- top: 0;
- }
- .search input {
- width: 100%;
- height: 100%;
- font-weight: 500;
- font-size: 28rpx;
- padding: 20rpx;
- padding-right: 60rpx;
- box-sizing: border-box;
- }
- .search icon {
- position: absolute;
- right: 15rpx;
- top: 14rpx;
- font-size: 28rpx;
- }
- .address {
- display: flex;
- justify-content: space-between;
- width: 100%;
- overflow: hidden;
- background: rgba(255, 255, 255, 1);
- opacity: 1;
- }
- .content {
- width: 100%;
- margin-right: 0;
- /* -webkit-transition: all 0.4s;
- transition: all 0.4s; */
- /* -webkit-transform: translateX(120px); */
- /* transform: translateX(120px); */
- /* margin-left: -120px; */
- }
- .del {
- width: 0;
- display: flex;
- align-items: center;
- justify-content: space-between;
- color: #fff;
- -webkit-transition: all 0.4s;
- transition: all 0.4s;
- font-size: 28rpx;
- -webkit-transform: translateX(180px);
- transform: translateX(180px);
- }
- .del .delete {
- background: red;
- display: flex;
- align-items: center;
- justify-content: center;
- width: 50%;
- height: 100%;
- }
- .del .untying {
- background: orange;
- display: flex;
- align-items: center;
- justify-content: center;
- width: 50%;
- height: 100%;
- }
- .touch-move-active .content,
- .touch-move-active .del {
- -webkit-transform: translateX(0);
- transform: translateX(0);
- }
- .touch-move-active .del {
- width: 240rpx;
- }
|