@import "../../../../src/theme.less";
:host {
  width: 100%;
  height: 100%;
}

.home {
  width: 100%;
  height: 100%;

  .content {
    width: 100%;
    height: 100%;
    position: relative;

    .left {
      height: 100%;
      padding: 16px;

      .leftCon {
        position: relative;
        width: 100%;
        height: 100%;
        // display: flex;
        // flex-direction: column;

        .top {
          border: 1px solid #e5e9ed;
          position: relative;
          z-index: 2;

          .num {
            width: 100%;
            height: 32px;
            line-height: 32px;
            font-size: 14px;
            padding: 0 16px;
            border-bottom: 1px solid #e5e9ed;

            .item {
              display: inline-block;
              margin-right: 24px;

              span:nth-child(2) {
                font-size: 14px;
                font-weight: 600;
              }
            }

            .toCompre {
              float: right;
              color: @primary-color;
              cursor: pointer;
            }
          }

          .orderNum {
            padding: 16px;
            // border-bottom: 1px solid #e5e9ed;

            .ing {
              &>div {
                display: inline-block;
                font-size: 14px;
                color: #999;

                div {
                  display: inline-block;
                  margin-right: 18px;
                }

                &>div:nth-child(1) {
                  position: relative;
                  padding-left: 10px;

                  &::before {
                    content: '';
                    position: absolute;
                    left: 0;
                    width: 4px;
                    height: 100%;
                    background: @primary-color;
                    margin-right: 8px;
                  }
                }

                &>div:nth-last-child(1) {
                  margin: 0;
                }

                span {
                  font-size: 18px;
                  color: #333;
                  font-weight: 500;

                  &.rate {
                    font-size: 18px;
                    color: @primary-color;
                  }
                }


              }
            }

            .nums {
              height: 32px;
              line-height: 32px;
              background: #f9fafb;
              margin-top: 10px;
              font-size: 12px;
              padding: 0 3px;

              .item {
                // display: inline-block;

                i {
                  color: @primary-color;
                  margin-right: 3px;
                  font-size: 14px;
                }

                span:nth-child(2) {
                  color: #666;
                  margin-right: 8px;
                }

                span:nth-child(3) {
                  color: #333;
                }
              }
            }

          }

          .swiperBox {
            width: 100%;

            .item {
              height: 32px;
              font-size: 12px;
              line-height: 30px;
              padding: 0 16px;
              position: relative;
              overflow: hidden;

              &:nth-child(1) {
                border-right: 1px solid #e5e9ed;
              }

              .swiper {
                font-weight: 600;
                position: relative;
                left: 0;
                top: 0;

                .swiperItem {

                  i {
                    color: #ff3b53;
                  }

                  .n {
                    color: @primary-color;
                  }
                }
              }

              .detail {
                color: @primary-color;
                cursor: default;
                position: absolute;
                top: 1px;
                right: 16px;
              }

            }
          }
        }

        .center {
          margin-top: 8px;
          border: 1px solid #e5e9ed;
          padding: 16px;
          position: relative;
          z-index: 3;

          .title {
            font-size: 14px;
            color: #333;
            margin-bottom: 8px;
          }

          .table {
            width: 100%;
            height: 100%;

            .box {
              border-radius: 5px;
              background: #f9fafb;
              position: relative;

              .hospitalTable {
                padding-bottom: 0;

                .ant-table-small {
                  overflow: hidden;
                }

                .thead {
                  th {
                    background: transparent;
                    color: #333;
                    text-align: center;
                    font-size: 12px;
                    padding: 8px;
                  }
                }


                .ant-table-body {
                  border-bottom: 1px solid #e5e9ed;
                }

                .ant-table-tbody {

                  tr {
                    text-align: center;
                    font-size: 12px;
                    border: none;
                    color: #333;

                    td {
                      border: none;
                      padding: 6px;

                      .coop {
                        span {
                          display: inline-block;
                          width: 60px;
                          cursor: pointer;

                          &::after {
                            content: '|';
                            float: right;
                          }

                          &:hover {
                            color: @primary-color;
                          }

                          &:active {
                            color: @primary-color;
                          }

                          &:nth-last-child(1) {
                            &::after {
                              content: '';
                            }
                          }
                        }
                      }
                    }
                  }

                  tr:nth-child(2n-1) {
                    background: #f9fafb;
                  }
                }

              }

            }
          }
        }

        .bottom {
          // flex: 1;
          margin-top: 8px;
          height: 329px;

          .echart {
            padding-right: 8px;
            height: 100%;
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;

            .box {
              width: 100%;
              height: 100%;
              border: 1px solid #e5e9ed;
              padding: 16px;

              .title {
                float: left;
              }

              .echarts {
                padding-top: 30px;
                width: 100%;
                height: 100%;

                &>div {
                  height: 100% !important;
                }
              }

              .none {
                width: 100%;
                height: 100%;
                text-align: center;
              }
            }

          }

          .table {
            border: 1px solid #e5e9ed;
            padding: 16px;
            height: 100%;
            position: absolute;
            top: 0;
            bottom: 0;
            right: 0;

            .title {
              float: left;
            }

            .toMenu {
              float: right;
              color: @primary-color;
              cursor: default;
            }

            .tableBox {
              width: 100%;
              height: 100%;
              padding-top: 40px;

              .errorTabl {
                height: 100%;

                .box {
                  height: 100%;

                  th,
                  td {
                    text-align: center;
                  }

                  .detail {
                    color: @primary-color;
                    cursor: default;
                  }
                }
              }
            }
          }
        }
      }
    }

    .right {
      height: 100%;
      border-left: 1px solid #e5e9ed;

      .box {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;

        .tabs {
          position: relative;
          width: 100%;
          height: 30px;
          line-height: 30px;
          z-index: 3;
          background: #fff;

          .item {
            border-bottom: 2px solid #e5e9ed;
            cursor: default;
            text-align: center;

            &:nth-child(1) {
              border-right: 1px solid #e5e9ed;
            }

            &.checked {
              color: @primary-color;
              border-bottom-color: @primary-color;
            }
          }
        }

        .orders {
          flex: 1;
          display: flex;
          flex-direction: column;

          .ordersBox {
            position: relative;
            overflow-x: hidden;
            overflow-y: auto;
            height: calc(100vh - 175px);
            min-height: 680px;

            .items {
              width: 100%;

              .item {
                width: 100%;
                border-bottom: 1px solid #e5e9ed;

                .info {
                  width: 100%;
                  padding: 16px 16px 8px 16px;
                  font-size: 12px;
									
									.flex{
										display: flex;
										justify-content: space-between;
									}
									
                  .title {
                    color: #333;

                    &:nth-child(1) {
                      font-weight: 500;

                    }

                    div:nth-child(2) {
                      text-align: right;
                    }
                  }

                  .over {
                    overflow: hidden;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    text-overflow: ellipsis;
                    -webkit-line-clamp: 2;

                    &.noOver {
                      -webkit-line-clamp: unset;
                    }
										
                  }

                  .up {
                    text-align: right;
                    color: @primary-color;
                    margin-top: 5px;

                    span {
                      cursor: default;
                    }
                  }
                }

                .btns {
                  text-align: center;

                  .btn {
                    background: @primary-color;
                    border-radius: 0;
                    height: 33px;
                    line-height: 33px;
                    cursor: default;

                    &:nth-child(2) {
                      border: none;
                      background: #e5e9ed;
                      color: #666;
                    }
                  }
                }
              }


            }

            .loading {
              width: 100%;
              height: 65%;
              text-align: center;
            }

            .none {
              width: 100%;
              height: 65%;
              text-align: center;
            }
          }

          .pageing {
            width: 100%;
            background: #fff;
            padding: 16px 0;
            text-align: center;
            border-top: 1px solid #e5e9ed;
          }
        }
      }
    }

  }
}

