minapp.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. /*小程序界面*/
  2. .minapp {
  3. width: 414px;
  4. -webkit-box-shadow: #ccc 0px 0px 10px;
  5. -moz-box-shadow: #ccc 0px 0px 10px;
  6. box-shadow: #ccc 0px 0px 10px;
  7. background-color: #f6f6f6;
  8. height: 800px;
  9. margin-bottom: 30px;
  10. overflow: hidden;
  11. }
  12. .user {
  13. max-height: 730px;
  14. overflow-y: auto;
  15. overflow-x: hidden;
  16. }
  17. /*个人中心*/
  18. .user .user-top {
  19. box-sizing: border-box;
  20. background-color: #F75451;
  21. height: 187px;
  22. padding: 15px 20px;
  23. }
  24. .user .user-top .avatar {
  25. width: 40px;
  26. height: 40px;
  27. border-radius: 50%;
  28. background-color: #fff;
  29. text-align: center;
  30. line-height: 40px;
  31. float: left;
  32. margin-right: 5px;
  33. }
  34. .user .user-top .username {
  35. line-height: 40px;
  36. float: left;
  37. color: #fff;
  38. }
  39. .user .order {
  40. background-color: #fff;
  41. width: 390px;
  42. margin: -90px auto 0;
  43. border-radius: 10px;
  44. }
  45. .user .orderTab {
  46. font-size: 0;
  47. text-align: center;
  48. border-top: 1px solid #efefef;
  49. padding: 20px 0 15px;
  50. }
  51. .order-title {
  52. padding: 10px 15px;
  53. font-weight: 500;
  54. color: #444;
  55. }
  56. .user .order_status_name {
  57. font-size: 14px;
  58. margin-top: 5px;
  59. }
  60. .order_menu_icon {
  61. width: 44px;
  62. height: 44px;
  63. margin: 0 auto;
  64. }
  65. .order_menu_icon img {
  66. width: 44px;
  67. height: 44px;
  68. }
  69. .user .order_status {
  70. width: 20%;
  71. display: inline-block;
  72. }
  73. .user .tool {
  74. background-color: #fff;
  75. width: 390px;
  76. margin: 15px auto 0;
  77. border-radius: 10px;
  78. }
  79. .item-main {
  80. padding: 10px 13px;
  81. border-top: 1px solid #efefef;
  82. }
  83. .item-main:first-child {
  84. border: 0;
  85. }
  86. .item-main span {
  87. display: inline-block;
  88. line-height: 30px;
  89. }
  90. .item-main .tool_icon {
  91. width: 30px;
  92. height: 30px;
  93. margin-right: 15px;
  94. float: left;
  95. }
  96. .item-main .tool_icon img {
  97. width: 30px;
  98. height: 30px;
  99. }
  100. .user-details {
  101. padding-top: 200px;
  102. color: red;
  103. }
  104. .details-title {
  105. margin-bottom: 10px;
  106. font-size: 16px;
  107. font-weight: bold;
  108. }
  109. .toolList.grad {
  110. display: flex;
  111. flex-wrap: wrap;
  112. }
  113. .toolList.grad .item-main {
  114. width: 25%;
  115. display: flex;
  116. flex-direction: column;
  117. align-items: center;
  118. justify-content: center;
  119. border: 0;
  120. }