base.less 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. html {
  7. height: 100%;
  8. font-size: 14px;
  9. user-select: none;
  10. }
  11. body {
  12. font: 1em/1.4 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB', 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif;
  13. height: 100%;
  14. color: black;
  15. }
  16. a {
  17. text-decoration: none;
  18. color: black;
  19. outline: none;
  20. }
  21. i {
  22. font-style: normal;
  23. }
  24. img {
  25. max-width: 100%;
  26. max-height: 100%;
  27. vertical-align: middle;
  28. object-fit: cover;
  29. }
  30. ul {
  31. list-style: none;
  32. }
  33. body {
  34. overflow: auto;
  35. overflow-y: overlay;
  36. }
  37. /* 文本域取消下拉 */
  38. textarea {
  39. resize: none !important;
  40. min-height: 100px !important;
  41. }
  42. /* 主题色 */
  43. :root {
  44. --themeColor: #5C4B32;
  45. --themeColor2: #FCE9AC;
  46. }
  47. /* 找不到页面 */
  48. .noFindPage {
  49. padding-top: 100px;
  50. opacity: 0;
  51. transition: opacity .5s;
  52. }
  53. // 重置antd样式
  54. #root {
  55. width: 100vw;
  56. height: 100vh;
  57. min-width: 1600px;
  58. min-height: 900px;
  59. overflow: auto;
  60. overflow-y: overlay;
  61. #App {
  62. width: 100%;
  63. height: 100%;
  64. position: relative;
  65. .Appvideo {
  66. position: absolute;
  67. top: 0;
  68. left: 0;
  69. width: 100%;
  70. height: 100%;
  71. z-index: 20;
  72. overflow: hidden;
  73. // background-color: black;
  74. video {
  75. width: 100%;
  76. // height: 100%;
  77. }
  78. }
  79. .Apptab {
  80. position: absolute;
  81. z-index: 10;
  82. left: 50%;
  83. transform: translateX(-50%);
  84. top: 20px;
  85. width: 1600px;
  86. height: 91px;
  87. margin: 0 auto;
  88. background-size: 100% 100%;
  89. padding: 18px 0 0 180px;
  90. display: flex;
  91. .ApptabRow {
  92. width: 180px;
  93. height: 51px;
  94. font-size: 22px;
  95. color: #fff;
  96. line-height: 51px;
  97. text-align: center;
  98. cursor: pointer;
  99. &:nth-of-type(3) {
  100. margin-left: 522px;
  101. }
  102. }
  103. .ApptabRowAc {
  104. background-image: url('../../assets/img/active.png');
  105. background-size: 100% 100%;
  106. color: var(--themeColor2);
  107. position: relative;
  108. // pointer-events: none;
  109. &::after {
  110. content: '';
  111. position: absolute;
  112. top: 50%;
  113. left: 50%;
  114. transform: translate(-50%, -50%);
  115. width: 116px;
  116. height: 16px;
  117. background-image: url('../../assets/img/chosen.png');
  118. background-size: 100% 100%;
  119. }
  120. }
  121. .APPtabSearch {
  122. position: absolute;
  123. right: 120px;
  124. top: 46%;
  125. transform: translateY(-50%);
  126. width: 24px;
  127. height: 24px;
  128. background-image: url('../../assets/img/icon_search.png');
  129. background-size: 100% 100%;
  130. cursor: pointer;
  131. }
  132. .APPtabShow {
  133. position: absolute;
  134. right: 60px;
  135. top: 46%;
  136. transform: translateY(-50%);
  137. width: 20px;
  138. height: 20px;
  139. background-image: url('../../assets/img/icon_menu_active.png');
  140. background-size: 100% 100%;
  141. cursor: pointer;
  142. }
  143. }
  144. .APPtabHide {
  145. position: absolute;
  146. top: 40px;
  147. right: 40px;
  148. z-index: 10;
  149. width: 40px;
  150. height: 40px;
  151. border-radius: 50%;
  152. background-image: url('../../assets/img/icon_menu_normal.png');
  153. background-size: 100% 100%;
  154. cursor: pointer;
  155. }
  156. &>div {
  157. width: 100%;
  158. height: 100%;
  159. }
  160. }
  161. // a {
  162. // color: var(--themeColor);
  163. // }
  164. /* antd图片预览组件 */
  165. .ant-image {
  166. display: none;
  167. }
  168. }
  169. [hidden] {
  170. display: none !important;
  171. }
  172. // 滚动条
  173. .mySorrl::-webkit-scrollbar {
  174. /*滚动条整体样式*/
  175. width: 3px;
  176. /*高宽分别对应横竖滚动条的尺寸*/
  177. height: 1px;
  178. }
  179. .mySorrl::-webkit-scrollbar-thumb {
  180. /*滚动条里面小方块*/
  181. border-radius: 10px;
  182. -webkit-box-shadow: inset 0 0 5px transparent;
  183. background: var(--themeColor2);
  184. }
  185. .mySorrl::-webkit-scrollbar-track {
  186. /*滚动条里面轨道*/
  187. -webkit-box-shadow: inset 0 0 5px transparent;
  188. border-radius: 10px;
  189. background: transparent;
  190. }
  191. #root {
  192. .AppM {
  193. width: 100vw;
  194. max-width: 500px;
  195. margin: 0 auto;
  196. overflow: hidden;
  197. position: relative;
  198. }
  199. // 横屏 竖屏的切换
  200. #ScreenChange {
  201. position: fixed;
  202. top: 0;
  203. left: 0;
  204. width: 100%;
  205. height: 100%;
  206. z-index: 10000;
  207. background-color: rgba(0, 0, 0, .8);
  208. display: flex;
  209. flex-direction: column;
  210. justify-content: center;
  211. align-items: center;
  212. opacity: 0;
  213. pointer-events: none;
  214. transition: all .5s;
  215. &>img {
  216. width: 200px;
  217. }
  218. &>p {
  219. margin-top: 20px;
  220. color: #fff;
  221. font-size: 18px;
  222. height: 40px;
  223. }
  224. }
  225. /*横屏*/
  226. @media screen and (orientation: landscape) {
  227. #ScreenChange {
  228. opacity: 1;
  229. pointer-events: auto;
  230. }
  231. }
  232. }
  233. // pc首页箭头动画帧
  234. .A1locBoxLoc{
  235. animation: moveDian 1s linear infinite alternate;
  236. }
  237. @keyframes moveDian {
  238. 0% {
  239. transform: translateY(-6px);
  240. }
  241. 100% {
  242. transform: translateY(6px);
  243. }
  244. }