1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <template>
- <div class="styleTitleBox">
- <editBtn :id="id" :sort="sort" :type="7" />
- <div :class="['titleBoxStyle' + type]">
- {{ text }}
- </div>
- </div>
- </template>
- <script>
- import editBtn from '../../public/editBtn.vue'
- export default {
- components: {
- editBtn
- },
- props: {
- id:{
- type:Number,
- default:0
- },
- sort:{
- type:Number,
- default:0
- }
- },
- 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;
- }
- </style>
|