Houjie
2025-04-11 1bf977929dd324f3ac64b70debd8a79443c54392
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
<template>
    <view>
        <scroll-view :scroll-y="modalName==null" class="page" :class="modalName!=null?'show':''">
            <cu-custom bgColor="bg-gradual-pink" :isBack="true">
                <block slot="backText">{{back}}</block>
                <block slot="content">{{title}}</block>
            </cu-custom>
            <slot></slot>
        </scroll-view>
    </view>
</template>
 
<script>
    export default {
        name: 'MyPage',
        props: {
            title: {
                type: String,
                default: '标题'
            },
            back: {
                type: String,
                default: '返回'
            },
            modalName:  {
                type: String,
                default: null
            },
        },
        watch: {
 
        },
        computed: {
 
        },
        data() {
            return {
                
            }
        },
        methods: {}
    }
</script>
 
<style>
</style>