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.

269 line
4.1 KiB

  1. .index-slide, swiper-item
  2. .index-slide-image {
  3. display: block;
  4. width: 750rpx;
  5. margin: 0 auto;
  6. overflow: hidden;
  7. position: relative;
  8. height: 576rpx;
  9. }
  10. .index-slide-view .dots {
  11. position: absolute;
  12. left: 0;
  13. right: 0;
  14. bottom: 20rpx;
  15. display: flex;
  16. justify-content: center;
  17. }
  18. .index-slide-view .dots .dot {
  19. margin: 0 8rpx;
  20. width: 12rpx;
  21. height: 12rpx;
  22. background: #b6b6b7;
  23. border-radius: 50%;
  24. transition: all 0.6s;
  25. }
  26. .index-slide-view .dots .dot.active {
  27. background: #02c0ff;
  28. width: 30rpx;
  29. height: 12rpx;
  30. border-radius: 10rpx;
  31. opacity: 1;
  32. }
  33. .bannerbg {
  34. width: 100%;
  35. }
  36. .bannerbg image {
  37. display: block;
  38. width: 100%;
  39. }
  40. .merchant-detail {
  41. width:92%;
  42. padding:30rpx 4% 0;
  43. background:#fff;
  44. border-top-left-radius:20rpx;
  45. border-top-right-radius:20rpx;
  46. margin-top:-25rpx;
  47. }
  48. .merchant-brand, .merchant-shop, .merchant-phone {
  49. width: 100%;
  50. display: flex;
  51. padding: 20rpx 0;
  52. background: #fff;
  53. border-bottom: 1rpx solid #efefef;
  54. }
  55. .merchant-brand view:nth-child(1) {
  56. width: 160rpx;
  57. border-radius: 16rpx;
  58. height: 160rpx;
  59. }
  60. .merchant-brand view:nth-child(1) image {
  61. display: block;
  62. width: 160rpx;
  63. height: 160rpx;
  64. border-radius: 16rpx;
  65. border: 1px solid #e5e5e5;
  66. }
  67. .merchant-brand view:nth-child(2) {
  68. display: flex;
  69. flex-direction: column;
  70. flex: 6;
  71. padding-left: 30rpx;
  72. }
  73. .merchant-brand view:nth-child(2) text:nth-child(1) {
  74. margin-top: 20rpx;
  75. }
  76. .merchant-shop text, .merchant-phone text {
  77. font-size: 30rpx;
  78. }
  79. .merchant-shop view, .merchant-phone view {
  80. display: flex;
  81. flex: 2;
  82. color: #333;
  83. }
  84. .merchant-shop view:nth-child(2){
  85. font-size: 30rpx;
  86. }
  87. .merchant-info {
  88. display: block!important;
  89. color: #999;
  90. font-size: 28rpx;
  91. }
  92. .merchant-phones{
  93. padding: 20rpx 0;
  94. display: block;
  95. font-size: 30rpx;
  96. }
  97. .tel {
  98. right: 0;
  99. top: 0;
  100. bottom: 0;
  101. margin: auto;
  102. width: 50rpx;
  103. height: 50rpx;
  104. }
  105. .shoplists {
  106. display: flex;
  107. }
  108. .shoplists text {
  109. flex: 2;
  110. }
  111. .godetail {
  112. color: #999;
  113. font-size: 30rpx;
  114. position: absolute;
  115. right: 10rpx;
  116. }
  117. .merchants text{
  118. display: block;
  119. text-align: left;
  120. font-size:26rpx;
  121. margin-bottom: 6rpx;
  122. }
  123. .merchants{
  124. display: block!important;
  125. }
  126. .merchant-brand{
  127. border: none!important;
  128. }
  129. .tabs-item.selected {
  130. color:rgba(171,149,109,.8);
  131. border-bottom:2px solid rgba(171,149,109,.8);
  132. }
  133. .tabs-item {
  134. width:33.3%;
  135. color:#C7C7CB;
  136. font-size:28rpx;
  137. display:flex;
  138. align-items:center;
  139. justify-content:center;
  140. border-bottom:1rpx solid #D0D0D7;
  141. }
  142. .swiper-tab{
  143. text-align: left;
  144. width: 100%;
  145. display: flex;
  146. flex-flow: row;
  147. height: 88rpx;
  148. line-height: 88rpx;
  149. margin-bottom: 20rpx;
  150. }
  151. .swiper-tab-item {
  152. color: #434343;
  153. font-size: 30rpx;
  154. margin-right:50rpx;
  155. }
  156. .active-tab {
  157. color: #1693FC;
  158. border-bottom: 10rpx solid #1693FC;
  159. }
  160. .fenxiang {
  161. position: absolute;
  162. right: 0;
  163. top: 27rpx;
  164. width: 108rpx;
  165. }
  166. .fenxiang image {
  167. width: 108rpx;
  168. position: absolute;
  169. top: 0;
  170. right: 0;
  171. }
  172. .user-motto {
  173. width:270rpx;
  174. border:0;
  175. background:none;
  176. height:260rpx;
  177. color:#fff;
  178. position:fixed;
  179. }
  180. .user-motto::after {
  181. border: none;
  182. }
  183. /* 商户活动列表 */
  184. .coupons c-coupons{
  185. width: 335rpx;
  186. height: 354rpx;
  187. margin-bottom: 22rpx;
  188. }
  189. .coupons c-coupons:nth-of-type(2n+1){
  190. float: left;
  191. }
  192. .coupons c-coupons:nth-of-type(2n){
  193. float: right;
  194. }
  195. .loading image {
  196. width: 60rpx;
  197. height: 60rpx;
  198. vertical-align: middle;
  199. margin-right: 10rpx;
  200. }
  201. .dingdan text{
  202. display: block;
  203. text-align: center;
  204. }
  205. .swiperactive{
  206. min-height: 300rpx;
  207. }
  208. /* modal */
  209. .modal{
  210. width: 100%;
  211. height: 100%;
  212. position: fixed;
  213. top: 0;
  214. left: 0;
  215. background: rgba(0,0,0,0.5);
  216. overflow: hidden;
  217. z-index: 10;
  218. color: #fff;
  219. }
  220. .modal-content{
  221. width: 540rpx;
  222. height: 260rpx;
  223. line-height: 60rpx;
  224. overflow: hidden;
  225. position: fixed;
  226. top: 50%;
  227. left: 0;
  228. z-index: 11;
  229. background: #f9f9f9;
  230. margin: -130rpx 105rpx;
  231. border-radius: 36rpx;
  232. display: flex;
  233. }
  234. .modal-content view{
  235. display: inline-block;
  236. flex: 1;
  237. text-align: center;
  238. }
  239. .modal-content view>text{
  240. color: #000;
  241. display: block;
  242. height: 80rpx;
  243. line-height: 80rpx;
  244. }
  245. .modal-content view>image{
  246. margin-top: 30rpx;
  247. width: 100rpx;
  248. height: 100rpx;
  249. }