C端小程序
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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