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.

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