pyt
2025-03-05 1c4dddd5cab815cb15cbb57475a4c6f6ed60ceb2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<template>
    <el-dialog :visible.sync="show" :show-close="false" width="1018px" @close="$emit('close')"
        :modal-append-to-body="false">
        <div class="txt-center pt--30 pb--25">
            <div class="fs--18 mb--70 font-bold color1">下单须知 | Usage Instructions</div>
            <div v-html="content"></div>
            <div class="btns pointer" @click="$emit('close')">确认 | Confirm</div>
        </div>
    </el-dialog>
</template>
 
<script>
import { getNotice } from '@/view/service'
export default {
    components: {},
    props: {
        show: {
            type: Boolean,
            default: false
        },
    },
    data() {
        return {
            content: ''
        };
    },
    computed: {},
    watch: {},
    created() {
        getNotice().then(res => {
            this.content = res.data.content
        })
    },
    mounted() { },
    methods: {},
};
</script>
<style scoped lang="less">
.color1 {
    color: rgba(59, 63, 86, 1);
}
 
::v-deep .el-dialog {
    border-radius: 8px;
 
    .el-dialog__header {
        display: none !important;
    }
 
    .el-dialog__body {
        padding: 0 !important;
 
    }
}
 
.btns {
    margin: 25px auto 0;
    width: 311px;
    line-height: 50px;
    background: #014099;
    border-radius: 4px;
    font-weight: bold;
    font-size: 18px;
    color: #FFFFFF;
}
</style>