<script setup>
import { RouterView } from 'vue-router'
import { ElConfigProvider } from 'element-plus';
import zhCn from 'element-plus/lib/locale/lang/zh-cn'
import { provide, ref, nextTick } from 'vue'
const isRouteActive = ref(true);
provide('reload', ()=>{
	isRouteActive.value = false;
	nextTick(()=>{
		isRouteActive.value = true;
	})
})
</script>

<template>
  <!-- element Puls 转中文环境配置 -->
  <el-config-provider :locale="zhCn">
    <RouterView />
  </el-config-provider>
</template>

<style  lang="scss">
.serch-box {
  width: 100%;
  height: 80px;
  box-sizing: border-box;
  display: flex;
  padding: 0 24px 0 0;
  justify-content: space-between;
  margin-top: 20px;
  flex-wrap: nowrap;

  .form-right {
    display: flex;
  }

  .form-left {
    height: 100%;
    background: #fff;
    overflow: hidden;

    .fonstSizeitem {
      .el-form-item__label {
        font-size: 12px;
      }
    }

    .el-form {
      width: 940px;
    }

    .el-form-item__label {
      width: 100px;
      font-size: 14px;
      line-height: normal;
      display: flex;
      align-items: center;
    }

    .el-form-item__content {
      width: 195px;

      .el-range-input {
        font-size: 12px;
      }

      .el-range-separator {
        font-size: 12px;
      }

      .el-input {
        width: 100% !important;

        .el-input__inner {
          font-size: 14px;
        }
      }
    }

    .el-form-item {
      margin-bottom: 10px;
      margin-right: 10px;

      .el-range-editor.el-input__wrapper {
        width: 300px;
        height: 32px;
      }
    }
  }
}

.serch-box-40 {
  height: 40px;
}

.top-btn {
  padding: 10px 0 0 24px;

  .el-button {
    padding: 20px;
    text-align: center;
  }
}

.tabel-data {
  background: #FAFAFA;
  color: #152129;
  font-size: 14px;
}

.operation {
  padding-left: 24px;
  margin-top: 10px;
}

.image_item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

body .pagination-style {
  padding: 14px 5px;
  background: #fff;
  float: right;
  margin-right: 10px;
}

.table-wrapper {
  padding: 20px;
}

.el-overlay-message-box {
  z-index: 2999;
}
</style>
