common.scss 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457
  1. /* common */
  2. body {
  3. font-size: 32rpx;
  4. }
  5. radio,checkbox {
  6. transform: scale(0.7)
  7. }
  8. /* 修改placeholder颜色 */
  9. .uni-input-placeholder{
  10. color:#999
  11. }
  12. /* 一行显示*/
  13. .inOneLine{
  14. white-space: nowrap;
  15. overflow: hidden;
  16. text-overflow: ellipsis;
  17. }
  18. /* 画面监控引入特殊字体 */
  19. @font-face {
  20. font-family: 'FANDOLFANG-REGULAR'; /* project id 2394829 */
  21. src: url('static/font/FANDOLFANG-REGULAR.OTF');
  22. }
  23. .cu-bar .search-form uni-input{
  24. padding:0 30rpx
  25. }
  26. .searchSelect{
  27. position: -webkit-fixed;
  28. position: fixed;
  29. // top: 88rpx;
  30. top: var(--window-top);
  31. z-index: 999;
  32. -webkit-box-flex: 1;
  33. -webkit-flex: 1;
  34. flex: 1;
  35. -webkit-box-orient: vertical;
  36. -webkit-box-direction: normal;
  37. -webkit-flex-direction: column;
  38. flex-direction: column;
  39. overflow: hidden;
  40. background-color: #fff;
  41. width:254rpx;
  42. .search{
  43. min-height:80rpx;
  44. }
  45. .search-form{
  46. border:1px solid #E9E9E9;
  47. height:50rpx;
  48. line-height:50rpx;
  49. .cuIcon-search{
  50. color:#4074E7
  51. }
  52. input{
  53. padding-left:20rpx;
  54. padding-right:0rpx
  55. }
  56. }
  57. .select-item{
  58. padding:12rpx 32rpx;
  59. text-align:center;
  60. border-top:1px solid #E9E9E9;
  61. font-size:28rpx
  62. }
  63. }
  64. /* 九宫格样式 */
  65. .cu-list.grid>.cu-item uni-text {
  66. color: #333;
  67. font-size: 30rpx;
  68. margin-top:14rpx
  69. }
  70. .cu-list.menu-avatar>.cu-item>.cu-avatar {
  71. left: 24rpx;
  72. background-color:rgba(0,0,0,0)
  73. }
  74. .cu-list.menu-avatar>.cu-item .action {
  75. width: 132rpx
  76. }
  77. .iconfont.phone {
  78. color:#08BE04!important;
  79. font-size:45rpx;
  80. position:relative;
  81. top:6rpx;
  82. left:10rpx;
  83. }
  84. .iconfont.map{
  85. color:#4074E7!important;
  86. font-size:38rpx;
  87. }
  88. /* 列列表公共样式 */
  89. .processWrapper .cu-avatar {
  90. background-repeat: no-repeat;
  91. background-size: cover;
  92. background-color: #fff
  93. }
  94. .cu-avatar.lg {
  95. width: 90rpx;
  96. height: 90rpx
  97. }
  98. .cu-list.menu-avatar .cu-item {
  99. margin-left: 24rpx;
  100. padding: 30rpx 0;
  101. }
  102. .cu-list.menu-avatar>.cu-item>.cu-avatar {
  103. left: 0
  104. }
  105. .cu-list.menu-avatar>.cu-item .content {
  106. left: 120rpx;
  107. width: 580rpx;
  108. }
  109. .unProcess,.error {
  110. color: #FF4E00
  111. }
  112. .processed ,.online{
  113. color: #08BE04
  114. }
  115. .bg-error {
  116. background: #FF4E00;
  117. color:#fff;
  118. display:inline-block;
  119. padding:0 10px ;
  120. }
  121. .bg-online{
  122. background: #08BE04;
  123. color:#fff;
  124. display:inline-block;
  125. padding:0 10px ;
  126. }
  127. /* 页面样式 */
  128. /* 站点列表页 */
  129. /* 筛选框 */
  130. .filter-section {
  131. /* position: fixed; */
  132. /* top: 88rpx; */
  133. width: 100%;
  134. z-index: 9
  135. }
  136. .cu-bar .search-form {
  137. background: #fff
  138. }
  139. .cu-btn {
  140. padding: 0 46rpx;
  141. }
  142. /* 站点列表 */
  143. .site-items {
  144. margin-top:100rpx;
  145. width: 100%;
  146. height: calc(100% - 100rpx);
  147. overflow: scroll
  148. }
  149. .site-items .site-tit {
  150. font-size: 32rpx;
  151. color: #333;
  152. justify-content: space-between;
  153. }
  154. .site-items .cu-avatar {}
  155. /* 新增按钮 */
  156. .site-wrapper .plus {
  157. position: fixed;
  158. bottom: 20rpx;
  159. right: 20rpx
  160. }
  161. /* 已处理未处理列表 */
  162. .processList .cu-list.menu-avatar .cu-item {
  163. height: 178rpx;
  164. }
  165. .pro-title {
  166. color: #333;
  167. }
  168. .pro-des,
  169. .pro-date {
  170. font-size: 28rpx;
  171. color: #666;
  172. }
  173. .pro-res {}
  174. .processList {
  175. margin-top:100rpx;
  176. /* position: fixed; */
  177. width: 100%;
  178. height: calc(100% - 100rpx);
  179. overflow-y: scroll;
  180. }
  181. /* 已处理未处理详情页样式 */
  182. .timeBox {
  183. height: 88rpx;
  184. background: #EFF4FF;
  185. line-height: 88rpx;
  186. .time {
  187. color: #333
  188. }
  189. }
  190. .info-tit {
  191. color: #4074E7;
  192. line-height: 90rpx;
  193. height: 90rpx;
  194. }
  195. /* // 基本信息 */
  196. .info-content>view {
  197. margin-left: 24rpx;
  198. border-bottom: 1px solid #EDEDED;
  199. line-height: 92rpx;
  200. color: #666;
  201. .checkMore {
  202. color: #4074E7!important
  203. }
  204. }
  205. .info-content view text:first-child {
  206. width: auto!important;
  207. display: inline-block
  208. }
  209. .info-content view text:last-child {
  210. color:#333
  211. }
  212. .analyse-wrapper {
  213. .top-banner {
  214. width: 100%;
  215. height: 273rpx;
  216. background: url(/static/analyse-bg.png) no-repeat;
  217. background-size:cover;
  218. }
  219. .cu-list.menu-avatar .cu-item{
  220. margin:30rpx 0 0;
  221. margin-left:0;
  222. .cu-avatar{
  223. background-color:rgba(0,0,0,0);
  224. left:26rpx;
  225. }
  226. .content{
  227. left:130rpx;
  228. font-size:32rpx;
  229. }
  230. }
  231. }
  232. .submitBottomBtn {
  233. position: fixed;
  234. width: 100%;
  235. left:0;
  236. bottom: 44rpx;
  237. z-index: 999;
  238. background-color: #ffffff;
  239. }
  240. // 权限新增
  241. .siteItems{
  242. z-index:999;
  243. position:absolute;
  244. border:1px solid #eee;
  245. width:100%;
  246. .site-item{
  247. background:#fff;
  248. padding:10rpx;
  249. font-size:28rpx;
  250. }
  251. }
  252. .selectedBox .cuIcon-close{
  253. position:relative;
  254. top:3rpx;
  255. right:-10rpx;
  256. }
  257. .noResult{
  258. padding:0 20rpx;
  259. font-size:28rpx;
  260. color:#aaa
  261. }
  262. // 离线设备
  263. .ding{
  264. position:fixed;
  265. width:100%;
  266. top: var(--window-top);
  267. // position: sticky;
  268. /* #ifdef H5 */
  269. // top: 44px;
  270. /* #endif */
  271. /* #ifndef H5 */
  272. // top: 0;
  273. /* #endif */
  274. z-index: 999;
  275. flex: 1;
  276. flex-direction: column;
  277. overflow: hidden;
  278. background-color: #ffffff;
  279. }
  280. .cu-bar{
  281. min-height:0rpx;
  282. }
  283. .cu-bar .search-form {
  284. margin:0 24rpx;
  285. margin-top:26rpx;
  286. }
  287. select{
  288. outline:none;
  289. border:none;
  290. width:90%;
  291. padding-left:24rpx;
  292. color:#999
  293. }
  294. // 未处理textarea样式
  295. /* // 处理内容 */
  296. .cu-form-group {
  297. background: #f5f5f5;
  298. }
  299. .processStatus {
  300. textarea {
  301. background: #F5F5F5;
  302. color: #999999;
  303. }
  304. }
  305. // textarea
  306. .JTxtArea {
  307. position: relative;
  308. &.sm {
  309. min-height: 60rpx;
  310. }
  311. &.lg {
  312. min-height: 100rpx;
  313. }
  314. &:after {
  315. content: attr(data-maxnum);
  316. position: absolute;
  317. right: 10rpx;
  318. bottom: 0px;
  319. }
  320. }
  321. // 导出页面
  322. .cu-dialog{
  323. width:70%
  324. }
  325. .cu-modal .cu-dialog>.cu-bar:first-child .action{
  326. min-height:50rpx;
  327. min-width:auto;
  328. }
  329. .cu-dialog{
  330. border-radius:20rpx
  331. }
  332. // 设备类型
  333. .cu-list.menu-avatar .deviceTypeItem.cu-item{
  334. height:110rpx;
  335. .content{
  336. left:100rpx!important
  337. }
  338. .cu-avatar.round{
  339. width:70rpx;
  340. height:70rpx
  341. }
  342. .title{
  343. font-size:32rpx!important;
  344. }
  345. .num{
  346. color:#666;
  347. }
  348. }
  349. // 设备详情
  350. .radiusStatus{
  351. width:20rpx;height:20rpx;border-radius:50%;display:inline-block;
  352. margin-right:6rpx
  353. }
  354. .radiusStatus.offLine{
  355. }
  356. .bg-offLine{
  357. background:#ABABAB;
  358. color:#666666;
  359. .radiusStatus{
  360. background:#666
  361. }
  362. }
  363. .bg-onLine{
  364. background:#08BE04;
  365. color:#fff;
  366. .radiusStatus{
  367. background:#fff
  368. }
  369. }