<template>
    <div class="orderbox">
        <h2>{{infolist.noticeTitle}}</h2>
        <span>{{infolist.noticeContent}}</span>
        <div style="padding: 0 30px 0 20px;">
            <uploadDown :datalist="datalist" :dialogStatus="dialogInfo"></uploadDown>
        </div>
    </div>
</template>

<script>
    import uploadDown from './uploadDown.vue'
    export default {
        props: ["infolist","datalist","dialogInfo"],
        components:{
            uploadDown
        },
        data() {
            return {

            };
        },
        methods: {

        },
        created() {
            this.$forceUpdate()
        },
        watch: {
            dialogInfo(){
                this.$forceUpdate()
            },
        }
    };
</script>

<style scoped lang="scss">
    .orderbox{
        h2{
            width: 100%;
            text-align: center;
            margin-bottom: 10px;
        }
        span{
            display: inline-block;
            text-indent:30px;
            line-height: 30px;
            padding: 0 30px 0 20px;
            text-align: justify;
            margin-bottom: 20px;
        }
        em{
            font-style: normal;
            display: inline-block;
            text-indent:30px;
            line-height: 30px;
            padding: 0 30px 0 20px;
            text-align: justify;
            margin-top: 20px;
        }
        .tabbox{
            padding: 0 30px 0 20px;
            margin-top: 20px;
        }
        p{
            text-align: right;
            margin-right: 30px;
        }
    }
</style>
