work.wxss 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /**
  2. * uni-app内置的常用样式变量
  3. */
  4. /* 行为相关颜色 */
  5. /* 文字基本颜色 */
  6. /* 背景颜色 */
  7. /* 边框颜色 */
  8. /* 尺寸变量 */
  9. /* 文字尺寸 */
  10. /* 图片尺寸 */
  11. /* Border Radius */
  12. /* 水平间距 */
  13. /* 垂直间距 */
  14. /* 透明度 */
  15. /* 文章场景相关 */
  16. page {
  17. display: flex;
  18. flex-direction: column;
  19. box-sizing: border-box;
  20. background-color: #fff;
  21. min-height: 100%;
  22. height: auto;
  23. }
  24. view {
  25. font-size: 14px;
  26. line-height: inherit;
  27. }
  28. .text {
  29. text-align: center;
  30. font-size: 26rpx;
  31. margin-top: 10rpx;
  32. }
  33. .grid-item-box {
  34. flex: 1;
  35. display: flex;
  36. flex-direction: column;
  37. align-items: center;
  38. justify-content: center;
  39. padding: 15px 0;
  40. }
  41. .uni-margin-wrap {
  42. width: 690rpx;
  43. width: 100%;
  44. }
  45. .swiper {
  46. height: 300rpx;
  47. }
  48. .swiper-box {
  49. height: 150px;
  50. }
  51. .swiper-item {
  52. display: flex;
  53. flex-direction: column;
  54. justify-content: center;
  55. align-items: center;
  56. color: #fff;
  57. height: 300rpx;
  58. line-height: 300rpx;
  59. }
  60. @media screen and (min-width: 500px) {
  61. .uni-swiper-dot-box {
  62. width: 400px;
  63. margin: 0 auto;
  64. margin-top: 8px;
  65. }
  66. .image {
  67. width: 100%;
  68. }
  69. }