C端小程序
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

335 lines
5.3 KiB

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