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.

453 lines
7.9 KiB

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