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.

274 lines
5.2 KiB

6 months ago
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 页面左右间距 */
  16. /* 行为相关颜色 */
  17. /* 文字基本颜色 */
  18. /* 背景颜色 */
  19. /* 边框颜色 */
  20. /* 尺寸变量 */
  21. /* 文字尺寸 */
  22. /*文字颜色*/
  23. /* 图片尺寸 */
  24. /* Border Radius */
  25. /* 水平间距 */
  26. /* 垂直间距 */
  27. /* 透明度 */
  28. /* 文章场景相关 */
  29. page,
  30. view,
  31. scroll-view,
  32. swiper,
  33. button,
  34. input,
  35. textarea,
  36. label,
  37. navigator,
  38. image {
  39. box-sizing: border-box !important;
  40. }
  41. image {
  42. vertical-align: top;
  43. }
  44. .tj-sction .tj-item, .order-section .order-item {
  45. display: flex;
  46. flex-direction: column;
  47. justify-content: center;
  48. align-items: center;
  49. }
  50. .tj-sction, .order-section {
  51. display: flex;
  52. justify-content: space-around;
  53. align-content: center;
  54. background: #fff;
  55. border-radius: 10rpx;
  56. }
  57. .user-section {
  58. height: 520rpx;
  59. padding: 100rpx 30rpx 0;
  60. position: relative;
  61. }
  62. .user-section .bg {
  63. position: absolute;
  64. left: 0;
  65. top: 0;
  66. width: 100%;
  67. height: 100%;
  68. -webkit-filter: blur(1px);
  69. filter: blur(1px);
  70. opacity: .7;
  71. }
  72. .user-info-box {
  73. height: 180rpx;
  74. display: flex;
  75. align-items: center;
  76. position: relative;
  77. z-index: 1;
  78. }
  79. .user-info-box .portrait {
  80. width: 130rpx;
  81. height: 130rpx;
  82. border: 5rpx solid #fff;
  83. border-radius: 50%;
  84. }
  85. .user-info-box .username {
  86. font-size: 38rpx;
  87. color: #303133;
  88. margin-left: 20rpx;
  89. }
  90. .user-info-box .usercode {
  91. padding: 8rpx;
  92. border-radius: 15rpx;
  93. background-color: #4399FC;
  94. color: #fff;
  95. font-size: 35rpx;
  96. position: relative;
  97. left: 20rpx;
  98. }
  99. .vip-card-box {
  100. display: flex;
  101. flex-direction: column;
  102. color: #f7d680;
  103. height: 240rpx;
  104. background: linear-gradient(left, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8));
  105. border-radius: 16rpx 16rpx 0 0;
  106. overflow: hidden;
  107. position: relative;
  108. padding: 20rpx 24rpx;
  109. }
  110. .vip-card-box .card-bg {
  111. position: absolute;
  112. top: 20rpx;
  113. right: 0;
  114. width: 380rpx;
  115. height: 260rpx;
  116. }
  117. .vip-card-box .b-btn {
  118. position: absolute;
  119. right: 20rpx;
  120. top: 16rpx;
  121. width: 132rpx;
  122. height: 40rpx;
  123. text-align: center;
  124. line-height: 40rpx;
  125. font-size: 22rpx;
  126. color: #36343c;
  127. border-radius: 20px;
  128. background: linear-gradient(left, #f9e6af, #ffd465);
  129. z-index: 1;
  130. }
  131. .vip-card-box .tit {
  132. font-size: 30rpx;
  133. color: #f7d680;
  134. margin-bottom: 28rpx;
  135. }
  136. .vip-card-box .tit .yticon {
  137. color: #f6e5a3;
  138. margin-right: 16rpx;
  139. font-size: 46rpx;
  140. }
  141. .vip-card-box .e-b {
  142. font-size: 24rpx;
  143. color: #d8cba9;
  144. margin-top: 10rpx;
  145. }
  146. .cover-container {
  147. background: #f8f8f8;
  148. margin-top: -150rpx;
  149. padding: 0 30rpx;
  150. position: relative;
  151. background: #f5f5f5;
  152. padding-bottom: 20rpx;
  153. }
  154. .cover-container .arc {
  155. position: absolute;
  156. left: 0;
  157. top: -34rpx;
  158. width: 100%;
  159. height: 36rpx;
  160. }
  161. .tj-sction .tj-item {
  162. flex-direction: column;
  163. height: 140rpx;
  164. font-size: 24rpx;
  165. color: #75787d;
  166. }
  167. .tj-sction .num {
  168. font-size: 32rpx;
  169. color: #303133;
  170. margin-bottom: 8rpx;
  171. }
  172. .order-section {
  173. padding: 28rpx 0;
  174. margin-top: 20rpx;
  175. }
  176. .order-section .order-item {
  177. width: 120rpx;
  178. height: 120rpx;
  179. border-radius: 10rpx;
  180. font-size: 24rpx;
  181. color: #303133;
  182. }
  183. .order-section .yticon {
  184. font-size: 48rpx;
  185. margin-bottom: 18rpx;
  186. color: #fa436a;
  187. }
  188. .order-section .icon-shouhoutuikuan {
  189. font-size: 44rpx;
  190. }
  191. .history-section {
  192. padding: 30rpx 0 0;
  193. margin-top: 20rpx;
  194. background: #fff;
  195. border-radius: 10rpx;
  196. }
  197. .history-section .sec-header {
  198. display: flex;
  199. align-items: center;
  200. font-size: 28rpx;
  201. color: #303133;
  202. line-height: 40rpx;
  203. margin-left: 30rpx;
  204. }
  205. .history-section .sec-header .yticon {
  206. font-size: 44rpx;
  207. color: #5eba8f;
  208. margin-right: 16rpx;
  209. line-height: 40rpx;
  210. }
  211. .history-section .h-list {
  212. white-space: nowrap;
  213. padding: 30rpx 30rpx 0;
  214. }
  215. .history-section .h-list image {
  216. display: inline-block;
  217. width: 160rpx;
  218. height: 160rpx;
  219. margin-right: 20rpx;
  220. border-radius: 10rpx;
  221. }
  222. .clean {
  223. position: absolute;
  224. right: 45rpx;
  225. padding: 3rpx 8rpx;
  226. background-color: #DD524D;
  227. color: #fff;
  228. border-radius: 10rpx;
  229. font-size: 28rpx;
  230. }
  231. .kf {
  232. display: flex;
  233. padding: 20rpx 30rpx;
  234. line-height: 60rpx;
  235. position: relative;
  236. align-items: center;
  237. }
  238. .kf image {
  239. left: 90rpx;
  240. width: 50rpx;
  241. height: 50rpx;
  242. }
  243. .kf .kfright {
  244. width: 30%;
  245. }
  246. .kf .kfbt {
  247. font-size: 28rpx;
  248. background: none;
  249. position: relative;
  250. left: -35rpx;
  251. color: #303133;
  252. }
  253. .kf .kfbt::after {
  254. border: 0;
  255. }
  256. /* 自定义样式,非组件 */
  257. .myitem {
  258. display: flex;
  259. align-items: center;
  260. padding: 20rpx 30rpx;
  261. }
  262. .myitem image {
  263. left: 90rpx;
  264. width: 40rpx;
  265. height: 40rpx;
  266. }
  267. .myitem .myitemright {
  268. width: 80%;
  269. font-size: 26rpx;
  270. color: #303133;
  271. margin-left: 15rpx;
  272. margin-bottom: 10rpx;
  273. }