123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- /* pages/address/list.wxss */
- .container {
- min-height: 100vh;
- background: #f5f5f5;
- padding-bottom: 120rpx;
- }
- .address-list {
- padding: 20rpx;
- }
- .address-item {
- background: #fff;
- border-radius: 12rpx;
- margin-bottom: 20rpx;
- padding: 30rpx;
- }
- .address-info {
- padding-bottom: 20rpx;
- border-bottom: 1rpx solid #eee;
- }
- .user-info {
- display: flex;
- align-items: center;
- margin-bottom: 16rpx;
- }
- .name {
- font-size: 32rpx;
- color: #333;
- font-weight: bold;
- margin-right: 20rpx;
- }
- .phone {
- font-size: 28rpx;
- color: #666;
- }
- .tag {
- font-size: 20rpx;
- color: #ff4d4f;
- border: 1rpx solid #ff4d4f;
- padding: 2rpx 12rpx;
- border-radius: 16rpx;
- margin-left: 20rpx;
- }
- .address {
- font-size: 28rpx;
- color: #333;
- line-height: 1.4;
- }
- .address-actions {
- display: flex;
- justify-content: flex-end;
- padding-top: 20rpx;
- }
- .action-item {
- display: flex;
- align-items: center;
- margin-left: 40rpx;
- }
- .action-item .iconfont {
- font-size: 32rpx;
- margin-right: 8rpx;
- }
- .action-item text {
- font-size: 26rpx;
- color: #666;
- }
- .icon-default { color: #faad14; }
- .icon-edit { color: #1890ff; }
- .icon-delete { color: #ff4d4f; }
- /* 空状态 */
- .empty {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- padding-top: 200rpx;
- }
- .empty-icon {
- width: 200rpx;
- height: 200rpx;
- margin-bottom: 20rpx;
- }
- .empty text {
- font-size: 28rpx;
- color: #999;
- }
- /* 新增地址按钮 */
- .add-btn {
- position: fixed;
- left: 0;
- right: 0;
- bottom: 0;
- height: 100rpx;
- background: #fff;
- display: flex;
- align-items: center;
- justify-content: center;
- box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.05);
- }
- .add-btn .iconfont {
- font-size: 40rpx;
- color: #ff4d4f;
- margin-right: 10rpx;
- }
- .add-btn text {
- font-size: 32rpx;
- color: #ff4d4f;
- font-weight: bold;
- }
|