<template>
  <div class="styleTitleBox">
    <div :class="['titleBoxStyle' + type]">
      {{ text }}
    </div>
  </div>
</template>

<script>
export default {
  props: {

  },
  data() {
    return {
      type:1,
      text:"板块标题"
    };
  },
  methods: {
    
  },
  mounted() {
    
  },
};
</script>

<style scoped lang="less">
  .styleTitleBox {
    //width: 468px;
    width: 100%;
    height: 41px;
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #333;
    line-height: 41px;
    position: relative;
  }
  .titleBoxStyle1{
    background: url('../../../../../../assets/template/component/titleStyle1.png') no-repeat center center;
    width: 100%;
  }
</style>
