C端小程序
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

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