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.

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