.save {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .4);
  z-index: 99;

  .modalBody {
    width: 1000px;
    background: #fff;
    border-radius: 5px;
    padding: 10px 20px;
    color: #333;

    .title {
      width: 100%;
      text-align: center;
      font-size: 18px;
      position: relative;

      i {
        position: absolute;
        right: 0;
        top: 0;
        font-size: 20px;
        color: #666;
        cursor: pointer;
        padding: 0 5px;
      }
    }

    .content {
      width: 100%;
      border: 1px solid #e5e9ed;
      border-radius: 5px;
      overflow: hidden;
      margin-top: 12px;


      // 意见箱查看
      .conItem {
        color: #333;

        .jiTit {
          height: 50px;
          line-height: 50px;
          border-bottom: 1px solid #e5e9ed;
          padding: 0 32px;
        }

        .defeat {
          font-size: 14px;
          color: #333;
          padding: 15px 32px;
          min-height: 125px;
        }

        &.noCon {
          background: #f9fafb;
          padding: 16px 32px 24px 32px;
          border-top: 1px solid #e5e9ed;

          .title {
            text-align: left;
            font-size: 14px;
            margin-bottom: 8px;
          }

          textarea {
            min-height: 210px;
          }
        }

      }
    }

    button {
      margin-top: 10px;
      margin-left: 10px;
    }

  }

  // 新增
  &.add {
    .modalBody {
      width: 480px;
      height: auto;

      .content {
        width: 100%;
        height: auto;
        padding: 19px 14px 0 14px;
        max-height: 500px;
        overflow-y: auto;
        min-height: 130px;

        .addForm {
          .ant-form-item {
            margin-bottom: 14px;

            .ant-form-item-label {
              line-height: 14px;
              text-align: left;
            }
          }
        }

        .editForm {
          .ant-form-item {
            margin-bottom: 14px;

            .ant-form-item-label {
              line-height: 0;
            }
          }
        }

      }

      button {
        &:nth-child(1) {
          margin-right: 20px;

        }
      }

    }
  }

  .txtL {
    text-align: left !important;
  }

  .txtR {
    text-align: right !important;
  }

}
