style.scss 8.8 KB

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