style.scss 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442
  1. $theme-color: #1fe4dc;
  2. $border-color: #e7e7e7;
  3. $info-width: 100px;
  4. $info-w: 60px;
  5. input {
  6. appearance: none;
  7. line-height: 36px;
  8. height: 36px;
  9. border: solid 1px $border-color;
  10. padding-left: 10px;
  11. }
  12. .btn {
  13. text-align: center;
  14. cursor: pointer;
  15. }
  16. .parmary {
  17. background-color: $theme-color;
  18. width: 126px;
  19. height: 36px;
  20. line-height: 36px;
  21. margin-top: 20px;
  22. }
  23. .choose {
  24. background-color: #ddd;
  25. color: #fff;
  26. width: 100px;
  27. line-height: 26px;
  28. height: 26px;
  29. font-size: 12px;
  30. margin: 12px 0 20px;
  31. }
  32. .el-upload {
  33. position: absolute;
  34. top: 0;
  35. left: 0;
  36. opacity: 0;
  37. line-height: 1;
  38. cursor: pointer;
  39. height: 100%;
  40. z-index: 10;
  41. width: 100%;
  42. padding: 0;
  43. margin: 0;
  44. font-size: 0;
  45. display: inline-block;
  46. }
  47. .cancel{
  48. background: #e7e7e7!important;
  49. margin-left: 5px;
  50. }
  51. .information-layout{
  52. $theme-color: #1fe4dc;
  53. .top-con{
  54. position: relative;
  55. width: 100%;
  56. img{
  57. width: 120%;
  58. }
  59. .tc{
  60. color: #fff;
  61. width: 92%;
  62. position: absolute;
  63. top: 50%;
  64. left: 50%;
  65. display: flex;
  66. justify-content: space-between;
  67. align-items: center;
  68. transform: translate(-50%,-50%);
  69. color: 12px;
  70. p{
  71. font-size: 12px;
  72. word-break: break-all;
  73. margin-bottom: 2px;
  74. }
  75. .child-name{
  76. display: inline-block;
  77. position: relative;
  78. cursor: pointer;
  79. ul{
  80. background-color: #fff;
  81. position: absolute;
  82. width: calc(100% + 32px);
  83. top: 22px;
  84. left: -5px;
  85. color: #969696;
  86. max-height: 0;
  87. overflow: hidden;
  88. transition:all 0.3s ease;
  89. border-radius: 4px;
  90. box-shadow: 0 0 5px rgba(0, 0, 0, 0.65);
  91. li{
  92. line-height: 28px;
  93. padding: 0 5px;
  94. }
  95. }
  96. }
  97. .tab-active{
  98. ul{
  99. max-height: 120px;
  100. overflow: auto;
  101. }
  102. }
  103. .sanjiao{
  104. display: inline-block;
  105. position: relative;
  106. &::before{
  107. content: '';
  108. border: 6px solid transparent;
  109. border-top-color: #cfcfcf;
  110. border-left-width: 4px;
  111. border-right-width: 4px;
  112. position: absolute;
  113. right: -16px;
  114. top: 4px;
  115. z-index: 1;
  116. }
  117. }
  118. .capacity{
  119. .c-line{
  120. width: 100%;
  121. height: 6px;
  122. border-radius: 5px;
  123. background-color: #ccc;
  124. overflow: hidden;
  125. font-size: 12px;
  126. margin: 5px 0;
  127. .active{
  128. background-color: $theme-color;
  129. height: 100%;
  130. }
  131. }
  132. .c-dec{
  133. padding-top: 4px;
  134. font-size: 12px;
  135. }
  136. .c-detail{
  137. font-size: 10px;
  138. }
  139. }
  140. .btn{
  141. background: $theme-color;
  142. color: #000000;
  143. display: inline-block;
  144. min-width: 85px;
  145. text-align: center;
  146. height: 25px;
  147. line-height: 25px;
  148. border-radius: 6px;
  149. font-weight: bold;
  150. flex-shrink: 0;
  151. margin-left: 10px;
  152. padding: 0 5px;
  153. }
  154. }
  155. }
  156. .info {
  157. p {
  158. line-height: 1;
  159. margin: 15px 0;
  160. span {
  161. padding-right: 10px;
  162. }
  163. }
  164. .p-desc {
  165. color: #a0a0a0;
  166. line-height: 24px;
  167. }
  168. .card-img{
  169. font-size: 0;
  170. display: inline-block;
  171. cursor: pointer;
  172. background-position: center;
  173. background-size: auto 100%;
  174. }
  175. .avatar {
  176. width: 90px;
  177. height: 90px;
  178. box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
  179. margin: 0;
  180. background-size: cover;
  181. background-repeat: no-repeat;
  182. }
  183. .nickname {
  184. width: 250px;
  185. }
  186. }
  187. .info{
  188. .s-tx{
  189. position: relative;
  190. &>p{
  191. position: absolute;
  192. left: 0;
  193. top: 0;
  194. margin: 0;
  195. }
  196. .avatar{
  197. margin-left: $info-w;
  198. }
  199. }
  200. p{
  201. span{
  202. display: inline-block;
  203. &:first-of-type{
  204. width: $info-w;
  205. }
  206. }
  207. }
  208. }
  209. .info-en{
  210. .s-tx{
  211. .avatar{
  212. margin-left: $info-width;
  213. }
  214. }
  215. p{
  216. span{
  217. &:first-of-type{
  218. width: $info-width;
  219. }
  220. }
  221. }
  222. }
  223. .edit-info {
  224. display: flex;
  225. .info-left {
  226. &>p{
  227. margin: 10px 0;
  228. display: flex;
  229. align-items: center;
  230. >span{
  231. &:first-of-type{
  232. flex-shrink: 0;
  233. }
  234. }
  235. .ant-input{
  236. width: 70%;
  237. }
  238. }
  239. min-width: 210px;
  240. .i-tx{
  241. position: relative;
  242. &>p{
  243. position: absolute;
  244. left: 0;
  245. top: 0;
  246. margin: 0;
  247. }
  248. .itx-con{
  249. display: flex;
  250. margin-left: $info-w;
  251. font-size: 14px;
  252. .avatar{
  253. flex-shrink: 0;
  254. }
  255. .it-right{
  256. margin-left: 20px;
  257. .user-upload{
  258. margin-bottom: 10px;
  259. p{
  260. line-height: 17px;
  261. width: 180px;
  262. font-size: 12px;
  263. color: #898A8E;
  264. padding: 8px 0;
  265. }
  266. .ant-btn{
  267. height: 24px;
  268. line-height: 24px;
  269. position: relative;
  270. background: #EDEFF2;
  271. color: #000000;
  272. letter-spacing: 0.8px;
  273. border: none;
  274. span{
  275. pointer-events: none;
  276. }
  277. }
  278. }
  279. p{
  280. line-height: 1.6;
  281. margin: 0;
  282. font-size: 12px;
  283. }
  284. }
  285. }
  286. }
  287. }
  288. .choose {
  289. cursor: pointer;
  290. position: relative;
  291. span {
  292. cursor: pointer;
  293. }
  294. }
  295. }
  296. .edit-en{
  297. .info-left {
  298. .i-tx{
  299. .itx-con{
  300. margin-left: $info-width;
  301. }
  302. }
  303. }
  304. }
  305. .address-con{
  306. background: #fff;
  307. .sub-title{
  308. font-size: 14px;
  309. line-height: 21px;
  310. font-weight: 700;
  311. padding: 13px 16px;
  312. border-bottom: 1px solid #e9e9e9;
  313. display: flex;
  314. justify-content: space-between;
  315. align-items: center;
  316. }
  317. .address-scon{
  318. padding: 16px;
  319. }
  320. .address-input-con{
  321. padding: 16px;
  322. font-size: 12px;
  323. line-height: 1.5;
  324. margin-bottom: 10px;
  325. color: rgba(0, 0, 0, 0.65);
  326. .address-input-item{
  327. display: flex;
  328. margin-bottom:8px;
  329. .address-sub{
  330. width: 100%;
  331. .top-title{
  332. overflow: hidden;
  333. text-overflow: ellipsis;
  334. white-space: nowrap;
  335. color: rgba(0, 0, 0, 0.85);
  336. padding: 0 0 8px;
  337. margin: 0;
  338. display: block;
  339. text-align: left;
  340. line-height: 1.5;
  341. &::before{
  342. display: inline-block;
  343. margin-right: 4px;
  344. content: "*";
  345. font-family: SimSun;
  346. line-height: 1;
  347. font-size: 12px;
  348. color: #f04134;
  349. }
  350. }
  351. }
  352. .address-name,.prov-name{
  353. width: 33.33%;
  354. padding-right:4px;
  355. flex-shrink: 0;
  356. }
  357. .prov-name{
  358. width: 50%;
  359. }
  360. .address-phone,.city-name{
  361. flex: auto;
  362. }
  363. }
  364. .p-dec{
  365. line-height:32px;
  366. margin-bottom: 8px;
  367. }
  368. }
  369. .address-show,.invoice-show{
  370. display: flex;
  371. align-items: center;
  372. justify-content: space-between;
  373. padding: 18px 16px;
  374. margin-bottom: 10px;
  375. position: relative;
  376. .add-info{
  377. max-width: calc(100% - 40px);
  378. .show-name{
  379. font-size: 14px;
  380. color: #000000;
  381. line-height: 20px;
  382. margin-bottom: 8px;
  383. display: flex;
  384. justify-content: space-between;
  385. span{
  386. overflow-wrap: break-word;
  387. width: 100%;
  388. flex: 1;
  389. }
  390. }
  391. .show-address{
  392. font-size: 10px;
  393. color: #898A8E;
  394. line-height: 15px;
  395. overflow-wrap: break-word;
  396. width: 100%;
  397. }
  398. }
  399. .add-edit{
  400. position: absolute;
  401. top: 20px;
  402. right: 20px;
  403. img{
  404. width: 20px;
  405. }
  406. }
  407. }
  408. }
  409. }
  410. .check-con .check-box .checkbox-inner-checked::after{
  411. border-color: #000;
  412. top: 37%;
  413. left: 13%;
  414. width: 4px;
  415. height: 8px;
  416. }
  417. .ant-btn{
  418. display: block;
  419. width: 65px;
  420. position: relative;
  421. span{
  422. display: inline-block;
  423. position: absolute;
  424. left: 50%;
  425. height: auto;
  426. top: 50%;
  427. transform: translate(-50%,-50%);
  428. }
  429. }