CartCss.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. body{
  2. /* background-color: transparent; */
  3. position: relative;
  4. margin: 0;
  5. font-family: 'Harmony SC';
  6. min-height: 100px;
  7. background-color: whitesmoke;
  8. }
  9. form
  10. {
  11. border-radius: 10px;
  12. /* position: relative; */
  13. width: 100%;
  14. min-height: 100px;
  15. /* min-width: 500px; */
  16. }
  17. form>div.Store
  18. {
  19. position: relative;
  20. margin-top: 10px;
  21. margin-left: 15px;
  22. margin-right: 15px;
  23. border-radius: 10px;
  24. background-color: white;
  25. font-size: 16px;
  26. overflow: hidden;
  27. }
  28. /* div#Cartlist>div.Store:last-child
  29. {
  30. margin-bottom: 0;
  31. } */
  32. form>div.Store>*{
  33. border-bottom: 1px solid gainsboro;
  34. }
  35. form>div.Store>*:last-child{
  36. border-bottom: 0;
  37. }
  38. form>div.Store>a#lable
  39. {
  40. height: 48px;
  41. line-height: 48px;
  42. display: flex;
  43. justify-items: center;
  44. overflow: hidden;
  45. background-color: transparent;
  46. }
  47. form>div.Store>a#lable>input
  48. {
  49. height: 24px;
  50. width: 24px;
  51. margin: 12px;
  52. margin-left: calc(1ch + 12px);
  53. }
  54. form>div.Store>a#lable>div#StoreIcon
  55. {
  56. height: 40px;
  57. width: 40px;
  58. margin: 4px;
  59. margin-left: calc(1ch + 4px);
  60. text-align: center;
  61. }
  62. form>div.Store>a#lable>div#StoreIcon>img
  63. {
  64. max-width: 100%;
  65. max-height: 100%;
  66. }
  67. form>div.Store>a#lable>h3
  68. {
  69. margin: 0;
  70. }
  71. form>div.Store>div.goods{
  72. height: 96px;
  73. display: flex;
  74. justify-items: center;
  75. overflow: hidden;
  76. background-color:transparent;
  77. }
  78. form>div.Store>div.goods>input{
  79. height: 24px;
  80. min-width: 24px;
  81. margin: 36px;
  82. margin-left: calc(1ch + 12px);
  83. margin-right: calc(1ch + 12px);
  84. }
  85. form>div.Store>div.goods>div#GoodsIcon
  86. {
  87. height: 88px;
  88. min-width: 88px;
  89. margin: 4px;
  90. margin-left: calc(1ch + 4px);
  91. text-align: center;
  92. }
  93. form>div.Store>div.goods>div#GoodsIcon>img
  94. {
  95. max-width: 100%;
  96. max-height: 100%;
  97. }
  98. form>div.Store>div.goods>div#exp
  99. {
  100. position: relative;
  101. margin: 8px;
  102. height: 80px;
  103. width: 100%;
  104. min-width: 200px;
  105. }
  106. form>div.Store>div.goods>div#exp>*
  107. {
  108. width: 100%;
  109. margin: 0;
  110. }
  111. form>div.Store>div.goods>div#exp>p{
  112. color:gray;
  113. }
  114. form>div.Store>div.goods>div#exp>h4{
  115. color:#E33333;
  116. position: absolute;
  117. bottom: 0;
  118. left: 0;
  119. }
  120. form>div.Store>div.goods>div#exp>h4::after{
  121. counter-reset: "$";
  122. color: #E33333;
  123. }
  124. form>div.Store>div.goods>div#exp>div#count
  125. {
  126. position: absolute;
  127. width: 25%;
  128. min-width: 16ch;
  129. height: 24px;
  130. border-radius: 10px;
  131. border: 1px solid gray;
  132. margin: 0;
  133. bottom: 0;
  134. right: 0;
  135. display: flex;
  136. overflow: hidden;
  137. }
  138. form>div.Store>div.goods>div#exp>div#count>*{
  139. width: 100%;
  140. height: 100%;
  141. margin: 0;
  142. padding: 0;
  143. border: 0;
  144. outline: 1px solid gray;
  145. text-align: center;
  146. background-color: white;
  147. user-select: none;
  148. }
  149. form>div.Store>div.goods>div#exp>div#count>*:hover
  150. {
  151. background-color: gainsboro;
  152. }
  153. form>div.Store>div.goods>div#exp>div#count>*:active
  154. {
  155. background-color: gray;
  156. }
  157. form>div#BottomBar
  158. {
  159. position: fixed;
  160. right: 0;
  161. bottom: 0;
  162. width: 100%;
  163. }
  164. @font-face
  165. {
  166. font-family: 'Harmony SC';
  167. src: url(../fonts/HarmonyOS_Sans_SC_Medium.ttf);
  168. }