C端小程序
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

452 satır
7.2 KiB

  1. @import "../../../../app.wxss";
  2. .index-slide, swiper-item
  3. .index-slide-image {
  4. display: block;
  5. width: 750rpx;
  6. margin: 0 auto;
  7. overflow: hidden;
  8. position: relative;
  9. height: 450rpx;
  10. }
  11. .index-slide-view .dots {
  12. position: absolute;
  13. left: 0;
  14. right: 0;
  15. bottom: 20rpx;
  16. display: flex;
  17. justify-content: center;
  18. }
  19. .index-slide-view .dots .dot {
  20. margin: 0 8rpx;
  21. width: 12rpx;
  22. height: 12rpx;
  23. background: #b6b6b7;
  24. border-radius: 50%;
  25. transition: all 0.6s;
  26. }
  27. .index-slide-view .dots .dot.active {
  28. background: #02c0ff;
  29. width: 30rpx;
  30. height: 12rpx;
  31. border-radius: 10rpx;
  32. opacity: 1;
  33. }
  34. .bannerbg {
  35. width: 100%;
  36. }
  37. .bannerbg image {
  38. display: block;
  39. width: 100%;
  40. }
  41. .merchant-detail {
  42. width: 100%;
  43. background: #fff;
  44. border-top-left-radius: 20rpx;
  45. border-top-right-radius: 20rpx;
  46. }
  47. .merchant-brand, .merchant-shop, .merchant-phone {
  48. width: 100%;
  49. /* display: flex; */
  50. /* padding: 10rpx 0; */
  51. background: #fff;
  52. }
  53. .merchant-brand view:nth-child(1) {
  54. width: 98%;
  55. height: 130rpx;
  56. display: flex;
  57. flex-direction: column;
  58. white-space: nowrap;
  59. text-overflow: ellipsis;
  60. overflow: hidden;
  61. }
  62. .merchant-brand view:nth-child(1) text:nth-child(1){
  63. font-size:32rpx;
  64. font-family:PingFangSC-Regular;
  65. font-weight:400;
  66. color:rgba(60,60,60,1);
  67. }
  68. /* .merchant-brand view:nth-child(1) image {
  69. display: block;
  70. width: 130rpx;
  71. height: 130rpx;
  72. border-radius: 16rpx;
  73. border: 1px solid #e5e5e5;
  74. }
  75. .merchant-brand view:nth-child(2) {
  76. display: flex;
  77. flex-direction: column;
  78. width: 61%;
  79. padding-left: 30rpx;
  80. white-space: nowrap;
  81. text-overflow: ellipsis;
  82. overflow: hidden;
  83. } */
  84. .merchant-shop text, .merchant-phone text {
  85. font-size: 30rpx;
  86. }
  87. .merchant-shop .fl{
  88. color: #A6A6A6;
  89. }
  90. .merchant-phone view {
  91. /* display: flex;
  92. flex: 2; */
  93. color: #A6A6A6;
  94. }
  95. .merchant-activity view{
  96. color: #333;
  97. margin-top: 20rpx;
  98. }
  99. .merchant-activity view:nth-child(2) {
  100. font-size: 26rpx;
  101. display:flex;
  102. flex-direction:column;
  103. }
  104. .merchant-shop view:nth-child(2) {
  105. font-size: 30rpx;
  106. }
  107. .merchant-activity view:nth-child(1) {
  108. font-size:30rpx;
  109. }
  110. .merchant-activity view:nth-child(2) text {
  111. font-size:28rpx;
  112. color:#919191;
  113. letter-spacing:0;
  114. line-height:45rpx;
  115. }
  116. .merchant-info {
  117. display: block !important;
  118. color: #999;
  119. font-size: 28rpx;
  120. }
  121. .merchant-phones {
  122. border-top:8px solid #efefef;
  123. padding: 20rpx 0;
  124. display: block;
  125. font-size: 30rpx;
  126. background: linear-gradient(0deg, rgba(235, 235, 235, 1) 0%, rgba(255, 255, 255, 0.8) 100%);
  127. }
  128. .merchant-activity{
  129. padding: 20rpx 0;
  130. display: block;
  131. font-size: 30rpx;
  132. }
  133. .tel {
  134. /* right: 0;
  135. top: 0;
  136. bottom: 0;
  137. margin: auto; */
  138. display: inline-block;
  139. width: 50rpx;
  140. height: 50rpx;
  141. vertical-align: middle;
  142. }
  143. .shoplists {
  144. display: flex;
  145. }
  146. .shoplists text {
  147. flex: 2;
  148. }
  149. .godetail {
  150. color: #999;
  151. font-size: 30rpx;
  152. position: absolute;
  153. right: 10rpx;
  154. }
  155. .merchants text {
  156. display: block;
  157. /* text-align: left; */
  158. font-size: 26rpx;
  159. margin-bottom: 6rpx;
  160. /* height: 26rpx; */
  161. line-height: 24rpx;
  162. color: #A6A6A6;
  163. }
  164. .merchants {
  165. float: left;
  166. display: block!important;
  167. width: 70%;
  168. margin-left:12rpx;
  169. }
  170. .merchant-brand {
  171. border: none !important;
  172. width: 92%;
  173. margin: 20rpx auto 0;
  174. }
  175. .merchant-brand view:nth-child(2) text:nth-child(1) {
  176. margin-top: 20rpx;
  177. font-size: 32rpx;
  178. }
  179. .title{
  180. font-size: 26rpx;
  181. color: #A6A6A6;
  182. width: 530rpx;
  183. height: 40rpx;
  184. white-space: nowrap;
  185. text-overflow: ellipsis;
  186. overflow: hidden;
  187. }
  188. .merchant-shop,.merchant-phone,.merchant-activity{
  189. width: 92%;
  190. margin: 0 auto;
  191. }
  192. .tabs-item.selected {
  193. color: rgba(171, 149, 109, 0.8);
  194. border-bottom: 2px solid rgba(171, 149, 109, 0.8);
  195. }
  196. .tabs-item {
  197. width: 33.3%;
  198. color: #c7c7cb;
  199. font-size: 28rpx;
  200. display: flex;
  201. align-items: center;
  202. justify-content: center;
  203. border-bottom: 1rpx solid #d0d0d7;
  204. }
  205. .swiper-tab {
  206. text-align: left;
  207. width: 70%;
  208. display: flex;
  209. flex-flow: row;
  210. justify-content: space-around;
  211. height: 88rpx;
  212. line-height: 88rpx;
  213. margin-bottom: 30rpx;
  214. padding: 0 15%;
  215. }
  216. .swiper-tab-item {
  217. color: #434343;
  218. font-size: 30rpx;
  219. margin-right: 50rpx;
  220. position: relative;
  221. }
  222. .active-tab {
  223. color: #FD782D;
  224. display: block;
  225. width: 72%;
  226. height: 8rpx;
  227. background: 0 0;
  228. position: absolute;
  229. bottom: 0;
  230. left: 15%;
  231. background:linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%);
  232. border-radius: 100px;
  233. }
  234. .fenxiang {
  235. position: absolute;
  236. right: 0;
  237. top: 27rpx;
  238. width: 108rpx;
  239. }
  240. .merchant-phones ,.merchant-activity{
  241. padding: 0 4% 10rpx;
  242. }
  243. .fenxiang image {
  244. width: 48rpx;
  245. height: 48rpx;
  246. position: absolute;
  247. top: 16rpx;
  248. right: 14rpx;
  249. }
  250. .gift{
  251. color: #3C3C3C;
  252. font-size: 20rpx;
  253. position: absolute;
  254. right: 0;
  255. top: 65rpx;
  256. }
  257. .user-motto {
  258. width: 270rpx;
  259. border: 0;
  260. background: none;
  261. height: 260rpx;
  262. color: #fff;
  263. position: fixed;
  264. }
  265. .user-motto::after {
  266. border: none;
  267. }
  268. /* 商户活动列表 */
  269. .coupons c-coupons {
  270. width: 335rpx;
  271. height: 354rpx;
  272. margin-bottom: 22rpx;
  273. }
  274. .coupons c-coupons:nth-of-type(2n+1) {
  275. float: left;
  276. }
  277. .coupons c-coupons:nth-of-type(2n) {
  278. float: right;
  279. }
  280. .loading image {
  281. width: 60rpx;
  282. height: 60rpx;
  283. vertical-align: middle;
  284. margin-right: 10rpx;
  285. }
  286. .dingdan text {
  287. display: block;
  288. text-align: center;
  289. color: #999;
  290. }
  291. .swiperactive {
  292. min-height: 400rpx;
  293. padding-bottom: 44rpx;
  294. }
  295. .swiperactive image{
  296. display: block;
  297. width: 300rpx;
  298. margin: 30rpx auto 0;
  299. }
  300. .swiperactive text{
  301. /* margin: 30rpx auto 0; */
  302. display:block;
  303. text-align:center;
  304. color: #A6A6A6;
  305. }
  306. .modal {
  307. width: 100%;
  308. height: 100%;
  309. position: fixed;
  310. top: 0;
  311. left: 0;
  312. background: rgba(0, 0, 0, 0.5);
  313. overflow: hidden;
  314. z-index: 10000;
  315. color: #fff;
  316. }
  317. .modal-content {
  318. width: 540rpx;
  319. height: 233rpx;
  320. line-height: 60rpx;
  321. overflow: hidden;
  322. position: fixed;
  323. top: 50%;
  324. left: 0;
  325. z-index: 11;
  326. background: #f9f9f9;
  327. margin: -130rpx 105rpx;
  328. border-radius: 36rpx;
  329. display: flex;
  330. }
  331. .modal-content view {
  332. display: inline-block;
  333. flex: 1;
  334. text-align: center;
  335. }
  336. .modal-content view>text {
  337. color: #000;
  338. display: block;
  339. font-size: 30rpx;
  340. height: 80rpx;
  341. line-height: 80rpx;
  342. }
  343. .modal-content view>image {
  344. margin-top: 30rpx;
  345. width: 90rpx;
  346. height: 90rpx;
  347. }
  348. /*分享海报样式*/
  349. .canvas-content {
  350. display: flex;
  351. top: 0;
  352. left: 0;
  353. /* left: 500%; 分享图不显示在页面上面,就将画布设置在页面之外*/
  354. }
  355. .save-button {
  356. position: fixed;
  357. width: 80rpx;
  358. height: 80rpx;
  359. bottom: 40rpx;
  360. right: 40rpx;
  361. border-radius: 50rpx;
  362. z-index: 200;
  363. background: rgba(0, 0, 0, 0.75);
  364. }
  365. .save-button .share-image {
  366. position: absolute;
  367. top: 22rpx;
  368. left: 22rpx;
  369. width: 36rpx;
  370. height: 36rpx;
  371. }
  372. .dingdan image {
  373. display: block;
  374. width: 300rpx;
  375. margin: 30rpx auto 0;
  376. }
  377. button::after{ border: none; }
  378. .goback{
  379. position: fixed;
  380. right: 20rpx;
  381. bottom: 60rpx;
  382. width:100rpx!important;
  383. height:100rpx;
  384. z-index: 100;
  385. background:rgba(255,255,255,1);
  386. line-height: 95rpx;
  387. border:1rpx solid rgba(227,227,227,1);
  388. border-radius:50%;
  389. }
  390. .goback image{
  391. position: absolute;
  392. width: 60rpx;
  393. left: 0;
  394. right: 0;
  395. top: 0;
  396. bottom: 0;
  397. margin: auto;
  398. }
  399. .frHr{
  400. float: left;
  401. color: #FD832D;
  402. font-size: 24rpx;
  403. margin-left: 12rpx;
  404. margin-top: 12rpx;
  405. }