common.scss 827 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. .ellipsis-l2 {
  27. white-space: pre-line;
  28. overflow: hidden;
  29. text-overflow: ellipsis;
  30. word-break: break-all;
  31. display: -webkit-box !important;
  32. -webkit-line-clamp: 2;
  33. -webkit-box-orient: vertical !important;
  34. }