base.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  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 0.5s;
  52. }
  53. #root {
  54. width: 100vw;
  55. height: 100vh;
  56. min-width: 1600px;
  57. min-height: 900px;
  58. overflow: auto;
  59. overflow-y: overlay;
  60. /* antd图片预览组件 */
  61. }
  62. #root #App {
  63. width: 100%;
  64. height: 100%;
  65. position: relative;
  66. }
  67. #root #App .Appvideo {
  68. position: absolute;
  69. top: 0;
  70. left: 0;
  71. width: 100%;
  72. height: 100%;
  73. z-index: 40;
  74. overflow: hidden;
  75. background-color: #eae6e1;
  76. }
  77. #root #App .Appvideo video {
  78. width: 100%;
  79. }
  80. #root #App .Apptab {
  81. position: absolute;
  82. z-index: 32;
  83. left: 50%;
  84. transform: translateX(-50%);
  85. top: 20px;
  86. width: 1600px;
  87. height: 91px;
  88. margin: 0 auto;
  89. background-size: 100% 100%;
  90. padding: 18px 0 0 180px;
  91. display: flex;
  92. }
  93. #root #App .Apptab .ApptabRow {
  94. width: 180px;
  95. height: 51px;
  96. font-size: 22px;
  97. color: #fff;
  98. line-height: 51px;
  99. text-align: center;
  100. cursor: pointer;
  101. }
  102. #root #App .Apptab .ApptabRow:nth-of-type(3) {
  103. margin-left: 522px;
  104. }
  105. #root #App .Apptab .ApptabRowAc {
  106. background-image: url('../../assets/img/active.png');
  107. background-size: 100% 100%;
  108. color: var(--themeColor2);
  109. position: relative;
  110. }
  111. #root #App .Apptab .ApptabRowAc::after {
  112. content: '';
  113. position: absolute;
  114. top: 50%;
  115. left: 50%;
  116. transform: translate(-50%, -50%);
  117. width: 116px;
  118. height: 16px;
  119. background-image: url('../../assets/img/chosen.png');
  120. background-size: 100% 100%;
  121. }
  122. #root #App .Apptab .APPtabSearch {
  123. position: absolute;
  124. right: 120px;
  125. top: 46%;
  126. transform: translateY(-50%);
  127. width: 24px;
  128. height: 24px;
  129. background-image: url('../../assets/img/icon_search.png');
  130. background-size: 100% 100%;
  131. cursor: pointer;
  132. }
  133. #root #App .Apptab .APPtabShow {
  134. position: absolute;
  135. right: 60px;
  136. top: 46%;
  137. transform: translateY(-50%);
  138. width: 20px;
  139. height: 20px;
  140. background-image: url('../../assets/img/icon_menu_active.png');
  141. background-size: 100% 100%;
  142. cursor: pointer;
  143. }
  144. #root #App .APPtabHide {
  145. position: absolute;
  146. top: 40px;
  147. right: 40px;
  148. z-index: 32;
  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. #root #App > div {
  157. width: 100%;
  158. height: 100%;
  159. }
  160. #root #AppM {
  161. overflow: hidden;
  162. width: 100%;
  163. height: 100%;
  164. position: relative;
  165. }
  166. #root #AppM .noFindPage {
  167. padding-top: 0;
  168. }
  169. #root #AppM > div {
  170. width: 100%;
  171. height: 100%;
  172. }
  173. #root #AppM .Appvideo {
  174. position: absolute;
  175. top: 0;
  176. left: 0;
  177. width: 100%;
  178. height: 100%;
  179. z-index: 40;
  180. overflow: hidden;
  181. background-color: #eae6e1;
  182. }
  183. #root #AppM .Appvideo video {
  184. width: 100%;
  185. }
  186. #root #AppM .AppMtab {
  187. position: absolute;
  188. bottom: 30px;
  189. width: 100%;
  190. height: auto;
  191. z-index: 32;
  192. left: 0;
  193. padding: 0 10px;
  194. display: flex;
  195. justify-content: space-around;
  196. }
  197. #root #AppM .AppMtab .AppMtabRow {
  198. padding: 0 10px;
  199. width: 25%;
  200. position: relative;
  201. max-width: 100px;
  202. max-height: 95px;
  203. }
  204. #root #AppM .AppMtab .AppMtabRow > img {
  205. width: 100%;
  206. }
  207. #root #AppM .AppMtab .AppMtabRow .AppMtabRowName {
  208. position: absolute;
  209. top: 48%;
  210. left: 54%;
  211. transform: translate(-50%, -50%);
  212. width: 30px;
  213. z-index: 3;
  214. display: flex;
  215. justify-content: center;
  216. align-items: center;
  217. flex-wrap: wrap;
  218. color: var(--themeColor2);
  219. text-shadow: 1px 1px black;
  220. font-size: 16px;
  221. text-align: center;
  222. line-height: 18px;
  223. }
  224. #root .ant-image {
  225. display: none;
  226. }
  227. [hidden] {
  228. display: none !important;
  229. }
  230. .mySorrl::-webkit-scrollbar {
  231. /*滚动条整体样式*/
  232. width: 3px;
  233. /*高宽分别对应横竖滚动条的尺寸*/
  234. height: 1px;
  235. }
  236. .mySorrl::-webkit-scrollbar-thumb {
  237. /*滚动条里面小方块*/
  238. border-radius: 10px;
  239. -webkit-box-shadow: inset 0 0 5px transparent;
  240. background: var(--themeColor2);
  241. }
  242. .mySorrl::-webkit-scrollbar-track {
  243. /*滚动条里面轨道*/
  244. -webkit-box-shadow: inset 0 0 5px transparent;
  245. border-radius: 10px;
  246. background: transparent;
  247. }
  248. #root {
  249. /*横屏*/
  250. }
  251. #root .AppM {
  252. width: 100vw;
  253. max-width: 500px;
  254. margin: 0 auto;
  255. overflow: hidden;
  256. position: relative;
  257. }
  258. #root #ScreenChange {
  259. position: fixed;
  260. top: 0;
  261. left: 0;
  262. width: 100%;
  263. height: 100%;
  264. z-index: 10000;
  265. background-color: rgba(0, 0, 0, 0.8);
  266. display: flex;
  267. flex-direction: column;
  268. justify-content: center;
  269. align-items: center;
  270. opacity: 0;
  271. pointer-events: none;
  272. transition: all 0.5s;
  273. }
  274. #root #ScreenChange > img {
  275. width: 200px;
  276. }
  277. #root #ScreenChange > p {
  278. margin-top: 20px;
  279. color: #fff;
  280. font-size: 18px;
  281. height: 40px;
  282. }
  283. @media screen and (orientation: landscape) {
  284. #root #ScreenChange {
  285. opacity: 1;
  286. pointer-events: auto;
  287. }
  288. }
  289. .A1locBoxLoc {
  290. animation: moveDian 1s linear infinite alternate;
  291. }
  292. @keyframes moveDian {
  293. 0% {
  294. transform: translateY(-6px);
  295. }
  296. 100% {
  297. transform: translateY(6px);
  298. }
  299. }