抖音小程序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.

373 lines
5.9 KiB

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