<template>
  <div class="container">
    <div>
      <p>文案生成规则说明：</p>
      <p v-if="type ==1 ||type == ''">
        文本规则：该患者
        <span>条件明细（内容）</span>，不宜开
        <span>医学术语（内容）</span>
      </p>
      <p v-if="type ==2 ||type == ''">
        数值规则：该患者
        <span>条件明细（内容）+“>/</=”+ 数值范围</span>，不宜开
        <span>医学术语（内容）</span>
      </p>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Description',
  props: ['type'],
  data() {
    return {};
  },
  created(){
  }
};
</script>

<style lang="less" scoped>
.container {
  width: 100%;
  padding: 10px 0 10px 12px;
  line-height: 28px;
  font-size: 14px;
  background-color: #f5f5f5;
  margin-bottom: 36px;
  p {
    color: #777;
  }
  span {
    color: #333333;
  }
}
</style>