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

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