C端小程序
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

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