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.

506 line
8.7 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. line-height: 65rpx;
  107. font-size: 40rpx;
  108. font-weight: 500;
  109. float: left;
  110. color: #FFFFFF;
  111. margin-right: 10rpx;
  112. }
  113. .qrcode{
  114. width: 84rpx;
  115. height: 84rpx;
  116. float: right;
  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: 270rpx;
  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: 200rpx;
  220. height: 200rpx;
  221. float: left;
  222. }
  223. .content .spell-left image{
  224. width: 150rpx;
  225. height: 150rpx;
  226. margin: 25rpx;
  227. border-radius: 8rpx;
  228. }
  229. .content .spell-center{
  230. float: left;
  231. width: 350rpx;
  232. height: 200rpx;
  233. }
  234. .content .tilte{
  235. margin-top: 10rpx;
  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: 10rpx;
  272. }
  273. .content .price01{
  274. font-size:40rpx;
  275. font-family:PingFang-SC-Medium;
  276. font-weight:500;
  277. color:#FD832D;
  278. line-height:34rpx;
  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. font-size:32rpx;
  291. }
  292. .more{
  293. display: inline;
  294. margin-left: -10rpx;
  295. }
  296. .content .price-unit{
  297. display: inline;
  298. font-size:24rpx;
  299. margin-right: 10rpx;
  300. }
  301. .content .spell-right{
  302. float: right;
  303. width: 156rpx;
  304. }
  305. .right-button{
  306. width:140rpx;
  307. height:52rpx;
  308. font-size:26rpx;
  309. background:linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%);
  310. border-radius:20rpx;
  311. font-family:PingFang-SC-Medium;
  312. font-weight:500;
  313. text-align: center;
  314. color:rgba(255,255,255,1);
  315. line-height:52rpx;
  316. margin: 88rpx 24rpx 0 0;
  317. margin-top: 130rpx;
  318. }
  319. .right-text{
  320. font-size:22rpx;
  321. font-family:PingFang-SC-Medium;
  322. font-weight:500;
  323. color:rgba(140,140,140,1);
  324. line-height:60rpx;
  325. text-align: center;
  326. }
  327. .bottom{
  328. width: 690rpx;
  329. height: 85rpx;
  330. position: fixed;
  331. bottom: 26rpx;
  332. left: 30rpx;
  333. /* background:rgba(243,69,58,1); */
  334. border:1px solid rgba(255, 222, 67, 1);
  335. border-radius:40px;
  336. color: #fff;
  337. overflow: hidden;
  338. }
  339. .bottom-left{
  340. width: 50%;
  341. float: left;
  342. margin-left: -1rpx;
  343. text-align: center;
  344. line-height: 85rpx;
  345. font-size:30rpx;
  346. font-family:PingFang-SC-Medium;
  347. font-weight:500;
  348. color:rgba(255,253,245,1);
  349. border-right:1px solid rgba(255, 222, 67, 1);
  350. opacity: 1;
  351. }
  352. .bottom-right{
  353. width: 50%;
  354. float: left;
  355. text-align: center;
  356. line-height: 85rpx;
  357. font-size:30rpx;
  358. font-family:PingFang-SC-Medium;
  359. font-weight:500;
  360. color:rgba(255,253,245,1);
  361. opacity: 1;
  362. }
  363. .spell-bottom{
  364. overflow: hidden;
  365. }
  366. .spell-top{
  367. height: auto;
  368. margin: 0 30rpx;
  369. overflow: hidden;
  370. box-sizing: border-box;
  371. border-bottom: 1rpx solid #EEEEEE;
  372. }
  373. .spell-top-left{
  374. float: left;
  375. width: 60%;
  376. }
  377. .spell-top-right{
  378. float: left;
  379. width: 40%;
  380. }
  381. .top-title{
  382. display: inline;
  383. font-size:24rpx;
  384. font-family:PingFang-SC-Medium;
  385. font-weight:500;
  386. color:rgba(51,51,51,1);
  387. line-height:64rpx;
  388. }
  389. .top-num{
  390. display: inline;
  391. font-size:24rpx;
  392. font-family:PingFang-SC-Medium;
  393. font-weight:500;
  394. color:#FF3232;
  395. line-height:64rpx;
  396. padding-left: 8rpx;
  397. }
  398. .spell-top-right{
  399. text-align: right;
  400. font-size:26rpx;
  401. font-family:PingFang-SC-Medium;
  402. font-weight:500;
  403. color:rgba(255,50,50,1);
  404. line-height:64rpx;
  405. }
  406. .no-data01{
  407. width: 690rpx;
  408. padding-top: 174rpx;
  409. height: calc(100vh - 460rpx);
  410. background: #fff;
  411. margin: 0 auto;
  412. border-radius:15rpx;
  413. box-sizing: border-box;
  414. margin-top: 20rpx;
  415. }
  416. .no-data{
  417. width: 690rpx;
  418. padding-top: 174rpx;
  419. height: calc(100vh - 160rpx);
  420. background: #fff;
  421. margin: 0 auto;
  422. border-radius:15rpx;
  423. box-sizing: border-box;
  424. margin-top:20rpx;
  425. }
  426. .no-data01 image{
  427. width: 261rpx;
  428. height: 272rpx;
  429. display: block;
  430. margin: 0 auto;
  431. }
  432. .no-data image{
  433. width: 261rpx;
  434. height: 272rpx;
  435. display: block;
  436. margin: 0 auto;
  437. }
  438. .no-data-text{
  439. text-align: center;
  440. font-size:34rpx;
  441. font-family:PingFang-SC-Medium;
  442. font-weight:500;
  443. color:rgba(0,0,0,1);
  444. }
  445. button::after{ border: none; }
  446. .goback{
  447. position: fixed;
  448. right: 50rpx;
  449. bottom: 60rpx;
  450. width:100rpx!important;
  451. height:100rpx;
  452. z-index: 100;
  453. background:rgba(255,255,255,1);
  454. line-height: 95rpx;
  455. border:1rpx solid rgba(227,227,227,1);
  456. border-radius:50%;
  457. }
  458. .goback image{
  459. position: absolute;
  460. width: 60rpx;
  461. left: 0;
  462. right: 0;
  463. top: 0;
  464. bottom: 0;
  465. margin: auto;
  466. }
  467. .remainInventory{
  468. background: #ccc;
  469. }
  470. .sort{
  471. width:94%;
  472. height:90rpx;
  473. background:#fff;
  474. margin:0 auto 20rpx;
  475. display: flex;
  476. justify-content: space-between;
  477. align-items: center;
  478. padding: 0 3%
  479. }
  480. .sort view{
  481. width: 180rpx;
  482. line-height: 60rpx;
  483. color: #fff;
  484. font-size: 28rpx;
  485. text-align: center;
  486. background:linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%);
  487. border-radius: 20rpx;
  488. }
  489. .need{
  490. justify-content: center;/*水平居中*/
  491. align-items: center; /*垂直居中*/
  492. display: flex;
  493. }
  494. .need image{
  495. margin-left:5rpx;
  496. width: 40rpx;
  497. height: 40rpx;
  498. }
  499. .btn-hover{
  500. position: relative;
  501. top: 3rpx;
  502. box-shadow:0px 0px 8px #999 inset;
  503. }