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.

399 line
7.1 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. /* overflow: hidden; */
  167. white-space: nowrap;
  168. text-overflow: ellipsis;
  169. }
  170. .spell-centerH .price02{
  171. display: inline-block;
  172. font-size: 24rpx;
  173. font-family:PingFang-SC-Medium;
  174. font-weight:500;
  175. text-decoration:line-through;
  176. color:rgba(140,140,140,1);
  177. line-height: 30rpx;
  178. margin-top: 15rpx;
  179. }
  180. .spell-centerH .price-num{
  181. display: inline-block;
  182. font-size: 32rpx;
  183. width: 95rpx;
  184. overflow:hidden;
  185. text-overflow:ellipsis;
  186. white-space:nowrap;
  187. line-height: 30rpx;
  188. color:#FD782D;
  189. }
  190. .spell-centerHr .price-num{
  191. display: inline-block;
  192. font-size: 32rpx;
  193. width: 95rpx;
  194. overflow:hidden;
  195. text-overflow:ellipsis;
  196. white-space:nowrap;
  197. line-height: 30rpx;
  198. color:#FD782D;
  199. }
  200. .price-text{
  201. color:#FD782D;
  202. }
  203. .spell-centerH .price-numHr{
  204. font-size:32rpx;
  205. line-height: 32rpx;
  206. }
  207. .content .price-unit{
  208. font-size:24rpx;
  209. }
  210. .right-button{
  211. width:100rpx;
  212. height:50rpx;
  213. font-size:24rpx;
  214. background:linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%);
  215. border-radius:20rpx;
  216. font-family:PingFang-SC-Medium;
  217. font-weight:500;
  218. text-align: center;
  219. color:rgba(255,255,255,1);
  220. line-height:50rpx;
  221. }
  222. .right-text{
  223. font-size:22rpx;
  224. font-family:PingFang-SC-Medium;
  225. font-weight:500;
  226. color:rgba(140,140,140,1);
  227. line-height:60rpx;
  228. text-align: center;
  229. }
  230. .bottom{
  231. width:100%;
  232. height:100rpx;
  233. position:fixed;
  234. bottom:0;
  235. left: 0;
  236. color:#fff;
  237. overflow:hidden;
  238. }
  239. .bottom-left{
  240. width: 50%;
  241. height: 100%;
  242. float: left;
  243. margin-left: -1rpx;
  244. text-align: center;
  245. line-height: 100rpx;
  246. font-size:30rpx;
  247. font-family:PingFang-SC-Medium;
  248. font-weight:500;
  249. color:rgba(255,253,245,1);
  250. background: linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%);
  251. opacity: 1;
  252. }
  253. .bottom-leftN{
  254. width: 50%;
  255. height: 100%;
  256. float: left;
  257. margin-left: -1rpx;
  258. text-align: center;
  259. line-height: 100rpx;
  260. font-size:30rpx;
  261. font-family:PingFang-SC-Medium;
  262. font-weight:500;
  263. color:#3C3C3C;
  264. background:#FFF;
  265. opacity: 1;
  266. }
  267. .spell-bottom{
  268. overflow: hidden;
  269. }
  270. .spell-top{
  271. height: auto;
  272. margin: 0 20rpx;
  273. overflow: hidden;
  274. box-sizing: border-box;
  275. border-bottom: 1rpx solid #EEEEEE;
  276. }
  277. .spell-top-left{
  278. float: left;
  279. width: 60%;
  280. overflow:hidden;
  281. text-overflow:ellipsis;
  282. white-space:nowrap;
  283. }
  284. .spell-top-right{
  285. float: right;
  286. width: 40%;
  287. overflow:hidden;
  288. text-overflow:ellipsis;
  289. white-space:nowrap;
  290. }
  291. .top-title{
  292. display: inline;
  293. font-size:24rpx;
  294. font-family:PingFang-SC-Medium;
  295. font-weight:500;
  296. color:rgba(51,51,51,1);
  297. line-height:64rpx;
  298. }
  299. .top-num{
  300. display: inline;
  301. font-size:24rpx;
  302. font-family:PingFang-SC-Medium;
  303. font-weight:500;
  304. color:#FF3232;
  305. line-height:64rpx;
  306. padding-left: 8rpx;
  307. }
  308. .spell-top-right{
  309. text-align: right;
  310. font-size:26rpx;
  311. font-family:PingFang-SC-Medium;
  312. font-weight:500;
  313. color:rgba(255,50,50,1);
  314. line-height:64rpx;
  315. }
  316. .no-data01{
  317. width: 690rpx;
  318. padding-top: 174rpx;
  319. height: calc(100vh - 460rpx);
  320. background: #fff;
  321. margin: 0 auto;
  322. border-radius:15rpx;
  323. box-sizing: border-box;
  324. margin-top: 20rpx;
  325. }
  326. .no-data{
  327. width: 690rpx;
  328. padding-top: 174rpx;
  329. height: calc(100vh - 300rpx);
  330. background: #fff;
  331. margin: 0 auto;
  332. border-radius:15rpx;
  333. box-sizing: border-box;
  334. margin-top:20rpx;
  335. }
  336. .no-data01 image{
  337. width: 261rpx;
  338. height: 272rpx;
  339. display: block;
  340. margin: 0 auto;
  341. }
  342. .no-data image{
  343. width: 261rpx;
  344. height: 272rpx;
  345. display: block;
  346. margin: 0 auto;
  347. }
  348. .no-data-text{
  349. text-align: center;
  350. font-size:34rpx;
  351. font-family:PingFang-SC-Medium;
  352. font-weight:500;
  353. color:rgba(0,0,0,1);
  354. }
  355. button::after{ border: none; }
  356. .goback{
  357. position: fixed;
  358. right: 50rpx;
  359. bottom: 60rpx;
  360. width:100rpx!important;
  361. height:100rpx;
  362. z-index: 100;
  363. background:rgba(255,255,255,1);
  364. line-height: 95rpx;
  365. border:1rpx solid rgba(227,227,227,1);
  366. border-radius:50%;
  367. }
  368. .goback image{
  369. position: absolute;
  370. width: 60rpx;
  371. left: 0;
  372. right: 0;
  373. top: 0;
  374. bottom: 0;
  375. margin: auto;
  376. }
  377. .frImg{
  378. height: 78rpx;
  379. width: 78rpx;
  380. position: absolute;
  381. right: 0;
  382. top: 0;
  383. }
  384. .frImg text{
  385. height: 78rpx;
  386. width: 78rpx;
  387. transform: rotate(45deg);
  388. color: #FFFFFF;
  389. font-size: 16rpx;
  390. position: absolute;
  391. text-align: center;
  392. line-height: 53rpx;
  393. top: 0;
  394. left: 0;
  395. }