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.

453 lines
7.1 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. margin-right: 10rpx;
  168. }
  169. .posi{
  170. color: #FD832D!important;
  171. }
  172. .wz{
  173. color: #A6A6A6;
  174. font-size: 24rpx;
  175. }
  176. .notes view{
  177. color: #A6A6A6;
  178. }
  179. .merchant-brand {
  180. border: none !important;
  181. width: 92%;
  182. margin: 0 auto 20rpx;
  183. }
  184. .merchant-brand view:nth-child(2) text:nth-child(1) {
  185. margin-top: 20rpx;
  186. font-size: 32rpx;
  187. }
  188. .title{
  189. font-size: 26rpx;
  190. color: #A6A6A6;
  191. width: 530rpx;
  192. height: 40rpx;
  193. white-space: nowrap;
  194. text-overflow: ellipsis;
  195. overflow: hidden;
  196. }
  197. .merchant-shop,.merchant-phone,.merchant-activity{
  198. width: 92%;
  199. margin: 0 auto;
  200. }
  201. .shopHr{
  202. margin-bottom: 20rpx;
  203. }
  204. .tabs-item.selected {
  205. color: rgba(171, 149, 109, 0.8);
  206. border-bottom: 2px solid rgba(171, 149, 109, 0.8);
  207. }
  208. .tabs-item {
  209. width: 33.3%;
  210. color: #c7c7cb;
  211. font-size: 28rpx;
  212. display: flex;
  213. align-items: center;
  214. justify-content: center;
  215. border-bottom: 1rpx solid #d0d0d7;
  216. }
  217. .swiper-tab {
  218. text-align: left;
  219. width: 70%;
  220. display: flex;
  221. flex-flow: row;
  222. justify-content: space-around;
  223. height: 88rpx;
  224. line-height: 88rpx;
  225. margin-bottom: 30rpx;
  226. padding: 0 15%;
  227. background: #FFF;
  228. }
  229. .swiper-tab-item {
  230. color: #434343;
  231. font-size: 30rpx;
  232. margin-right: 50rpx;
  233. position: relative;
  234. }
  235. .active-tab {
  236. color: #FD782D;
  237. display: block;
  238. width: 72%;
  239. height: 8rpx;
  240. background: 0 0;
  241. position: absolute;
  242. bottom: 0;
  243. left: 15%;
  244. background:linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%);
  245. border-radius: 100px;
  246. }
  247. .fenxiang {
  248. position: absolute;
  249. right:0;
  250. top: 27rpx;
  251. display: flex;
  252. flex-direction: column;
  253. }
  254. .merchant-activity{
  255. padding: 0 4% 10rpx;
  256. }
  257. .fenxiang image {
  258. width: 48rpx;
  259. height: 48rpx;
  260. margin: 0 auro;
  261. }
  262. .gift{
  263. color: #3C3C3C;
  264. font-size: 20rpx;
  265. margin: 0 auro;
  266. }
  267. .user-motto {
  268. width: 270rpx;
  269. border: 0;
  270. background: none;
  271. height: 260rpx;
  272. color: #fff;
  273. position: fixed;
  274. }
  275. .user-motto::after {
  276. border: none;
  277. }
  278. /* 商户活动列表 */
  279. .coupons c-coupons {
  280. width: 335rpx;
  281. height: 354rpx;
  282. margin-bottom: 22rpx;
  283. }
  284. .coupons c-coupons:nth-of-type(2n+1) {
  285. float: left;
  286. }
  287. .coupons c-coupons:nth-of-type(2n) {
  288. float: right;
  289. }
  290. .loading image {
  291. width: 60rpx;
  292. height: 60rpx;
  293. vertical-align: middle;
  294. margin-right: 10rpx;
  295. }
  296. .dingdan text {
  297. display: block;
  298. text-align: center;
  299. color: #999;
  300. }
  301. .swiperactive {
  302. min-height: 400rpx;
  303. padding-bottom: 44rpx;
  304. padding:0 4% 10rpx;
  305. }
  306. .swiperactive image{
  307. display: block;
  308. width: 300rpx;
  309. margin: 30rpx auto 0;
  310. }
  311. .modal {
  312. width: 100%;
  313. height: 100%;
  314. position: fixed;
  315. top: 0;
  316. left: 0;
  317. background: rgba(0, 0, 0, 0.5);
  318. overflow: hidden;
  319. z-index: 10000;
  320. color: #fff;
  321. }
  322. .modal-content {
  323. width: 540rpx;
  324. height: 233rpx;
  325. line-height: 60rpx;
  326. overflow: hidden;
  327. position: fixed;
  328. top: 50%;
  329. left: 0;
  330. z-index: 11;
  331. background: #f9f9f9;
  332. margin: -130rpx 105rpx;
  333. border-radius: 36rpx;
  334. display: flex;
  335. }
  336. .modal-content view {
  337. display: inline-block;
  338. flex: 1;
  339. text-align: center;
  340. }
  341. .modal-content view>text {
  342. color: #000;
  343. display: block;
  344. font-size: 30rpx;
  345. height: 80rpx;
  346. line-height: 80rpx;
  347. }
  348. .modal-content view>image {
  349. margin-top: 30rpx;
  350. width: 90rpx;
  351. height: 90rpx;
  352. }
  353. /*分享海报样式*/
  354. .canvas-content {
  355. display: flex;
  356. top: 0;
  357. left: 0;
  358. /* left: 500%; 分享图不显示在页面上面,就将画布设置在页面之外*/
  359. }
  360. .save-button {
  361. position: fixed;
  362. width: 80rpx;
  363. height: 80rpx;
  364. bottom: 40rpx;
  365. right: 40rpx;
  366. border-radius: 50rpx;
  367. z-index: 200;
  368. background: rgba(0, 0, 0, 0.75);
  369. }
  370. .save-button .share-image {
  371. position: absolute;
  372. top: 22rpx;
  373. left: 22rpx;
  374. width: 36rpx;
  375. height: 36rpx;
  376. }
  377. .dingdan image {
  378. display: block;
  379. width: 300rpx;
  380. margin: 30rpx auto 0;
  381. }
  382. button::after{ border: none; }
  383. .goback{
  384. position: fixed;
  385. right: 20rpx;
  386. bottom: 60rpx;
  387. width:100rpx!important;
  388. height:100rpx;
  389. z-index: 100;
  390. background:rgba(255,255,255,1);
  391. line-height: 95rpx;
  392. border:1rpx solid rgba(227,227,227,1);
  393. border-radius:50%;
  394. }
  395. .goback image{
  396. position: absolute;
  397. width: 60rpx;
  398. left: 0;
  399. right: 0;
  400. top: 0;
  401. bottom: 0;
  402. margin: auto;
  403. }
  404. .frHr{
  405. float: left;
  406. margin-left: 12rpx;
  407. margin-top:18rpx;
  408. }