shopCollect.wxss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. /* 店铺收藏 */
  2. /* pages/shopCollect/shopCollect.wxss */
  3. /* 清除浮动 */
  4. .clearfix:after {
  5. content: ".";
  6. display: block;
  7. height: 0;
  8. clear: both;
  9. visibility: hidden;
  10. }
  11. .shop-collect {
  12. position: fixed;
  13. width: 100%;
  14. background: #f7f7f7;
  15. height: 100%;
  16. overflow: auto;
  17. }
  18. /* 头部固定 */
  19. .top-fixed {
  20. margin-bottom: 80rpx;
  21. }
  22. .show-shop-num {
  23. box-sizing: border-box;
  24. position: fixed;
  25. width: 100%;
  26. top: 0;
  27. padding: 20rpx;
  28. background: #f7f7f7;
  29. font-size: 28rpx;
  30. }
  31. .shop-num {
  32. float: left;
  33. }
  34. .editor {
  35. float: right;
  36. }
  37. .red {
  38. color: #e4393c;
  39. }
  40. /* 店铺item */
  41. .shop-item {
  42. background: #fff;
  43. margin-bottom: 10rpx;
  44. padding: 20rpx;
  45. }
  46. .logo,
  47. .shop-name {
  48. display: inline-block;
  49. vertical-align: middle;
  50. }
  51. .logo {
  52. width: 220rpx;
  53. height: 80rpx;
  54. background: #eee;
  55. }
  56. .logo > image {
  57. width: 100%;
  58. height: 100%;
  59. }
  60. .shop-name {
  61. font-size: 28rpx;
  62. max-width: 50%;
  63. overflow: hidden;
  64. text-overflow:ellipsis;
  65. white-space: nowrap;
  66. margin: 0 20rpx;
  67. }
  68. /* 自营 */
  69. .self-operate {
  70. display: inline-block;
  71. font-size: 23rpx;
  72. background: #e4393c;
  73. color: #fff;
  74. padding: 5rpx 7rpx 6rpx 7rpx;
  75. border-radius: 5rpx;
  76. line-height: 1em;
  77. }
  78. /* 列表为空 */
  79. .empty {
  80. margin-top: 70rpx;
  81. text-align: cneter;
  82. }
  83. .empty-icon {
  84. display: block;
  85. width: 80rpx;
  86. height: 80rpx;
  87. margin: 0 auto;
  88. margin-bottom: 20rpx;
  89. }
  90. .empty-icon > image {
  91. width: 100%;
  92. height: 100%;
  93. }
  94. .empty-text {
  95. font-size: 28rpx;
  96. text-align: center;
  97. color: #999;
  98. line-height: 2em;
  99. }