common.scss 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. .base-container,.sub-base-container {
  2. width: 100%;
  3. min-height: 100vh;
  4. background: #f7f7f7;
  5. padding: 20rpx 24rpx;
  6. box-sizing: border-box;
  7. position: relative;
  8. }
  9. /* #ifdef H5 */
  10. .base-container{
  11. min-height: calc(100vh - 100rpx - 88rpx);
  12. }
  13. .sub-base-container{
  14. min-height: calc(100vh - 88rpx);
  15. }
  16. /* #endif */
  17. //字体
  18. @font-face {
  19. font-family: "PangMenZhengDao";
  20. src: url("https://birdseye-img.sysuimars.com/youwei-uniapp/font/PangMenZhengDao.TTF");
  21. }
  22. @font-face {
  23. font-family: "jiangxizhuokai";
  24. src: url("https://birdseye-img.sysuimars.com/youwei-uniapp/font/jiangxizhuokai.ttf");
  25. }
  26. @font-face {
  27. font-family: "SweiSpringCJKtc";
  28. src: url("https://birdseye-img.sysuimars.com/youwei-uniapp/font/SweiSpringCJKtc-Black.ttf")
  29. }
  30. @font-face {
  31. font-family: "SMILEYSANS";
  32. src: url("https://birdseye-img.sysuimars.com/youwei-uniapp/font/SMILEYSANS-OBLIQUE-3.OTF")
  33. }
  34. .ellipsis-l2 {
  35. white-space: pre-line;
  36. overflow: hidden;
  37. text-overflow: ellipsis;
  38. word-break: break-all;
  39. display: -webkit-box !important;
  40. -webkit-line-clamp: 2;
  41. -webkit-box-orient: vertical !important;
  42. }