更新记录

0.0.1(2021-04-13)

备忘录,事件记录

:current_time="current_time" //当前时间

@close="close" // 关闭后调用

:show="show" 控制显隐

@Timetap="Timetap" //日期选择

:infoList="list" //事件纪录

:slot_show="false" //是否自定义事件记录

:titlebackground="'#ff007f'" //标题背景色

:titlecolor="#fff" //标题字体颜色


平台兼容性

Vue2 Vue3
×
App 快应用 微信小程序 支付宝小程序 百度小程序 字节小程序 QQ小程序
app-vue × × × × ×
钉钉小程序 快手小程序 飞书小程序 京东小程序
× × × ×
H5-Safari Android Browser 微信浏览器(Android) QQ浏览器(Android) Chrome IE Edge Firefox PC-Safari
× × × ×

<template>

;

    <times 
    :current_time="current_time" 
    @close="close" 
    :show="show" 
    @Timetap="Timetap" 
    :infoList="list" 
    :slot_show="false" 
    :titlebackground="'#ff007f'">
        <view slot="time">
            <view v-for="(item,index) in title" :key="index">{{index}}</view>
        </view>
    </times>
 #</view>

</template>

<script>

    import times from '../../components/time-box/index.vue'
    export default {
        components:{times},
        data() { 
            return {
                title: new Array(50),
                show:false,
                current_time:'2021-04-11',
                list:[
                        {
                            date: '12:00',
                            info: '的'
                        },

                        {
                            date: '12:00',
                            info: ''
                        },

                        {
                            date: '12:00',
                            info: ''
                        },
                        {
                            date: '12:00',
                            info: ''
                        },
                        {
                            date: '12:00',
                            info: ''
                        },
                        {
                            date: '12:00',
                            info: ''
                        },
                        {
                            date: '12:00',
                            info: ''
                        },
                        {
                            date: '12:00',
                            info: ''
                        },

                    ]
            }
        },
        () {

        },
        methods: {
         close(data){
             console.log(data);
             this.show = data;

         },
         Timetap(data){
             this.current_time=data;
             console.log(data)
         }
        }
    }

</script>

<style>

</style>

隐私、权限声明

1. 本插件需要申请的系统权限列表:

2. 本插件采集的数据、发送的服务器地址、以及数据用途说明:

3. 本插件是否包含广告,如包含需详细说明广告表达方式、展示频率:

许可协议

MIT协议

使用中有什么不明白的地方,就向插件作者提问吧~ 我要提问