C端小程序
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

384 рядки
6.0 KiB

  1. @import "../../app.wxss";
  2. .coupons {
  3. position: relative;
  4. width: 340rpx;
  5. display: inline-block;
  6. overflow: hidden;
  7. border-radius: 12rpx;
  8. }
  9. .earnest {
  10. color: red;
  11. font-size: 24rpx;
  12. padding-left: 10rpx;
  13. }
  14. .coupons-border {
  15. height: 1rpx;
  16. left: 30rpx;
  17. right: 30rpx;
  18. background: #f5f5f5;
  19. position: absolute;
  20. bottom: 0;
  21. }
  22. .coupons-img .img {
  23. display: block;
  24. width: 300rpx;
  25. height: 176rpx;
  26. margin: 20rpx auto 0;
  27. /* border-top-left-radius: 10rpx;
  28. border-top-right-radius: 10rpx; */
  29. }
  30. .coupons-info {
  31. width: 90%;
  32. height: 152rpx;
  33. border-radius: 0rpx 0rpx 10rpx 10rpx;
  34. background: #fff;
  35. margin: 0 auto;
  36. }
  37. .coupons-info-name {
  38. font-size: 30rpx;
  39. color: #3c3c3c;
  40. letter-spacing: 0;
  41. line-height: 38rpx;
  42. }
  43. .coupons-info-price {
  44. padding: 16rpx 0 0;
  45. }
  46. .i {
  47. font-size: 24rpx;
  48. font-style: normal;
  49. }
  50. .coupons-info-price-p {
  51. display: inline-block;
  52. font-size: 50rpx;
  53. margin-bottom: 26rpx;
  54. width: 100%;
  55. }
  56. .price {
  57. font-size: 36rpx;
  58. font-family: PingFang-SC-Bold;
  59. font-weight: bold;
  60. line-height: 44rpx;
  61. margin-left: 16rpx;
  62. padding-top: 16rpx;
  63. color: #fd832d;
  64. width: 60%;
  65. overflow: hidden;
  66. white-space: nowrap;
  67. text-overflow: ellipsis;
  68. }
  69. .rmb {
  70. font-size: 24rpx !important;
  71. margin-right: 4rpx !important;
  72. color: #FD782D !;
  73. }
  74. .num {
  75. color: #fd782d;
  76. }
  77. .tit {
  78. overflow: hidden;
  79. white-space: nowrap;
  80. text-overflow: ellipsis;
  81. font-size: 28rpx;
  82. line-height: 32rpx;
  83. padding-top: 20rpx;
  84. padding-left: 10rpx;
  85. color: #333;
  86. letter-spacing: 0;
  87. }
  88. .saleRamin {
  89. position: absolute;
  90. font-size: 25rpx;
  91. bottom: 60rpx;
  92. right: 25rpx;
  93. color: #b4b4b4;
  94. }
  95. .coupons-info-price-o {
  96. display: block;
  97. text-align: center;
  98. font-size: 26rpx;
  99. color: #b4b4b4;
  100. letter-spacing: 0.96rpx;
  101. text-decoration: line-through;
  102. line-height: 24rpx;
  103. }
  104. .coupons-info-distance {
  105. font-size: 22rpx;
  106. color: #c0c0c0;
  107. letter-spacing: 0;
  108. padding-bottom: 10rpx;
  109. line-height: 30rpx;
  110. }
  111. .coupons-info-address {
  112. font-size: 22rpx;
  113. color: #585858;
  114. letter-spacing: 0;
  115. line-height: 30rpx;
  116. }
  117. .coupons-btn {
  118. position: absolute;
  119. bottom: 14rpx;
  120. right: 24rpx;
  121. }
  122. .coupons-btn-gm {
  123. border-radius: 10px !important;
  124. margin: 0 !important;
  125. padding: 0 !important;
  126. font-size: 26rpx;
  127. color: #fff !important;
  128. letter-spacing: 0;
  129. height: 42rpx !important;
  130. width: 80rpx !important;
  131. line-height: 42rpx !important;
  132. background: linear-gradient(127deg, rgba(252, 177, 74, 1) 0%, rgba(254, 70, 20, 1) 100%) !important;
  133. }
  134. .coupons-btn-gms {
  135. background: #b9b9b9 !important;
  136. border-radius: 10px !important;
  137. opacity: 0.6;
  138. margin: 0 !important;
  139. padding: 0 !important;
  140. font-family: PingFangSC-Semibold;
  141. font-size: 26rpx;
  142. font-weight: 400;
  143. color: #fff !important;
  144. letter-spacing: 0;
  145. height: 51rpx !important;
  146. width: 100rpx !important;
  147. line-height: 51rpx !important;
  148. }
  149. .subtitle {
  150. font-size: 24rpx;
  151. color: #999;
  152. overflow: hidden;
  153. height: 24rpx;
  154. width: 65%;
  155. padding-left: 10rpx;
  156. line-height: 24rpx;
  157. white-space: nowrap;
  158. text-overflow: ellipsis;
  159. margin-top: 12rpx;
  160. }
  161. .coupons-info-manjian {
  162. font-weight: normal;
  163. font-size: 20rpx;
  164. line-height: 34rpx;
  165. display: inline-block;
  166. color: #ff4949;
  167. letter-spacing: 0;
  168. }
  169. .coupons-info-manjian1 {
  170. font-weight: normal;
  171. font-size: 20rpx;
  172. line-height: 22rpx;
  173. color: #919191;
  174. letter-spacing: 0;
  175. overflow: hidden;
  176. white-space: nowrap;
  177. text-overflow: ellipsis;
  178. width: 300rpx;
  179. margin-top: 16rpx;
  180. }
  181. .coupons-info-manjian .text {
  182. display: block;
  183. line-height: 20rpx;
  184. }
  185. .coupons-info-manjian>.text:nth-of-type(1) {
  186. display: block;
  187. /* color: #FF4949; */
  188. opacity: 0.6;
  189. }
  190. .view02 {
  191. font-size: 20rpx;
  192. line-height: 34rpx;
  193. text-decoration: line-through;
  194. color: #999 !important;
  195. font-weight: normal;
  196. letter-spacing: 0;
  197. margin-left: 10rpx;
  198. }
  199. .view01 {
  200. text-decoration: line-through;
  201. color: #999 !important;
  202. }
  203. .txt2 {
  204. display: block;
  205. color: #ccc;
  206. }
  207. /**上拉加载更多**/
  208. .userinfo {
  209. display: flex;
  210. flex-direction: column;
  211. align-items: center;
  212. }
  213. .userinfo-avatar {
  214. width: 128rpx;
  215. height: 128rpx;
  216. margin: 20rpx;
  217. border-radius: 50%;
  218. }
  219. .userinfo-nickname {
  220. color: #aaa;
  221. }
  222. .sy {
  223. display: block;
  224. text-align: right;
  225. width: 181rpx;
  226. font-size: 24rpx;
  227. color: #999;
  228. height: 40rpx;
  229. margin-top: 106rpx;
  230. }
  231. .usermotto {
  232. margin-top: 200px;
  233. }
  234. scroll-view {
  235. width: 100%;
  236. }
  237. .item {
  238. width: 90%;
  239. height: 300rpx;
  240. margin: 20rpx auto;
  241. background: brown;
  242. overflow: hidden;
  243. }
  244. .item .img {
  245. width: 430rpx;
  246. margin-right: 20rpx;
  247. float: left;
  248. }
  249. .title {
  250. font-size: 30rpx;
  251. display: block;
  252. margin: 30rpx auto;
  253. }
  254. .description {
  255. font-size: 26rpx;
  256. line-height: 15rpx;
  257. }
  258. .navigator-hover {
  259. opacity: 1 !important;
  260. background: #fff;
  261. }
  262. .hover {
  263. opacity: 0.6;
  264. }
  265. .navigator {
  266. display: inline-block;
  267. background: #fff;
  268. border-radius: 12rpx;
  269. position: relative;
  270. }
  271. .presell {
  272. position: absolute;
  273. width: 300rpx;
  274. height: 40rpx;
  275. background-color: rgba(247, 21, 21, 0.6);
  276. z-index: 100;
  277. top: 158rpx;
  278. line-height: 20px;
  279. text-align: center;
  280. color: #fff;
  281. margin-left: 20rpx;
  282. font-size: 26rpx;
  283. }
  284. /* .navigator:nth-of-type(2n+1) {
  285. margin-right: 10rpx;
  286. } */
  287. .superscript {
  288. position: absolute;
  289. top: -10rpx;
  290. left: -12rpx;
  291. width: 86rpx;
  292. height: 86rpx;
  293. overflow: hidden;
  294. }
  295. /* 使用背景色渐变 */
  296. .superscript .gradual {
  297. width: 100%;
  298. height: 100%;
  299. background: linear-gradient(135deg, #31b968 50%, transparent 50%);
  300. }
  301. /* 使用三角形 */
  302. .superscript .triangle {
  303. width: 0;
  304. height: 0;
  305. border-top: 130rpx solid #31b968;
  306. border-right: 130rpx solid transparent;
  307. }
  308. /* 使用矩形旋转, 和父节点的 overflow:hidden 配合 */
  309. .superscript .rect {
  310. width: 176rpx;
  311. height: 183rpx;
  312. margin: -91rpx 0 0 -91rpx;
  313. transform: rotateZ(45deg);
  314. }
  315. .superscript .desc {
  316. position: absolute;
  317. top: 29%;
  318. left: 16%;
  319. z-index: 1;
  320. color: #fff;
  321. font-size: 23rpx;
  322. transform: rotate(-45deg);
  323. }
  324. .saleprice {
  325. font-size: 24rpx;
  326. display: inline-block;
  327. margin-right: 10rpx;
  328. font-weight: 400;
  329. }