C端小程序
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.

486 line
8.3 KiB

  1. /* pages/spellGroup/spellGroup.wxss */
  2. .topbg {
  3. /* margin-bottom: 20rpx; */
  4. width:100%;
  5. height:234rpx;
  6. background:linear-gradient(180deg,rgba(253,131,45,1) 0%,rgba(254,74,22,1) 100%);
  7. }
  8. .topbg-top{
  9. width:100%;
  10. height: 50%;
  11. display: inline-block
  12. }
  13. .topbg-btom{
  14. width:84%;
  15. height: 40%;
  16. margin: 0 auto;
  17. }
  18. .user-avatar {
  19. width: 20%;
  20. height: 100%;
  21. float: left;
  22. }
  23. .user-box {
  24. width: 82rpx;
  25. height: 82rpx;
  26. border-radius: 50%;
  27. overflow: hidden;
  28. margin: 26rpx 0 0 60rpx;
  29. }
  30. .user-avatar open-data {
  31. display: block;
  32. width: 100%;
  33. height: 100%;
  34. }
  35. .name{
  36. float: left;
  37. color: #FFFFFF;
  38. font-size:32rpx;
  39. font-family:PingFangSC-Medium;
  40. font-weight:500;
  41. margin:0 20rpx;
  42. }
  43. .usre_level{
  44. height:32rpx;
  45. background:linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%);
  46. border-radius:9px 9px 9px 0px;
  47. font-family:PingFangSC-Regular;
  48. font-weight:400;
  49. color:rgba(255,255,255,1);
  50. line-height:28rpx;
  51. float: left;
  52. margin-top: 8rpx;
  53. }
  54. .chengzhang {
  55. font-size: 24rpx;
  56. font-weight: 400;
  57. color: #FFFFFF;
  58. padding: 0 8rpx;
  59. }
  60. .myName{
  61. float: left;
  62. font-size: 32rpx;
  63. margin-top:36rpx;
  64. }
  65. .bot{
  66. display: flex;
  67. flex-direction: column;
  68. }
  69. .view{
  70. height: 40rpx;
  71. display: block;
  72. }
  73. progress{
  74. margin: 14rpx 8rpx 0 20rpx;
  75. float: left;
  76. width:230rpx;
  77. border-radius:60rpx;
  78. overflow:hidden;
  79. }
  80. .msg{
  81. float: left;
  82. font-size:10px!important;
  83. font-family:PingFangSC-Regular;
  84. font-weight:400;
  85. color:rgba(255,255,255,1);
  86. }
  87. .btoml{
  88. float: left;
  89. height: 100%;
  90. width: 50%;
  91. }
  92. .jifen{
  93. font-size: 26rpx;
  94. font-weight: 500;
  95. color: #FFFFFF;
  96. height:30rpx;
  97. line-height: 30rpx;
  98. margin-top: 20rpx;
  99. }
  100. .jifen image{
  101. width: 10rpx;
  102. height: 22rpx;
  103. margin-left: 5rpx;
  104. }
  105. .topbg .score{
  106. font-size: 40rpx;
  107. font-weight: 500;
  108. float: left;
  109. color: #FFFFFF;
  110. margin-right: 10rpx;
  111. }
  112. .qrcode{
  113. width: 84rpx;
  114. height: 84rpx;
  115. float: right;
  116. /* margin-right: 48rpx; */
  117. }
  118. .qrcode image {
  119. margin: auto;
  120. width: 84rpx;
  121. }
  122. page {
  123. height: auto;
  124. overflow: auto;
  125. background: #f7f7f7;
  126. background-size: cover;
  127. background-repeat: no-repeat;
  128. }
  129. .content-box{
  130. height: auto;
  131. padding-bottom: 200rpx;
  132. }
  133. .loading {
  134. text-align: center;
  135. height: 80rpx;
  136. line-height: 80rpx;
  137. font-size: 26rpx;
  138. color: #666;
  139. }
  140. .loading image {
  141. width: 60rpx;
  142. height: 60rpx;
  143. vertical-align: middle;
  144. margin-right: 10rpx;
  145. }
  146. .banner{
  147. margin-bottom: 20rpx;
  148. background: none;
  149. border-radius: 16rpx;
  150. }
  151. .banner .bg {
  152. display: block;
  153. width: 100%;
  154. }
  155. image{
  156. padding: 0;
  157. margin: 0;
  158. }
  159. .banner .bannerbg image{
  160. display: none!important;
  161. height: 0;
  162. overflow: hidden;
  163. }
  164. .bannerimg {
  165. display: block;
  166. width: 710rpx;
  167. height: 260rpx;
  168. border-radius: 15rpx;
  169. margin: -132rpx auto 0;
  170. }
  171. .banner .index-slide-view {
  172. margin: -132rpx auto 0;
  173. }
  174. .top{
  175. position: absolute;
  176. top: 30rpx;
  177. width: 710rpx;
  178. height: 260rpx;
  179. background: #fff;
  180. left: 20rpx;
  181. border-radius: 16rpx;
  182. overflow: hidden;
  183. }
  184. .content .sepll-list{
  185. width: 714rpx;
  186. height: 230rpx;
  187. background: #fff;
  188. border-radius: 30rpx;
  189. margin: 0 auto 30rpx;
  190. }
  191. .content .spell-bot{
  192. width: 674rpx;
  193. float: left;
  194. font-size: 24rpx;
  195. height: 60rpx;
  196. line-height: 60rpx;
  197. border-top: 1rpx #E1E1E1 dashed;
  198. margin: 0 20rpx;
  199. }
  200. .spell-bot .botMsg{
  201. width: 40%;
  202. height: 100%;
  203. float: left;
  204. /* margin-left: 20rpx; */
  205. color: #A6A6A6;
  206. overflow: hidden;
  207. text-overflow:ellipsis;
  208. white-space: nowrap;
  209. }
  210. .spell-bot .botNum{
  211. width: 40%;
  212. height: 100%;
  213. float: right;
  214. text-align: right;
  215. margin-right: 24rpx;
  216. color: #FD782D;
  217. }
  218. .content .spell-left{
  219. width: 170rpx;
  220. height: 170rpx;
  221. float: left;
  222. }
  223. .content .spell-left image{
  224. width: 120rpx;
  225. height: 120rpx;
  226. margin: 25rpx;
  227. border-radius: 8rpx;
  228. }
  229. .content .spell-center{
  230. float: left;
  231. width: 380rpx;
  232. height: 170rpx;
  233. }
  234. .content .tilte{
  235. margin-top: 20rpx;
  236. font-size:32rpx;
  237. font-family:PingFang-SC-Bold;
  238. font-weight:bold;
  239. color:#3C3C3C;
  240. line-height:44rpx;
  241. padding-top: 16rpx;
  242. overflow: hidden;
  243. text-overflow:ellipsis;
  244. white-space: nowrap;
  245. }
  246. .content .remark{
  247. width:304rpx;
  248. font-size:24rpx;
  249. font-family:PingFang-SC-Medium;
  250. font-weight:500;
  251. color:rgba(140,140,140,1);
  252. line-height:44rpx;
  253. overflow: hidden;
  254. text-overflow:ellipsis;
  255. white-space: nowrap;
  256. }
  257. .content .spell-num{
  258. width: 95rpx;
  259. border:1px solid rgba(255,50,50,1);
  260. border-radius:10rpx;
  261. font-size:24rpx;
  262. font-family:PingFang-SC-Medium;
  263. font-weight:500;
  264. color:rgba(255,50,50,1);
  265. line-height:30rpx;
  266. margin: 10rpx 0;
  267. text-align: center;
  268. }
  269. .content .price{
  270. overflow: hidden;
  271. margin-top: 20rpx;
  272. }
  273. .content .price01{
  274. font-size:40rpx;
  275. font-family:PingFang-SC-Medium;
  276. font-weight:500;
  277. color:#FD832D;
  278. line-height:44rpx;
  279. }
  280. .content .price02{
  281. display: inline;
  282. font-size: 24rpx;
  283. font-family:PingFang-SC-Medium;
  284. font-weight:500;
  285. text-decoration:line-through;
  286. color:rgba(140,140,140,1);
  287. }
  288. .content .price-num{
  289. display: inline;
  290. }
  291. .content .price-unit{
  292. display: inline;
  293. font-size:24rpx;
  294. margin-right: 10rpx;
  295. }
  296. .content .spell-right{
  297. float: right;
  298. width: 156rpx;
  299. }
  300. .right-button{
  301. width:140rpx;
  302. height:52rpx;
  303. font-size:26rpx;
  304. background:linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%);
  305. border-radius:20rpx;
  306. font-family:PingFang-SC-Medium;
  307. font-weight:500;
  308. text-align: center;
  309. color:rgba(255,255,255,1);
  310. line-height:52rpx;
  311. margin: 88rpx 24rpx 0 0;
  312. margin-top: 90rpx;
  313. }
  314. .right-text{
  315. font-size:22rpx;
  316. font-family:PingFang-SC-Medium;
  317. font-weight:500;
  318. color:rgba(140,140,140,1);
  319. line-height:60rpx;
  320. text-align: center;
  321. }
  322. .bottom{
  323. width: 690rpx;
  324. height: 85rpx;
  325. position: fixed;
  326. bottom: 26rpx;
  327. left: 30rpx;
  328. /* background:rgba(243,69,58,1); */
  329. border:1px solid rgba(255, 222, 67, 1);
  330. border-radius:40px;
  331. color: #fff;
  332. overflow: hidden;
  333. }
  334. .bottom-left{
  335. width: 50%;
  336. float: left;
  337. margin-left: -1rpx;
  338. text-align: center;
  339. line-height: 85rpx;
  340. font-size:30rpx;
  341. font-family:PingFang-SC-Medium;
  342. font-weight:500;
  343. color:rgba(255,253,245,1);
  344. border-right:1px solid rgba(255, 222, 67, 1);
  345. opacity: 1;
  346. }
  347. .bottom-right{
  348. width: 50%;
  349. float: left;
  350. text-align: center;
  351. line-height: 85rpx;
  352. font-size:30rpx;
  353. font-family:PingFang-SC-Medium;
  354. font-weight:500;
  355. color:rgba(255,253,245,1);
  356. opacity: 1;
  357. }
  358. .spell-bottom{
  359. overflow: hidden;
  360. }
  361. .spell-top{
  362. height: auto;
  363. margin: 0 30rpx;
  364. overflow: hidden;
  365. box-sizing: border-box;
  366. border-bottom: 1rpx solid #EEEEEE;
  367. }
  368. .spell-top-left{
  369. float: left;
  370. width: 60%;
  371. }
  372. .spell-top-right{
  373. float: left;
  374. width: 40%;
  375. }
  376. .top-title{
  377. display: inline;
  378. font-size:24rpx;
  379. font-family:PingFang-SC-Medium;
  380. font-weight:500;
  381. color:rgba(51,51,51,1);
  382. line-height:64rpx;
  383. }
  384. .top-num{
  385. display: inline;
  386. font-size:24rpx;
  387. font-family:PingFang-SC-Medium;
  388. font-weight:500;
  389. color:#FF3232;
  390. line-height:64rpx;
  391. padding-left: 8rpx;
  392. }
  393. .spell-top-right{
  394. text-align: right;
  395. font-size:26rpx;
  396. font-family:PingFang-SC-Medium;
  397. font-weight:500;
  398. color:rgba(255,50,50,1);
  399. line-height:64rpx;
  400. }
  401. .no-data01{
  402. width: 690rpx;
  403. padding-top: 174rpx;
  404. height: calc(100vh - 460rpx);
  405. background: #fff;
  406. margin: 0 auto;
  407. border-radius:15rpx;
  408. box-sizing: border-box;
  409. margin-top: 20rpx;
  410. }
  411. .no-data{
  412. width: 690rpx;
  413. padding-top: 174rpx;
  414. height: calc(100vh - 160rpx);
  415. background: #fff;
  416. margin: 0 auto;
  417. border-radius:15rpx;
  418. box-sizing: border-box;
  419. margin-top:20rpx;
  420. }
  421. .no-data01 image{
  422. width: 261rpx;
  423. height: 272rpx;
  424. display: block;
  425. margin: 0 auto;
  426. }
  427. .no-data image{
  428. width: 261rpx;
  429. height: 272rpx;
  430. display: block;
  431. margin: 0 auto;
  432. }
  433. .no-data-text{
  434. text-align: center;
  435. font-size:34rpx;
  436. font-family:PingFang-SC-Medium;
  437. font-weight:500;
  438. color:rgba(0,0,0,1);
  439. }
  440. button::after{ border: none; }
  441. .goback{
  442. position: fixed;
  443. right: 50rpx;
  444. bottom: 60rpx;
  445. width:100rpx!important;
  446. height:100rpx;
  447. z-index: 100;
  448. background:rgba(255,255,255,1);
  449. line-height: 95rpx;
  450. border:1rpx solid rgba(227,227,227,1);
  451. border-radius:50%;
  452. }
  453. .goback image{
  454. position: absolute;
  455. width: 60rpx;
  456. left: 0;
  457. right: 0;
  458. top: 0;
  459. bottom: 0;
  460. margin: auto;
  461. }
  462. .remainInventory{
  463. background: #ccc;
  464. }
  465. .sort{
  466. width:100%;
  467. height:90rpx;
  468. background:#fff;
  469. margin:0 auto 20rpx;
  470. display: flex;
  471. justify-content: space-between;
  472. align-items: center;
  473. }
  474. .sort view{
  475. height:60rpx;
  476. width: 180rpx;
  477. line-height: 60rpx;
  478. color: #3C3C3C;
  479. font-size: 28rpx;
  480. text-align: center;
  481. /* border-radius: 20rpx; */
  482. }