:root {
  --xtx-color: #27ba9b;
  --help-color: #e26237;
  --suc-color: #1dc779;
  --warn-color: #ffb302;
  --price-color: #cf4444;
}
* {
  box-sizing: border-box;
}
html {
  height: 100%;
  font-size: 14px;
}
body {
  height: 100%;
  color: #333;
  min-width: 1240px;
  font: 1em/1.4 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB', 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif;
}
ul,
h1,
h3,
h4,
p,
dl,
dd {
  padding: 0;
  margin: 0;
}
a {
  text-decoration: none;
  color: #333;
  outline: none;
}
i {
  font-style: normal;
}
input[type='text'],
input[type='search'],
input[type='password'],
input[type='checkbox'] {
  padding: 0;
  outline: none;
  border: none;
  -webkit-appearance: none;
  appearance: none;
}
input[type='text']::placeholder,
input[type='search']::placeholder,
input[type='password']::placeholder,
input[type='checkbox']::placeholder {
  color: #ccc;
}
img {
  max-width: 100%;
  max-height: 100%;
  vertical-align: middle;
}
button + button {
  margin-left: 16px;
}
ul {
  list-style: none;
}
#app {
  user-select: none;
}
.container {
  width: 1240px;
  margin: 0 auto;
  position: relative;
}
.ellipsis {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.ellipsis-2 {
  word-break: break-all;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.clearfix:after {
  content: '.';
  display: block;
  visibility: hidden;
  height: 0;
  line-height: 0;
  clear: both;
}
.fade-leave-active {
  position: absolute;
  width: 100%;
  transition: opacity 0.5s 0.2s;
  z-index: 1;
}
.fade-leave-to {
  opacity: 0;
}
.fade-right-enter-from,
.fade-right-leave-to {
  transform: translateX(20px);
  opacity: 0;
}
.fade-right-enter-active,
.fade-right-leave-active {
  transition: all 0.5s;
}
.fade-right-enter-to,
.fade-right-leave-from {
  transform: none;
  opacity: 1;
}
.xtx-form {
  padding: 50px 0;
}
.xtx-form-item {
  display: flex;
  align-items: center;
  width: 700px;
  margin: 0 auto;
  padding-bottom: 25px;
}
.xtx-form-item .label {
  width: 180px;
  padding-right: 10px;
  text-align: right;
  color: #999;
}
.xtx-form-item .label ~ .field {
  margin-left: 0;
}
.xtx-form-item .field {
  width: 320px;
  height: 50px;
  position: relative;
  margin-left: 190px;
}
.xtx-form-item .field .icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  color: #999;
}
.xtx-form-item .field .icon ~ .input {
  padding-left: 40px;
}
.xtx-form-item .field .input {
  border: 1px solid #e4e4e4;
  width: 320px;
  height: 50px;
  line-height: 50px;
  padding: 0 10px;
}
.xtx-form-item .field .input.err {
  border-color: var(--price-color);
}
.xtx-form-item .field .input:focus,
.xtx-form-item .field .input:active {
  border-color: var(--xtx-color);
}
.xtx-form-item .error {
  width: 180px;
  padding-left: 10px;
  color: var(--price-color);
}
.xtx-form .submit {
  width: 320px;
  border-radius: 4px;
  background: var(--xtx-color);
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-size: 16px;
  color: #fff;
  display: block;
  margin: 0 auto;
}
