html {
  -webkit-text-size-adjust: none;
  box-sizing: border-box;

  /* 兼容不支持vw浏览器的默认值 */
  font-size: 50px;
  /* (base/uiWidth)*100vw = (100/750)*100vw，之后使用rem单位时：设计稿100px-1rem，32px-0.32rem。这里设计稿总宽度为750px */
  font-size: 13.33vw;
}
@media (max-width: 320px) {
  html {
    font-size: 42px;
  }
}
@media (min-width: 640px) {
  html {
    font-size: 85px;
  }
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
body {
  font-family: -apple-system,BlinkMacSystemFont,'Helvetica Neue',Helvetica,Segoe UI,Arial,Roboto,'PingFang SC','Hiragino Sans GB','Microsoft Yahei',sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  font-size: 14px;
  background-color: #fff;
  max-width: 640px;
  margin: 0 auto!important;
}
body, p, h1, h2, h3, h4, h5, h6, ul, li {
  margin: 0;
  padding: 0;
}
a {
  color: #1890ff;
  text-decoration: none;
}
.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

.d-flex {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: -webkit-wrap;
  flex-wrap: wrap;
}
.flex-column {
  -webkit-box-orient: vertical;
  -ms-flex-direction: column;
  -webkit-flex-direction: column;
  flex-direction: column;
}
.justify-sb {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
.justify-center {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}
.align-items-center {
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}
.flex-1 {
  width: 0;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  -webkit-flex: 1;
  flex: 1;
  overflow: hidden;
}

.color1 {
  color: #1890ff;
}
.weui-btn_primary {
  background-color: #1890ff;
}
.weui-btn_primary:not(.weui-btn_disabled):active {
  background-color: #3ea2ff
}
.weui-btn {
  font-weight: normal;
}
.weui-cells_checkbox .weui-check:checked+.weui-icon-checked, .weui-cells_checkbox .weui-check[aria-checked=true]+.weui-icon-checked {
  color: #1890ff;
}
.t-center {
  text-align: center;
}

.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
}

.page-nav {
  padding: .1rem .24rem;
  font-size: .28rem;
}
.page-nav .weui-btn_cell, .page-nav .weui-btn {
  font-size: .28rem;
}
.page-back {
  font-size: .28rem;
  color: #222;
}
.page-back img {
  width: .24rem;
  height: .24rem;
}
.page-back img, .page-back span, .page-nav-action img, .page-nav-action span {
  vertical-align: middle;
}
.page-nav-action img {
  width: .28rem;
  height: .28rem;
}


.vertical-line-title {
  font-size: .32rem;
  color: #333;
  vertical-align: middle;
  margin-bottom: .34rem;
}
.vertical-line-title::before {
  content: '';
  display: inline-block;
  height: .9em;
  width: 3px;
  background-color: #1890ff;
  margin-right: 5px;
  vertical-align: middle;
  transform: translateY(-1px);
}
.dot-p-box {
  padding: .12rem;
  background-color: #fbfdff;
  border: 1px solid #bee0ff;
  border-radius: 2px;
}
.dot-p {
  font-size: .24rem;
  color: #444;
  margin-bottom: 1px;
}
.dot-p::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  margin-right: 3px;
  width: 3px;
  height: 3px;
  background-color: #bee0ff;
}

.form-line {
  color: #666;
  font-size: .28rem;
  margin-bottom: .3rem;
}
.form-line-label {
  width: 1.7rem;
  text-align: right;
}
.form-input, .form-multi-select, .form-select {
  height: .68rem;
  line-height: normal;
  padding: 0 .12rem;
  font-size: .28rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  outline: none;
}
.form-multi-select {
  position: relative;
  padding: 3px .12rem;
  white-space: nowrap;
  overflow: hidden;
}
.form-multi-select::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 100%;
  background: #fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEVHcEzb29vb29vb29vc3Nzb29uYyWUBAAAABXRSTlMAVdl/bSdEj0IAAABnSURBVDjLY2AYCYBZNRQJBDnAJVhDUUAAXIIJVUIBLsGIKiGAsEQUWTwQyXZGHBpQtASiOJgRhwYkLYFofmTEoQGuJRAjWBhxaIBqCcQSkow4NIC1BGINfEYcGhgYhBQZRsEoIAUAAE0+MhJvDoxZAAAAAElFTkSuQmCC) center 60% no-repeat;
  background-size: 12px auto;
}
.form-select {
  appearance:none;
  -moz-appearance:none;
  -webkit-appearance:none;
  padding-right: 14px;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEVHcEzb29vb29vb29vc3Nzb29uYyWUBAAAABXRSTlMAVdl/bSdEj0IAAABnSURBVDjLY2AYCYBZNRQJBDnAJVhDUUAAXIIJVUIBLsGIKiGAsEQUWTwQyXZGHBpQtASiOJgRhwYkLYFofmTEoQGuJRAjWBhxaIBqCcQSkow4NIC1BGINfEYcGhgYhBQZRsEoIAUAAE0+MhJvDoxZAAAAAElFTkSuQmCC") no-repeat scroll 97% center transparent;
  background-size: 12px auto;
}
.form-selected-placeholder {
  opacity: .6;
  vertical-align: middle;
  display: inline-block;
  transform: translateY(1px);
}
.form-selected-block {
  display: inline-block;
  height: 100%;
  padding: 0 .12rem;
  margin-right: .05rem;
  background-color: #eee;
  border-radius: 3px;
}
.form-selected-block span {
  vertical-align: middle;
  display: inline-block;
}
.form-selected-clear {
  width: .3rem;
  height: .3rem;
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEVHcEwzMzMzMzMxMTEzMzMzMzMzMzMyMjIzMzMzMzMyMjIzMzMzMzNiTo1CAAAADHRSTlMArNQqxJqHDBwlS+pB2U99AAAA8klEQVQ4y63UQQqCUBAG4BdGQbRoF4S7VoELe5fIdh7BI3gEj9BlgoI2hbaaQ/Vmeurzzb8JeguFGT5nBkeN+f0srjp2vLvLmjZxPMlaFvSME5befEtjkmTfyIyedQT8M1LaIqCIHYtOyAgiYsMuA+JAOSYCYqkLCw5kCpi0dQ+m06Z0QmCoooAnGvgqAAhBQAgETAgBJhiY5EE3mLDUj6/edEYFBJ1rrEGgdI0VBu4SIH5oTfzyKeJA5ccvEGDyahBgckYgIgFgckBAGssRCMkESJULAkz2CAjJEejJPAaylpKo9MLwd77agb+FxJbmP+cD5+Z632BbGMUAAAAASUVORK5CYII=) center no-repeat;
  background-size: .2rem auto;
}

