free.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417
  1. /* #ifndef APP-PLUS-NVUE */
  2. /* scroll-view */
  3. .scroll-row{ width: 100%;white-space: nowrap; }
  4. .scroll-row-item{ display: inline-block!important; }
  5. /* #endif */
  6. /* 图标 */
  7. .iconfont{
  8. font-family:iconfont;
  9. }
  10. .view,.text{
  11. font-size:28rpx;
  12. line-height:1.8;
  13. color:#0E151D;
  14. }
  15. /* 宽度 */
  16. /* #ifndef APP-PLUS-NVUE */
  17. .w-100{ width: 100%; }
  18. /* #endif */
  19. .row {
  20. margin-right: -20rpx;
  21. margin-left: -20rpx;
  22. /* #ifndef APP-PLUS-NVUE */
  23. display: flex;
  24. /* #endif */
  25. flex-wrap: wrap;
  26. flex-direction: row;
  27. }
  28. .col-1,
  29. .col-2,
  30. .col-3,
  31. .col-4,
  32. .col-5,
  33. .col-6,
  34. .col-7,
  35. .col-8,
  36. .col-9,
  37. .col-10,
  38. .col-11,
  39. .col-12{
  40. position: relative;
  41. padding-right: 20rpx;
  42. padding-left: 20rpx;
  43. }
  44. .col-12 { width: 750rpx;}
  45. .col-11 { width: 687.5rpx; }
  46. .col-10 { width: 625rpx; }
  47. .col-9 { width: 562.5rpx; }
  48. .col-8 { width: 500rpx; }
  49. .col-7 { width: 437.5rpx; }
  50. .col-6 { width: 375rpx; }
  51. .col-5 { width: 312.5rpx;}
  52. .col-4 {width: 250rpx;}
  53. .col-3 {width: 187.5rpx;}
  54. .col-2 {width: 125rpx;}
  55. .col-1 {width: 62.5rpx;}
  56. .col-offset-12 { margin-left: 750rpx;}
  57. .col-offset-11 { margin-left: 687.5rpx; }
  58. .col-offset-10 { margin-left: 625rpx; }
  59. .col-offset-9 { margin-left: 562.5rpx; }
  60. .col-offset-8 { margin-left: 500rpx; }
  61. .col-offset-7 { margin-left: 437.5rpx; }
  62. .col-offset-6 { margin-left: 375rpx; }
  63. .col-offset-5 { margin-left: 312.5rpx;}
  64. .col-offset-4 {margin-left: 250rpx;}
  65. .col-offset-3 {margin-left: 187.5rpx;}
  66. .col-offset-2 {margin-left: 125rpx;}
  67. .col-offset-1 {margin-left: 62.5rpx;}
  68. .col-offset-0 {margin-left: 0;}
  69. /* flex 布局 */
  70. .flex{
  71. /* #ifndef APP-PLUS-NVUE */
  72. display:flex;
  73. /* #endif */
  74. flex-direction:row;
  75. }
  76. .flex-row{ flex-direction:row!important; }
  77. .flex-column{ flex-direction:column!important; }
  78. .flex-row-reverse{ flex-direction:row-reverse!important; }
  79. .flex-column-reverse{ flex-direction:column-reverse!important; }
  80. .flex-wrap{ flex-wrap:wrap;}
  81. .flex-nowrap{ flex-wrap:nowrap;}
  82. .justify-start{justify-content:flex-start;}
  83. .justify-end{justify-content:flex-end;}
  84. .justify-between{justify-content:space-between;}
  85. .justify-center{justify-content:center;}
  86. .align-center{ align-items: center; }
  87. .align-stretch{ align-items: stretch; }
  88. .align-start{ align-items: flex-start; }
  89. .align-end{ align-items: flex-end; }
  90. /* #ifndef APP-PLUS-NVUE */
  91. .content-start {align-content: flex-start;}
  92. .content-end {align-content: flex-end;}
  93. .content-center {align-content: center;}
  94. .content-between {align-content: space-between;}
  95. .content-around {align-content: space-around;}
  96. .content-stretch {align-content: stretch;}
  97. /* #endif */
  98. .flex-1{ flex: 1; }
  99. .flex-2{ flex: 2; }
  100. .flex-3{ flex: 3; }
  101. .flex-4{ flex: 4; }
  102. .flex-5{ flex: 5; }
  103. /* #ifndef APP-PLUS-NVUE */
  104. .flex-shrink{ flex-shrink: 0; }
  105. /* #endif */
  106. .container {
  107. padding-right: 20rpx;
  108. padding-left: 20rpx;
  109. }
  110. /* -- 内外边距 -- */
  111. .m-0 { margin: 0; }
  112. /* #ifndef APP-PLUS-NVUE */
  113. .m-auto{ margin: auto; }
  114. /* #endif */
  115. .m-1 { margin: 10rpx; }
  116. .m-2 { margin: 20rpx; }
  117. .m-3 { margin: 30rpx; }
  118. .m-4 { margin: 40rpx; }
  119. .m-5 { margin: 50rpx; }
  120. .mt-0 { margin-top: 0; }
  121. /* #ifndef APP-PLUS-NVUE */
  122. .mt-auto { margin-top: auto; }
  123. /* #endif */
  124. .mt-1 { margin-top: 10rpx; }
  125. .mt-2 { margin-top: 20rpx; }
  126. .mt-3 { margin-top: 30rpx; }
  127. .mt-4 { margin-top: 40rpx; }
  128. .mt-5 { margin-top: 50rpx; }
  129. .mb-0 { margin-bottom: 0; }
  130. /* #ifndef APP-PLUS-NVUE */
  131. .mb-auto { margin-bottom: auto; }
  132. /* #endif */
  133. .mb-1 { margin-bottom: 10rpx; }
  134. .mb-2 { margin-bottom: 20rpx; }
  135. .mb-3 { margin-bottom: 30rpx; }
  136. .mb-4 { margin-bottom: 40rpx; }
  137. .mb-5 { margin-bottom: 50rpx; }
  138. .ml-0 { margin-left: 0; }
  139. /* #ifndef APP-PLUS-NVUE */
  140. .ml-auto { margin-left: auto; }
  141. /* #endif */
  142. .ml-1 { margin-left: 10rpx; }
  143. .ml-2 { margin-left: 20rpx; }
  144. .ml-3 { margin-left: 30rpx; }
  145. .ml-4 { margin-left: 40rpx; }
  146. .ml-5 { margin-left: 50rpx; }
  147. .mr-0 { margin-right: 0; }
  148. /* #ifndef APP-PLUS-NVUE */
  149. .mr-auto { margin-right: auto; }
  150. /* #endif */
  151. .mr-1 { margin-right: 10rpx; }
  152. .mr-2 { margin-right: 20rpx; }
  153. .mr-3 { margin-right: 30rpx; }
  154. .mr-4 { margin-right: 40rpx; }
  155. .mr-5 { margin-right: 50rpx; }
  156. .my-0 { margin-top: 0; margin-bottom: 0; }
  157. /* #ifndef APP-PLUS-NVUE */
  158. .my-auto { margin-top: auto; margin-bottom: auto; }
  159. /* #endif */
  160. .my-1 { margin-top: 10rpx; margin-bottom: 10rpx; }
  161. .my-2 { margin-top: 20rpx; margin-bottom: 20rpx; }
  162. .my-3 { margin-top: 30rpx; margin-bottom: 30rpx; }
  163. .my-4 { margin-top: 40rpx; margin-bottom: 40rpx; }
  164. .my-5 { margin-top: 50rpx; margin-bottom: 50rpx; }
  165. .mx-0 { margin-left: 0; margin-right: 0; }
  166. /* #ifndef APP-PLUS-NVUE */
  167. .mx-auto { margin-left: auto; margin-right: auto; }
  168. /* #endif */
  169. .mx-1 { margin-left: 10rpx; margin-right: 10rpx;}
  170. .mx-2 { margin-left: 20rpx; margin-right: 20rpx;}
  171. .mx-3 { margin-left: 30rpx; margin-right: 30rpx;}
  172. .mx-4 { margin-left: 40rpx; margin-right: 40rpx;}
  173. .mx-5 { margin-left: 50rpx; margin-right: 50rpx;}
  174. .p-0 { padding: 0; }
  175. .p { padding: 5rpx; }
  176. .p-1 { padding: 10rpx; }
  177. .p-2 { padding: 20rpx; }
  178. .p-3 { padding: 30rpx; }
  179. .p-4 { padding: 40rpx; }
  180. .p-5 { padding: 50rpx; }
  181. .pt-0 { padding-top: 0; }
  182. .pt { padding-top: 5rpx; }
  183. .pt-1 { padding-top: 10rpx; }
  184. .pt-2 { padding-top: 20rpx; }
  185. .pt-3 { padding-top: 30rpx; }
  186. .pt-4 { padding-top: 40rpx; }
  187. .pt-5 { padding-top: 50rpx; }
  188. .pb-0 { padding-bottom: 0; }
  189. .pb-1 { padding-bottom: 10rpx; }
  190. .pb { padding-bottom: 5rpx; }
  191. .pb-2 { padding-bottom: 20rpx; }
  192. .pb-3 { padding-bottom: 30rpx; }
  193. .pb-4 { padding-bottom: 40rpx; }
  194. .pb-5 { padding-bottom: 50rpx; }
  195. .pl-0 { padding-left: 0; }
  196. .pl { padding-left: 5rpx; }
  197. .pl-1 { padding-left: 10rpx; }
  198. .pl-2 { padding-left: 20rpx; }
  199. .pl-3 { padding-left: 30rpx; }
  200. .pl-4 { padding-left: 40rpx; }
  201. .pl-5 { padding-left: 50rpx; }
  202. .pr-0 { padding-right: 0; }
  203. .pr { padding-right: 5rpx; }
  204. .pr-1 { padding-right: 10rpx; }
  205. .pr-2 { padding-right: 20rpx; }
  206. .pr-3 { padding-right: 30rpx; }
  207. .pr-4 { padding-right: 40rpx; }
  208. .pr-5 { padding-right: 50rpx; }
  209. .py-0 { padding-top: 0; padding-bottom: 0; }
  210. .py { padding-top: 5rpx; padding-bottom: 5rpx; }
  211. .py-1 { padding-top: 10rpx; padding-bottom: 10rpx; }
  212. .py-2 { padding-top: 20rpx; padding-bottom: 20rpx; }
  213. .py-3 { padding-top: 30rpx; padding-bottom: 30rpx; }
  214. .py-4 { padding-top: 40rpx; padding-bottom: 40rpx; }
  215. .py-5 { padding-top: 50rpx; padding-bottom: 50rpx; }
  216. .px-0 { padding-left: 0; padding-right: 0; }
  217. .px-1 { padding-left: 10rpx; padding-right: 10rpx;}
  218. .px { padding-left: 5rpx; padding-right: 5rpx;}
  219. .px-2 { padding-left: 20rpx; padding-right: 20rpx;}
  220. .px-3 { padding-left: 30rpx; padding-right: 30rpx;}
  221. .px-4 { padding-left: 40rpx; padding-right: 40rpx;}
  222. .px-5 { padding-left: 50rpx; padding-right: 50rpx;}
  223. /* 文字大小 */
  224. .font-1 { font-size: 10rpx;}
  225. .font-smaller { font-size: 15rpx;}
  226. .font-small { font-size: 20rpx;}
  227. .font-sm { font-size: 25rpx;}
  228. .font { font-size: 30rpx;}
  229. .font-md { font-size: 35rpx;}
  230. .font-lg { font-size: 40rpx;}
  231. .font-bg { font-size: 50rpx;}
  232. .h1{font-size:80rpx; line-height:1.8;}
  233. .h2{font-size:60rpx; line-height:1.8;}
  234. .h3{font-size:45rpx; line-height:1.8;}
  235. .h4{font-size:32rpx; line-height:1.8;}
  236. .h5{font-size:30rpx; line-height:1.8;}
  237. .h6{font-size:28rpx; line-height:1.8;}
  238. /* 文字缩进 */
  239. /* #ifndef APP-PLUS-NVUE */
  240. .text-indent{text-indent:2;}
  241. /* #endif */
  242. /* 文字划线 */
  243. .text-through{text-decoration:line-through;}
  244. /* 文字对齐 */
  245. .text-left { text-align: left;}
  246. .text-right { text-align: right;}
  247. .text-center { text-align: center;}
  248. /* 文字换行溢出处理 */
  249. .text-ellipsis {
  250. /* #ifndef APP-PLUS-NVUE */
  251. overflow: hidden;text-overflow: ellipsis;white-space: nowrap;
  252. /* #endif */
  253. /* #ifdef APP-PLUS-NVUE */
  254. lines: 1;
  255. /* #endif */
  256. }
  257. /* 文字粗细和斜体 */
  258. .font-weight-light {font-weight: 300;} /*细*/
  259. .font-weight-lighter {font-weight: 100;}/*更细*/
  260. .font-weight-normal { font-weight: 400;} /*正常*/
  261. .font-weight-bold { font-weight: 700;} /*粗*/
  262. .font-weight-bolder { font-weight: bold;} /*更粗*/
  263. .font-italic { font-style: italic;} /*斜体*/
  264. /* 文字颜色 */
  265. .text-white {color: #ffffff;}
  266. .text-primary {color: #007bff;}
  267. .text-hover-primary { color: #0056b3;}
  268. .text-secondary {color: #6c757d;}
  269. .text-hover-secondary { color: #494f54;}
  270. .text-success {color: #28a745;}
  271. .text-hover-success{color: #19692c;}
  272. .text-info { color: #17a2b8;}
  273. .text-hover-info {color: #0f6674;}
  274. .text-warning {color: #ffc107;}
  275. .text-hover-warning { color: #ba8b00;}
  276. .text-danger { color: #dc3545;}
  277. .text-hover-danger { color: #a71d2a;}
  278. .text-light { color: #f8f9fa;}
  279. .text-hover-light { color: #cbd3da;}
  280. .text-dark { color: #343a40;}
  281. .text-hover-dark{ color: #121416;}
  282. .text-body { color: #212529;}
  283. .text-muted { color: #6c757d;}
  284. /* 浅灰色 */
  285. .text-light-muted { color: #A9A5A0;}
  286. .text-light-black { color: rgba(0, 0, 0, 0.5);}
  287. .text-light-white { color: rgba(255, 255, 255, 0.5);}
  288. /* 背景颜色 */
  289. .bg-primary { background-color: #5482cb;}
  290. .bg-hover-primary:hover{ background-color: #0062cc;}
  291. .bg-secondary { background-color: #6c757d;}
  292. .bg-hover-secondary:hover{ background-color: #545b62;}
  293. .bg-success { background-color: #28a745;}
  294. .bg-hover-success { background-color: #1e7e34;}
  295. .bg-info { background-color: #17a2b8;}
  296. .bg-hover-info { background-color: #117a8b;}
  297. .bg-warning { background-color: #ffc107;}
  298. .bg-hover-warning { background-color: #d39e00;}
  299. .bg-danger { background-color: #dc3545;}
  300. .bg-hover-danger{ background-color: #bd2130;}
  301. .bg-light { background-color: #f8f9fa;}
  302. .bg-hover-light{ background-color: #dae0e5;}
  303. .bg-dark { background-color: #343a40;}
  304. .bg-hover-dark { background-color: #1d2124;}
  305. .bg-white { background-color: #ffffff;}
  306. .bg-transparent { background-color: transparent;}
  307. .bg-weixin{background-color: #37d09c;}
  308. .bg-weibo{background-color: #ec5f61;}
  309. .bg-pengyouquan{background-color: #514d4c;}
  310. /* 边框 */
  311. /* .border { border-width: 1rpx;border-style: solid;border-color: #dee2e6;} */
  312. .border { border-width: 1rpx;border-style: solid;border-color: #000;}
  313. .border-top {
  314. border-top-width: 1rpx;
  315. border-top-style: solid;
  316. border-top-color: #dee2e6;
  317. }
  318. .border-right {
  319. border-right-width: 1rpx;
  320. border-right-style: solid;
  321. border-right-color: #dee2e6;
  322. }
  323. .border-bottom {
  324. border-bottom-width: 1rpx;
  325. border-bottom-style: solid;
  326. border-bottom-color: #dee2e6;
  327. }
  328. .border-left {
  329. border-left-width: 1rpx;
  330. border-left-style: solid;
  331. border-left-color: #dee2e6;
  332. }
  333. .border-0 { border-width: 0!important;}
  334. .border-top-0 { border-top-width: 0!important;}
  335. .border-right-0 {border-right-width: 0!important;}
  336. .border-bottom-0 {border-bottom-width: 0!important;}
  337. .border-left-0 {border-left-width: 0!important;}
  338. .border-primary { border-color: #007bff;}
  339. .border-secondary {border-color: #6c757d;}
  340. .border-light-secondary {border-color: #E9E8E5;}
  341. .border-success {border-color: #28a745;}
  342. .border-info {border-color: #17a2b8;}
  343. .border-warning {border-color: #ffc107;}
  344. .border-danger {border-color: #dc3545;}
  345. .border-light {border-color: #f8f9fa;}
  346. .border-dark {border-color: #343a40;}
  347. .border-white {border-color: #FFFFFF;}
  348. /* 圆角 */
  349. .rounded-max { border-radius: 16rpx;}
  350. .rounded { border-radius: 8rpx;}
  351. .rounded-top {
  352. border-top-left-radius: 8rpx;
  353. border-top-right-radius: 8rpx;
  354. }
  355. .rounded-right {
  356. border-top-right-radius: 8rpx;
  357. border-bottom-right-radius: 8rpx;
  358. }
  359. .rounded-bottom {
  360. border-bottom-right-radius: 8rpx;
  361. border-bottom-left-radius: 8rpx;
  362. }
  363. .rounded-left {
  364. border-top-left-radius: 8rpx;
  365. border-bottom-left-radius: 8rpx;
  366. }
  367. .rounded-circle { border-radius: 100rpx;}
  368. .rounded-0 { border-radius: 0;}
  369. /* 显示 */
  370. /* #ifndef APP-PLUS-NVUE */
  371. .d-none{ display: none; }
  372. .d-inline-block{ display: inline-block; }
  373. .d-block{ display: block; }
  374. /* #endif */
  375. /* 内容溢出 */
  376. .overflow-hidden { overflow: hidden;}
  377. /* 定位 */
  378. .position-relative { position: relative;}
  379. .position-absolute { position: absolute;}
  380. .position-fixed { position: fixed;}
  381. /* 定位 - 固定顶部 */
  382. .fixed-top {
  383. position: fixed;
  384. top: 0;
  385. right: 0;
  386. left: 0;
  387. z-index: 1030;
  388. }
  389. /* 定位 - 固定底部 */
  390. .fixed-bottom {
  391. position: fixed;
  392. right: 0;
  393. bottom: 0;
  394. left: 0;
  395. z-index: 1030;
  396. }
  397. .top-0 { top: 0; }
  398. .left-0 { left: 0; }
  399. .right-0 { right: 0; }
  400. .bottom-0 { bottom: 0; }
  401. /* 阴影 */
  402. /* #ifndef APP-PLUS-NVUE */
  403. .shadow { box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.15);}
  404. .shadow-lg { box-shadow: 0rpx 40rpx 100rpx 0rpx rgba(0, 0, 0, 0.175);}
  405. .shadow-none { box-shadow: none !important;}
  406. /* #endif */