index.wxss 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. /* pages/mine/mine.wxss */
  2. page {
  3. background-color: #F8F9FA;
  4. }
  5. .container {
  6. min-height: 100vh !important;
  7. background: #F8F9FA;
  8. justify-content: flex-start;
  9. display: flex;
  10. flex-direction: column;
  11. box-sizing: border-box;
  12. }
  13. .top-box {
  14. width: 100vw;
  15. display: flex;
  16. flex-direction: column;
  17. background: white;
  18. position: relative;
  19. }
  20. .top-bg {
  21. width: 100vw;
  22. display: block;
  23. }
  24. .user-bg {
  25. background-color: #F8F9FA;
  26. position: absolute;
  27. left: 0;
  28. right: 0;
  29. top: 410rpx;
  30. min-height: 52rpx;
  31. border-radius: 32rpx 32rpx 0 0;
  32. }
  33. .userInfo-box {
  34. position: absolute;
  35. left: 0;
  36. right: 0;
  37. top: 358rpx;
  38. display: flex;
  39. flex-direction: column;
  40. justify-content: center;
  41. }
  42. .user-h-view {
  43. width: 100%;
  44. display: flex;
  45. flex-direction: row;
  46. }
  47. .avatar {
  48. width: 160rpx;
  49. height: 160rpx;
  50. display: block;
  51. margin-left: 40rpx;
  52. border-radius: 100%;
  53. overflow: hidden;
  54. box-sizing: border-box;
  55. border: 4rpx solid #FBFBFB;
  56. }
  57. .username {
  58. font-size: 36rpx;
  59. color: #111111;
  60. }
  61. .edit {
  62. width: 40rpx;
  63. height: 40rpx;
  64. display: block;
  65. }
  66. .phoneNumber {
  67. flex: 1;
  68. font-size: 28rpx;
  69. color: #666666;
  70. }
  71. .edit-btn {
  72. font-size: 24rpx;
  73. background: #EDEEF0;
  74. padding: 4rpx 16rpx;
  75. color: #777777;
  76. border-radius: 60rpx;
  77. }
  78. .ad-banner {
  79. margin-top: 120rpx;
  80. width: calc(100% - 60rpx);
  81. display: block;
  82. }
  83. .menu-card {
  84. background: #FFFFFF;
  85. margin-top: 20rpx;
  86. margin-bottom: 30rpx;
  87. width: calc(100% - 60rpx);
  88. overflow: hidden;
  89. min-height: 232rpx;
  90. align-items: center;
  91. display: flex;
  92. box-shadow: 0rpx 8rpx 20rpx 0rpx #EEEEEE;
  93. flex-direction: row;
  94. flex-wrap: wrap;
  95. border-radius: 24rpx;
  96. }
  97. .menu-item {
  98. flex: 0 50%;
  99. display: flex;
  100. height: 116rpx;
  101. position: relative;
  102. box-sizing: border-box;
  103. flex-direction: row;
  104. justify-content: center;
  105. align-items: center;
  106. border-bottom: 1rpx solid #EEEEEE;
  107. border-right: 1rpx solid #EEEEEE;
  108. }
  109. .menu-item button {
  110. position: absolute;
  111. top: 0;
  112. left: 0;
  113. bottom: 0;
  114. right: 0;
  115. line-height: 116rpx;
  116. width: 100%;
  117. height: 100%;
  118. padding: 0;
  119. opacity: 0;
  120. margin: 0;
  121. }
  122. .ic-menu {
  123. width: 40rpx;
  124. height: 40rpx;
  125. }
  126. .menu-title {
  127. color: #444444;
  128. font-size: 28rpx;
  129. margin-left: 16rpx;
  130. }
  131. .menu-item:active {
  132. opacity: 0.7;
  133. }
  134. .card-menu {
  135. width: 100vw;
  136. display: flex;
  137. flex-direction: row;
  138. flex-wrap: wrap;
  139. }
  140. .card-menu-item {
  141. flex: 0 calc(50% - 45rpx);
  142. margin-top: 20rpx;
  143. display: flex;
  144. flex-direction: column;
  145. margin-left: 30rpx;
  146. position: relative;
  147. border-radius: 32rpx;
  148. box-sizing: border-box;
  149. border: 1rpx solid #FFFFFF;
  150. }
  151. .bg-card-menu {
  152. width: 100%;
  153. }
  154. .card-menu-title {
  155. position: absolute;
  156. font-weight: 500;
  157. top: 30rpx;
  158. left: 30rpx;
  159. font-size: 32rpx;
  160. }
  161. .ic-card-menu {
  162. width: 72rpx;
  163. height: 72rpx;
  164. display: block;
  165. position: absolute;
  166. right: 24rpx;
  167. bottom: 24rpx;
  168. }
  169. /* tips-content */
  170. .tips-box {
  171. display: flex;
  172. flex-direction: column;
  173. align-items: center;
  174. }
  175. .tips-content {
  176. width: 630rpx;
  177. min-height: 566rpx;
  178. background: linear-gradient(180deg, #C7DAFF 0%, #FFFFFF 37%, #FFFFFF 100%);
  179. border-radius: 16rpx 16rpx 16rpx 16rpx;
  180. display: flex;
  181. flex-direction: column;
  182. align-items: center;
  183. }
  184. .tips-contentB {
  185. width: 630rpx;
  186. min-height: 566rpx;
  187. background: linear-gradient(180deg, #CCFFF8 0%, #FFFFFF 37%, #FFFFFF 100%);
  188. border-radius: 16rpx 16rpx 16rpx 16rpx;
  189. display: flex;
  190. flex-direction: column;
  191. align-items: center;
  192. }
  193. .tips-close-btn {
  194. display: flex;
  195. flex-direction: column;
  196. justify-content: center;
  197. align-items: center;
  198. height: 116rpx;
  199. width: 116rpx;
  200. }
  201. .ic-tips {
  202. margin-top: 42rpx;
  203. height: 200rpx;
  204. width: 200rpx;
  205. }
  206. .tips-title {
  207. margin-top: 40rpx;
  208. color: #3E3D44;
  209. font-size: 32rpx;
  210. }
  211. .tips-desc {
  212. width: calc(100% - 72rpx);
  213. margin-top: 30rpx;
  214. margin-left: auto;
  215. margin-right: auto;
  216. margin-bottom: 40rpx;
  217. color: #6C6970;
  218. font-size: 24rpx;
  219. }
  220. .popup-box-1{
  221. width: 572rpx;
  222. height: 352rpx;
  223. padding: 0 40rpx;
  224. background: #FFFFFF;
  225. border-radius: 24rpx 24rpx 24rpx 24rpx;
  226. box-sizing: border-box;
  227. }
  228. .popup-title-1{
  229. font-weight: 400;
  230. font-size: 32rpx;
  231. color: #333333;
  232. line-height: 40rpx;
  233. text-align: center;
  234. font-style: normal;
  235. text-transform: none;
  236. }
  237. .popup-text-1{
  238. color: #777777;
  239. margin: 40rpx 0;
  240. text-align: center;
  241. text-overflow: ellipsis;
  242. }
  243. .popup-btn-b{
  244. width: 236rpx;
  245. height: 72rpx;
  246. border-radius: 292rpx 292rpx 292rpx 292rpx;
  247. font-weight: 400;
  248. font-size: 28rpx;
  249. color: #FFFFFF;
  250. line-height: 40rpx;
  251. text-align: center;
  252. font-style: normal;
  253. text-transform: none;
  254. }
  255. .popup-abnormal-img {
  256. height: 48rpx;
  257. width: 48rpx;
  258. margin-right: 16rpx;
  259. }
  260. .flex-level-center {
  261. display: flex;
  262. /*水平居中*/
  263. justify-content: center;
  264. }
  265. .flex-vertical-center {
  266. display: flex;
  267. /*垂直居中*/
  268. align-items: center;
  269. }
  270. .end-see-aico-btn-color-1{
  271. background: linear-gradient( 315deg, #0ABCA4 0%, rgba(11,195,170,0.8) 100%);
  272. }
  273. .end-see-aico-btn-color-2{
  274. background: linear-gradient( 315deg, #FF6C2E 0%, #FF9B71 100%);
  275. }
  276. .flex-column {
  277. display: flex;
  278. flex-direction: column;
  279. }