common.wxss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. /*
  2. 公共样式
  3. 注:hmly为喜马拉雅的缩写
  4. */
  5. /* 轮播图 */
  6. .hmly-swiper {
  7. width: 100%;
  8. height: 100%;
  9. border-radius: 15rpx;
  10. }
  11. .hmly-swiper-container {
  12. width: 90%;
  13. height: 280rpx;
  14. margin: 0rpx auto;
  15. position: relative;
  16. border-radius: 15rpx;
  17. overflow: hidden;
  18. }
  19. .hmly-swiper-item {
  20. width: 100%;
  21. height: 100%;
  22. border-radius: 15rpx;
  23. }
  24. .hmly-swiper-item>image {
  25. width: 100%;
  26. height: 100%;
  27. border-radius: 15rpx;
  28. }
  29. .hmly-dots {
  30. width: auto;
  31. height: 10rpx;
  32. position: absolute;
  33. bottom: 20rpx;
  34. border-radius: 50rpx;
  35. left: 240rpx;
  36. display: flex;
  37. justify-content: space-between;
  38. align-items: center;
  39. padding: 3rpx 10rpx;
  40. }
  41. .hmly-dots-item {
  42. width: 8rpx;
  43. height: 8rpx;
  44. margin: 0rpx 8rpx;
  45. border-radius: 50%;
  46. background-color: #cdcdcd;
  47. transition: all .3s;
  48. }
  49. .hmly-dot-active {
  50. width: 10rpx;
  51. height: 10rpx;
  52. background-color: #fff;
  53. }
  54. /* 登录样式 */
  55. .hmly-logo {
  56. width: 128rpx;
  57. height: 128rpx;
  58. margin: 0rpx auto;
  59. position: relative;
  60. top: 200rpx;
  61. }
  62. .hmly-logo-img {
  63. width: 100%;
  64. height: 100%;
  65. }
  66. .hmly-login-button {
  67. width: 80%;
  68. margin: 0rpx auto;
  69. position: relative;
  70. top: 500rpx;
  71. }
  72. .hmly-wechat-login,
  73. .phone-login {
  74. width: 100%;
  75. height: 80rpx;
  76. border-radius: 50rpx;
  77. border: 0rpx;
  78. outline: none;
  79. }
  80. .hmly-wechat-login button {
  81. background-color: #70e500;
  82. border-radius: 50rpx;
  83. border: none;
  84. color: #fff;
  85. }
  86. .hmly-phone-login {
  87. margin-top: 40rpx;
  88. }
  89. .hmly-phone-login button {
  90. border-radius: 50rpx;
  91. border: 1rpx solid #70e500;
  92. background-color: #fff;
  93. color: #70e500;
  94. }
  95. /*蒙板*/
  96. .hmly-cover {
  97. position: fixed;
  98. top: 0;
  99. right: 0;
  100. bottom: 0;
  101. left: 0;
  102. width: 100%;
  103. height: 100%;
  104. z-index: 9000;
  105. background: rgba(0, 0, 0, 0.6);
  106. opacity: 0.7;
  107. }
  108. /* bar相关 */
  109. .hmly-margin-top-bottom {
  110. margin-top: 20rpx;
  111. margin-bottom: 30rpx;
  112. }
  113. .hmly-bar-title {
  114. width: 100%;
  115. height: 56rpx;
  116. padding: 20rpx 0rpx;
  117. text-align: center;
  118. }
  119. .hmly-title-left {
  120. float: left;
  121. font-size: 37rpx;
  122. font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  123. font-weight: 800;
  124. color: #333;
  125. }
  126. .hmly-title-right {
  127. float: right;
  128. font-size: 26rpx;
  129. color: #aaa;
  130. }