微信小店联盟带货小程序

list.wxss 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. /* pages/address/list.wxss */
  2. .container {
  3. min-height: 100vh;
  4. background: #f5f5f5;
  5. padding-bottom: 120rpx;
  6. }
  7. .address-list {
  8. padding: 20rpx;
  9. }
  10. .address-item {
  11. background: #fff;
  12. border-radius: 12rpx;
  13. margin-bottom: 20rpx;
  14. padding: 30rpx;
  15. }
  16. .address-info {
  17. padding-bottom: 20rpx;
  18. border-bottom: 1rpx solid #eee;
  19. }
  20. .user-info {
  21. display: flex;
  22. align-items: center;
  23. margin-bottom: 16rpx;
  24. }
  25. .name {
  26. font-size: 32rpx;
  27. color: #333;
  28. font-weight: bold;
  29. margin-right: 20rpx;
  30. }
  31. .phone {
  32. font-size: 28rpx;
  33. color: #666;
  34. }
  35. .tag {
  36. font-size: 20rpx;
  37. color: #ff4d4f;
  38. border: 1rpx solid #ff4d4f;
  39. padding: 2rpx 12rpx;
  40. border-radius: 16rpx;
  41. margin-left: 20rpx;
  42. }
  43. .address {
  44. font-size: 28rpx;
  45. color: #333;
  46. line-height: 1.4;
  47. }
  48. .address-actions {
  49. display: flex;
  50. justify-content: flex-end;
  51. padding-top: 20rpx;
  52. }
  53. .action-item {
  54. display: flex;
  55. align-items: center;
  56. margin-left: 40rpx;
  57. }
  58. .action-item .iconfont {
  59. font-size: 32rpx;
  60. margin-right: 8rpx;
  61. }
  62. .action-item text {
  63. font-size: 26rpx;
  64. color: #666;
  65. }
  66. .icon-default { color: #faad14; }
  67. .icon-edit { color: #1890ff; }
  68. .icon-delete { color: #ff4d4f; }
  69. /* 空状态 */
  70. .empty {
  71. display: flex;
  72. flex-direction: column;
  73. align-items: center;
  74. justify-content: center;
  75. padding-top: 200rpx;
  76. }
  77. .empty-icon {
  78. width: 200rpx;
  79. height: 200rpx;
  80. margin-bottom: 20rpx;
  81. }
  82. .empty text {
  83. font-size: 28rpx;
  84. color: #999;
  85. }
  86. /* 新增地址按钮 */
  87. .add-btn {
  88. position: fixed;
  89. left: 0;
  90. right: 0;
  91. bottom: 0;
  92. height: 100rpx;
  93. background: #fff;
  94. display: flex;
  95. align-items: center;
  96. justify-content: center;
  97. box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.05);
  98. }
  99. .add-btn .iconfont {
  100. font-size: 40rpx;
  101. color: #ff4d4f;
  102. margin-right: 10rpx;
  103. }
  104. .add-btn text {
  105. font-size: 32rpx;
  106. color: #ff4d4f;
  107. font-weight: bold;
  108. }