common.scss 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561
  1. /* common */
  2. body {
  3. font-size: 32rpx;
  4. }
  5. // *:not(input) {
  6. // -webkit-touch-callout: none;
  7. // -webkit-user-select: none;
  8. // -khtml-user-select: none;
  9. // -moz-user-select: none;
  10. // -ms-user-select: none;
  11. // user-select: none;
  12. // }
  13. .border-gray{
  14. border:.5rpx solid #ddd
  15. }
  16. radio,checkbox {
  17. transform: scale(0.7)
  18. }
  19. .inOneLine{
  20. white-space: nowrap;
  21. overflow: hidden;
  22. text-overflow: ellipsis;
  23. }
  24. .inTwoLine{
  25. display: -webkit-box;
  26. -webkit-box-orient: vertical;
  27. -webkit-line-clamp: 2;
  28. overflow: hidden;
  29. }
  30. /* 画面监控引入特殊字体 */
  31. @font-face {
  32. font-family: 'FANDOLFANG-REGULAR'; /* project id 2394829 */
  33. src: url('static/font/FANDOLFANG-REGULAR.OTF');
  34. }
  35. .searchSelect{
  36. position: -webkit-fixed;
  37. position: fixed;
  38. // top: 88rpx;
  39. top: var(--window-top);
  40. z-index: 999;
  41. -webkit-box-flex: 1;
  42. -webkit-flex: 1;
  43. flex: 1;
  44. -webkit-box-orient: vertical;
  45. -webkit-box-direction: normal;
  46. -webkit-flex-direction: column;
  47. flex-direction: column;
  48. overflow: hidden;
  49. background-color: #fff;
  50. width:254rpx;
  51. .search{
  52. min-height:80rpx;
  53. }
  54. .search-form{
  55. border:1px solid #E9E9E9;
  56. height:50rpx;
  57. line-height:50rpx;
  58. .cuIcon-search{
  59. color:#4074E7
  60. }
  61. input{
  62. padding-left:20rpx;
  63. padding-right:0rpx
  64. }
  65. }
  66. .select-item{
  67. padding:12rpx 32rpx;
  68. text-align:center;
  69. border-top:1px solid #E9E9E9;
  70. font-size:28rpx
  71. }
  72. }
  73. /* 九宫格样式 */
  74. .cu-list.grid>.cu-item uni-text {
  75. color: #333;
  76. font-size: 30rpx;
  77. }
  78. .cu-list.menu-avatar>.cu-item>.cu-avatar {
  79. left: 24rpx
  80. }
  81. .cu-list.menu-avatar>.cu-item .action {
  82. width: 132rpx
  83. }
  84. .iconfont.phone {
  85. color:#08BE04!important;
  86. font-size:45rpx;
  87. position:relative;
  88. top:6rpx;
  89. left:10rpx;
  90. }
  91. .iconfont.map{
  92. color:#4074E7!important;
  93. font-size:38rpx;
  94. }
  95. /* 列列表公共样式 */
  96. .processWrapper .cu-avatar {
  97. background-repeat: no-repeat;
  98. background-size: cover;
  99. background-color: #fff
  100. }
  101. .cu-avatar.lg {
  102. width: 90rpx;
  103. height: 90rpx
  104. }
  105. .cu-list.menu-avatar .cu-item {
  106. margin-left: 24rpx;
  107. padding: 30rpx 0;
  108. }
  109. .cu-list.menu-avatar>.cu-item>.cu-avatar {
  110. left: 0
  111. }
  112. .cu-list.menu-avatar>.cu-item .content {
  113. left: 120rpx;
  114. width: 550rpx;
  115. }
  116. .unProcess,.error {
  117. color: #FF4E00
  118. }
  119. .processed ,.online{
  120. color: #08BE04
  121. }
  122. .processing{
  123. color:#D5AC4A
  124. }
  125. /* 页面样式 */
  126. /* 站点列表页 */
  127. /* 筛选框 */
  128. .filter-section {
  129. /* position: fixed; */
  130. /* top: 88rpx; */
  131. width: 100%;
  132. z-index: 9
  133. }
  134. .cu-bar .search-form {
  135. background: #fff;
  136. input,
  137. select,
  138. option{
  139. border:none!important
  140. }
  141. }
  142. .cu-btn {
  143. padding: 0 46rpx;
  144. }
  145. /* 站点列表 */
  146. .site-items {
  147. margin-top:100rpx;
  148. width: 100%;
  149. height: calc(100% - 100rpx);
  150. // overflow: scroll
  151. }
  152. .site-items .site-tit {
  153. font-size: 32rpx;
  154. color: #333;
  155. justify-content: space-between;
  156. }
  157. .site-items .cu-avatar {}
  158. /* 新增按钮 */
  159. .plus {
  160. position: fixed;
  161. bottom: 6rpx;
  162. right: 6rpx;
  163. img{
  164. }
  165. }
  166. .ding{
  167. position:fixed;
  168. width:100%;
  169. top: var(--window-top);
  170. // position: sticky;
  171. /* #ifdef H5 */
  172. // top: 44px;
  173. /* #endif */
  174. /* #ifndef H5 */
  175. // top: 0;
  176. /* #endif */
  177. z-index: 999;
  178. flex: 1;
  179. flex-direction: column;
  180. overflow: hidden;
  181. background-color: #ffffff;
  182. }
  183. /* 已处理未处理列表 */
  184. .processList .cu-list.menu-avatar .cu-item {
  185. height: 178rpx;
  186. }
  187. .pro-title {
  188. color: #333;
  189. }
  190. .pro-des,
  191. .pro-date {
  192. font-size: 28rpx;
  193. color: #666;
  194. }
  195. .pro-res {}
  196. .processList {
  197. // margin-top:100rpx;
  198. /* position: fixed; */
  199. // width: 100%;
  200. height: calc(100% - 100rpx);
  201. overflow-y: scroll;
  202. .cu-form-group{
  203. padding:0;
  204. uni-radio::after, uni-checkbox::after{
  205. content: "";
  206. background-color: transparent;
  207. display: block;
  208. position: absolute;
  209. width: 8px;
  210. height: 8px;
  211. z-index: 999;
  212. top: 0px;
  213. left: 0px;
  214. right: 0;
  215. bottom: 0;
  216. margin: auto;
  217. border-radius: 100px;
  218. border: 7px solid #ffffff !important;
  219. }
  220. uni-radio::before, uni-checkbox::before{
  221. display:none;
  222. }
  223. }
  224. }
  225. /* 已处理未处理详情页样式 */
  226. .timeBox {
  227. height: 88rpx;
  228. background: #EFF4FF;
  229. line-height: 88rpx;
  230. .time {
  231. color: #333
  232. }
  233. }
  234. .info-tit {
  235. color: #4074E7;
  236. line-height: 90rpx;
  237. height: 90rpx;
  238. }
  239. /* // 基本信息 */
  240. .info-content>view {
  241. margin-left: 24rpx;
  242. border-bottom: 1px solid #EDEDED;
  243. line-height: 92rpx;
  244. color: #666;
  245. .checkMore {
  246. color: #4074E7!important
  247. }
  248. }
  249. .info-content view text:first-child {
  250. width: 160rpx;
  251. display: inline-block
  252. }
  253. .info-content view text:last-child {
  254. color:#333
  255. }
  256. .analyse-wrapper {
  257. .top-banner {
  258. width: 100%;
  259. height: 273rpx;
  260. background: url(/static/analyse-bg.png) no-repeat;
  261. background-size:cover;
  262. }
  263. .cu-list.menu-avatar .cu-item{
  264. margin:30rpx 0 0;
  265. margin-left:0;
  266. .cu-avatar{
  267. background-color:rgba(0,0,0,0);
  268. left:26rpx;
  269. }
  270. .content{
  271. left:130rpx;
  272. font-size:32rpx;
  273. }
  274. }
  275. }
  276. .submitBottomBtn {
  277. position: fixed;
  278. width: 100%;
  279. left:0;
  280. bottom: 0rpx;
  281. z-index: 999;
  282. padding-bottom:44rpx;
  283. background-color: #ffffff;
  284. }
  285. // 权限新增
  286. .siteItems{
  287. z-index:999;
  288. position:absolute;
  289. border:1px solid #eee;
  290. width:100%;
  291. .site-item{
  292. background:#fff;
  293. padding:10rpx;
  294. font-size:28rpx;
  295. }
  296. }
  297. .selectedBox .cuIcon-close{
  298. position:relative;
  299. top:3rpx;
  300. right:-10rpx;
  301. }
  302. .noResult{
  303. padding:0 20rpx;
  304. font-size:28rpx;
  305. color:#aaa
  306. }
  307. // 已处理未处理详情页样式修复
  308. .dealDetail{
  309. .info-content > uni-view{
  310. display:flex
  311. }
  312. .info-content uni-view uni-text:first-child{
  313. width:24%
  314. }
  315. .info-content uni-view uni-text:last-child{
  316. width:75%;
  317. line-height:auto;
  318. }
  319. .info-content > uni-view{
  320. line-height:50rpx!important;
  321. padding:20rpx 0
  322. }
  323. }
  324. .search-form select{
  325. padding-left:20rpx;
  326. width:100%;
  327. border:none;
  328. outline:none;
  329. color:grey
  330. }
  331. // 监察上报
  332. .appWrapper textarea{
  333. border:1px solid #EDEDED;
  334. padding:10px;
  335. color: #999;
  336. width:500rpx;
  337. }
  338. .cu-form-group {
  339. border-top: 0;
  340. }
  341. input,
  342. select,
  343. option {
  344. line-height: 70rpx;
  345. padding: 0 20rpx;
  346. height: 70rpx;
  347. border: 1px solid #EDEDED;
  348. // width:500rpx!important;
  349. background-color: #fff;
  350. box-sizing: border-box;
  351. appearance: none;
  352. -moz-appearance: none;
  353. -webkit-appearance: none;
  354. color: #999;
  355. }
  356. select {
  357. background: url(./static/arrow.png) no-repeat scroll 98% center;
  358. background-size: 6%;
  359. }
  360. select:focus,
  361. select:active,
  362. select:hover {
  363. outline: none;
  364. }
  365. .form-item {
  366. padding: 0 40rpx;
  367. display: flex;
  368. align-items: top;
  369. margin-bottom: 20rpx;
  370. .title {
  371. width: 170rpx;
  372. position: relative;
  373. .necessary {
  374. color: red;
  375. display: inline-block;
  376. position: absolute;
  377. top: -2rpx;
  378. left: -20rpx;
  379. font-size: 40rpx;
  380. }
  381. }
  382. input,
  383. select,textarea {
  384. width: 500rpx;
  385. font-size: 24rpx;
  386. }
  387. }
  388. // 现场档案新增
  389. .form-item.extraDis .title{
  390. width:65%!important
  391. }
  392. .checkPos{
  393. position:absolute;
  394. left:0
  395. }
  396. //现场档案详情
  397. .archiveDetail {
  398. image{
  399. width:36rpx;
  400. height:28rpx;
  401. }
  402. .form-item{
  403. display:flex;
  404. align-items: center;
  405. // .title{
  406. // width:70%!important
  407. // }
  408. }
  409. .eleTime{
  410. color:#999999;
  411. margin-left: 12px;
  412. line-height:46px;
  413. display:flex;
  414. align-items: center;
  415. span{
  416. color:#4074E7;
  417. margin:0 20rpx;
  418. display:inline-block
  419. }
  420. image{
  421. width:30rpx;
  422. height:30rpx;
  423. margin-right:20rpx;
  424. }
  425. }
  426. .form-item.remark{
  427. border-bottom:0;
  428. line-height:100rpx;
  429. textarea{
  430. height:70rpx;
  431. margin-top:15rpx;
  432. width:60%
  433. }
  434. }
  435. .form-item{
  436. margin-left: 12px;
  437. margin-bottom:0;
  438. border-bottom: 1px solid #EDEDED;
  439. line-height: 46px;
  440. color: #666;
  441. padding:0;
  442. .sub{
  443. font-size:28rpx
  444. }
  445. }
  446. }
  447. // 单选框&&相机
  448. .form-item.radioSec {
  449. display: block;
  450. position: relative;
  451. .title {
  452. margin-bottom: 10rpx;
  453. }
  454. .radioCameraflex {
  455. display: flex;
  456. input {
  457. border: none;
  458. border-bottom: 1px solid #EDEDED;
  459. padding: 0 10rpx;
  460. height: 50rpx;
  461. line-height: 50rpx;
  462. width:30%;
  463. }
  464. image {
  465. width: 36rpx;
  466. height: 28rpx;
  467. position: absolute;
  468. right: 44rpx;
  469. bottom: 8rpx
  470. }
  471. }
  472. }