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