e1699ace1f6deb5ef32a4bf3cb9bda6342a18c48.svn-base 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530
  1. $heightBase:11.1vh;
  2. $widthBase:20%;
  3. $fontSizeNormal:.8vw;
  4. //所有div基础样式
  5. @mixin divBase {
  6. background: rgba(226,250,255,1);
  7. box-shadow: 0px 1px 10px 0px rgba(160, 170, 199, 0.15);
  8. border-radius: 2px;
  9. margin-top: 5px;
  10. &:first-child {
  11. margin-top: 0px;
  12. }
  13. }
  14. //保持暗色主题添加border后 div高度一致
  15. @mixin divBaseHeight ($divSelfHeight){
  16. [data-theme="dark"] & {
  17. height: $divSelfHeight * .99;
  18. }
  19. }
  20. @mixin divBase_dark{
  21. [data-theme="dark"] & {
  22. background:transparent;
  23. box-shadow: none;
  24. border: 1px solid rgba(54, 162, 252, 1);
  25. }
  26. }
  27. @mixin fontColor_dark{
  28. [data-theme="dark"] & {
  29. color:#fff;
  30. }
  31. }
  32. //暗色主题浅灰色字体
  33. @mixin fontColor_dark_gray{
  34. [data-theme="dark"] & {
  35. color:rgba(177, 210, 254, 1);
  36. }
  37. }
  38. //左上用户在线情况和bar的暗色无边框
  39. @mixin border_delete_dark{
  40. [data-theme="dark"] & {
  41. border:none;
  42. }
  43. }
  44. //右上问题个数统计暗色无图片加虚线底边框
  45. @mixin background_deletePic {
  46. [data-theme="dark"] & {
  47. background-image: none;
  48. border-bottom: 1px dashed rgba(255,255,255,0.5);
  49. }
  50. }
  51. //用户情况内部样式
  52. @mixin systemStatus ($backgroundColor) {
  53. float: left;
  54. width: 9.2vw;
  55. height: $heightBase * .83;
  56. background: $backgroundColor;
  57. border-radius: 6px;
  58. margin-top: 1vh;
  59. margin-left: .5vw;
  60. .icon {
  61. width: 40%;
  62. height: 100%;
  63. float: left;
  64. img {
  65. float: left;
  66. padding: 2vh 1vh;
  67. width: 5vh;
  68. }
  69. }
  70. .text {
  71. width: 60%;
  72. height: 100%;
  73. font-size: medium;
  74. float: left;
  75. color: #fff;
  76. div {
  77. margin: 2vh 0 .5vh 0;
  78. &:last-child {
  79. margin: 0;
  80. }
  81. }
  82. }
  83. }
  84. //!左右小div头部样式
  85. @mixin simpleHeader {
  86. .simple_header {
  87. height: $heightBase / 3;
  88. .simple_header_icon {
  89. background-color: rgba(46, 101, 253, 1);
  90. width: 4px;
  91. height: 2vh;
  92. border-radius: 4px;
  93. float: left;
  94. margin: .6vw;
  95. }
  96. .simple_header_text {
  97. float: left;
  98. color: rgba(49, 63, 102, 1);
  99. font-size: .9vw;
  100. padding: .5vw 0;
  101. font-weight: bold;
  102. @include fontColor_dark;
  103. }
  104. .simple_header_control {
  105. float: left;
  106. padding: .5vh 0;
  107. text-align: right;
  108. width: 13.6vw;
  109. }
  110. }
  111. }
  112. @mixin checked($boxShaDowDolor) {
  113. box-shadow: 0 0 10px $boxShaDowDolor;
  114. }
  115. @mixin bar ($image) {
  116. border-radius: 4px;
  117. margin-left: .5vw;
  118. color: #fff;
  119. cursor: pointer;
  120. width: 11vw;
  121. height: 9.7vh;
  122. padding: 0vw;
  123. margin-top: .6vh;
  124. float: left;
  125. background: {
  126. image: url($image);
  127. repeat: no-repeat;
  128. size: 100% 100%;
  129. }
  130. .content {
  131. width: 80%;
  132. height: 100%;
  133. .content_top {
  134. padding: 1vh .5vw;
  135. span {
  136. margin-left: .4vw;
  137. font-size: .9vw;
  138. }
  139. }
  140. .content_bottom {
  141. .content_bottom_num {
  142. margin-left: 1vw;
  143. font-size: 1vw;
  144. }
  145. .content_bottom_dw {
  146. font-size: $fontSizeNormal;
  147. }
  148. }
  149. }
  150. }
  151. //左侧div
  152. .left {
  153. width: $widthBase;
  154. float: left;
  155. //左侧div中的Systemstatus组件样式
  156. .left_user {
  157. @include divBase;
  158. @include divBase_dark;
  159. @include border_delete_dark;
  160. height: $heightBase;
  161. .left_user_left {
  162. @include systemStatus(rgba(105, 176, 255, 1));
  163. }
  164. .left_user_right {
  165. @include systemStatus(rgba(131, 172, 255, 1));
  166. }
  167. }
  168. //左侧div中的QuestionCount组件样式
  169. .left_qus {
  170. @include divBase;
  171. @include divBase_dark;
  172. height: $heightBase * 1.6;
  173. @include divBaseHeight (($heightBase * 1.6));
  174. .header {
  175. height: $heightBase / 3;
  176. background-image: url('/src/assets/img/wentidikuang.png');
  177. .header_icon {
  178. img {
  179. float: left;
  180. width: 1.5vw;
  181. padding: .1vw 0 0 .3vw;
  182. }
  183. }
  184. .header_text {
  185. float: left;
  186. color: #fff;
  187. font-size: .9vw;
  188. padding: .3vw 0;
  189. font-weight: bold;
  190. }
  191. }
  192. .content {
  193. text-align: center;
  194. .top_text {
  195. padding: 3vh 0;
  196. font-size: .9vw;
  197. color: rgba(86, 108, 146, .8);
  198. font-weight: bold;
  199. }
  200. .bottom_text {
  201. span {
  202. font-size: 1.1vw;
  203. color: rgba(254, 178, 58, 1);
  204. font-weight: bold;
  205. &:last-child {
  206. font-size: $fontSizeNormal;
  207. color: rgba(86, 108, 146, 1)
  208. }
  209. }
  210. }
  211. }
  212. }
  213. //左侧div中的QuestionLineChart组件样式
  214. .left_qusLineChart {
  215. @include divBase;
  216. @include divBase_dark;
  217. height: $heightBase * 4.2;
  218. @include divBaseHeight (($heightBase* 4.3));
  219. @include simpleHeader;
  220. .left_PublicSentiment_content{
  221. height: $heightBase * 4.4;
  222. }
  223. }
  224. //左侧div中的Notices组件样式
  225. .left_notices {
  226. @include divBase;
  227. @include divBase_dark;
  228. height: $heightBase * 2.3;
  229. @include divBaseHeight (($heightBase * 2.25));
  230. @include simpleHeader;
  231. .left_Notices_content {
  232. font-size: 12px;
  233. color: #606266;
  234. max-height: $heightBase * 1.75;
  235. overflow-y: auto;
  236. width: 100%;
  237. ul {
  238. // padding: 0;
  239. margin: 0;
  240. padding: 0 1vw;
  241. }
  242. li {
  243. margin: 0;
  244. height: 3vh;
  245. line-height: 3vh;
  246. list-style: none;
  247. border-bottom: 1px solid rgba(109, 118, 236, 0.2);
  248. a {
  249. color: #606266;
  250. text-decoration: none;
  251. @include fontColor_dark_gray;
  252. &:hover {
  253. color: #51afea;
  254. }
  255. }
  256. }
  257. span {
  258. float: right;
  259. @include fontColor_dark_gray;
  260. }
  261. }
  262. }
  263. }
  264. //中部div
  265. .middle {
  266. width: $widthBase * 2.96;
  267. float: left;
  268. margin-left: 5px;
  269. .middle_button {
  270. @include divBase;
  271. @include divBase_dark;
  272. @include border_delete_dark;
  273. height: $heightBase;
  274. span {
  275. font-size: $fontSizeNormal;
  276. color: rgba(51, 51, 51, 1);
  277. @include fontColor_dark_gray;
  278. }
  279. .time {
  280. text-align: right;
  281. padding: 1vh .5vw;
  282. width: 24%;
  283. float: left;
  284. height: 100%;
  285. }
  286. .button {
  287. width: 100%;
  288. float: left;
  289. height: 100%;
  290. .dcz {
  291. @include bar('/src/assets/img/duchazu.png');
  292. }
  293. .dcz_checked {
  294. @include bar('/src/assets/img/duchazu.png');
  295. @include checked(#51afea);
  296. }
  297. .dcry {
  298. @include bar('/src/assets/img/ducharenyuan.png');
  299. }
  300. .dcry_checked {
  301. @include bar('/src/assets/img/ducharenyuan.png');
  302. @include checked(#ff9780);
  303. }
  304. .dcdx {
  305. @include bar('/src/assets/img/duchaduixiang.png');
  306. }
  307. .dcdx_checked {
  308. @include bar('/src/assets/img/duchaduixiang.png');
  309. @include checked(#76e9c0);
  310. }
  311. .fxwt {
  312. @include bar('/src/assets/img/faxianwenti.png');
  313. }
  314. .fxwt_checked {
  315. @include bar('/src/assets/img/faxianwenti.png');
  316. @include checked(#b87cf6);
  317. }
  318. .jbyywt {
  319. @include bar('/src/assets/img/specialQus.png');
  320. }
  321. }
  322. }
  323. .middle_map {
  324. @include divBase;
  325. @include divBase_dark;
  326. height: $heightBase * 4.8;
  327. span {
  328. font-size: 12px;
  329. // font-size: $fontSizeNormal;
  330. cursor: pointer;
  331. // color: rgba(51, 51, 51, 1);
  332. @include fontColor_dark_gray;
  333. }
  334. .time {
  335. text-align: right;
  336. padding: 0;
  337. width: 100%;
  338. float: right;
  339. height: 100%;
  340. }
  341. .superviseObject{
  342. margin-top: 2vh;
  343. font-size: 12px;
  344. color: #606266;
  345. height: ($heightBase) * 2.95 - 50;
  346. overflow-y: auto;
  347. width: 100%;
  348. ul {
  349. padding: 0;
  350. margin: 0;
  351. li{
  352. cursor: pointer;
  353. // padding: 0 0vw;
  354. margin: 0;
  355. height: 3vh;
  356. line-height: 3vh;
  357. list-style: none;
  358. margin-top: 1vh;
  359. &:first-child{
  360. margin-top: 0
  361. }
  362. span{
  363. // background-color: transparent;
  364. }
  365. }
  366. }
  367. }
  368. }
  369. .middle_bar {
  370. @include divBase;
  371. @include divBase_dark;
  372. height: $heightBase * 1.7;
  373. @include simpleHeader;
  374. }
  375. }
  376. //右侧div
  377. .right {
  378. width: $widthBase;
  379. float: left;
  380. margin-left: 5px;
  381. .right_qus {
  382. @include divBase;
  383. @include divBase_dark;
  384. height: $heightBase;
  385. @include divBaseHeight (($heightBase));
  386. .header {
  387. height: $heightBase / 3;
  388. background-image: url('/src/assets/img/wentidikuang.png');
  389. @include background_deletePic;
  390. .header_icon {
  391. img {
  392. float: left;
  393. width: 1.5vw;
  394. padding: .1vw 0 0 .3vw;
  395. }
  396. }
  397. .header_text {
  398. float: left;
  399. color: #fff;
  400. font-size: .9vw;
  401. padding: .3vw 0;
  402. font-weight: bold;
  403. }
  404. }
  405. .content {
  406. text-align: center;
  407. .top_text {
  408. padding: .5vh 0;
  409. font-size: .9vw;
  410. color: rgba(86, 108, 146, .8);
  411. font-weight: bold;
  412. @include fontColor_dark_gray;
  413. }
  414. .bottom_text {
  415. span {
  416. font-size: 1.1vw;
  417. color: rgba(254, 178, 58, 1);
  418. font-weight: bold;
  419. &:last-child {
  420. font-size: $fontSizeNormal;
  421. color: rgba(86, 108, 146, 1);
  422. @include fontColor_dark_gray;
  423. }
  424. }
  425. }
  426. }
  427. }
  428. //右侧div中的PublicSentiment组件样式
  429. .right_line {
  430. @include divBase;
  431. @include divBase_dark;
  432. height: $heightBase * 2.2;
  433. @include divBaseHeight (($heightBase * 2.2));
  434. @include simpleHeader;
  435. .right_QuestionLineChart_content{
  436. width: 100%;
  437. height: ($heightBase * 2.1) - ($heightBase / 3);
  438. }
  439. }
  440. //右侧div中的QuestionLineChart组件样式
  441. .right_pie_dcdx {
  442. @include divBase;
  443. @include divBase_dark;
  444. height: $heightBase * 2;
  445. @include divBaseHeight (($heightBase * 2));
  446. @include simpleHeader;
  447. .right_FinishRate_content{
  448. width: 100%;
  449. height: ($heightBase * 2.1) - ($heightBase / 3);
  450. }
  451. }
  452. .right_pie_wtfb {
  453. @include divBase;
  454. @include divBase_dark;
  455. height: $heightBase * 2.22;
  456. @include divBaseHeight (($heightBase * 2.22));
  457. @include simpleHeader;
  458. .left_ProblemPieChart_content{
  459. width: 100%;
  460. height: ($heightBase * 2.2) - ($heightBase / 3);
  461. }
  462. }
  463. }
  464. // .myRadio .el-radio-button--mini .el-radio-button__inner {
  465. // padding: .8vh .5vw;
  466. // font-size: 12px;
  467. // }
  468. // .myRadio .el-radio-button__orig-radio:checked+.el-radio-button__inner {
  469. // padding:.8vh .5vw;
  470. // }