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.

397 line
7.0 KiB

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