.rich-msg {
  padding: 10px 0;
}
.rich-msg input, .rich-msg span {
  vertical-align: middle;
}
.rich-msg input[type=radio] {
  display: inline-block;
  margin-right: 3px;
}

.box-add {
  width: 2.1rem;
  height: 2.1rem;
  text-align: center;
  font-size: .26rem;
  color: #999;
  background: #f6f6f6;
  border: 1px dashed #f1f1f1;
  border-radius: 2px;
  user-select: none;
}
.box-add::before {
  content: '';
  display: block;
  width: .42rem;
  height: .42rem;
  margin: .52rem auto .12rem;
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABABAMAAABYR2ztAAAAJFBMVEVHcEzg4ODe3t7d3d3e3t7d3d3d3d3d3d3b29vd3d3e3t7d3d1yhwmPAAAAC3RSTlMAHFu0w6KU5j3Rbm4YpGoAAAFsSURBVEjHjZavUwJREMf3BNTB8jIWK0MhWPQKMxbHKySLxUKi2AhXCDabRoqONoty9zhx/zkPOM73Y9/ufRvsZ9gfb38AYKg3uZgVV7dvQCt6x0qXirIfxFgrOyPsCRrKPeI4Rkt67vifoiNtx9FHT8+m/RAJ3RtAQgH5v/0ESX3VwB0N6LoEGNC+GE/Gd0VqfPipamCGOO6YYSo/RxX5mZoeEAA9H3EYyPwcbGCbR4sDhiXwyQFLNwQXKN8jQg5ABV0eeIU2D4zglAe+nSQ84BemPLBym8UFtFMGD8hgwQNrSKkx2bTRzndRAQ/+sB5VP4k8UMguEilIMU2xUGKpxccSn7vFA0O55cSm5dt+M3sDaXDaHDBqMrx2sW1AN1sgnfAKGu9aYxFaYuuqjQahNbjkVrm1zhPanjdf5vQ21+ZF41b5Vo++/Vo4aivFn8Vszh1e6rACdIXTXMbxsbffqMD9703O09mL/ffgD/oyIcpJNnWzAAAAAElFTkSuQmCC) center no-repeat;
  background-size: contain;
}
.rich-msg-link {
  width: 100%;
  height: .68rem;
  padding: 0 5px;
  font-size: .28rem;
  border: 1px solid #ddd;
  border-radius: 3px;
  outline: none;
}
.rich-msg-link, .rich-msg-mp, .rich-msg-form {
  display: none;
}

.dialog-main {
  position: relative;
  padding: 11px 14px;
  background: #fff;
  border-radius: 5px;
}
.dialog-title {
  font-size: 15px;
  margin: 5px auto 10px;
  text-align: center;
}
.dialog-close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 17px;
  height: 17px;
  opacity: .5;
}
.dialog-tip {
  font-size: 13px;
  line-height: 1.3;
  padding: .1rem .2rem;
  margin-bottom: 10px;
  background-color: #fbfdff;
  border: 1px solid #bee0ff;
  border-radius: 3px;
}
.dialog-tag {
  padding: 2px 10px;
  font-size: 13px;
  background: #eee;
  border-radius: 2px;
  margin: 0 8px 8px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dialog-tag.disabled {
  opacity: .6;
}
.dialog-tag.active {
  color: #fff;
  background: #1890ff;
}
