C端小程序
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

463 行
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. }
  71. /* .merchant-brand view:nth-child(1) image {
  72. display: block;
  73. width: 130rpx;
  74. height: 130rpx;
  75. border-radius: 16rpx;
  76. border: 1px solid #e5e5e5;
  77. }
  78. .merchant-brand view:nth-child(2) {
  79. display: flex;
  80. flex-direction: column;
  81. width: 61%;
  82. padding-left: 30rpx;
  83. white-space: nowrap;
  84. text-overflow: ellipsis;
  85. overflow: hidden;
  86. } */
  87. .merchant-shop text, .merchant-phone text {
  88. font-size: 30rpx;
  89. /* color: #A6A6A6; */
  90. }
  91. .merchant-shop .fl{
  92. color: #A6A6A6;
  93. }
  94. .merchant-phone view {
  95. /* display: flex;
  96. flex: 2; */
  97. color: #A6A6A6;
  98. }
  99. .merchant-activity view{
  100. color: #333;
  101. margin-top: 20rpx;
  102. }
  103. .merchant-activity view:nth-child(2) {
  104. font-size: 26rpx;
  105. display:flex;
  106. flex-direction:column;
  107. }
  108. .merchant-shop view:nth-child(2) {
  109. font-size: 30rpx;
  110. color: #A6A6A6;
  111. }
  112. .merchant-activity view:nth-child(1) {
  113. font-size:30rpx;
  114. }
  115. .merchant-activity view:nth-child(2) text {
  116. font-size:28rpx;
  117. color:#919191;
  118. letter-spacing:0;
  119. line-height:45rpx;
  120. }
  121. .merchant-info {
  122. display: block !important;
  123. color: #999;
  124. font-size: 28rpx;
  125. }
  126. .merchant-phones {
  127. /* border-top:8px solid #efefef; */
  128. padding: 20rpx 0;
  129. display: block;
  130. font-size: 30rpx;
  131. background: #F4F5F9;
  132. }
  133. .merchant-activity{
  134. padding: 20rpx 0;
  135. display: block;
  136. font-size: 30rpx;
  137. }
  138. .tel {
  139. /* right: 0;
  140. top: 0;
  141. bottom: 0;
  142. margin: auto; */
  143. display: inline-block;
  144. width: 50rpx;
  145. height: 50rpx;
  146. vertical-align: middle;
  147. }
  148. .shoplists {
  149. display: flex;
  150. }
  151. .shoplists text {
  152. flex: 2;
  153. }
  154. .godetail {
  155. color: #999;
  156. font-size: 30rpx;
  157. position: absolute;
  158. right: 10rpx;
  159. }
  160. .merchants text {
  161. display: inline-block;
  162. /* text-align: left; */
  163. font-size: 26rpx;
  164. margin-bottom: 6rpx;
  165. /* height: 26rpx; */
  166. line-height: 22rpx;
  167. color: #A6A6A6;
  168. margin-right: 10rpx;
  169. }
  170. .posi{
  171. color: #FD832D!important;
  172. }
  173. .merchants {
  174. float: left;
  175. display: block!important;
  176. width: 70%;
  177. margin-left:12rpx;
  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. .tabs-item.selected {
  202. color: rgba(171, 149, 109, 0.8);
  203. border-bottom: 2px solid rgba(171, 149, 109, 0.8);
  204. }
  205. .tabs-item {
  206. width: 33.3%;
  207. color: #c7c7cb;
  208. font-size: 28rpx;
  209. display: flex;
  210. align-items: center;
  211. justify-content: center;
  212. border-bottom: 1rpx solid #d0d0d7;
  213. }
  214. .swiper-tab {
  215. text-align: left;
  216. width: 70%;
  217. display: flex;
  218. flex-flow: row;
  219. justify-content: space-around;
  220. height: 88rpx;
  221. line-height: 88rpx;
  222. margin-bottom: 30rpx;
  223. padding: 0 15%;
  224. background: #FFF;
  225. }
  226. .swiper-tab-item {
  227. color: #434343;
  228. font-size: 30rpx;
  229. margin-right: 50rpx;
  230. position: relative;
  231. }
  232. .active-tab {
  233. color: #FD782D;
  234. display: block;
  235. width: 72%;
  236. height: 8rpx;
  237. background: 0 0;
  238. position: absolute;
  239. bottom: 0;
  240. left: 15%;
  241. background:linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%);
  242. border-radius: 100px;
  243. }
  244. .fenxiang {
  245. position: absolute;
  246. right: 0;
  247. top: 0;
  248. width: 108rpx;
  249. }
  250. .merchant-activity{
  251. padding: 0 4% 10rpx;
  252. }
  253. .fenxiang image {
  254. width: 48rpx;
  255. height: 48rpx;
  256. position: absolute;
  257. top: 16rpx;
  258. right: 14rpx;
  259. }
  260. .gift{
  261. color: #3C3C3C;
  262. font-size: 20rpx;
  263. position: absolute;
  264. right: 0;
  265. top: 65rpx;
  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. .swiperactive text{
  312. /* margin: 30rpx auto 0; */
  313. display:block;
  314. text-align:center;
  315. color: #999;
  316. }
  317. .modal {
  318. width: 100%;
  319. height: 100%;
  320. position: fixed;
  321. top: 0;
  322. left: 0;
  323. background: rgba(0, 0, 0, 0.5);
  324. overflow: hidden;
  325. z-index: 10000;
  326. color: #fff;
  327. }
  328. .modal-content {
  329. width: 540rpx;
  330. height: 233rpx;
  331. line-height: 60rpx;
  332. overflow: hidden;
  333. position: fixed;
  334. top: 50%;
  335. left: 0;
  336. z-index: 11;
  337. background: #f9f9f9;
  338. margin: -130rpx 105rpx;
  339. border-radius: 36rpx;
  340. display: flex;
  341. }
  342. .modal-content view {
  343. display: inline-block;
  344. flex: 1;
  345. text-align: center;
  346. }
  347. .modal-content view>text {
  348. color: #000;
  349. display: block;
  350. font-size: 30rpx;
  351. height: 80rpx;
  352. line-height: 80rpx;
  353. }
  354. .modal-content view>image {
  355. margin-top: 30rpx;
  356. width: 90rpx;
  357. height: 90rpx;
  358. }
  359. /*分享海报样式*/
  360. .canvas-content {
  361. display: flex;
  362. top: 0;
  363. left: 0;
  364. /* left: 500%; 分享图不显示在页面上面,就将画布设置在页面之外*/
  365. }
  366. .save-button {
  367. position: fixed;
  368. width: 80rpx;
  369. height: 80rpx;
  370. bottom: 40rpx;
  371. right: 40rpx;
  372. border-radius: 50rpx;
  373. z-index: 200;
  374. background: rgba(0, 0, 0, 0.75);
  375. }
  376. .save-button .share-image {
  377. position: absolute;
  378. top: 22rpx;
  379. left: 22rpx;
  380. width: 36rpx;
  381. height: 36rpx;
  382. }
  383. .dingdan image {
  384. display: block;
  385. width: 300rpx;
  386. margin: 30rpx auto 0;
  387. }
  388. button::after{ border: none; }
  389. .goback{
  390. position: fixed;
  391. right: 20rpx;
  392. bottom: 60rpx;
  393. width:100rpx!important;
  394. height:100rpx;
  395. z-index: 100;
  396. background:rgba(255,255,255,1);
  397. line-height: 95rpx;
  398. border:1rpx solid rgba(227,227,227,1);
  399. border-radius:50%;
  400. }
  401. .goback image{
  402. position: absolute;
  403. width: 60rpx;
  404. left: 0;
  405. right: 0;
  406. top: 0;
  407. bottom: 0;
  408. margin: auto;
  409. }
  410. .frHr{
  411. float: left;
  412. color: #FD832D;
  413. font-size: 24rpx;
  414. margin-left: 12rpx;
  415. margin-top: 10rpx;
  416. }