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

361 行
5.8 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. .merchant-detail {
  38. width: 100%;
  39. background: #fff;
  40. border-top-left-radius: 20rpx;
  41. border-top-right-radius: 20rpx;
  42. }
  43. .merchant-brand, .merchant-shop, .merchant-phone {
  44. width: 100%;
  45. background: #fff;
  46. }
  47. .merchant-brand view:nth-child(1) {
  48. width: 88%;
  49. display: flex;
  50. flex-direction: column;
  51. white-space: nowrap;
  52. text-overflow: ellipsis;
  53. overflow: hidden;
  54. }
  55. .merchant-brand view:nth-child(1) text:nth-child(1){
  56. font-size:32rpx;
  57. font-family:PingFangSC-Regular;
  58. font-weight:400;
  59. color:rgba(60,60,60,1);
  60. margin-top: 20rpx;
  61. }
  62. .merchant-shop text, .merchant-phone text {
  63. font-size: 30rpx;
  64. }
  65. .merchant-shop .fl{
  66. color: #A6A6A6;
  67. }
  68. .merchant-phone view {
  69. color: #A6A6A6;
  70. }
  71. .merchant-activity view{
  72. color: #333;
  73. margin-top: 20rpx;
  74. }
  75. .merchant-activity view:nth-child(2) {
  76. font-size: 26rpx;
  77. display:flex;
  78. flex-direction:column;
  79. }
  80. .merchant-shop view:nth-child(2) {
  81. font-size: 30rpx;
  82. color: #A6A6A6;
  83. line-height: 26rpx;
  84. }
  85. .merchant-activity view:nth-child(1) {
  86. font-size:30rpx;
  87. }
  88. .merchant-activity view:nth-child(2) text {
  89. font-size:28rpx;
  90. color:#919191;
  91. letter-spacing:0;
  92. line-height:45rpx;
  93. }
  94. .merchant-info {
  95. display: block !important;
  96. color: #999;
  97. font-size: 28rpx;
  98. }
  99. .merchant-phones {
  100. padding: 20rpx 0;
  101. display: block;
  102. font-size: 30rpx;
  103. background: #F4F5F9;
  104. }
  105. .merchants text {
  106. display: inline-block;
  107. font-size: 26rpx;
  108. color: #A6A6A6;
  109. line-height: 22rpx;
  110. margin-right: 10rpx;
  111. }
  112. .posi{
  113. color: #FD832D!important;
  114. }
  115. .wz{
  116. color: #A6A6A6;
  117. font-size: 24rpx;
  118. }
  119. .notes view{
  120. color: #A6A6A6;
  121. }
  122. .merchant-brand {
  123. border: none !important;
  124. width: 92%;
  125. margin: 0 auto 20rpx;
  126. }
  127. .merchant-brand view:nth-child(2) text:nth-child(1) {
  128. margin-top: 20rpx;
  129. font-size: 32rpx;
  130. }
  131. .title{
  132. font-size: 26rpx;
  133. color: #A6A6A6;
  134. width: 530rpx;
  135. height: 40rpx;
  136. white-space: nowrap;
  137. text-overflow: ellipsis;
  138. overflow: hidden;
  139. }
  140. .merchant-shop,.merchant-phone,.merchant-activity{
  141. width: 92%;
  142. margin: 0 auto;
  143. }
  144. .shopHr{
  145. margin-bottom: 20rpx;
  146. }
  147. .tabs-item.selected {
  148. color: rgba(171, 149, 109, 0.8);
  149. border-bottom: 2px solid rgba(171, 149, 109, 0.8);
  150. }
  151. .tabs-item {
  152. width: 33.3%;
  153. color: #c7c7cb;
  154. font-size: 28rpx;
  155. display: flex;
  156. align-items: center;
  157. justify-content: center;
  158. border-bottom: 1rpx solid #d0d0d7;
  159. }
  160. .swiper-tab {
  161. text-align: left;
  162. width: 70%;
  163. display: flex;
  164. flex-flow: row;
  165. justify-content: space-around;
  166. height: 88rpx;
  167. line-height: 88rpx;
  168. margin-bottom: 30rpx;
  169. padding: 0 15%;
  170. background: #FFF;
  171. }
  172. .swiper-tab-item {
  173. color: #434343;
  174. font-size: 30rpx;
  175. margin-right: 50rpx;
  176. position: relative;
  177. }
  178. .active-tab {
  179. color: #FD782D;
  180. display: block;
  181. width: 72%;
  182. height: 8rpx;
  183. background: 0 0;
  184. position: absolute;
  185. bottom: 0;
  186. left: 15%;
  187. background:linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%);
  188. border-radius: 100px;
  189. }
  190. .fenxiang {
  191. position: absolute;
  192. right:0;
  193. top: 27rpx;
  194. display: flex;
  195. flex-direction: column;
  196. }
  197. .fenxiang image {
  198. width: 48rpx;
  199. height: 48rpx;
  200. margin: 0 auro;
  201. }
  202. .gift{
  203. color: #3C3C3C;
  204. font-size: 20rpx;
  205. margin: 0 auro;
  206. }
  207. .user-motto {
  208. width: 270rpx;
  209. border: 0;
  210. background: none;
  211. height: 260rpx;
  212. color: #fff;
  213. position: fixed;
  214. }
  215. .user-motto::after {
  216. border: none;
  217. }
  218. .coupons c-coupons {
  219. width: 335rpx;
  220. height: 354rpx;
  221. margin-bottom: 22rpx;
  222. }
  223. .coupons c-coupons:nth-of-type(2n+1) {
  224. float: left;
  225. }
  226. .coupons c-coupons:nth-of-type(2n) {
  227. float: right;
  228. }
  229. .loading image {
  230. width: 60rpx;
  231. height: 60rpx;
  232. vertical-align: middle;
  233. margin-right: 10rpx;
  234. }
  235. .dingdan text {
  236. display: block;
  237. text-align: center;
  238. color: #999;
  239. }
  240. .swiperactive {
  241. min-height: 400rpx;
  242. padding-bottom: 44rpx;
  243. padding:0 4% 10rpx;
  244. }
  245. .swiperactive image{
  246. display: block;
  247. width: 300rpx;
  248. margin: 30rpx auto 0;
  249. }
  250. .modal {
  251. width: 100%;
  252. height: 100%;
  253. position: fixed;
  254. top: 0;
  255. left: 0;
  256. background: rgba(0, 0, 0, 0.5);
  257. overflow: hidden;
  258. z-index: 10000;
  259. color: #fff;
  260. }
  261. .modal-content {
  262. width: 540rpx;
  263. height: 233rpx;
  264. line-height: 60rpx;
  265. overflow: hidden;
  266. position: fixed;
  267. top: 50%;
  268. left: 0;
  269. z-index: 11;
  270. background: #f9f9f9;
  271. margin: -130rpx 105rpx;
  272. border-radius: 36rpx;
  273. display: flex;
  274. }
  275. .modal-content view {
  276. display: inline-block;
  277. flex: 1;
  278. text-align: center;
  279. }
  280. .modal-content view>text {
  281. color: #000;
  282. display: block;
  283. font-size: 30rpx;
  284. height: 80rpx;
  285. line-height: 80rpx;
  286. }
  287. .modal-content view>image {
  288. margin-top: 30rpx;
  289. width: 90rpx;
  290. height: 90rpx;
  291. }
  292. /*分享海报样式*/
  293. .canvas-content {
  294. display: flex;
  295. top: 0;
  296. left: 0;
  297. /* left: 500%; 分享图不显示在页面上面,就将画布设置在页面之外*/
  298. }
  299. .dingdan image {
  300. display: block;
  301. width: 300rpx;
  302. margin: 30rpx auto 0;
  303. }
  304. button::after{ border: none; }
  305. .goback{
  306. position: fixed;
  307. right: 20rpx;
  308. bottom: 60rpx;
  309. width:100rpx!important;
  310. height:100rpx;
  311. z-index: 100;
  312. background:rgba(255,255,255,1);
  313. line-height: 95rpx;
  314. border:1rpx solid rgba(227,227,227,1);
  315. border-radius:50%;
  316. }
  317. .goback image{
  318. position: absolute;
  319. width: 60rpx;
  320. left: 0;
  321. right: 0;
  322. top: 0;
  323. bottom: 0;
  324. margin: auto;
  325. }
  326. .frHr{
  327. float: left;
  328. margin-left: 12rpx;
  329. margin-top:18rpx;
  330. }