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

452 行
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. }
  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. .modal {
  311. width: 100%;
  312. height: 100%;
  313. position: fixed;
  314. top: 0;
  315. left: 0;
  316. background: rgba(0, 0, 0, 0.5);
  317. overflow: hidden;
  318. z-index: 10000;
  319. color: #fff;
  320. }
  321. .modal-content {
  322. width: 540rpx;
  323. height: 233rpx;
  324. line-height: 60rpx;
  325. overflow: hidden;
  326. position: fixed;
  327. top: 50%;
  328. left: 0;
  329. z-index: 11;
  330. background: #f9f9f9;
  331. margin: -130rpx 105rpx;
  332. border-radius: 36rpx;
  333. display: flex;
  334. }
  335. .modal-content view {
  336. display: inline-block;
  337. flex: 1;
  338. text-align: center;
  339. }
  340. .modal-content view>text {
  341. color: #000;
  342. display: block;
  343. font-size: 30rpx;
  344. height: 80rpx;
  345. line-height: 80rpx;
  346. }
  347. .modal-content view>image {
  348. margin-top: 30rpx;
  349. width: 90rpx;
  350. height: 90rpx;
  351. }
  352. /*分享海报样式*/
  353. .canvas-content {
  354. display: flex;
  355. top: 0;
  356. left: 0;
  357. /* left: 500%; 分享图不显示在页面上面,就将画布设置在页面之外*/
  358. }
  359. .save-button {
  360. position: fixed;
  361. width: 80rpx;
  362. height: 80rpx;
  363. bottom: 40rpx;
  364. right: 40rpx;
  365. border-radius: 50rpx;
  366. z-index: 200;
  367. background: rgba(0, 0, 0, 0.75);
  368. }
  369. .save-button .share-image {
  370. position: absolute;
  371. top: 22rpx;
  372. left: 22rpx;
  373. width: 36rpx;
  374. height: 36rpx;
  375. }
  376. .dingdan image {
  377. display: block;
  378. width: 300rpx;
  379. margin: 30rpx auto 0;
  380. }
  381. button::after{ border: none; }
  382. .goback{
  383. position: fixed;
  384. right: 20rpx;
  385. bottom: 60rpx;
  386. width:100rpx!important;
  387. height:100rpx;
  388. z-index: 100;
  389. background:rgba(255,255,255,1);
  390. line-height: 95rpx;
  391. border:1rpx solid rgba(227,227,227,1);
  392. border-radius:50%;
  393. }
  394. .goback image{
  395. position: absolute;
  396. width: 60rpx;
  397. left: 0;
  398. right: 0;
  399. top: 0;
  400. bottom: 0;
  401. margin: auto;
  402. }
  403. .frHr{
  404. float: left;
  405. margin-left: 12rpx;
  406. margin-top:18rpx;
  407. }