index.css 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  1. .head-l-svg{
  2. display: inline-block;
  3. width: 25px;
  4. height: 25px;
  5. background: url("../img/svg/head-l.svg");
  6. margin-top: 10px;
  7. }
  8. .head-r-svg{
  9. display: inline-block;
  10. width: 25px;
  11. height: 25px;
  12. background: url("../img/svg/head-r.svg");
  13. margin-top: 10px;
  14. }
  15. .head-length {
  16. font-style: normal;
  17. font-size: 0.1rem;
  18. position: absolute;
  19. top: 5px;
  20. right: -6px;
  21. background: #f23030;
  22. color: #fff;
  23. line-height: initial;
  24. padding: 0px 4px;
  25. border-radius: 50px;
  26. }
  27. .swiper-slide img{
  28. width: 100%;
  29. max-height: 180px;
  30. }
  31. .swiper-pagination-bullet-active {
  32. opacity: 1;
  33. }
  34. .index-class{
  35. padding: 1.5rem 0.625rem;
  36. }
  37. .index-class .weui-flex__item{
  38. text-align: center;
  39. }
  40. .index-class .index-class-img{}
  41. .index-class .index-class-text{
  42. margin: 0;
  43. line-height: 2.5rem;
  44. color: #444;
  45. }
  46. .index-news{
  47. padding: 0.4rem 0.625rem;
  48. }
  49. .index-news .news-cont{
  50. position: relative;
  51. padding: 0 0.625rem;
  52. height: 30px;
  53. line-height: 30px;
  54. border-radius: 4px;
  55. overflow: hidden;
  56. }
  57. .index-news .news-cont strong{
  58. position: absolute;
  59. top: 0;
  60. left: 0.625rem;
  61. }
  62. .index-news .news-cont strong em{
  63. font-style: normal;
  64. font-size: 0.8rem;
  65. color: #fff;
  66. padding: 1px 2px 0;
  67. margin-left: 2px;
  68. border-radius: 2px;
  69. }
  70. .index-news .infoBox{
  71. display: inline-block;
  72. }
  73. .index-news .news-cont ul{
  74. list-style-type: none;
  75. margin: 0;
  76. }
  77. .index-news .news-cont ul li{
  78. line-height: 30px;
  79. }
  80. .index-news .news-cont ul li span{
  81. padding-left: 72px;
  82. word-break: break-all;
  83. white-space: nowrap;
  84. overflow: hidden;
  85. }
  86. .index-news .news-cont ul li span i{
  87. font-style: normal;
  88. font-size: 0.8rem;
  89. border: 1px solid #fe7900;
  90. color: #fe7900;
  91. border-radius: 2px;
  92. padding: 0 1px;
  93. margin-right: 5px;
  94. }
  95. .index-news .news-cont .news-more{
  96. position: absolute;
  97. top: 0;
  98. right: 0;
  99. display: inline-block;
  100. background: #fff;
  101. padding: 0 0.625rem;
  102. border-left: 1px solid #f2f2f2;
  103. }
  104. .index-seckill{}
  105. .index-seckill .seckill-hd{
  106. position: relative;
  107. height: 30px;
  108. padding: 0 0.625rem;
  109. margin-bottom: 0.5rem;
  110. }
  111. span.seckill-hd-title.theme-color {
  112. font-weight: bold;
  113. font-size: 1.25rem;
  114. }
  115. .index-seckill .seckill-hd strong{
  116. line-height: 30px;
  117. font-size: 0.8rem;
  118. }
  119. .index-seckill .seckill-hd #time {
  120. position: absolute;
  121. top: 0;
  122. left: 42%;
  123. line-height: 30px;
  124. }
  125. .seckill-hd #time span{
  126. padding: 0 3px;
  127. border: 1px solid #dedede;
  128. border-radius: 4px;
  129. font-size: 0.8rem;
  130. }
  131. .index-seckill .seckill-hd-r{
  132. position: absolute;
  133. right: 0.625rem;
  134. top: 0;
  135. line-height: 30px;
  136. font-size: 0.8rem;
  137. }
  138. .index-seckill .seckill-bd{
  139. width: 100%;
  140. overflow: hidden;
  141. }
  142. .index-seckill .seckill-bd .seckill-wares{}
  143. .index-seckill .seckill-bd .seckill-wares .seckill-ware{
  144. text-align: center;
  145. padding: 0.625rem;
  146. }
  147. .seckill-ware img{
  148. width: 100%;
  149. }
  150. .seckill-ware p{
  151. margin: 5px 0 0;
  152. font-size: 0.8rem;
  153. font-weight: bold;
  154. }
  155. .seckill-ware p strong{
  156. font-size: 1.25rem;
  157. }
  158. .seckill-ware del{
  159. font-size: 0.8rem;
  160. color: #999;
  161. }
  162. .index-show{
  163. width: 100%;
  164. }
  165. .index-show img{
  166. width: 100%;
  167. }
  168. .index-show .col-sm-12, .index-show .col-sm-4, .index-show .col-sm-6, .index-show .col-xs-12, .index-show .col-xs-4, .index-show .col-xs-6{
  169. padding: 0;
  170. }
  171. ul, ol, li{list-style-type: none;}
  172. .index-wares{
  173. width: 100%;
  174. }
  175. .index-wares .wares-title {
  176. line-height: 3rem;
  177. text-align: center;
  178. font-size: 1.3rem;
  179. margin-top: 0.625rem;
  180. }
  181. .index-wares .wares-title img{
  182. width: 100%;
  183. }
  184. .index-wares .wares-cont{
  185. margin: 0;
  186. padding: 0;
  187. background: #fff;
  188. }
  189. .index-wares .wares-cont .ware-box{
  190. width: 49.6%;
  191. float: left;
  192. padding-bottom: 5px;
  193. border-bottom: 1px solid #f4f4f4;
  194. }
  195. .index-wares .wares-cont .ware-box:nth-child(2n+1){
  196. border-right: 1px solid #f4f4f4;
  197. }
  198. .index-wares .wares-cont .ware-box .ware-img{
  199. position: relative;
  200. padding: 20px;
  201. }
  202. .index-wares .wares-cont .ware-box .ware-img img{
  203. width: 100%;
  204. }
  205. .index-wares .wares-cont .ware-box .ware-img .ware-vip{
  206. position: absolute;
  207. background: #ff6585;
  208. color: #fff;
  209. padding: 1px 7px;
  210. font-size: 0.8rem;
  211. bottom: 0;
  212. left: 0;
  213. }
  214. .index-wares .wares-cont .ware-box .ware-title{
  215. font-size: 1.2rem;
  216. line-height: 25px;
  217. margin: 0;
  218. word-break: break-all;
  219. white-space: nowrap;
  220. overflow: hidden;
  221. text-overflow: ellipsis;
  222. }
  223. .index-wares .wares-cont .ware-box .ware-des{
  224. margin: 0;
  225. line-height: 20px;
  226. font-size: 1rem;
  227. color: #bbbbbb;
  228. word-break: break-all;
  229. white-space: nowrap;
  230. overflow: hidden;
  231. text-overflow: ellipsis;
  232. }
  233. .index-wares .wares-cont .ware-box .ware-prince{
  234. font-size: 1.1rem;
  235. }
  236. .index-navs .weui-btn {
  237. border-radius: 2.5rem;
  238. height: 5rem;
  239. line-height: 5rem;
  240. color: #5A5A5A;
  241. border: 1px solid #5A5A5A;
  242. }
  243. /*优惠券页面*/
  244. .coupon-cont{
  245. padding: 1.5rem;
  246. }
  247. .coupon-cont img{width: 100%; margin-bottom: 1.5rem;}
  248. .weui-notice {
  249. margin: 1rem 15px 2rem;
  250. }
  251. .notice-header {
  252. height: 3rem;
  253. line-height: 3rem;
  254. font-size: 16px;
  255. font-weight: bold;
  256. }
  257. .notice-box {
  258. height: 365px;
  259. overflow: hidden;
  260. border: 1px solid #ccc;
  261. text-indent: .25rem;
  262. border-radius: 2px;
  263. }
  264. .notice-list .swiper-slide {
  265. overflow: hidden;
  266. }
  267. .notice-item {
  268. height: 30px;
  269. line-height: 30px;
  270. font-size: 16px;
  271. }
  272. .notice-item .name {
  273. width: 120px;
  274. text-overflow: ellipsis;
  275. white-space: nowrap;
  276. overflow: hidden;
  277. }
  278. .notice-item .time {
  279. width: 100px;
  280. /*width: 80px;*/
  281. }
  282. .notice-item span {
  283. margin-right: 1rem;
  284. display: inline-block;
  285. vertical-align: middle;
  286. }
  287. .head-search {
  288. /*width: 70%;*/
  289. }
  290. .location {
  291. position: absolute;
  292. width: 12%;
  293. text-align: center;
  294. left: 0;
  295. }
  296. .index-navs {
  297. margin-bottom: 6rem;
  298. }