index.css 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415
  1. body,
  2. h1,
  3. h2,
  4. h3,
  5. h4,
  6. h5,
  7. h6,
  8. hr,
  9. p,
  10. blockquote,
  11. dl,
  12. dt,
  13. dd,
  14. ul,
  15. ol,
  16. li,
  17. pre,
  18. form,
  19. fieldset,
  20. legend,
  21. button,
  22. input,
  23. textarea,
  24. th,
  25. td {
  26. margin: 0;
  27. padding: 0;
  28. color: #303133;
  29. }
  30. a {
  31. text-decoration: none;
  32. outline: none;
  33. }
  34. /*去除未被访问的a标签的下划线*/
  35. a:link {
  36. text-decoration: none;
  37. }
  38. /*去除已经被访问过的a标签的下划线*/
  39. a:visited {
  40. text-decoration: none;
  41. }
  42. /*去除鼠标悬停时的a标签的下划线*/
  43. a:hover {
  44. text-decoration: none;
  45. }
  46. /*去除正在点击的a标签的下划线(鼠标按下,尚未松开)*/
  47. a:active {
  48. text-decoration: none;
  49. }
  50. /*去除获得焦点的a标签的下划线(被鼠标点击过)*/
  51. a:focus {
  52. text-decoration: none;
  53. }
  54. .icon {
  55. width: 1.2em;
  56. height: 1.2em;
  57. vertical-align: -0.15em;
  58. fill: currentColor;
  59. overflow: hidden;
  60. }
  61. /* 盒子模型 */
  62. .flex-box {
  63. display: -webkit-box;
  64. /* Chrome 4+, Safari 3.1, iOS Safari 3.2+ */
  65. display: -moz-box;
  66. /* Firefox 17- */
  67. display: -webkit-flex;
  68. /* Chrome 21+, Safari 6.1+, iOS Safari 7+, Opera 15/16 */
  69. display: -moz-flex;
  70. /* Firefox 18+ */
  71. display: -ms-flexbox;
  72. /* IE 10 */
  73. display: flex;
  74. /* Chrome 29+, Firefox 22+, IE 11+, Opera 12.1/17/18, Android 4.4+ */
  75. }
  76. /*盒子模型,竖向自适应,垂直排列 */
  77. .flex-box-v {
  78. display: -webkit-box;
  79. display: -webkit-flex;
  80. display: flex;
  81. -webkit-box-orient: vertical;
  82. -webkit-flex-flow: column;
  83. flex-flow: column !important;
  84. }
  85. .flex-d-center {
  86. justify-content: space-between;
  87. -webkit-justify-content: space-between;
  88. }
  89. .flex-box-ce {
  90. display: -webkit-box;
  91. display: -moz-box;
  92. display: -ms-flexbox;
  93. display: -webkit-flex;
  94. display: flex;
  95. align-items: center;
  96. -webkit-align-items: center;
  97. -webkit-box-align: center;
  98. }
  99. /* 水平等列排版(子元素两边有缝隙自己适应) */
  100. .flex-dv-center {
  101. justify-content: space-around;
  102. -webkit-justify-content: space-around;
  103. }
  104. /*通过一起使用 box-align 和 box-pack 属性,对 view 框的子元素进行居中,目前没有浏览器支持box-align 和 box-pack 属性,所以需要加上浏览器内核-webkit,-moz等的简写 */
  105. .flex-center-center {
  106. justify-content: center;
  107. -webkit-justify-content: center;
  108. -moz-justify-content: center;
  109. align-items: center;
  110. -webkit-align-items: center;
  111. -webkit-box-pack: center;
  112. -webkit-box-align: center;
  113. -moz-align-items: center;
  114. -moz-box-pack: center;
  115. -moz-box-align: center;
  116. }
  117. .flex-1 {
  118. -webkit-box-flex: 1;
  119. -moz-box-flex: 1;
  120. -webkit-flex: 1;
  121. -ms-flex: 1;
  122. flex: 1;
  123. }
  124. .flex-d-wrap {
  125. flex-wrap: wrap;
  126. }
  127. /* 字体颜色 */
  128. .blue {
  129. color: #409EFF !important;
  130. }
  131. .red {
  132. color: #f56c6c !important;
  133. }
  134. .yellow {
  135. color: #FFC910 !important;
  136. }
  137. .orange {
  138. color: #FF9600 !important;
  139. }
  140. .green {
  141. color: #67c23a !important;
  142. }
  143. .cyan {
  144. color: #00C4CB !important;
  145. }
  146. .black {
  147. color: #141c28 !important;
  148. }
  149. .blue-box {
  150. color: #409EFF !important;
  151. background-color: #ecf5ff !important;
  152. }
  153. .red-box {
  154. color: #f56c6c !important;
  155. background-color: #fef0f0 !important;
  156. }
  157. .yellow-box {
  158. color: #FFC910 !important;
  159. background-color: #fdf6ec !important;
  160. }
  161. .orange-box {
  162. color: #FF9600 !important;
  163. background-color: #fdf6ec !important;
  164. }
  165. .green-box {
  166. color: #67c23a !important;
  167. background-color: #f0f9eb !important;
  168. }
  169. .fontColorA {
  170. color: #303133 !important;
  171. }
  172. .fontColorB {
  173. color: #606266 !important;
  174. }
  175. .fontColorC {
  176. color: #89919F !important;
  177. }
  178. .fontColorD {
  179. color: #BFC7D5 !important;
  180. }
  181. .content {
  182. padding: 20px;
  183. background-color: #fff;
  184. max-width: 677px;
  185. margin: 0 auto;
  186. }
  187. img,
  188. video {
  189. width: 100%;
  190. vertical-align: bottom;
  191. }
  192. .content p {
  193. margin-top: 0;
  194. margin-bottom: 24px;
  195. }
  196. video {
  197. margin-bottom: 24px;
  198. }
  199. .code {
  200. border-style: solid;
  201. border-width: 1px;
  202. box-sizing: border-box;
  203. width: 243px !important;
  204. height: auto !important;
  205. visibility: visible !important;
  206. }
  207. .menu-button {
  208. position: absolute;
  209. width: 24px;
  210. height: 24px;
  211. top: 8px;
  212. right: 12px;
  213. background: url(../images/stock/menu.png) center center no-repeat;
  214. background-size: 24px;
  215. }
  216. .navs {
  217. padding: 10px;
  218. }
  219. .navs a {
  220. padding: 6px 0;
  221. }
  222. .drawer-body {
  223. position: fixed;
  224. box-shadow: rgba(0, 0, 0, 0.15) 1px -1px 2px;
  225. border-radius: 8px;
  226. top: 52px;
  227. right: 10px;
  228. transform: translateY(-120%);
  229. transition: transform 0.3s ease-out 0s;
  230. will-change: transform;
  231. z-index: 4;
  232. background-color: #fff;
  233. }
  234. .drawer-body-visible {
  235. transform: translateY(0%);
  236. }
  237. .drawer-mask {
  238. opacity: 0;
  239. position: fixed;
  240. inset: 0px;
  241. background-color: rgba(0, 0, 0, 0.4);
  242. transition: opacity 0.5s ease-out 0s;
  243. visibility: hidden;
  244. pointer-events: auto;
  245. z-index: 2;
  246. }
  247. .mask-visible {
  248. opacity: 1;
  249. visibility: visible;
  250. }
  251. .header {
  252. padding: 0 20px;
  253. border-bottom: 1px solid #f1f1f1;
  254. position: sticky;
  255. top: 0;
  256. left: 0;
  257. right: 0;
  258. z-index: 99;
  259. background-color: #fff;
  260. }
  261. .header img {
  262. width: 6rem;
  263. }
  264. .sanjiao {
  265. width: 8px;
  266. height: 8px;
  267. box-sizing: border-box;
  268. border: 8px solid;
  269. border-color: transparent transparent #fff transparent;
  270. position: absolute;
  271. top: -15px;
  272. right: 8px;
  273. z-index: 99;
  274. }
  275. .app {
  276. position: relative;
  277. }
  278. .footer {
  279. position: fixed;
  280. z-index: 1;
  281. background-color: #fff;
  282. bottom: 0;
  283. left: 0;
  284. right: 0;
  285. padding:4px 20px;
  286. }
  287. .zx{
  288. border: 1px solid #409EFF;
  289. border-radius: 25px;
  290. color: #409EFF;
  291. font-size: 1rem;
  292. padding: 6px 0;
  293. }
  294. .wx{
  295. border: 1px solid #409EFF;
  296. border-radius: 25px;
  297. color: #fff;
  298. font-size: 1rem;
  299. background-color: #409EFF;
  300. padding: 6px 0;
  301. }
  302. .zx .icon,.wx .icon{
  303. padding-right: 5px;
  304. font-size: 1.2rem;
  305. }
  306. .wx-box{
  307. position: fixed;
  308. top: 50%;
  309. width: 80%;
  310. left: 10%;
  311. border-radius: 10px;
  312. background-color: #fff;
  313. padding: 20px;
  314. z-index: 3;
  315. box-sizing: border-box;
  316. transform: translate(0%,-50%);
  317. padding-top: 30px;
  318. display: none;
  319. }
  320. .wx-title{
  321. font-size: 1.2rem;
  322. font-weight: 700;
  323. color: #141c28;
  324. }
  325. .wx-content{
  326. color: #606266;
  327. background-color: #f1f1f1;
  328. border-radius: 5px;
  329. padding: 20px;
  330. margin: 10px 0;
  331. }
  332. .wx-btn{
  333. background-color: #1CAC19;
  334. color: #fff;
  335. margin: 0 auto;
  336. padding: 10px 0;
  337. width: 120px;
  338. text-align: center;
  339. border-radius: 8px;
  340. }
  341. .wx-close{
  342. position: absolute;
  343. right: 10px;
  344. top: 10px;
  345. font-size: 22px;
  346. font-weight: 600;
  347. width: 20px;
  348. height: 20px;
  349. text-align: center;
  350. line-height: 20px;
  351. }
  352. #input{
  353. position: absolute; top: 0; left: 0; opacity: 0; z-index: -10;
  354. }
  355. .van-popup{
  356. position: fixed;
  357. z-index: 4;
  358. text-align: center;
  359. box-sizing: border-box;
  360. padding: 10px;
  361. font-size: 1rem;
  362. line-height: 0.4rem;
  363. width: 120px;
  364. top: 10%;
  365. left: 50%;
  366. margin-left: -60px;
  367. border-radius: 5px;
  368. background-color: #fff;
  369. box-shadow: 0 0 0.06rem #ccc;
  370. }