main.css 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419
  1. @media only screen and (max-width: 310px) and (min-width: 300px) {
  2. html {
  3. font-size: 10px !important;
  4. }
  5. }
  6. @media only screen and (max-width: 320px) and (min-width: 310px) {
  7. html {
  8. font-size: 10px !important;
  9. }
  10. }
  11. @media only screen and (max-width: 360px) and (min-width: 320px) {
  12. html {
  13. font-size: 10px !important;
  14. }
  15. }
  16. @media only screen and (max-width: 360px) and (min-width: 350px) {
  17. html {
  18. font-size: 10px !important;
  19. }
  20. }
  21. @media only screen and (max-width: 480px) and (min-width: 360px) {
  22. html {
  23. font-size: 12px !important;
  24. }
  25. }
  26. @media only screen and (max-width: 480px) and (min-width: 470px) {
  27. html {
  28. font-size: 12px !important;
  29. }
  30. }
  31. @media only screen and (max-width: 560px) and (min-width: 480px) {
  32. html {
  33. font-size: 14px !important;
  34. }
  35. }
  36. @media only screen and (max-width: 570px) and (min-width: 560px) {
  37. html {
  38. font-size: 14px !important;
  39. }
  40. }
  41. @media only screen and (max-width: 640px) and (min-width: 570px) {
  42. html {
  43. font-size: 16px !important;
  44. }
  45. }
  46. @media only screen and (max-width: 640px) and (min-width: 630px) {
  47. html {
  48. font-size: 16px !important;
  49. }
  50. }
  51. @media only screen and (min-width: 640px) {
  52. html {
  53. font-size: 16px !important;
  54. }
  55. }
  56. body,html {
  57. height: 100%;
  58. }
  59. body {
  60. background: #f6f6f6;
  61. font-family: 微软雅黑;
  62. max-width: 640px;
  63. margin: 0 auto;
  64. overflow-y: scroll;
  65. overflow-x: hidden;
  66. }
  67. #app {
  68. width: 100%;
  69. height: 100%;
  70. }
  71. .zyw-container {
  72. width: 100%;
  73. max-width: 640px;
  74. margin: 0 auto;
  75. position: relative;
  76. height: 100%;
  77. }
  78. .zyw-footer .zyw-container .weui-tabbar {
  79. background-color: #fff;
  80. top: 0;
  81. height: 56px;
  82. }
  83. .zyw-container > img {
  84. width: 100%;
  85. }
  86. .mt-2 {
  87. margin-top: 2rem;
  88. }
  89. .mt-625 {
  90. margin-top: 0.625rem;
  91. margin-bottom: 0;
  92. }
  93. .mb-625 {
  94. margin-bottom: 0.625rem;
  95. margin-top: 0;
  96. }
  97. a {
  98. color: inherit;
  99. text-decoration: none !important;
  100. }
  101. .white-color {
  102. color: #fff !important;
  103. }
  104. .white-bgcolor {
  105. background: #fff !important;
  106. }
  107. .red-color {
  108. color: #ff0000;
  109. }
  110. .zyw-header, .zyw-footer {
  111. position: fixed;
  112. width: 100%;
  113. z-index: 5;
  114. left: 0;
  115. }
  116. .zyw-header {
  117. top: 0;
  118. height: 45px;
  119. line-height: 45px;
  120. background: url("../img/head-bg.jpg") no-repeat;
  121. background-size: cover;
  122. }
  123. .zyw-footer {
  124. bottom: 0;
  125. height: 56px;
  126. }
  127. .zyw-footer ~ .zyw-container {
  128. border-bottom: 56px solid transparent;
  129. }
  130. .zyw-header ~ .zyw-container {
  131. border-top: 45px solid transparent;
  132. }
  133. .zyw-header .head-l {
  134. position: absolute;
  135. top: 0;
  136. font-size: 1.5rem;
  137. left: 10px;
  138. }
  139. .zyw-header .head-r {
  140. position: absolute;
  141. top: 0;
  142. font-size: 1.5rem;
  143. right: 10px;
  144. }
  145. .zyw-header .head-r a {
  146. font-size: 1.2rem;
  147. }
  148. .zyw-header h1 {
  149. text-align: center;
  150. font-size: 1.5rem;
  151. margin: 0;
  152. line-height: 45px;
  153. }
  154. .zyw-footer p {
  155. margin: 0;
  156. }
  157. .choose-text {
  158. margin: 0;
  159. font-size: 1.25rem;
  160. color: #999;
  161. height: 2.5rem;
  162. line-height: 2.5rem;
  163. }
  164. .choose-text span {
  165. margin-left: 2rem;
  166. max-width: 50%;
  167. color: #444;
  168. overflow: hidden;
  169. text-overflow: ellipsis;
  170. word-break: keep-all;
  171. white-space: nowrap;
  172. }
  173. .choose-des {
  174. font-size: 1rem;
  175. }
  176. .weui-cells .weui-cell {
  177. border-bottom: 1px solid #f6f6f6;
  178. }
  179. .weui-cells .weui-cell:last-child {
  180. border-bottom: none;
  181. }
  182. /*首页头部*/
  183. .head-search {
  184. position: relative;
  185. width: 82%;
  186. /*width: 72%;*/
  187. margin: 0 auto;
  188. line-height: 45px;
  189. margin-left: 15px;
  190. }
  191. .head-search input {
  192. width: 100%;
  193. height: 30px;
  194. line-height: 30px;
  195. border: none;
  196. padding-left: 30px;
  197. border-radius: 15px;
  198. /*border-radius: 4px;*/
  199. font-size: 0.8rem;
  200. }
  201. .head-search input::-webkit-input-placeholder {
  202. color: #fff;
  203. font-size: 0.8rem;
  204. }
  205. .head-search input:-moz-placeholder {
  206. color: #fff;
  207. font-size: 0.8rem;
  208. }
  209. .head-search input::-moz-placeholder {
  210. color: #fff;
  211. font-size: 0.8rem;
  212. }
  213. .head-search input:-ms-input-placeholder {
  214. color: #fff;
  215. font-size: 0.8rem;
  216. }
  217. .head-search .fa-search {
  218. position: absolute;
  219. top: 50%;
  220. margin-top: -8px;
  221. left: 8px;
  222. }
  223. /*tab层样式*/
  224. .weui-navbar {
  225. background-color: #fff;
  226. }
  227. .weui-navbar__item {
  228. padding: 9px 0;
  229. font-size: 14px;
  230. color: #444;
  231. }
  232. .weui-navbar__item:after {
  233. border-right: none;
  234. }
  235. /*.weui-navbar__item.weui-bar__item--on:after{*/
  236. /*display: block;*/
  237. /*content: '';*/
  238. /*width: 100%;*/
  239. /*height: 2px;*/
  240. /*bottom: 0;*/
  241. /*left: 0;*/
  242. /*margin-left: -31px;*/
  243. /*top: auto;*/
  244. /*border-radius: 2px;*/
  245. /*background-color: #f23030;*/
  246. /*}*/
  247. /* 下拉选择 */
  248. .weui_select_after {
  249. padding-left: 15px;
  250. }
  251. .weui_cell_select {
  252. padding: 0;
  253. }
  254. .weui_cell:before {
  255. content: " ";
  256. position: absolute;
  257. left: 0;
  258. top: 0;
  259. width: 100%;
  260. height: 1px;
  261. border-top: 1px solid #d9d9d9;
  262. color: #d9d9d9;
  263. -webkit-transform-origin: 0 0;
  264. transform-origin: 0 0;
  265. -webkit-transform: scaleY(.5);
  266. transform: scaleY(.5);
  267. left: 15px;
  268. }
  269. .weui_cell_select .weui_cell_bd:after {
  270. content: " ";
  271. display: inline-block;
  272. -webkit-transform: rotate(45deg);
  273. transform: rotate(45deg);
  274. height: 6px;
  275. width: 6px;
  276. border-width: 2px 2px 0 0;
  277. border-color: #c8c8cd;
  278. border-style: solid;
  279. position: relative;
  280. top: -2px;
  281. position: absolute;
  282. top: 50%;
  283. right: 15px;
  284. margin-top: -3px;
  285. }
  286. .submit-btn{
  287. padding: 4rem 0.625rem;
  288. }
  289. .weui-btn-area {
  290. margin-top: 2rem;
  291. }
  292. .weui_cell_primary {
  293. -webkit-box-flex: 1;
  294. -webkit-flex: 1;
  295. flex: 1;
  296. }
  297. .weui_cell_select .weui_select {
  298. padding-right: 30px;
  299. }
  300. .weui_select_after .weui_select {
  301. padding-left: 0;
  302. }
  303. .weui_select {
  304. -webkit-appearance: none;
  305. border: 0;
  306. outline: 0;
  307. background-color: transparent;
  308. width: 100%;
  309. font-size: inherit;
  310. height: 44px;
  311. line-height: 44px;
  312. position: relative;
  313. z-index: 1;
  314. padding-left: 15px;
  315. }
  316. .weui_cell_primary .weui_select {
  317. width: 100%;
  318. }
  319. select::-ms-expand { display: none; }
  320. select {
  321. box-sizing: border-box;
  322. align-items: center;
  323. white-space: pre;
  324. -webkit-rtl-ordering: logical;
  325. color: black;
  326. -webkit-appearance: none;
  327. }
  328. option::-ms-expand{ display: none; }
  329. option{
  330. -moz-appearance:none; /* Firefox */
  331. -webkit-appearance:none; /* Safari 和 Chrome */
  332. appearance:none;
  333. }
  334. /* --背景色字体颜色--*/
  335. option:hover{
  336. color:#fff;
  337. background-color:#1E90FF;
  338. }
  339. [v-cloak] {
  340. display: none !important;
  341. }
  342. .empty {
  343. width: 100%;
  344. text-align: center;
  345. margin-top: 3rem;
  346. }
  347. .weui-btn_pink {
  348. background-color: #bf77fd;
  349. }
  350. .weui-btn_gray {
  351. background-color: #ccc;
  352. }
  353. p.weui-toast_content {
  354. margin: 0;
  355. }