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