index.wxss 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422
  1. page{
  2. font-size: 28rpx;
  3. min-height: 100%;
  4. background: #F5F5F4 url('https://img.bbztx.com/image_test/upload/thumbs/20220426/logo/1650962916646054418.png') no-repeat;
  5. background-size: 100%;
  6. }
  7. .coin-head{
  8. }
  9. .coin-head .head-user{
  10. padding-top: 100rpx;
  11. position:relative;
  12. display: flex;
  13. flex-direction: column;
  14. align-items: center;
  15. }
  16. .coin-head .head-user .tip{
  17. position: absolute;
  18. top: 20rpx;
  19. right: 20rpx;
  20. padding: 10rpx;
  21. }
  22. .coin-head .head-user .headImg{
  23. width: 140rpx;
  24. height: 140rpx;
  25. border-radius: 100%;
  26. overflow: hidden;
  27. background: #fff;
  28. }
  29. .coin-head .head-user .level{
  30. margin-top: -10rpx;
  31. background: #ee3a43;
  32. color: #fff;
  33. padding: 0 10rpx 0 50rpx;
  34. border-radius: 20rpx;
  35. position: relative;
  36. z-index: 1;
  37. }
  38. .coin-head .head-user .level .icon{
  39. position: absolute;
  40. top: -2rpx;
  41. left: 10rpx;
  42. font-size: 40rpx;
  43. }
  44. .coin-head .head-user .coin{
  45. margin: 20rpx 0 10rpx;
  46. font-size: 30rpx;
  47. color: #ee3a43;
  48. }
  49. .coin-head .head-user .coin .con{
  50. letter-spacing: -2rpx;
  51. }
  52. .coin-head .head-user .show-detail{
  53. color: #666;
  54. display: flex;
  55. align-items: center;
  56. font-size:24rpx
  57. }
  58. .coin-head .head-user .show-detail::after{
  59. content: '';
  60. display: inline-block;
  61. width: 10rpx;
  62. height: 10rpx;
  63. margin-left: 6rpx;
  64. border-top: 1px solid #666;
  65. border-right: 1px solid #666;
  66. transform: rotate(45deg);
  67. }
  68. .coin-head .swipe{
  69. margin-top: 60rpx;
  70. height: 320rpx;
  71. }
  72. .coin-head .swipe .swipe-item{
  73. }
  74. .van-swipe{
  75. overflow: visible;
  76. }
  77. .swipe .item-box{
  78. position: relative;
  79. height: 100%;
  80. overflow: hidden;
  81. padding: 0 50rpx 0 88rpx;
  82. background: #ee3a43;
  83. border-radius: 50rpx;
  84. margin: 0 10rpx;
  85. color: #fff;
  86. background-repeat: no-repeat;
  87. background-size: 100%;
  88. }
  89. .swipe .item-box .current-level{
  90. position: absolute;
  91. top: 0;
  92. left: 0;
  93. background-image: linear-gradient(to right, rgb(255, 255, 255,.6) , rgb(255, 255, 255,0));
  94. padding: 0 30rpx;
  95. font-size: 22rpx;
  96. line-height: 2.5;
  97. }
  98. .swipe .item-box .member{
  99. margin-top: 108rpx;
  100. }
  101. .swipe .item-box .member .member-type{
  102. font-size: 36rpx;
  103. letter-spacing: 2px;
  104. font-weight: 700;
  105. }
  106. .swipe .item-box .member .member-num{
  107. font-size: 20rpx;
  108. }
  109. .swipe .item-box .speed-rate{
  110. margin-top: 45rpx;
  111. }
  112. .swipe .item-box .speed-rate .rate-ins{
  113. font-size:20rpx
  114. }
  115. .swipe .item-box .speed-rate .tate{
  116. height: 6rpx;
  117. background: rgba(255,255,255,.4);
  118. border-radius: 10rpx;
  119. margin-top: 10rpx;
  120. overflow: hidden;
  121. width: 50%;
  122. }
  123. .swipe .item-box .speed-rate .tate .rate-wid{
  124. height: 100%;
  125. background: #fff;
  126. border-radius: 10rpx;
  127. transition: width 1s;
  128. }
  129. .modular{
  130. background: none;
  131. margin-top: 30rpx;
  132. }
  133. .modular .modal-title{
  134. border: none;
  135. padding: 0 20rpx;
  136. font-weight: 700;
  137. font-size: 28rpx;
  138. }
  139. .modular .modal-label{
  140. background: #fff;
  141. border-radius: 20rpx;
  142. padding: 20rpx;
  143. }
  144. .modular .modal-label > view:last-child{
  145. margin: 0;
  146. }
  147. /* 获取宝贝币方式列表 */
  148. .coin-list{
  149. display: flex;
  150. align-items: center;
  151. margin-bottom: 50rpx;
  152. }
  153. .coin-list .coin-list-l{
  154. width: 90rpx;
  155. height: 90rpx;
  156. border-radius: 50%;
  157. background-image: linear-gradient(to top,rgb(237,58,67,.35) 0% ,rgb(237,58,67,.2) 30%, rgb(255, 255, 255,0));
  158. }
  159. .coin-list .coin-list-l .icon-box{
  160. margin: 2rpx;
  161. background: #fff;
  162. height: calc(100% - 4rpx);
  163. border-radius: 50%;
  164. text-align: center;
  165. line-height: 86rpx;
  166. font-size: 52rpx;
  167. color: #ee3a43;
  168. }
  169. .coin-list .coin-list-c{
  170. flex: 1;
  171. padding: 0 20rpx;
  172. }
  173. .coin-list .coin-list-c .get-method{
  174. font-size: 26rpx;
  175. }
  176. .coin-list .coin-list-r{
  177. background: #FEF5F5;
  178. color: #ee3a43;
  179. padding: 0 20rpx;
  180. border-radius: 20rpx;
  181. }
  182. .coin-list .finished-task{
  183. background: #ccc;
  184. color: #fff;
  185. }
  186. .coin-list .coin-list-c .get-ins{
  187. color: #999;
  188. font-size: 22rpx;
  189. margin-top: 10rpx;
  190. }
  191. /* 等级特权 */
  192. .privilege-type{
  193. display: flex;
  194. flex-direction: row;
  195. align-items: center;
  196. flex-wrap: nowrap;
  197. }
  198. .privilege-type .type-item{
  199. width: 25%;
  200. position: relative;
  201. height: 150rpx;
  202. }
  203. .modular .privilege-type .type-item .act_privilege{
  204. width: 140rpx;
  205. height: 140rpx;
  206. background-image: linear-gradient(to top,rgba(241, 21, 32, 0.4) 0% ,rgba(241, 75, 83, 0.25) 40%, rgba(247, 178, 178, 0));
  207. }
  208. .privilege-type .type-item .position-icon{
  209. position: absolute;
  210. top: 1rpx;
  211. right: 5rpx;
  212. color: #ccc;
  213. font-size: 26rpx !important;
  214. font-weight: 500 !important;
  215. }
  216. .privilege-type .type-item .type-item-box{
  217. /* border: 1px solid #ee3a43; */
  218. width: 120rpx;
  219. height: 120rpx;
  220. border-radius: 50%;
  221. position: absolute;
  222. top: 0;
  223. bottom: 0;
  224. right: 0;
  225. left: 0;
  226. margin: auto;
  227. display: flex;
  228. flex-direction: column;
  229. align-items: center;
  230. justify-content: center;
  231. color: #ee3a43;
  232. background-image: linear-gradient(to top,rgb(237,58,67,.35) 0% ,rgb(237,58,67,.2) 30%, rgb(255, 255, 255,0));
  233. transition: all .5s;
  234. }
  235. .privilege-type .type-item .type-item-box .type-item-name{
  236. font-size: 22rpx;
  237. }
  238. .privilege-type .type-item .type-item-box .icon{
  239. font-size: 64rpx;
  240. }
  241. .privilege-ins{
  242. background: #fff;
  243. border-radius: 20rpx;
  244. margin-top: 20rpx;
  245. position: relative;
  246. padding: 20rpx;
  247. }
  248. .privilege-ins .arrow{
  249. content: '';
  250. display: inline-block;
  251. width: 30rpx;
  252. height: 30rpx;
  253. transform: rotate(-45deg);
  254. background: #fff;
  255. position: absolute;
  256. top: -13rpx;
  257. transition: left .5s;
  258. }
  259. .card .card-title{
  260. display: flex;
  261. justify-content: space-between;
  262. align-items: center;
  263. border-bottom: 2px solid #F5F5F4;
  264. padding-bottom: 26rpx;
  265. color: #666;
  266. margin-top: 10rpx;
  267. font-size: 24rpx;
  268. }
  269. .privilege-ins .card .card-title .card-right{
  270. border: 1px solid #ccc;
  271. padding: 0 20rpx;
  272. border-radius: 40rpx;
  273. line-height: 1.2;
  274. }
  275. .privilege-ins .card-content{
  276. padding-top: 40rpx;
  277. }
  278. .privilege-ins .card-content .act-item{
  279. margin-bottom: 24rpx;
  280. display: flex;
  281. align-items: center;
  282. font-size: 26rpx;
  283. }
  284. .privilege-ins .card-content .act-item:last-child{margin: 0;}
  285. /* 活动列表 */
  286. .act-item .act-l{
  287. width: 160rpx;
  288. border-radius: 10rpx;
  289. overflow: hidden;
  290. }
  291. .act-item .act-c{
  292. flex: 1;
  293. margin: 0 50rpx 0 20rpx;
  294. height: 100%;
  295. display: flex;
  296. flex-direction: column;
  297. justify-content: space-around;
  298. overflow: hidden;
  299. line-height: 2;
  300. }
  301. .act-item .act-c .act-sign{
  302. margin-top: 10rpx;
  303. font-size: 22rpx;
  304. }
  305. .act-item .act-r{
  306. display: flex;
  307. flex-direction: column;
  308. align-items: center;
  309. }
  310. .act-item .act-r .price-ins{
  311. margin-top: 6rpx;
  312. }
  313. .card .btn-box{
  314. padding: 1px;
  315. background-image: linear-gradient(to top,rgb(237,58,67,.35) 0% ,rgb(237,58,67,.2) 30%, rgb(255, 255, 255,0));
  316. border-radius: 40rpx;
  317. width: 140rpx;
  318. }
  319. .card .btn-box .btn{
  320. /* padding:0 20rpx; */
  321. background: #fff;
  322. border-radius: 40rpx;
  323. text-align: center;
  324. line-height: 1.4;
  325. font-size: 32rpx;
  326. }
  327. .modular:last-child{
  328. margin-bottom: 100rpx;
  329. }
  330. /* 电商商品 */
  331. .goods-fixed{
  332. display: flex;
  333. align-items: flex-start;
  334. justify-content: space-between;
  335. flex-wrap: wrap;
  336. }
  337. .goods-fixed .good-item{
  338. width: calc(50% - 10rpx);
  339. margin-bottom: 60rpx;
  340. }
  341. .goods-fixed .good-item:nth-child(3),.goods-fixed .good-item:nth-child(4){
  342. margin: 0;
  343. }
  344. .goods-fixed .good-item .item-top-img{
  345. border-radius:10rpx;
  346. overflow: hidden;
  347. }
  348. .goods-fixed .good-item .goods-title{
  349. margin: 10rpx 0;
  350. line-height: 1.8;
  351. }
  352. .goods-fixed .good-item .sign{
  353. font-size: 24rpx;
  354. }
  355. .goods-fixed .good-item .good-price{
  356. display: flex;
  357. align-items: center;
  358. margin-top: 10rpx;
  359. }
  360. .goods-fixed .good-item .good-price .price-ins{
  361. margin-left: 10rpx;
  362. font-size: 24rpx;
  363. }
  364. .card .price-ins{
  365. background: #F8F1F3;
  366. padding: 0 10rpx;
  367. display: inline-block;
  368. border-radius: 10rpx;
  369. font-size: 22rpx;
  370. }
  371. .card .act-title,.card .goods-title{
  372. font-weight: 600;
  373. overflow: hidden;
  374. white-space: nowrap;
  375. text-overflow: ellipsis;
  376. /* -webkit-line-clamp: 2;
  377. -webkit-box-orient: vertical;
  378. display: -webkit-box; */
  379. color: #3E3A39;
  380. }
  381. /* 抢购特权 */
  382. .card-content .privilege-title{
  383. }
  384. .card-content .privilege-content{
  385. margin-top: 20rpx;
  386. min-height: 100rpx;
  387. border-radius: 10rpx;
  388. }
  389. /* 获取宝贝币 */
  390. .coin-card-mar{
  391. margin-top: 0 !important;
  392. margin-bottom: 40rpx;
  393. }
  394. /* 表格 */
  395. .table{
  396. border: 1rpx solid #999;
  397. text-align: center;
  398. line-height: 2;
  399. border-radius: 20rpx;
  400. overflow: hidden;
  401. }
  402. .table .tr{
  403. display: flex;
  404. align-items: center;
  405. border-bottom: 1px solid #ccc;
  406. }
  407. .table .tr:first-child{
  408. background: #EE3A43;
  409. color: #fff;
  410. }
  411. .table .tr:last-child{
  412. border: none;
  413. }
  414. .table .tr view:first-child{flex: .5;}
  415. .table .tr view:last-child{flex: 1;}