RebBtn.vue 2.87 KB
<template>
  <!-- v-if="!buttonHide && ((!isReview && !funcBtnHide) || showSetBtn)" -->
  <div :class="isHistory ? '' : 'm-Btn-eContainer'">
    <div class="m-funcBtn-eContainer">
      <!-- v-show="root.judgeVisiableInfo('mtabut.usrcon')" -->
      <!-- <el-button type="primary" size="small" @click="confirm" :loading="$store.state.Status.loading.confirm">{{ $t('buttons.确认') }}</el-button> -->
      <!-- v-show="root.judgeVisiableInfo('mtabut.sav')" -->
      <el-button type="primary" size="small">提交</el-button>
      <!-- v-show="root.judgeVisiableInfo('mtabut.chk')" -->
      <el-button size="small">检核</el-button>
      <el-button size="small">返回</el-button>
      <el-button size="small"> 错误反馈</el-button>
    </div>
  </div>
</template>
<style scoped lang="less">
.m-Btn-eContainer {
  display: flex; /*flex布局*/
  position: relative;
  z-index: 10;
  height: 54px;
  padding: 10px 20px;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  background-color: var(--white);
  box-shadow: 0 0 11px 0 rgba(0, 0, 0, 0.1);
}
.m-funcBtn-eContainer {
  order: 1;
}
.m-zhanWei-forfuncBtn {
  order: 2;
}
.m-openleft {
  order: 3;
}

.m-funcBtn-eContainer button,
.m-funcBtn-eContainer .el-button + .el-button {
  margin: 0px 10px 0px 0px;
}
.m-funcBtn-eContainer .el-button--default {
  /* background-image: linear-gradient(#fff,#dedede); */
  border: 1px solid #ccc;
}
// .m-funcBtn-eContainer .el-button--primary {
//   /* border: 1px solid #0D4FBD; */
// }
.m-openleft-item {
  display: inline-block;
  padding: 0px;
}

.m-setting-btn {
  padding: 0px 10px 0px 8px;
  font-size: 12px;
  line-height: 22px;
}

.m-openleft-item > span {
  display: inline-block;
}
.m-openleft-item .el-button + .el-button {
  margin: 0;
}
.m-openleft-item > button,
.m-openleft-item > span > button,
.m-openleft-item > span > div > button {
  color: #606266;
  background-color: #fff;
  border: 1px #ccc solid;
  padding: 0px 7px;
  background-image: linear-gradient(#fff, #dedede);
}

.m-openleft-item > button:hover,
.m-openleft-item > span > button:hover,
.m-openleft-item > span > div > button:hover {
  background-color: #b3d8ff;
  color: #606266;
}

/* ui美化 */
.m-Btn-eContainer .el-button--small,
.m-Btn-eContainer .el-button--small.is-round {
  padding: 0 30px !important;
  font-size: 14px;
  height: 34px;
  line-height: 34px;
  font-weight: bold;
}

.btn-group {
  width: 50%;
  height: 30px;
  position: fixed;
  right: 20px;
  top: 70px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 1000;
  ::v-deep .el-button {
    height: 28px !important;
    padding: 0 8px !important;
    border-radius: 5px;
  }
}
.warning-wrap {
  width: 100%;
  .warning-item {
    width: 100%;
    text-align: left;
    font-size: 16px;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
}
</style>