exam_detail_img.less 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  1. @body-bg: #03C762;
  2. .header{
  3. max-width: 768px;
  4. margin-left: calc(~"50vw - 389px");
  5. @media screen and (max-width:768px) {
  6. margin: auto;
  7. }
  8. .container{
  9. max-width: 768px ;
  10. }
  11. }
  12. .body {
  13. margin: auto;
  14. margin-top: 90px;
  15. max-width: 768px;
  16. h4 {
  17. font-weight: 600;
  18. }
  19. .edi-a {
  20. display: block;
  21. background-color: #f5f5f5;
  22. padding: 10px;
  23. margin: 5px 0px;
  24. border-radius: 5px;
  25. color: #777;
  26. position: relative;
  27. span {
  28. display: block !important;
  29. overflow: hidden;
  30. white-space: nowrap;
  31. text-overflow: ellipsis;
  32. width: calc(~"100% - 16px");
  33. }
  34. i {
  35. color: #ccc;
  36. position: absolute;
  37. right: 10px;
  38. top: 12px
  39. }
  40. }
  41. .edi-p1 {
  42. font-size: 12px;
  43. color: #777;
  44. line-height: 50px;
  45. margin: 0;
  46. }
  47. .edi-p2 {
  48. color: #999;
  49. padding-bottom: 25px;
  50. border-bottom: 8px solid #f5f5f5;
  51. &>span:first-child {
  52. display: inline-block;
  53. padding: 5px 5px 0px 5px;
  54. border-radius: 15px 15px 5px 5px;
  55. background-color: #f5f5f5;
  56. }
  57. .edi-p-span {
  58. padding: 5px 0px 0px;
  59. span {
  60. margin-right: 20px;
  61. font-size: 12px;
  62. }
  63. img {
  64. width: 20px;
  65. height: 20px;
  66. }
  67. }
  68. }
  69. .edi-body {
  70. position: relative;
  71. padding-bottom: 50px;
  72. height: 800px;
  73. overflow: hidden;
  74. .fixed{
  75. position: fixed;
  76. top: 0;
  77. width: 100%;
  78. background-color: #fff;
  79. border-bottom: 0;
  80. padding-bottom: 10px;
  81. @media screen and (max-width:768px){
  82. &{
  83. top: 80px;
  84. }
  85. }
  86. }
  87. .edi-user {
  88. margin-top: 10px;
  89. padding: 10px;
  90. display: flex;
  91. justify-content: space-between;
  92. align-items: center;
  93. @media screen and (max-width:768px) {
  94. & {
  95. padding: 10px 0px;
  96. }
  97. }
  98. .left {
  99. display: flex;
  100. justify-content: flex-start;
  101. align-items: center;
  102. img {
  103. width: 50px;
  104. height: 50px;
  105. margin: 0 10px;
  106. @media screen and (max-width:768px) {
  107. & {
  108. width: 30px;
  109. height: 30px;
  110. margin-left: 0px;
  111. margin-right: 5px;
  112. }
  113. }
  114. }
  115. div {
  116. p {
  117. text-align: start;
  118. margin: 5px 0;
  119. @media screen and (max-width:768px) {
  120. & {
  121. margin: 0;
  122. }
  123. }
  124. }
  125. &>p:last-child {
  126. font-size: 12px;
  127. color: #999;
  128. }
  129. }
  130. }
  131. .right {
  132. i {
  133. background-color: @body-bg;
  134. font-size: 25px;
  135. width: 45px;height: 45px;
  136. border-radius: 50%;
  137. color: #fff;
  138. text-align: center;
  139. line-height: 45px;
  140. margin-left: 10px;
  141. @media screen and (max-width:768px) {
  142. & {
  143. font-size: 5px;
  144. margin-left: 0;
  145. }
  146. }
  147. }
  148. }
  149. }
  150. p {
  151. width: 100%;
  152. text-align: center;
  153. img {
  154. width: 100%;
  155. }
  156. }
  157. .edi-line{
  158. color: #f03;
  159. display: flex;
  160. font-size: 16px;
  161. justify-content: center;align-items: center;
  162. white-space: nowrap;
  163. &::after{
  164. content: '';
  165. display: inline-block;
  166. border-bottom: 1px solid #e6e6e6;
  167. width: 100%;
  168. margin-left: 10px;
  169. }
  170. &::before{
  171. content: '';
  172. display: inline-block;
  173. border-bottom: 1px solid #e6e6e6;
  174. width: 100%;
  175. margin-right: 10px;
  176. }
  177. }
  178. .edi-open {
  179. width: 100%;
  180. text-align: center;
  181. background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, #fff 100%);
  182. position: absolute;
  183. bottom: 0px;
  184. padding-top: 50px;
  185. span{
  186. display: inline-block;
  187. border-radius: 30px;
  188. background-color: #eef5ff;
  189. padding: 6px 20px;
  190. color:@body-bg;
  191. i{
  192. margin-left: 5px;
  193. }
  194. }
  195. }
  196. }
  197. .edi-body-height{
  198. height: auto;
  199. }
  200. .edi-footer{
  201. margin-top: 50px;
  202. text-align: center;
  203. color: #777;
  204. .choose{
  205. width: 300px;
  206. margin: auto;
  207. display: flex;justify-content: space-around;
  208. align-items: center;
  209. .img{
  210. width: 66px;
  211. img{
  212. width: 100%;
  213. }
  214. color: #000;
  215. span{
  216. color: #777;
  217. margin-left: 5px;
  218. }
  219. }
  220. }
  221. }
  222. .interactive{
  223. .pull-left{
  224. label{
  225. vertical-align: middle;
  226. font-size: 14px;
  227. color: #777;
  228. font-weight: normal;
  229. }
  230. }
  231. h5{
  232. border-bottom: 1px solid #e6e6e6;
  233. padding: 10px 0px;
  234. margin: 5px 0px;
  235. }
  236. .pull-right{
  237. .active{
  238. color: #000;
  239. }
  240. span{
  241. color: #777;
  242. }
  243. }
  244. .alert{
  245. clear: both;
  246. }
  247. }
  248. .prog{
  249. background-color: #eef5ff;
  250. border-radius: 5px;
  251. padding: 20px;
  252. @media screen and (max-width:768px) {
  253. padding: 20px 5px;
  254. }
  255. position: relative;
  256. .title{
  257. color: @body-bg;
  258. position: absolute;
  259. top: 10px;
  260. }
  261. .flex{
  262. height: 50px;
  263. box-sizing: border-box;
  264. display: flex;justify-content: space-between;align-items: center;
  265. .pro{
  266. width: 100%;
  267. max-width: 50%;
  268. min-width:200px;
  269. box-sizing: border-box;
  270. height: 5px;
  271. border-radius: 5px;
  272. background-color: #fff;
  273. margin-right: 20px;
  274. position: relative;
  275. .pro-title{
  276. position: absolute;
  277. right: 0px;
  278. top: -20px;
  279. color: #999;
  280. }
  281. .pro-content{
  282. width: 0%;
  283. height: 100%;
  284. background-color: @body-bg;
  285. }
  286. .icon{
  287. position: absolute;
  288. width: 30px;
  289. height:30px;
  290. box-sizing: border-box;
  291. background-color: #fff;
  292. text-align: center;
  293. line-height: 27px;
  294. border-radius: 50%;
  295. top: -12px;
  296. border: 2px solid #7aaef3;
  297. }
  298. .pro-show{
  299. width: 100px;
  300. position: absolute;
  301. top: 20px;
  302. color: @body-bg;
  303. }
  304. }
  305. .button{
  306. width: 80px;
  307. line-height: 40px;
  308. text-align: center;
  309. color: #fff;
  310. background-color: #7aaef3;
  311. border-radius: 10px;
  312. box-sizing: border-box;
  313. }
  314. }
  315. }
  316. }