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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<template>
    <view>
        <scroll-view :scroll-y="modalName==null" class="page" :class="modalName!=null?'show':''">
            <cu-custom bgColor="bg-black" :isBack="true">
                <block slot="content">helloWorld</block>
            </cu-custom>
            
            <view class="padding flex flex-direction">
                <app-select label=" 类    型:" v-model="type" placeholder="请选择类型" :dict="plan_type" space ></app-select>
            </view>
            
            <view class="padding flex flex-direction">
              <my-date label="开始时间:" v-model="beginTime" placeholder="请选择开始时间" required fields="minute"></my-date>
            </view>
            
            
            <view class="padding flex flex-direction">
              <uni-calendar :showMonth="true" :selected="selected" />
            </view>
            
            
            <view class="padding flex flex-direction">
              <my-image-upload />
            </view>
            
        </scroll-view>
    </view>
 
</template>
 
<script>
    const plan_type = [{text:'日常记录',value:'1'},{text:'本周工作',value:'2'},{text:'下周计划',value:'3'}];
    import appSelect from '@/components/my-componets/appSelect.vue'
    import myImageUpload from '@/components/my-componets/my-image-upload.vue'
    import myDate from '@/components/my-componets/my-date.vue'
    
    
    export default {
        name: 'helloWorld',
        props:{
            cur:String,
        },
        watch: {
            cur: {
                immediate: true,
                handler:function(val,oldVal){
                    console.log('cur',val,oldVal)
                   
                },
            },
        },
        components:{
            appSelect,myImageUpload,myDate
         },
        data() {
            return {
                modalName: null,
                item:{msg:'退出成功'},
                plan_type,
                type:"1",
                selected:[],
                beginTime:''
            }
        },
        methods: {
            
        }
    }
</script>
 
<style>
</style>