C端小程序
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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