12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. /**app.wxss**/
  2. page, .container {
  3. width: 100%;
  4. height: 100%;
  5. position: relative;
  6. overflow: hidden;
  7. background: #f8f8f8;
  8. }
  9. .SubContainer{
  10. width: 100%;
  11. position: relative;
  12. overflow: hidden;
  13. }
  14. .flex-h {
  15. display: flex;
  16. display: -webkit-flex;
  17. flex-direction: row;
  18. }
  19. .flex-v {
  20. display: flex;
  21. display: -webkit-flex;
  22. flex-direction: column;
  23. }
  24. .flex-item {
  25. flex: 1;
  26. }
  27. .centerLabel {
  28. display: block;
  29. position: absolute;
  30. left: 50%;
  31. top: 50%;
  32. transform: translate(-50%, -50%);
  33. -webkit-transform: translate(-50%, -50%);
  34. }
  35. .cover{
  36. width: 100%;
  37. height: 100%;
  38. object-fit: cover;
  39. }
  40. .contain{
  41. width: 100%;
  42. height: 100%;
  43. object-fit: contain;
  44. }
  45. .MainPage{
  46. width: 100%;
  47. height: 100%;
  48. position: relative;
  49. overflow-y: scroll;
  50. -webkit-overflow-scrolling: touch;
  51. transform: translateZ(0);
  52. -webkit-transform: translateZ(0);
  53. }
  54. view::-webkit-scrollbar{
  55. color: transparent;
  56. font-size: 0;
  57. display: none;
  58. opacity: 0;
  59. }
  60. .isNull {
  61. width: 100%;
  62. text-align: center;
  63. overflow: hidden;
  64. }
  65. .isNull text {
  66. display: inline-block;
  67. font-size: 24rpx;
  68. color: #666;
  69. line-height: 40rpx;
  70. }