index.wxss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. /**index.wxss**/
  2. page {
  3. background: #f6f6f6;
  4. display: flex;
  5. flex-direction: column;
  6. justify-content: flex-start;
  7. }
  8. .userinfo, .uploader, .tunnel {
  9. margin-top: 40rpx;
  10. height: 140rpx;
  11. width: 100%;
  12. background: #fff;
  13. border: 1px solid rgba(0, 0, 0, 0.1);
  14. border-left: none;
  15. border-right: none;
  16. display: flex;
  17. flex-direction: row;
  18. align-items: center;
  19. transition: all 300ms ease;
  20. }
  21. .userinfo-avatar {
  22. width: 100rpx;
  23. height: 100rpx;
  24. margin: 20rpx;
  25. border-radius: 50%;
  26. background-size: cover;
  27. background-color: white;
  28. }
  29. .userinfo-avatar:after {
  30. border: none;
  31. }
  32. .userinfo-nickname {
  33. font-size: 32rpx;
  34. color: #007aff;
  35. background-color: white;
  36. background-size: cover;
  37. }
  38. .userinfo-nickname::after {
  39. border: none;
  40. }
  41. .uploader, .tunnel {
  42. height: auto;
  43. padding: 0 0 0 40rpx;
  44. flex-direction: column;
  45. align-items: flex-start;
  46. box-sizing: border-box;
  47. }
  48. .uploader-text, .tunnel-text {
  49. width: 100%;
  50. line-height: 52px;
  51. font-size: 34rpx;
  52. color: #007aff;
  53. }
  54. .uploader-container {
  55. width: 100%;
  56. height: 400rpx;
  57. padding: 20rpx 20rpx 20rpx 0;
  58. display: flex;
  59. align-content: center;
  60. justify-content: center;
  61. box-sizing: border-box;
  62. border-top: 1px solid rgba(0, 0, 0, 0.1);
  63. }
  64. .uploader-image {
  65. width: 100%;
  66. height: 360rpx;
  67. }
  68. .tunnel {
  69. padding: 0 0 0 40rpx;
  70. }
  71. .tunnel-text {
  72. position: relative;
  73. color: #222;
  74. display: flex;
  75. flex-direction: row;
  76. align-content: center;
  77. justify-content: space-between;
  78. box-sizing: border-box;
  79. border-top: 1px solid rgba(0, 0, 0, 0.1);
  80. }
  81. .tunnel-text:first-child {
  82. border-top: none;
  83. }
  84. .tunnel-switch {
  85. position: absolute;
  86. right: 20rpx;
  87. top: -2rpx;
  88. }
  89. .disable {
  90. color: #888;
  91. }
  92. .service {
  93. position: fixed;
  94. right: 40rpx;
  95. bottom: 40rpx;
  96. width: 140rpx;
  97. height: 140rpx;
  98. border-radius: 50%;
  99. background: linear-gradient(#007aff, #0063ce);
  100. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  101. display: flex;
  102. align-content: center;
  103. justify-content: center;
  104. transition: all 300ms ease;
  105. }
  106. .service-button {
  107. position: absolute;
  108. top: 40rpx;
  109. }
  110. .service:active {
  111. box-shadow: none;
  112. }
  113. .request-text {
  114. padding: 20rpx 0;
  115. font-size: 24rpx;
  116. line-height: 36rpx;
  117. word-break: break-all;
  118. }