C端小程序
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

469 řádky
8.0 KiB

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