<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style lang="less">
.size{
  width: 100%;
  height: 100%;
}
html,body{
  .size;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
#app {
  .size;
}

#app .edit_container, #app .quill-editor {
    height: inherit!important;
}
//iview组件样式修改
#app {
  .ivu-layout {
    background: none;
  }
  .ivu-modal-body {
    margin-top: 120px;
  }
  .ivu-layout-header {
    height: 70px;
    line-height: 80px;
    background: none;
  }

  .ivu-form-item {
    margin-top: 10px;
    margin-bottom: 18px;
  }
  .ivu-form-item:nth-last-child(1) {
    margin-bottom: 0;
  }
  .ivu-form-item:nth-child(1) {
    margin-top: 0;
  }
  .ivu-input, .ivu-input-number-input {
      height: 40px !important;
      font-size: 14px !important;
      color: #000 !important;
    }
  .ivu-input-with-prefix {
      padding-left: 45px !important;
    }

  .ivu-checkbox-wrapper {
    font-size: 14px !important;
  }
  .ivu-spin-large .ivu-spin-dot {
    margin: 0 auto;
    margin-top: 200px;
    margin-bottom: 250px;
  }
}

//页面间公共样式
#product-setting, #homePageSetting, #homePageSettingH5 {
  .subtitle {
    color: #b2b2b2;
  }
  .title {
    font-size: 18px;
    font-weight: 600;
  }
  .flexbox {
        display: flex;
        // justify-content: space-between;

        .flexLeft {
          width: 460px;
          margin-right: 60px;
        }
        .flexRight {
          width: 460px;
        }
      }
}

.setting-section {
    // width: 800px;
    padding: 25px;
    background:#fff;
    .section-header {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
    }
    .section-content {
      margin-top: 15px;

      // img {
      //   width: 120px;
      //   height: 120px;
      //   margin: 3px;
      //   object-fit: cover;
      // }
    }

    .prefix {
      line-height: 40px;
      padding-left: 8px;
      color: rgb(121, 131, 153);
    }
    .tips {
      font-size:12px;
      color: #8787af;
      margin-top: 15px;
    }
    .label {
    padding-top: 12px;
    padding-bottom: 3px;
    position: relative;
    top: 0;
  }
  }
  .setting-section:nth-child(n+2) {
    margin-top: 20px;
  }
  .header.setting-section {
  padding: 6px 12px;
  background: #6686cb;
  text-align: right;
  position: relative;
  margin-bottom: 10px;
  margin-top: -6px;

  .ivu-btn-small {
    width: 60px;
    height: 25px;
    margin-left: 6px;
  }
  .ivu-btn-small:nth-child(1) {
    margin-right: 6px;
  }

  .head_title {
    color: #fff;
    position: absolute;
    font-size: 16px;
    top: 5px;
    left: 14px;
  }
}
</style>
