金诚优选前端代码
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.

528 lines
11 KiB

  1. @import '../../../common/css/global';
  2. #personalCenter{
  3. .pc-banner{
  4. //height:150px;
  5. background: #FB5054;
  6. &.uto-banner {
  7. background: none;
  8. .bg {
  9. background-image: url("https://ibrand-miniprogram.oss-cn-hangzhou.aliyuncs.com/%E5%B0%8F%E7%A8%8B%E5%BA%8F/%E8%83%8C%E6%99%AF_%E7%94%BB%E6%9D%BF%201535353.png");
  10. }
  11. }
  12. .bg {
  13. display: flex;
  14. justify-content: space-between;
  15. align-items: center;
  16. background-image: url("https://ibrand-miniprogram.oss-cn-hangzhou.aliyuncs.com/%E5%B0%8F%E7%A8%8B%E5%BA%8F/22%20copy.png");
  17. background-repeat: no-repeat;
  18. background-size: cover;
  19. height: 170px;
  20. padding-left: 22px;
  21. //padding:0 0 35px 17px;
  22. .ban-item-l{
  23. display: flex;
  24. align-items: center;
  25. .user-avatar{
  26. width: 78px;
  27. height: 78px;
  28. border-radius: 50%;
  29. margin-right: 15px;
  30. background: #EDF2FC;
  31. image{
  32. width: 100%;
  33. height: 100%;
  34. border-radius: 50%;
  35. }
  36. }
  37. .user-text{
  38. font-size: 0px;
  39. .nick-name{
  40. font-size: 16px;
  41. color: #ffffff;
  42. padding-bottom: 8px;
  43. }
  44. .vip-text{
  45. display: flex;
  46. align-items: center;
  47. .vip-grade{
  48. color:#FB5054;
  49. width: 16px;
  50. height: 16px;
  51. text-align: center;
  52. line-height: 16px;
  53. border-radius: 50%;
  54. background-color: #ffffff;
  55. font-size: 10px;
  56. font-weight: bold;
  57. }
  58. .vip-name{
  59. color:#008CEE;
  60. font-size: 10px;
  61. width: 32px;
  62. height: 17px;
  63. line-height: 17px;
  64. text-align: center;
  65. background-color: #ffffff;
  66. border-radius: 8px;
  67. margin-left: 6px;
  68. &.svip{
  69. color: #E1CB9C;
  70. background: #424040;
  71. }
  72. }
  73. }
  74. }
  75. }
  76. .ban-item-r{
  77. text-align: right;
  78. .private-letter{
  79. opacity: 0;
  80. position: relative;
  81. padding:16px 16px 26px 0;
  82. display: inline-block;
  83. .iconfont{
  84. color: #ffffff;
  85. font-size:22px;
  86. }
  87. .dot{
  88. position:absolute;
  89. top: 20px;
  90. right: 16px;
  91. width: 6px;
  92. height: 6px;
  93. border-radius: 50%;
  94. background-color: #ffffff;
  95. }
  96. }
  97. .up-grade{
  98. display: flex;
  99. align-items: center;
  100. background-color:#424040;
  101. border-radius: 100px 0px 0px 100px;
  102. color:#E1CB9C;
  103. padding:6px 6px 6px 6px;
  104. .icon-img{
  105. width:27px;
  106. height: 27px;
  107. background-color:rgba(255,255,255,.15);
  108. padding: 5px;
  109. border-radius: 50%;
  110. image{
  111. width: 100%;
  112. height: 100%;
  113. }
  114. }
  115. .vip-copy{
  116. font-size: 12px;
  117. padding-left: 6px;
  118. .pretty{
  119. font-size: 14px;
  120. font-weight: bold;
  121. text-align: left;
  122. }
  123. .up{
  124. font-size: 10px;
  125. line-height: 14px;
  126. }
  127. }
  128. }
  129. }
  130. .unlogin{
  131. margin: 0 auto;
  132. text-align: center;
  133. height:125px;
  134. line-height: 125px;
  135. color: #ffffff;
  136. font-size: 24px;
  137. }
  138. .setting {
  139. position: absolute;
  140. top: 15px;
  141. right: 15px;
  142. color: #FFFFFF;
  143. font-size: 20px;
  144. }
  145. }
  146. }
  147. //绑定手机号
  148. .binding__phone{
  149. padding: 10px 15px;
  150. background: #FBF6DC;
  151. color: #FC6A00;
  152. font-size: 14px;
  153. margin-bottom: 5px;
  154. display:flex;
  155. justify-content: space-between;
  156. align-items: center;
  157. overflow: hidden;
  158. white-space: nowrap;
  159. text-overflow: ellipsis;
  160. .phone-text{
  161. flex: 1;
  162. margin-left: 5px;
  163. overflow: hidden;
  164. white-space: nowrap;
  165. text-overflow: ellipsis;
  166. }
  167. &.binding__user{
  168. text-align: left;
  169. border-radius: 0;
  170. line-height: normal;
  171. &:after {
  172. border: none;
  173. }
  174. }
  175. }
  176. //新的优惠券盒子样式
  177. .new-coupons-box{
  178. margin: 0 15px;
  179. background-color: #251F2A;
  180. position: relative;
  181. top:-30px;
  182. margin-bottom: -13px;
  183. box-shadow:0px 3px 6px 1px rgba(0,0,0,0.15);
  184. .top-item{
  185. display: flex;
  186. align-items: center;
  187. justify-content:center;
  188. padding:16px 0 0 0;
  189. .info{
  190. flex: 1;
  191. text-align: center;
  192. overflow: hidden;
  193. .balance{
  194. color: #fff;
  195. font-size: 14px;
  196. font-weight: 500;
  197. padding-bottom: 5px;
  198. line-height: 20px;
  199. overflow: hidden;
  200. text-overflow: ellipsis;
  201. white-space:nowrap;
  202. }
  203. .txt{
  204. color: #ffffff;
  205. font-size: 14px;
  206. line-height: 20px;
  207. }
  208. }
  209. }
  210. .bottom-item{
  211. padding: 18px 0;
  212. .bg-img{
  213. margin: 0 auto;
  214. width: 70%;
  215. display: flex;
  216. align-items: center;
  217. background: url("https://ibrand-miniprogram.oss-cn-hangzhou.aliyuncs.com/%E5%B0%8F%E7%A8%8B%E5%BA%8F/%E4%BC%98%E6%83%A0%E5%88%B8665656.png") no-repeat;
  218. background-size: 100% 100%;
  219. .title{
  220. flex: 5;
  221. text-align: center;
  222. color: #ffffff;
  223. font-size:26px;
  224. line-height: 37px;
  225. margin: 9px 0 13px 0;
  226. }
  227. .number{
  228. color:#ffffff;
  229. flex:2;
  230. text-align: center;
  231. font-size:26px;
  232. line-height: 37px;
  233. margin: 9px 0 13px 0;
  234. }
  235. }
  236. }
  237. }
  238. .all-orders{
  239. background-color: #ffffff;
  240. margin-bottom: 12px;
  241. .order-header{
  242. display: flex;
  243. align-items: center;
  244. justify-content:space-between ;
  245. padding: 11px 15px 9px 15px;
  246. .order-text{
  247. font-size: 14px;
  248. color: #000000;
  249. line-height: 20px;
  250. font-weight: bold;
  251. }
  252. .iconfont{
  253. font-size: 12px;
  254. color: #B3B3B3;
  255. }
  256. }
  257. .order-content{
  258. display: flex;
  259. align-items: center;
  260. justify-content: center;
  261. padding: 20px 0 10px 0;
  262. .item{
  263. flex: 1;
  264. text-align: center;
  265. font-size:12px;
  266. color:#6A6A6A ;
  267. position: relative;
  268. .iconfont{
  269. font-size: 20px;
  270. color:#6A6A6A;
  271. }
  272. .position-num{
  273. position: absolute;
  274. top: 0;
  275. right: 8px;
  276. width:16px;
  277. height: 16px;
  278. line-height: 16px;
  279. text-align: center;
  280. background-color: #ffffff;
  281. border: 1px solid @mainColor;
  282. color: @mainColor;
  283. font-size:10px;
  284. border-radius: 50%;
  285. overflow: hidden;
  286. white-space: nowrap;
  287. //text-overflow: ellipsis;
  288. }
  289. }
  290. }
  291. }
  292. .info-detail{
  293. display: flex;
  294. padding: 15px 0px;
  295. align-items: center;
  296. justify-content: center;
  297. background-color: #ffffff;
  298. margin-bottom: 12px;
  299. .item{
  300. flex: 1;
  301. text-align: center;
  302. font-size:12px;
  303. color:#6A6A6A ;
  304. overflow: hidden;
  305. white-space: nowrap;
  306. text-overflow: ellipsis;
  307. .number{
  308. font-size: 16px;
  309. color: #333;
  310. line-height: 15px;
  311. padding-bottom:7px;
  312. overflow: hidden;
  313. white-space: nowrap;
  314. text-overflow: ellipsis;
  315. }
  316. }
  317. }
  318. .section-serve{
  319. background-color: #ffffff;
  320. margin-bottom: 12px;
  321. .title{
  322. padding: 11px 15px 9px 15px;
  323. font-size: 14px;
  324. color: #000000;
  325. line-height: 20px;
  326. font-weight: bold;
  327. }
  328. .server-box{
  329. display: flex;
  330. width: 100%;
  331. align-items: center;
  332. flex-wrap: wrap;
  333. .item{
  334. width:25%;
  335. text-align: center;
  336. padding:19px 0;
  337. font-size: 12px;
  338. color:#6A6A6A;
  339. .iconfont{
  340. font-size: 20px;
  341. color: #ffffff;
  342. }
  343. .info{
  344. display: inline-block;
  345. width: 44px;
  346. height: 44px;
  347. line-height: 44px;
  348. text-align: center;
  349. background-color: #F25E62;
  350. margin-bottom: 12px;
  351. border-radius: 50%;
  352. }
  353. .mall{
  354. background-color:#F8AB2C ;
  355. }
  356. .mi{
  357. background-color:#5787ED;
  358. }
  359. .agree{
  360. background-color:#6236FF;
  361. }
  362. .custom{
  363. background-color: #37CEAC;
  364. }
  365. .center{
  366. background-color:#5787ED ;
  367. }
  368. .team{
  369. background-color:#D06D3C;
  370. }
  371. }
  372. }
  373. }
  374. .section-activity{
  375. background-color: #ffffff;
  376. margin-bottom: 30px;
  377. .title{
  378. padding: 11px 15px 9px 15px;
  379. font-size: 14px;
  380. color: #000000;
  381. line-height: 20px;
  382. font-weight: bold;
  383. }
  384. .activity-box{
  385. display: flex;
  386. align-items: center;
  387. justify-content: center;
  388. padding: 18px 0 15px 0;
  389. .item{
  390. flex: 1;
  391. color:#6A6A6A ;
  392. font-size: 12px;
  393. text-align: center;
  394. .iconfont{
  395. color:#008CEE ;
  396. font-size: 17px;
  397. padding-bottom:10px;
  398. }
  399. }
  400. }
  401. }
  402. .maks{
  403. position: fixed;
  404. bottom: 0;
  405. width: 100%;
  406. height: 100%;
  407. z-index: 40;
  408. background: rgba(0,0,0,.4);
  409. opacity: 1;
  410. transition: opacity .3s ease;
  411. display: none;
  412. &.share {
  413. background: none;
  414. }
  415. &.cur{
  416. display: block;
  417. }
  418. }
  419. .attention-WeChat{
  420. position:fixed;
  421. bottom:0;
  422. width:100%;
  423. height:0;
  424. z-index:50;
  425. //transition:all .3s linear;
  426. color: #ffffff;
  427. text-align: center;
  428. overflow: hidden;
  429. &.cur {
  430. height: 40%;
  431. }
  432. .service-box {
  433. display: flex;
  434. align-content: center;
  435. background: #ffffff;
  436. height: 100%;
  437. font-size: 12px;
  438. .item {
  439. flex: 1;
  440. display: flex;
  441. flex-direction: column;
  442. color: #000;
  443. align-items: center;
  444. justify-content: space-around;
  445. image {
  446. width: 72%;
  447. }
  448. &.phone {
  449. background: #4B8AF2;
  450. color: #ffffff;
  451. &:before {
  452. content: '';
  453. position: absolute;
  454. left: 50%;
  455. top: 50%;
  456. transform: translate(-50%,-50%);
  457. background: #ffffff;
  458. width: 20px;
  459. height: 20px;
  460. border-radius: 100%;
  461. }
  462. .phone-text {
  463. width: 100%;
  464. position: relative;
  465. image {
  466. //width: 72%;
  467. opacity: 0;
  468. }
  469. font-size: 12px;
  470. .phone-warp {
  471. position: absolute;
  472. top: 0;
  473. bottom: 0;
  474. width: 100%;
  475. }
  476. i{
  477. color: #FFFFFF;
  478. font-size: 50px;
  479. }
  480. .phone-num {
  481. font-size: 20px;
  482. }
  483. }
  484. }
  485. }
  486. }
  487. .vmc-popup{
  488. background: none;
  489. }
  490. }
  491. .swiper-adv{
  492. padding:10px 15px;
  493. swiper{
  494. height: 140px;
  495. image{
  496. width: 100%;
  497. vertical-align: middle;
  498. height: 100%;
  499. }
  500. }
  501. }
  502. }