base.css 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
  1. html,body{
  2. font-family: Microsoft YaHei;
  3. font-size: 14px;
  4. font-weight:400;
  5. -webkit-text-size-adjust:100%;
  6. height:100%;
  7. width:100%;
  8. text-align:left;
  9. display:-webkit-box;
  10. -webkit-box-orient:vertical;
  11. color: #333;
  12. }
  13. html,body,h1,h2,h3,h4,h5,h6,hr,p,iframe,dl,dt,dd,ul,ol,li,pre,form,button,input,textarea,th,td,fieldset,div{
  14. margin:0;
  15. padding:0;
  16. box-sizing: border-box;
  17. }
  18. input,
  19. button{
  20. overflow: visible;
  21. vertical-align:middle;
  22. outline:none;
  23. }
  24. input[type="submit"],
  25. input[type="reset"],
  26. input[type="button"],
  27. input[type="text"],
  28. input[type="password"] {
  29. -webkit-appearance:none;
  30. outline:none;
  31. }
  32. input::-webkit-outer-spin-button,
  33. input::-webkit-inner-spin-button {
  34. -webkit-appearance: none;
  35. }
  36. input[type="number"]{
  37. -moz-appearance: textfield;
  38. }
  39. body,
  40. th,
  41. td,
  42. button,
  43. input,
  44. select,
  45. textarea{
  46. -webkit-font-smoothing: antialiased;
  47. -moz-osx-font-smoothing:grayscale;
  48. }
  49. ul,ol,dl{
  50. list-style-type:none;
  51. }
  52. a {
  53. background-color: transparent;
  54. text-decoration: none;
  55. cursor: pointer;
  56. color: #333;
  57. }
  58. a:active,
  59. a:hover {
  60. color: #F10215;
  61. outline: 0;
  62. text-decoration: none;
  63. }
  64. a.nohover:hover{
  65. color: inherit;
  66. outline: 0;
  67. text-decoration: none;
  68. }
  69. .fl{float: left;}
  70. .fr{float: right;}
  71. button{cursor: pointer;}
  72. img{
  73. border:0;
  74. vertical-align:middle;
  75. }
  76. a img,img{
  77. -ms-interpolation-mode:bicubic;
  78. }
  79. table {
  80. border-spacing: 0;
  81. border-collapse: collapse;
  82. }
  83. td,
  84. th {
  85. padding: 0;
  86. }
  87. a{color: inherit}
  88. audio,
  89. canvas,
  90. video{
  91. display:inline-block;
  92. *display:inline;
  93. *zoom:1
  94. }
  95. audio:not([controls]){
  96. display:none
  97. }
  98. svg:not(:root) {
  99. overflow: hidden
  100. }
  101. input[type="number"]::-webkit-inner-spin-button,
  102. input[type="number"]::-webkit-outer-spin-button {
  103. height: auto
  104. }
  105. input[type="search"] {
  106. -webkit-appearance: textfield;
  107. }
  108. input[type="search"]::-webkit-search-cancel-button,
  109. input[type="search"]::-webkit-search-decoration {
  110. -webkit-appearance: none;
  111. }
  112. .overflow{
  113. width: 100%;
  114. overflow: hidden;
  115. white-space: nowrap;
  116. text-overflow: ellipsis;
  117. }
  118. .more-overflow {
  119. display: -webkit-box;
  120. word-break: break-all;
  121. overflow: hidden;
  122. -webkit-line-clamp: 2;
  123. -webkit-box-orient: vertical;
  124. }
  125. /*箭头*/
  126. .right-arrow {
  127. position: absolute;
  128. width: 8px;
  129. height: 8px;
  130. top: 0;
  131. bottom: 0;
  132. margin: auto;
  133. right: 15px;
  134. border: none;
  135. border-left: 0;
  136. border-bottom: 0;
  137. border-top: 1px solid #969696;
  138. border-right: 1px solid #969696;
  139. -moz-transform: rotate(45deg);
  140. -ms-transform: rotate(45deg);
  141. -o-transform: rotate(45deg);
  142. -webkit-transform: rotate(45deg);
  143. transform: rotate(45deg);
  144. }
  145. .disnone,.none{display: none; }
  146. .form-line{
  147. position: relative;
  148. }
  149. label.error,span.error{
  150. color: red;
  151. font-size: .7rem;
  152. position: absolute;
  153. left: 10px;
  154. bottom: -18px;
  155. margin: auto;
  156. }
  157. .pos-re{
  158. position: relative;
  159. }
  160. .color-66{color: #666;}
  161. .color-99{color: #999;}
  162. .color-red{color: #F10215;}
  163. .color-blue{color: #3383d6;}
  164. .color-green{color: #22ac38;}
  165. .font-12{font-size: 12px;}
  166. .font-14{font-size: 14px;}
  167. .text-center{text-align: center;}
  168. .width-1200{
  169. width: 1200px;
  170. margin: 0 auto;
  171. }
  172. .b-title{
  173. font-weight: 600;
  174. font-size: 26px;
  175. position: relative;
  176. padding-bottom: 30px;
  177. width: 105px;
  178. }
  179. /** 首页头部样式 **/
  180. .header{
  181. background-color: #fff;
  182. }
  183. .header .top-bg{
  184. height: 30px;
  185. line-height: 30px;
  186. color: #666;
  187. font-size: 13px;
  188. background-color: #f5f5f5;
  189. }
  190. .header .header-top{
  191. height: 130px;
  192. padding: 30px 0;
  193. }
  194. .header .logo{
  195. width: 100px;
  196. height: 70px;
  197. margin-right: 20px;
  198. }
  199. .header .space-line{
  200. height: 100%;
  201. width: 1px;
  202. background-color: rgba(0,0,0,0.1);
  203. margin-right: 20px;
  204. }
  205. .header .logo-brand{
  206. margin-right: 10px;
  207. width: 100px;
  208. height: 70px;
  209. }
  210. .header .logo-title{
  211. font-size:32px;
  212. font-weight:bold;
  213. line-height:70px;
  214. color: #DC3223;
  215. }
  216. .btn-login{
  217. background-color: #DC3223;
  218. color: #fff;
  219. width: 60px;
  220. height: 30px;
  221. text-align: center;
  222. line-height: 30px;
  223. cursor: pointer;
  224. margin-top: 15px;
  225. border-radius: 5px;
  226. }
  227. .flex-between{
  228. display: flex;
  229. flex-wrap: nowrap;
  230. justify-content: space-between;
  231. }
  232. .nav{
  233. box-shadow: -2px -2px 10px #eee;
  234. color: #333;
  235. height: 60px;
  236. background-color: #fff;
  237. }
  238. .nav .nav-list{
  239. display: flex;
  240. flex-wrap: wrap;
  241. }
  242. .nav-item{
  243. width: 150px;
  244. text-align: center;
  245. height: 60px;
  246. line-height: 60px;
  247. font-weight: 600;
  248. font-size: 16px;
  249. cursor: pointer;
  250. position: relative;
  251. }
  252. .nav-item.active,.nav-item:hover{
  253. background-color: #DC3223;
  254. color: #fff;
  255. }
  256. .nav-product:hover .nav-product-menu{
  257. display: block;
  258. }
  259. .nav-product-menu{
  260. width: 190px;
  261. background-color: rgba(0,0,0,0.4);
  262. position: absolute;
  263. z-index: 9;
  264. display: none;
  265. }
  266. .nav-product-menu li{
  267. margin: 0 10px;
  268. line-height: 48px;
  269. font-size: 15px;
  270. color: #fff;
  271. border-bottom: 1px solid #ddd;
  272. }
  273. .call-24{
  274. margin-top: 10px;
  275. }
  276. .call-24 .dh-ico{
  277. width: 40px;
  278. height: 40px;
  279. margin: 5px 5px 0 0;
  280. }
  281. .call-24 .dh-title{
  282. font-size: 16px;
  283. color: #666;
  284. letter-spacing: 4px;
  285. text-align: center;
  286. }
  287. .call-24 .dh-phone{
  288. font-size: 24px;
  289. color: #DC3223;
  290. font-weight: 600;
  291. }
  292. /* 底部導航 */
  293. .index-footer{
  294. width: 100%;
  295. background-color: #666;
  296. color:rgba(255,255,255,0.4);
  297. text-align: center;
  298. padding-bottom: 40px;
  299. border-top: 4px solid #DC3223;
  300. }
  301. .flex-start{
  302. display: flex;
  303. flex-wrap: nowrap;
  304. justify-content: flex-start;
  305. }
  306. .footer-menu{
  307. padding: 40px 0 20px;
  308. }
  309. .footer-menu span{
  310. margin: 0 8px 0 10px;
  311. }
  312. .footer-address span{
  313. margin-right: 20px;
  314. }
  315. .footer-bottom{
  316. font-size: 12px;
  317. line-height: 40px;
  318. color:#333;
  319. text-align: center;
  320. }
  321. .footer-item{
  322. width: 25%;
  323. color: #fff;
  324. text-align: left;
  325. line-height: 1.8;
  326. }
  327. .footer-item .footer-title{
  328. font-size: 18px;
  329. padding: 50px 0 10px;
  330. }
  331. .footer-item .footer-img{
  332. width: 140px;
  333. height: 140px;
  334. padding-top: 50px;
  335. box-sizing: content-box;
  336. }
  337. .footer-center{
  338. text-align: center;
  339. }
  340. .follow-tips{
  341. padding-top: 5px;
  342. }
  343. .noselect {
  344. -webkit-touch-callout: none; /* iOS Safari */
  345. -webkit-user-select: none; /* Chrome/Safari/Opera */
  346. -khtml-user-select: none; /* Konqueror */
  347. -moz-user-select: none; /* Firefox */
  348. -ms-user-select: none; /* Internet Explorer/Edge */
  349. user-select: none; /* Non-prefixed version, currently*/
  350. }