<template functional>
  <div class="plan-tip">
    <div class="plan-tip-item" v-for="(item, index) in props.tipList" :key="index">
      <svg-icon icon-class="check-circle" />
      <span class="plan-tip_offset">{{ item }}</span>
    </div>
  </div>
</template>

<script>
export default {
  name: "PlanTip",
  props: {
    tipList: {
      type: Array,
      default() {
        return [];
      }
    }
  }
};
</script>
<style lang="less">
@import "../../../../style/var.less";
.plan-tip {
  font-size: @font-size-11;
  color: @gray-5;
  line-height: @line-height-sm;
  display: flex;
  align-items: center;
  margin-top: 14px;
  .svg-icon {
    margin-right: 4px;
    width: 12px;
    height: 12px;
  }
  &-item {
    margin-right: 7px;
    &:last-child {
      margin-right: 0;
    }
  }
}
</style>
