C端小程序
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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