app.wxss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. /**app.wxss**/
  2. page {
  3. color: #212121;
  4. width: 750rpx;
  5. height: 100vh;
  6. font-weight: 400;
  7. }
  8. .container {
  9. display: flex;
  10. flex-direction: column;
  11. align-items: center;
  12. box-sizing: border-box;
  13. }
  14. button {
  15. background: initial;
  16. }
  17. button:focus{
  18. outline: 0;
  19. }
  20. button::after{
  21. border: none;
  22. }
  23. page {
  24. display: flex;
  25. flex-direction: column;
  26. justify-content: flex-start;
  27. font-weight: 400;
  28. width: 750rpx;
  29. height: 100vh;
  30. font-family: -apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Segoe UI,Arial,Roboto,PingFang SC,miui,Hiragino Sans GB,Microsoft Yahei,sans-serif;
  31. }
  32. .userinfo, .uploader, .tunnel {
  33. margin-top: 40rpx;
  34. height: 140rpx;
  35. width: 100%;
  36. background: #fff;
  37. border: 1px solid rgba(0, 0, 0, 0.1);
  38. border-left: none;
  39. border-right: none;
  40. display: flex;
  41. flex-direction: row;
  42. align-items: center;
  43. transition: all 300ms ease;
  44. }
  45. .userinfo-avatar {
  46. width: 100rpx;
  47. height: 100rpx;
  48. margin: 20rpx;
  49. border-radius: 50%;
  50. background-size: cover;
  51. background-color: white;
  52. }
  53. .userinfo-avatar:after {
  54. border: none;
  55. }
  56. .userinfo-nickname {
  57. font-size: 32rpx;
  58. color: #007aff;
  59. background-color: white;
  60. background-size: cover;
  61. }
  62. .userinfo-nickname::after {
  63. border: none;
  64. }
  65. .uploader, .tunnel {
  66. height: auto;
  67. padding: 0 0 0 40rpx;
  68. flex-direction: column;
  69. align-items: flex-start;
  70. box-sizing: border-box;
  71. }
  72. .uploader-text, .tunnel-text {
  73. width: 100%;
  74. line-height: 52px;
  75. font-size: 34rpx;
  76. color: #007aff;
  77. }
  78. .uploader-container {
  79. width: 100%;
  80. height: 400rpx;
  81. padding: 20rpx 20rpx 20rpx 0;
  82. display: flex;
  83. align-content: center;
  84. justify-content: center;
  85. box-sizing: border-box;
  86. border-top: 1px solid rgba(0, 0, 0, 0.1);
  87. }
  88. .uploader-image {
  89. width: 100%;
  90. height: 360rpx;
  91. }
  92. .tunnel {
  93. padding: 0 0 0 40rpx;
  94. }
  95. .tunnel-text {
  96. position: relative;
  97. color: #222;
  98. display: flex;
  99. flex-direction: row;
  100. align-content: center;
  101. justify-content: space-between;
  102. box-sizing: border-box;
  103. border-top: 1px solid rgba(0, 0, 0, 0.1);
  104. }
  105. .tunnel-text:first-child {
  106. border-top: none;
  107. }
  108. .tunnel-switch {
  109. position: absolute;
  110. right: 20rpx;
  111. top: -2rpx;
  112. }
  113. .disable {
  114. color: #888;
  115. }
  116. .service {
  117. position: fixed;
  118. right: 40rpx;
  119. bottom: 40rpx;
  120. width: 140rpx;
  121. height: 140rpx;
  122. border-radius: 50%;
  123. background: linear-gradient(#007aff, #0063ce);
  124. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  125. display: flex;
  126. align-content: center;
  127. justify-content: center;
  128. transition: all 300ms ease;
  129. }
  130. .service-button {
  131. position: absolute;
  132. top: 40rpx;
  133. }
  134. .service:active {
  135. box-shadow: none;
  136. }
  137. .request-text {
  138. padding: 20rpx 0;
  139. font-size: 24rpx;
  140. line-height: 36rpx;
  141. word-break: break-all;
  142. }
  143. .headImg {
  144. width: 730rpx;
  145. height: 243rpx;
  146. display: block;
  147. margin-right: auto;
  148. margin-left: auto;
  149. border-radius: 22.5rpx;
  150. }