星火官网,前端页面(前台)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

trial.css 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. body{
  2. background-color: white;
  3. }
  4. *{
  5. margin: 0;
  6. }
  7. .tri_header {
  8. width: 100%;
  9. height: 3.9rem;
  10. position: relative;
  11. padding-top: 0.8rem;
  12. }
  13. .tri_header img {
  14. width: 100%;
  15. height: 100%;
  16. }
  17. .suspension {
  18. position: absolute;
  19. left: 2rem;
  20. top: 1.3rem;
  21. color: white;
  22. }
  23. .suspension div {
  24. font-weight: bold;
  25. font-size: 0.4rem;
  26. margin-bottom: 0.4rem;
  27. }
  28. .suspension p {
  29. font-size: 0.16rem;
  30. }
  31. .tri_content{
  32. width: 13rem;
  33. margin: 1rem auto;
  34. }
  35. .ser_title {
  36. color: #000000;
  37. letter-spacing: 0.01rem;
  38. font-size: 0.4rem;
  39. font-weight: bold;
  40. text-align: center;
  41. margin-bottom: 0.2rem;
  42. }
  43. .ser_comm p {
  44. width: 100%;
  45. color: #999999;
  46. font-size: 0.16rem;
  47. text-align: center;
  48. letter-spacing: 0.02rem;
  49. line-height: 0.3rem;
  50. margin: 0;
  51. }
  52. .submit_data{
  53. margin-top: 0.6rem;
  54. }
  55. .submit_list{
  56. display: flex;
  57. justify-content: space-between;
  58. margin-bottom: 0.4rem;
  59. }
  60. .submit_item{
  61. width: 32%;
  62. display: flex;
  63. flex-direction:column-reverse;
  64. position: relative;
  65. }
  66. .submit_item p{
  67. color: #333333;
  68. font-size: 0.16rem;
  69. font-weight: bold;
  70. line-height: 0.3rem;
  71. margin-bottom: 0.1rem;
  72. }
  73. .submit_item input{
  74. width: calc(100% - 0.2rem);
  75. display: inline-block;
  76. height: 0.36rem;
  77. border: 1px solid #cccccc;
  78. border-radius: 0.06rem;
  79. outline-style: none; /*获取焦点时边框*/
  80. padding-left: 0.1rem;
  81. }
  82. ::-webkit-input-placeholder {
  83. /* WebKit browsers,webkit内核浏览器 */
  84. color: #ccc;
  85. }
  86. .submit_comm p{
  87. color: #333333;
  88. font-size: 0.16rem;
  89. font-weight: bold;
  90. line-height: 0.3rem;
  91. margin-bottom: 0.1rem;
  92. }
  93. .submit_comm #comm{
  94. width: calc(100% - 0.2rem);
  95. outline-style: none;
  96. /*获取焦点时边框*/
  97. border: 1px solid #cccccc;
  98. padding: 0.06rem;
  99. font-family: Microsoft YaHei;
  100. }
  101. .subject_data{
  102. padding: 0.6rem 0 0.4rem;
  103. }
  104. .btn{
  105. width: 3.2rem;
  106. height: 0.48rem;
  107. margin: 0 auto;
  108. background-color: #2d8cf0;
  109. display: flex;
  110. align-items: center;
  111. justify-content: center;
  112. cursor: pointer;
  113. }
  114. .btn span{
  115. color: white;
  116. font-size: 0.16rem;
  117. }
  118. .btn img{
  119. margin-left: 0.2rem;
  120. width: 0.2rem;
  121. height: 0.06rem;
  122. }
  123. .submit_item .showerr{
  124. position: absolute;
  125. bottom: -0.4rem;
  126. color: red !important;
  127. font-size: 0.14rem;
  128. /* visibility: hidden; */
  129. }