C端小程序
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

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