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.

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