app.wxss 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. @import './static/font-icon.wxss';
  2. page {
  3. /* 颜色 */
  4. --primary: #095DE0;
  5. --assist: #3874F6;
  6. --success: #52C41A;
  7. --warning: #FA8C16;
  8. --error: #FF3B30;
  9. --bgColor: #085CDF;
  10. /* 字体 */
  11. --FCN: PingFangSC-Regular-, PingFangSC-Regular;
  12. --FEN: Arial-Regular, Arial;
  13. --Fnumber: HelveticaNeue-, HelveticaNeue;
  14. /* 基础默认样式 */
  15. background-color: #F4F5F7;
  16. /* 适配苹果手机底部安全距离 */
  17. padding-bottom: 0;
  18. padding-bottom: constant(safe-area-inset-bottom);
  19. padding-bottom: env(safe-area-inset-bottom);
  20. }
  21. navigator {
  22. background: none;
  23. }
  24. /* 提交按钮 */
  25. .submit {
  26. width: 350rpx;
  27. height: 60rpx !important;
  28. background: #3874F6;
  29. border-radius: 60rpx !important;
  30. font-size: 28rpx;
  31. font-family: PingFang SC-Regular, PingFang SC;
  32. color: #FFFFFF;
  33. }
  34. /* 文本行数限制 */
  35. .line-1 {
  36. overflow: hidden;
  37. white-space: nowrap;
  38. text-overflow: ellipsis;
  39. }
  40. .line-2 {
  41. -webkit-line-clamp: 2;
  42. }
  43. .line-2 {
  44. overflow: hidden;
  45. word-break: break-all;
  46. text-overflow: ellipsis;
  47. display: -webkit-box;
  48. -webkit-box-orient: vertical;
  49. }
  50. .multi-line {
  51. word-break: break-all;
  52. white-space: pre-wrap;
  53. }