兼兼街公众号代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

453 lines
13 KiB

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