ClassificationRuleHeader.vue 747 Bytes
<template>
  <div class="hederContainer">
    <span class="tips ruleTest">不确定规则是否正确?点击
      <el-button type="text" @click="$emit('rule-test')">进行测算</el-button></span>
  </div>
</template>

<script>
export default {
  name: "ClassificationRuleHeader"
}
</script>

<style scoped lang="scss">
.hederContainer {
  color: rgba(51, 51, 51, 1);
  padding: 10px 25px;
  margin: 0 15px 20px;
  background: #f6f8fa;

  .tips {
    position: relative;

    &::before {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      left: -10px;
      content: " ";
      display: inline-block;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #185efe;
    }
  }
}
</style>