C端小程序
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

458 строки
7.2 KiB

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