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

350 рядки
5.5 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. .view02{
  178. font-size:20rpx;
  179. line-height:34rpx;
  180. text-decoration: line-through;
  181. color: #999 !important;
  182. font-weight:normal;
  183. letter-spacing:0;
  184. margin-left: 10rpx;
  185. }
  186. .view01 {
  187. text-decoration: line-through;
  188. color: #999 !important;
  189. }
  190. .txt2 {
  191. display: block;
  192. color: #ccc;
  193. }
  194. /**上拉加载更多**/
  195. .userinfo {
  196. display: flex;
  197. flex-direction: column;
  198. align-items: center;
  199. }
  200. .userinfo-avatar {
  201. width: 128rpx;
  202. height: 128rpx;
  203. margin: 20rpx;
  204. border-radius: 50%;
  205. }
  206. .userinfo-nickname {
  207. color: #aaa;
  208. }
  209. .sy {
  210. display: block;
  211. text-align: right;
  212. width: 181rpx;
  213. font-size: 24rpx;
  214. color: #999;
  215. height: 40rpx;
  216. margin-top: 106rpx;
  217. }
  218. .usermotto {
  219. margin-top: 200px;
  220. }
  221. scroll-view {
  222. width: 100%;
  223. }
  224. .item {
  225. width: 90%;
  226. height: 300rpx;
  227. margin: 20rpx auto;
  228. background: brown;
  229. overflow: hidden;
  230. }
  231. .item .img {
  232. width: 430rpx;
  233. margin-right: 20rpx;
  234. float: left;
  235. }
  236. .title {
  237. font-size: 30rpx;
  238. display: block;
  239. margin: 30rpx auto;
  240. }
  241. .description {
  242. font-size: 26rpx;
  243. line-height: 15rpx;
  244. }
  245. .navigator-hover {
  246. opacity: 1 !important;
  247. background: #fff;
  248. }
  249. .hover{
  250. opacity: .6;
  251. }
  252. .navigator {
  253. display: inline-block;
  254. background: #fff;
  255. border-radius: 12rpx;
  256. }
  257. .navigator:nth-of-type(2n+1) {
  258. /* margin-right: 10rpx; */
  259. }
  260. .superscript {
  261. position: absolute;
  262. top: -10rpx;
  263. left: -12rpx;
  264. width: 86rpx;
  265. height: 86rpx;
  266. overflow: hidden;
  267. }
  268. /* 使用背景色渐变 */
  269. .superscript .gradual {
  270. width: 100%;
  271. height: 100%;
  272. background: linear-gradient(135deg, #31b968 50%, transparent 50%);
  273. }
  274. /* 使用三角形 */
  275. .superscript .triangle {
  276. width: 0;
  277. height: 0;
  278. border-top: 130rpx solid #31b968;
  279. border-right: 130rpx solid transparent;
  280. }
  281. /* 使用矩形旋转, 和父节点的 overflow:hidden 配合 */
  282. .superscript .rect {
  283. width: 176rpx;
  284. height: 183rpx;
  285. margin: -91rpx 0 0 -91rpx;
  286. transform: rotateZ(45deg);
  287. }
  288. .superscript .desc {
  289. position: absolute;
  290. top: 29%;
  291. left: 16%;
  292. z-index: 1;
  293. color: #fff;
  294. font-size: 23rpx;
  295. transform: rotate(-45deg);
  296. }
  297. .saleprice {
  298. font-size: 24rpx;
  299. display: inline-block;
  300. margin-right: 10rpx;
  301. font-weight: 400;
  302. }