Home.wxss 980 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. .container {
  2. background-color: #fff;
  3. }
  4. .contentBox {
  5. height: calc(100vh - 20rpx);
  6. padding: 20rpx 20rpx 0;
  7. position: relative;
  8. z-index: 9;
  9. background-color: #fff;
  10. overflow-y: auto;
  11. }
  12. .operateBox {
  13. display: flex;
  14. justify-content: space-between;
  15. align-items: center;
  16. flex-flow: wrap;
  17. align-content: flex-start;
  18. }
  19. .operateItemBox {
  20. display: inline-block;
  21. width: calc(50% - 10rpx);
  22. padding-bottom: 20rpx;
  23. }
  24. .operateItem {
  25. display: inline-block;
  26. width: 100%;
  27. height: 100%;
  28. text-align: center;
  29. border-radius: 14rpx;
  30. position: relative;
  31. }
  32. .operateItemBGImg {
  33. width: 100%;
  34. height: 100%;
  35. }
  36. .operateItemText {
  37. position: absolute;
  38. bottom: 10%;
  39. left: 0rpx;
  40. width: calc(100% - 40rpx);
  41. padding: 0 20rpx;
  42. text-align: center;
  43. font-size: 32rpx;
  44. line-height: 42rpx;
  45. color: #000;
  46. white-space: pre-line;
  47. overflow: hidden;
  48. text-overflow: ellipsis;
  49. display: -webkit-box;
  50. -webkit-box-orient: vertical;
  51. -webkit-line-clamp: 3;
  52. }