MrShi
2025-01-10 7e59b9cc3680a05acdf227d03b19f00351ec7b95
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
<template>
    <div class="box">
        <div class="content">
            <div class="content_form">
                <el-form ref="form" :model="form" label-width="120px">
                    <el-form-item label="短信模板">
                        <div style="display: flex; align-items: self-start;">
                            <el-input type="textarea" rows="5" v-model="form.desc"></el-input>
                            <el-button type="primary" style="margin-left: 10px;">保存</el-button>
                        </div>
                    </el-form-item>
                    <el-form-item label="邮箱模板">
                        <div style="display: flex; align-items: self-start;">
                            <el-input type="textarea" rows="5" v-model="form.desc"></el-input>
                            <el-button type="primary" style="margin-left: 10px;">保存</el-button>
                        </div>
                    </el-form-item>
                </el-form>
            </div>
            <el-button @click="$refs.templateKeywords.open('模板关键字')">模板关键字</el-button>
        </div>
        <templateKeywords ref="templateKeywords" />
    </div>
</template>
 
<script>
    import templateKeywords from './components/templateKeywords'
  export default {
    name: 'collectionSettings',
    data() {
      return {
        form: {
          desc: ''
        }
      }
    },
    components: { templateKeywords }
  }
</script>
 
<style lang="scss" scoped>
    .box {
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
        .content {
            width: 100%;
            padding: 20px;
            box-sizing: border-box;
            background: #ffffff;
            display: flex;
            align-items: self-start;
            justify-content: space-between;
            .content_form {
                width: 60%;
            }
        }
    }
</style>