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

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