shopcar.css 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  1. @media only screen and (min-device-width : 320px) and (max-device-width : 1024px) { select:focus, textarea:focus, input:focus { font-size: 16px !important; } }
  2. body,button,dd,dl,dt,fieldset,form,h1,h2,h3,h4,h5,h6,input,legend,li,ol,p,select,table,td,textarea,th,ul {
  3. margin: 0;
  4. padding: 0;
  5. font-family: '微软雅黑';
  6. }
  7. a{
  8. text-decoration: none;
  9. color: #a3a3a3;
  10. }
  11. ul{
  12. list-style: none;
  13. }
  14. input{
  15. display:block;
  16. -webkit-user-modify: read-write-plaintext-only;
  17. cursor:pointer;
  18. //-webkit-appearance:none;
  19. border: 0;
  20. outline: none;
  21. }
  22. body{
  23. background: #f2f2f2;
  24. }
  25. .fix_head{
  26. position: fixed;
  27. width: 100%;
  28. height: 0.9rem;
  29. border-bottom: 1px solid #ccc;
  30. background: #fafafa;
  31. }
  32. .fix_head .back{
  33. display: block;
  34. width: 0.65rem;
  35. height: 0.9rem;
  36. float: left;
  37. }
  38. .fix_head .back img{
  39. display: block;
  40. width: 0.65rem;
  41. height: 0.9rem;
  42. }
  43. .fix_head p{
  44. float: left;
  45. margin-left: 2.12rem;
  46. font-size: 0.28rem;
  47. color: #1a1a1a;
  48. line-height: 0.9rem;
  49. }
  50. .fix_head .home{
  51. display: block;
  52. width: 0.65rem;
  53. height: 0.9rem;
  54. float: right;
  55. }
  56. .fix_head .home img{
  57. display: block;
  58. width: 0.65rem;
  59. height: 0.9rem;
  60. }
  61. .sc_h{
  62. width: 100%;
  63. height: 0.9rem;
  64. }
  65. .lb{
  66. display: block;
  67. width: 100%;
  68. height: 2rem;
  69. margin-top: 0.1rem;
  70. border-bottom: 1px solid #ccc;
  71. background: #fafafa;
  72. }
  73. //.lb .check{
  74. // width: 0.7rem;
  75. // height: 2rem;
  76. // float: left;
  77. //}
  78. .lb .check .xz{
  79. width: 0.4rem;
  80. height: 0.4rem;
  81. margin-top: 0.8rem;
  82. margin-left: 0.2rem;
  83. display: block;
  84. background-image: url(../images/check.jpg);
  85. background-size: 0.4rem 0.4rem;
  86. }
  87. .lb .spt{
  88. display: block;
  89. width: 1.36rem;
  90. height: 1.4rem;
  91. float: left;
  92. margin-top: 0.26rem;
  93. }
  94. .lb .mid{
  95. width: 2.52rem;
  96. height: 1.7rem;
  97. float: left;
  98. margin-left: 0.18rem;
  99. margin-top: 0.16rem;
  100. }
  101. .lb .mid .name{
  102. font-size: 0.22rem;
  103. color: #333;
  104. text-overflow: -o-ellipsis-lastline;
  105. overflow: hidden;
  106. text-overflow: ellipsis;
  107. display: -webkit-box;
  108. -webkit-line-clamp: 2;
  109. -webkit-box-orient: vertical;
  110. padding-top: 0.1rem;
  111. }
  112. .lb .mid .color{
  113. font-size: 0.22rem;
  114. color: #8a8a8a;
  115. display: block;
  116. margin-top: 0.16rem;
  117. }
  118. .lb .mid .jj{
  119. width: 1.5rem;
  120. height: 0.4rem;
  121. border: 1px solid #dcdcdc;
  122. border-radius: 2px;
  123. margin-top: 0.1rem;
  124. }
  125. .lb .mid .jj .jia{
  126. display: block;
  127. font-size: 0.4rem;
  128. text-align: center;
  129. line-height: 0.4rem;
  130. width: 0.49rem;
  131. height: 0.4rem;
  132. float: left;
  133. }
  134. .lb .mid .jj .num{
  135. display: block;
  136. float: left;
  137. text-align: center;
  138. line-height: 0.4rem;
  139. width: 0.48rem;
  140. height: 0.4rem;
  141. font-size: 0.24rem;
  142. border-left: 1px solid #dcdcdc;
  143. border-right: 1px solid #dcdcdc;
  144. }
  145. .lb .mid .jj .jian{
  146. display: block;
  147. font-size: 0.28rem;
  148. text-align: center;
  149. line-height: 0.4rem;
  150. width: 0.49rem;
  151. height: 0.4rem;
  152. float: right;
  153. }
  154. .lb .jgq{
  155. float: right;
  156. margin-right: 0.18rem;
  157. width: 1.34rem;
  158. height: 2rem;
  159. position: relative;
  160. }
  161. .lb .jgq .price{
  162. width: 100%;
  163. height: 0.34rem;
  164. font-size: 0.24rem;
  165. font-weight: bold;
  166. color: #e90327;
  167. display: block;
  168. float: right;
  169. margin-top: 0.26rem;
  170. }
  171. .lb .jgq .price p{
  172. float: right;
  173. }
  174. .lb .jgq .price_de p{
  175. float: right;
  176. }
  177. .lb .jgq .price_de{
  178. width: 100%;
  179. height: 0.24rem;
  180. font-size: 0.2rem;
  181. font-weight: bold;
  182. color: #999;
  183. display: block;
  184. float: right;
  185. margin-top: 0.1rem;
  186. }
  187. .lb .jgq .del{
  188. display: block;
  189. width: 0.45rem;
  190. height: 0.46rem;
  191. float: right;
  192. margin-bottom: 0.4rem;
  193. position: absolute;
  194. bottom: -0.2rem;
  195. /* left: 0.8rem; */
  196. right: 0;
  197. }
  198. #qx{
  199. width: 0.4rem;
  200. height: 0.4rem;
  201. margin-top: 0.8rem;
  202. margin-left: 0.2rem;
  203. display: block;
  204. background-image: url(../images/check.jpg);
  205. background-size: 0.4rem 0.4rem;
  206. float: left;
  207. margin-left: 0.2rem;
  208. margin-top: 0.2rem;
  209. line-height: 0.8rem;
  210. }
  211. .fix_bottom{
  212. position: fixed;
  213. width: 100%;
  214. height: 0.8rem;
  215. background: #fafafa;
  216. bottom: 0;
  217. font-size: 0.24rem;
  218. color: #333;
  219. }
  220. .fix_bottom .zjq{
  221. float: left;
  222. width: 1.96rem;
  223. height: 0.8rem;
  224. margin-left: 0.3rem;
  225. }
  226. #zj{
  227. color: #e90327;
  228. }
  229. .fix_bottom .zjq .p1{
  230. font-size: 0.26rem;
  231. line-height: 0.4rem;
  232. font-weight: bold;
  233. }
  234. #js{
  235. display: block;
  236. width: 2.5rem;
  237. height:0.8rem;
  238. background: #e90327;
  239. color: #fff;
  240. font-size: 0.28rem;
  241. font-weight: bold;
  242. text-align: center;
  243. line-height: 0.8rem;
  244. float: right;
  245. }
  246. /* 美化input type=checkbox */
  247. /* 第二种解决方案:图片代替checkbox */
  248. .check .input_check+label {
  249. background-image: url('../image/drawable-xhdpi/check.png') !important;
  250. background-size: 100% 100%;
  251. }
  252. .aui-checkbox span { position: relative; }
  253. .aui-checkbox .input_check {
  254. position: absolute;
  255. width: 30px;
  256. height: 30px;
  257. visibility: hidden;
  258. position: absolute;
  259. margin-top: 0.7rem;
  260. }
  261. .aui-checkbox .input_check+label {
  262. display: inline-block;
  263. width: 30px;
  264. height: 30px;
  265. background-position: -0px -0px;
  266. background-image: url('../image/drawable-xhdpi/nocheck.png');
  267. background-size: 100% 100%;
  268. border-radius: 50%;
  269. }
  270. .aui-checkbox .input_check:checked+label {
  271. background-position: 0;
  272. }