common.scss 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997
  1. // scroll
  2. ::-webkit-scrollbar {
  3. width: .5rem;
  4. height: .5rem;
  5. background: hsla(0, 0%, 100%, 0.6);
  6. }
  7. ::-webkit-scrollbar-track {
  8. border-radius: 0;
  9. }
  10. ::-webkit-scrollbar-thumb {
  11. border-radius: 0;
  12. background-color: rgba(95,95,95,.4);
  13. transition: background-color .15s;
  14. &:hover {
  15. background-color: rgba(95,95,95, .7);
  16. }
  17. }
  18. #cnzz_stat_icon_1267002346 {
  19. display: none;
  20. }
  21. // common style
  22. .clearfix {
  23. &:before, &:after {
  24. display: table;
  25. content: " ";
  26. }
  27. &:after {
  28. clear: both;
  29. }
  30. }
  31. .list-unstyled {
  32. padding-left: 0;
  33. list-style: none;
  34. }
  35. .list-inline li {
  36. display: inline-block;
  37. padding-left: 5px;
  38. padding-right: 5px;
  39. }
  40. .hide {
  41. opacity: 0;
  42. visibility: hidden;
  43. pointer-events: none;
  44. }
  45. .pull-left {
  46. float: left;
  47. }
  48. .pull-right {
  49. float: right;
  50. }
  51. .container {
  52. width: $container-width;
  53. margin: 0 auto;
  54. }
  55. .dl-horizontal dt {
  56. float: left;
  57. width: 160px;
  58. overflow: hidden;
  59. clear: left;
  60. text-align: right;
  61. text-overflow: ellipsis;
  62. white-space: nowrap;
  63. }
  64. .dl-horizontal dd {
  65. display: block;
  66. margin-left: 180px;
  67. &:before, &:after {
  68. display: table;
  69. content: " ";
  70. }
  71. &:after {
  72. clear: both;
  73. }
  74. }
  75. .dropdown {
  76. position: relative;
  77. .dropdown-toggle {
  78. cursor: pointer;
  79. }
  80. .dropdown-menu {
  81. position: absolute;
  82. left: 0;
  83. top: 100%;
  84. min-width: 100%;
  85. display: none;
  86. background-color: $white;
  87. z-index: 100;
  88. }
  89. &:hover {
  90. .dropdown-menu {
  91. display: block;
  92. }
  93. }
  94. }
  95. // button
  96. .btn {
  97. display: inline-block;
  98. height: 36px;
  99. line-height: 1;
  100. padding: 3px 12px;
  101. margin: 0;
  102. border: 1px solid transparent;
  103. text-align: center;
  104. white-space: nowrap;
  105. vertical-align: middle;
  106. -ms-touch-action: manipulation;
  107. touch-action: manipulation;
  108. cursor: pointer;
  109. -webkit-user-select: none;
  110. -moz-user-select: none;
  111. -ms-user-select: none;
  112. &.btn-default {
  113. color: $text;
  114. background-color: $white;
  115. border-color: $dividers;
  116. }
  117. &.btn-primary {
  118. color: $white;
  119. background-color: $primary;
  120. border-color: $primary;
  121. }
  122. }
  123. // form
  124. .form-control {
  125. -webkit-appearance: none;
  126. -moz-appearance: none;
  127. appearance: none;
  128. background-color: $white;
  129. background-image: none;
  130. border: $border;
  131. color: #999;
  132. display: inline-block;
  133. font-size: inherit;
  134. height: 36px;
  135. line-height: 1;
  136. outline: none;
  137. padding: 3px 10px;
  138. width: 100%;
  139. &.input-primary {
  140. border-color: $primary;
  141. }
  142. }
  143. .input-group {
  144. position: relative;
  145. display: inline-table;
  146. width: 100%;
  147. border-collapse: separate;
  148. .form-control, .input-group-btn {
  149. display: table-cell;
  150. }
  151. .input-group-addon, .input-group-btn {
  152. position: relative;
  153. width: 1px;
  154. white-space: nowrap;
  155. vertical-align: middle;
  156. }
  157. .form-control {
  158. position: relative;
  159. z-index: 2;
  160. float: left;
  161. width: 100%;
  162. }
  163. .input-group-btn {
  164. .btn {
  165. position: relative;
  166. }
  167. }
  168. }
  169. // vue animate
  170. .slide-down-enter-active, .slide-down-leave-active {
  171. transition: all .4s cubic-bezier(0, 1.2, 1, 0.5);
  172. opacity: .7;
  173. transform: translate3d(0, 4em, 0);
  174. }
  175. .slide-down-enter, .slide-down-leave-active {
  176. opacity: .3;
  177. transform: translate3d(0, 4em, 0);
  178. }
  179. .slide-left-enter-active, .slide-left-leave-active {
  180. transition: all .2s cubic-bezier(0, 1.2, 1, 0.5);
  181. opacity: .5;
  182. transform: translate3d(2em, 0, 0);
  183. }
  184. .slide-left-enter, .slide-left-leave-active {
  185. opacity: .3;
  186. transform: translate3d(2em, 0, 0);
  187. }
  188. .slide-right-enter-active, .slide-right-leave-active {
  189. transition: all .4s cubic-bezier(0, 1.2, 1, 0.5);
  190. opacity: .5;
  191. transform: translate3d(5em, 0, 0);
  192. }
  193. .slide-right-enter, .slide-right-leave-active {
  194. opacity: .3;
  195. transform: translate3d(5em, 0, 0);
  196. }
  197. .fade-enter-active, .fade-leave-active {
  198. transition: opacity .25s
  199. }
  200. .fade-enter, .fade-leave-active {
  201. opacity: 0
  202. }
  203. .fade-move {
  204. transition: transform .25s;
  205. }
  206. .page-enter-active, .page-leave-active {
  207. transition: opacity .25s
  208. }
  209. .page-enter, .page-leave-active {
  210. opacity: 0
  211. }
  212. .module-enter-active, .module-leave-active {
  213. transition: opacity .25s
  214. }
  215. .module-enter, .module-leave-active {
  216. opacity: 0
  217. }
  218. .aside-enter-active {
  219. transition: opacity .25s cubic-bezier(1, -1.17, 1, -1.17);
  220. }
  221. .aside-leave-active {
  222. transition: opacity 0s
  223. }
  224. .aside-enter, .aside-leave-active {
  225. opacity: 0
  226. }
  227. a {
  228. color: #2d8cf0;
  229. background: 0 0;
  230. text-decoration: none;
  231. outline: 0;
  232. cursor: pointer;
  233. transition: color .2s ease;
  234. }
  235. .select-adder {
  236. background:url("../../static/images/all/xiala.png") right no-repeat #fff !important;
  237. background-position-x: 100% !important;
  238. /*将默认的select选择框样式清除*/
  239. appearance:none;
  240. -moz-appearance:none;
  241. -webkit-appearance:none;
  242. -ms-appearance:none;
  243. }
  244. .select-adder::-ms-expand {
  245. display: none;
  246. }
  247. //按钮不可点击状态
  248. .el-button.is-disabled, .el-button.is-disabled:focus, .el-button.is-disabled:hover {
  249. color: #bfcbd9 !important ;
  250. cursor: not-allowed !important ;
  251. background-image: none !important ;
  252. background-color: #eef1f6 !important ;
  253. border-color: #d1dbe5 !important ;
  254. }
  255. //每项最后一步按钮不可点击状态
  256. .el-button.finish.is-disabled, .el-button.finish.is-disabled:focus, .el-button.finish.is-disabled:hover {
  257. color: #fff !important;
  258. background-color: #0076AD !important;
  259. border: none !important;
  260. opacity: .7;
  261. cursor: not-allowed !important;
  262. }
  263. //隐藏加载数据状态
  264. .el-input__icon{
  265. display: none;
  266. }
  267. //表单样式
  268. form .el-form-item {
  269. margin: 0 auto 16px;
  270. width: 360px;
  271. }
  272. form .el-form-item:last-child {
  273. margin: -8px auto 0!important;
  274. }
  275. form .el-form-item .el-form-item__content {
  276. margin-left: 0 !important;
  277. }
  278. form .el-form-item .el-form-item__content .el-input__inner{
  279. width: 360px;
  280. height: 44px;
  281. line-height: 44px;
  282. font-size: 14px;
  283. color: #000;
  284. border-radius: 0;
  285. }
  286. form .el-form-item .el-form-item__content .msg{
  287. float: left;
  288. width: 210px;
  289. }
  290. form .el-form-item .el-form-item__content .msg .el-input__inner{
  291. width: 210px;
  292. }
  293. form .el-form-item .el-form-item__content .code{
  294. float: right;
  295. width: 130px;
  296. height: 44px;
  297. font-size: 14px;
  298. color: #5a5a5a;
  299. background: #f4f4f4;
  300. border: 1px solid #dcdcdc;
  301. border-radius: 0;
  302. cursor: pointer;
  303. }
  304. form .el-form-item .el-form-item__content .el-form-item__error {
  305. position: absolute;
  306. top: 15px;
  307. left: 380px;
  308. padding-top: 0;
  309. width: 100%;
  310. text-align: left;
  311. }
  312. form .el-form-item .el-form-item__content .finish{
  313. display: inline-block;
  314. margin-top: 34px;
  315. width: 360px;
  316. height: 44px;
  317. line-height: 44px;
  318. font-size: 16px;
  319. color: #fff;
  320. background: #0076AD;
  321. border-radius: 3px;
  322. border: none;
  323. }
  324. form .el-form-item .el-form-item__content .el-checkbox{
  325. float: left;
  326. margin-left: 50px;
  327. }
  328. form .el-form-item .el-form-item__content .el-checkbox .el-checkbox__inner{
  329. width: 16px;
  330. height: 16px;
  331. border: 1px solid #ccc;
  332. border-radius: 0;
  333. }
  334. form .el-form-item .el-form-item__content .el-textarea .el-textarea__inner{
  335. width: 360px;
  336. height: 120px;
  337. border-radius: 0;
  338. }
  339. //我同意按钮
  340. .el-checkbox__input.is-checked .el-checkbox__inner{
  341. background: transparent !important;
  342. border-color: #bfbfbf !important;
  343. }
  344. .el-checkbox__input.is-focus .el-checkbox__inner{
  345. border-color: #bfbfbf !important;
  346. }
  347. .el-checkbox__inner{
  348. border-color: #bfbfbf !important;
  349. }
  350. .el-checkbox__inner::after{
  351. border: 2px solid #0076AD !important;
  352. border-top: 0 !important;
  353. border-left: 0 !important;
  354. }
  355. form .text-position .el-form-item__content{
  356. line-height: 20px;
  357. }
  358. form .text-position .el-form-item__content .el-checkbox .el-checkbox__inner{
  359. margin-top: -1px;
  360. width: 14px;
  361. height: 14px;
  362. border: 1px solid #ccc;
  363. }
  364. form .text-position .el-form-item__content .el-checkbox .el-checkbox__label{
  365. padding-left: 8px;
  366. font-size: 12px;
  367. color: #606266;
  368. }
  369. form .text-position .el-form-item__content .el-checkbox .el-checkbox__input.is-checked+.el-checkbox__label {
  370. color: #2d8cf0;
  371. }
  372. form .text-position .el-checkbox__input.is-checked .el-checkbox__inner{
  373. background-color: #5078cb!important;
  374. border-color: transparent!important;
  375. }
  376. form .text-position .el-checkbox__inner::after {
  377. border: 2px solid #fff !important;
  378. border-top: 0 !important;
  379. border-left: 0 !important;
  380. }
  381. form .captcha{
  382. overflow: hidden;
  383. }
  384. form .code-input{
  385. float: left;
  386. width: 200px !important;
  387. }
  388. form .code-input .el-input__inner{
  389. width: 200px !important;
  390. }
  391. form img.code-img{
  392. margin: 5px;
  393. float: left;
  394. height: 30px;
  395. width: 108px;
  396. }
  397. form a.code-click{
  398. float: right;
  399. display: inline-block;
  400. margin-top: 5px;
  401. width: 40px;
  402. line-height: 15px;
  403. text-align: right;
  404. font-size: 12px;
  405. color: #666;
  406. vertical-align: middle;
  407. cursor: pointer;
  408. }
  409. form a.code-click:hover{
  410. color: #5078cb;
  411. text-decoration: none;
  412. outline: 0;
  413. }
  414. //登录页面样式
  415. //错误提示框变红隐藏
  416. .login-form .el-form-item.is-error .el-input__inner, .login-form .el-form-item.is-error .el-input__inner:focus, .login-form .el-form-item.is-error .el-textarea__inner, .login-form .el-form-item.is-error .el-textarea__inner:focus, .login-form .el-message-box__input input.invalid, .login-form .el-message-box__input input.invalid:focus {
  417. border-color: #ccc!important;
  418. }
  419. .login-form .el-input__inner{
  420. padding-left: 30px !important;
  421. width: 306px !important;
  422. height: 34px !important;
  423. line-height: 34px !important;
  424. }
  425. .login-form .el-form-item{
  426. position: relative;
  427. width: 306px !important;
  428. }
  429. .login-form .el-form-item i.fa{
  430. position: absolute;
  431. top: 4px;
  432. left: 0;
  433. z-index: 2;
  434. display: block;
  435. width: 30px;
  436. height: 34px;
  437. line-height: 34px;
  438. text-align: center;
  439. pointer-events: none;
  440. color: #999;
  441. font-size: 18px;
  442. }
  443. .login-form .captcha{
  444. overflow: hidden;
  445. }
  446. .login-form .code-input{
  447. float: left;
  448. width: 150px !important;
  449. }
  450. .login-form .code-input .el-input__inner{
  451. padding: 0 !important;
  452. height: 34px !important;
  453. line-height: 34px !important;
  454. width: 150px !important;
  455. }
  456. .login-form img.code-img{
  457. margin-top: 5px;
  458. float: left;
  459. height: 30px;
  460. width: 108px;
  461. }
  462. .login-form a.code-click{
  463. float: right;
  464. display: inline-block;
  465. margin-top: 5px;
  466. width: 45px;
  467. line-height: 15px;
  468. text-align: right;
  469. font-size: 12px;
  470. color: #666;
  471. vertical-align: middle;
  472. cursor: pointer;
  473. }
  474. .login-form a.code-click:hover{
  475. color: #5078cb;
  476. text-decoration: none;
  477. outline: 0;
  478. }
  479. .login-form .el-form-item a.forget{
  480. color: #5078cb;
  481. font-size: 12px;
  482. }
  483. .login-form .el-form-item.text-right{
  484. }
  485. .login-form .text-right .el-form-item__content{
  486. height: 20px;
  487. line-height: 16px;
  488. }
  489. .login-form .el-form-item .login{
  490. width: 306px;
  491. height: 34px;
  492. line-height: 30px;
  493. }
  494. //短信便捷登录
  495. .loginForm .el-input__inner{
  496. padding-left: 12px !important;
  497. }
  498. .login-form .fastMsg .el-button.fastCode{
  499. position: absolute;
  500. top: 2px;
  501. right: 0;
  502. padding: 0;
  503. width: 93px;
  504. height: 34px;
  505. font-size: 12px;
  506. text-align: center;
  507. border: none;
  508. color: #fff;
  509. background: #5078cb;
  510. }
  511. .login-form .fastMsg .el-button.code-send{
  512. background: #cccccc;
  513. }
  514. //个人注册错误框颜色
  515. form .el-form-item .el-form-item__content div.active .el-input__inner{
  516. border-color: #f56c6c !important;
  517. }
  518. //个人注册正确框颜色
  519. form .el-form-item .el-form-item__content div.correct .el-input__inner{
  520. border-color: #67c23a !important;
  521. }
  522. //登录选择企业弹出框
  523. .dialog .el-dialog__header{
  524. display: none;
  525. }
  526. .dialog .el-dialog__body{
  527. padding: 0;
  528. }
  529. //企业认证
  530. form .el-form-item.padding55 .el-form-item__content .el-input__inner{
  531. //padding-left: 55px;
  532. }
  533. form .el-form-item.padding45 .el-form-item__content .el-input__inner{
  534. padding-left: 45px;
  535. border: 1px solid #dcdfe6;
  536. }
  537. //上传图片
  538. .x-btn-blank{
  539. position: relative;
  540. display: inline-block;
  541. width: 360px;
  542. height: 44px;
  543. text-align: left;
  544. border: 1px solid #dcdcdc;
  545. overflow: hidden;
  546. cursor: pointer;
  547. }
  548. .x-btn-blank span.upload {
  549. margin-left: 50px;
  550. line-height: 44px;
  551. font-size: 14px;
  552. color: #c9c9c9;
  553. }
  554. .x-btn-blank input[type='file']{
  555. position: absolute;
  556. top: 0;
  557. left: 0;
  558. width: 360px;
  559. height: 44px;
  560. opacity: 0;
  561. border: none;
  562. }
  563. .x-btn-blank:hover, .x-btn-blank[disabled] {
  564. border-color: #c0c4cc;
  565. background: #e6e6e6;
  566. color: #333;
  567. }
  568. .x-btn-blank:hover span.upload{
  569. color: #000;
  570. }
  571. form .el-form-item.padding55 .el-form-item__content{
  572. text-align: left;
  573. line-height: 1;
  574. }
  575. form .el-form-item.padding55 a.thumbnail {
  576. margin-bottom: 0;
  577. width: 120px;
  578. line-height: 70px;
  579. border-radius: 0;
  580. }
  581. form .el-form-item.padding55 a.thumbnail:hover{
  582. border: 1px solid #ddd;
  583. }
  584. form .el-form-item.padding55 img.previewImg {
  585. max-width: 120px;
  586. max-height: 70px;
  587. }
  588. //地址选择
  589. .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
  590. background-color: transparent;
  591. }
  592. .x-union-menu {
  593. width: 600px;
  594. }
  595. .x-form .dropdown-menu {
  596. left: 15px;
  597. margin-top: -1px;
  598. border-color: #e4ecf3;
  599. border-radius: 0;
  600. padding: 0;
  601. }
  602. .x-union-header>div {
  603. background: #f5f8fa;
  604. font-weight: 700;
  605. border-bottom: 1px solid #e4ecf3;
  606. }
  607. .x-union-header{
  608. overflow: hidden;
  609. height: 28px;
  610. line-height: 28px;
  611. background: #f5f8fa;
  612. }
  613. .x-union-header>div:last-child {
  614. border-right-width: 0;
  615. }
  616. .x-union-menu .x-item-ext {
  617. float: left;
  618. width: 235px;
  619. }
  620. .x-union-header>div, .x-union-list>ul {
  621. float: left;
  622. width: 121px;
  623. border-right: 1px solid #e4ecf3;
  624. }
  625. .x-union-list>ul {
  626. height: 200px;
  627. margin: 0;
  628. overflow-y: auto;
  629. }
  630. .x-union-list .x-item-ext {
  631. padding: 10px;
  632. }
  633. .x-union-header>div, .x-union-list>ul>li {
  634. padding: 2px 10px;
  635. cursor: pointer;
  636. font-size: 14px;
  637. color: #505050;
  638. height: 28px;
  639. line-height: 28px;
  640. }
  641. .x-union-list>ul>li:hover, .x-union-list>ul>li.active {
  642. background: #fee9c7;
  643. }
  644. .x-input, .x-input-blank {
  645. border-color: #ccc;
  646. border-radius: 0;
  647. box-shadow: none;
  648. }
  649. .text-right a.register-btn {
  650. display: inline-block;
  651. border-radius: 0;
  652. width: 45px;
  653. height: 30px;
  654. line-height: 30px;
  655. text-align: center;
  656. font-size: 14px;
  657. }
  658. .text-right a.register-btn:first-child{
  659. margin-right: 10px;
  660. background: #5078cb;
  661. color: #fff;
  662. }
  663. .text-right a.register-btn:last-child{
  664. background: #e6e6e6;
  665. color: #333;
  666. }
  667. #street {
  668. width: 200px !important;
  669. height: 94px !important;
  670. font-size: 14px;
  671. color: #555;
  672. }
  673. form .el-form-item.padding45 .el-form-item__content input.active{
  674. border-color: #f56c6c !important;
  675. }
  676. form .el-form-item.padding45 .el-form-item__content input.correct{
  677. border-color: #67c23a !important;
  678. }
  679. form .el-form-item.padding55 .el-form-item__content a.active{
  680. border-color: #f56c6c !important;
  681. }
  682. form .el-form-item.padding55 .el-form-item__content a.correct {
  683. border-color: #67c23a !important;
  684. }
  685. //密保问题
  686. form .questions .el-form-item__content{
  687. text-align: left;
  688. }
  689. form .questions .el-form-item__content span.question {
  690. font-size: 14px;
  691. color: #000;
  692. }
  693. //未设置邮箱弹出框
  694. .valid-phone .el-dialog {
  695. position: absolute;
  696. width: 300px;
  697. height: 150px;
  698. margin: 0 auto;
  699. left: 50%;
  700. top: 50%;
  701. margin-left: -150px;
  702. margin-top: -75px !important;
  703. }
  704. .valid-phone .el-dialog .el-dialog__header {
  705. display: none;
  706. }
  707. .valid-phone .el-dialog .el-dialog__body .set-tip{
  708. width: 100%;
  709. height: 100%;
  710. }
  711. .valid-phone .el-dialog .el-dialog__body .set-tip p{
  712. margin-top: 10px;
  713. margin-bottom: 30px;
  714. font-size: 14px;
  715. color: #000;
  716. }
  717. .valid-phone .el-dialog .el-dialog__body .set-tip a{
  718. display: inline-block;
  719. width: 60px;
  720. height: 30px;
  721. line-height: 30px;
  722. text-align: center;
  723. font-size: 14px;
  724. color: #fff;
  725. background: #00a0e9;
  726. border-radius: 3px;
  727. }
  728. // 模态框样式处理
  729. .center .el-dialog__wrapper{
  730. z-index:10000;
  731. }
  732. .center .el-dialog__body{
  733. text-align: center!important;
  734. border-top:1px solid #d2d2d2!important;
  735. }
  736. .center .el-dialog__footer{
  737. text-align: center!important;
  738. padding: 60px 15px 40px;
  739. }
  740. .center .el-dialog__footer .el-button{
  741. width:180px;
  742. height:30px;
  743. line-height: 30px;
  744. text-align: center;
  745. padding:0;
  746. border-radius:15px;
  747. }
  748. //查看大图
  749. #image-box .x-floating-wrap,.image-box .x-floating-wrap {
  750. position: fixed;
  751. z-index: 99998;
  752. background: #000;
  753. top: 0;
  754. left: 0;
  755. width: 100%;
  756. height: 100%;
  757. opacity: 0.5;
  758. }
  759. #image-box,.image-box{
  760. display:table; overflow:hidden; margin-left:50px; _position:relative; width: 1200px;height: 700px;
  761. position: fixed;
  762. top: 50%;
  763. margin-top: -350px;
  764. left: 50%;
  765. margin-left: -600px;
  766. z-index: 2020;
  767. }
  768. #image-box .x-floating,.image-box .x-floating {
  769. vertical-align:middle !important;
  770. display:table-cell;
  771. text-align:center;
  772. _position:absolute;
  773. _top:50%; _left:50%;
  774. top: inherit !important;
  775. left: inherit !important;
  776. }
  777. #image-box .x-floating img ,.image-box .x-floating img {
  778. margin: auto auto;
  779. max-width: 970px !important;
  780. max-height: 600px !important;
  781. -webkit-user-select: none;
  782. -moz-user-select: none;
  783. -ms-user-select: none;
  784. user-select: none;
  785. }
  786. #image-box .x-floating-wrap,.image-box .x-floating-wrap{
  787. z-index: 1000000 !important;
  788. }
  789. #item-content{
  790. color:#fff; display:inline-block; _position:relative; _top:-50%; _left:-50%;
  791. position: relative;
  792. z-index: 10000000;
  793. }
  794. #item-content div.x-close-wrap{
  795. position: absolute;
  796. right: -15px;
  797. line-height: 30px;
  798. top: -13px;
  799. color: #fff;
  800. width: 35px;
  801. height: 35px;
  802. background: rgba(0, 0, 0, 0.5);
  803. border-radius: 100%;
  804. opacity: 1;
  805. margin: 0;
  806. z-index: 100000;
  807. min-height: initial;
  808. text-align: center;
  809. }
  810. #item-content div.x-close-wrap a{
  811. position: relative;
  812. left: 0;
  813. bottom: 0;
  814. font-size: 34px;
  815. color: #fff;
  816. }
  817. #item-content div.x-close-wrap a:hover{
  818. color: #fff !important;
  819. }
  820. #item-content div.x-close-wrap:hover{
  821. cursor: pointer;
  822. opacity: .9;
  823. }
  824. #item-content div.x-close-wrap img{
  825. width: 30px !important;
  826. height: 30px !important;
  827. }
  828. #item-content .img{
  829. position: relative;
  830. z-index: 10;
  831. }
  832. //ie9及以下提示框
  833. .com-result{
  834. display: none;
  835. position: relative;
  836. height: 30px;
  837. width: 100%;
  838. line-height: 30px;
  839. text-align: center;
  840. background: #fef6f2;
  841. border: 1px solid #ec854d;
  842. overflow: hidden ;
  843. }
  844. .com-result .text{
  845. width: 100%;
  846. text-align: center;
  847. font-size: 14px;
  848. color: #f15601;
  849. }
  850. .com-result .text em{
  851. margin-right: 3px;
  852. font-style: normal;
  853. }
  854. .com-result .text a {
  855. color: #5078cb;
  856. }
  857. .com-result .close-tip{
  858. position: absolute;
  859. right: 0;
  860. padding-right: 10px;
  861. font-size: 20px;
  862. font-weight: bold;
  863. color: #ef1d1d;
  864. line-height: 28px;
  865. }
  866. .clear-float {
  867. clear: both;
  868. }
  869. //微信扫码登录
  870. .bind-body {
  871. .login-form {
  872. margin-top: 15px;
  873. .el-input__inner{
  874. padding-left: 15px !important;
  875. }
  876. }
  877. }
  878. //登录
  879. .x-login form .el-form-item .el-form-item__content .el-input__inner{
  880. background-color: #f5f5f5;
  881. border-radius: 4px;
  882. }
  883. .code-input2 {
  884. width: 92px !important;
  885. }
  886. //sass注册
  887. .go-register {
  888. background: #fff !important;
  889. .container{
  890. width: 425px !important ;
  891. background: #FFFFFF;
  892. box-shadow: 0 22px 24px 0 rgba(0,0,0,0.08);
  893. border-radius: 3px;
  894. .content {
  895. padding: 0 !important ;
  896. margin: 0!important ;
  897. .content-top {
  898. height: 50px !important ;
  899. line-height: 50px !important ;
  900. h3{
  901. margin: 0!important ;
  902. padding: 0!important ;
  903. }
  904. }
  905. form {
  906. padding-bottom: 0!important;
  907. .el-form-item{
  908. .el-form-item__content {
  909. .el-form-item__error {
  910. margin-top: 10px!important ;
  911. position: absolute!important ;
  912. top: 44px!important ;
  913. left: 0!important ;
  914. }
  915. .el-checkbox {
  916. margin-left: 0 !important;
  917. }
  918. }
  919. &.mobile{
  920. margin-bottom: 36px!important ;
  921. }
  922. .btn.finish {
  923. margin-top: 0!important;
  924. }
  925. }
  926. }
  927. }
  928. .login{
  929. margin: 20px 0 !important ;
  930. }
  931. }
  932. }
  933. .go-register form .el-form-item.agree .el-form-item__content{
  934. margin-top: 18px!important ;
  935. }