noCustomerOps.vue 1.81 KB
<template>
    <div class="behavior-more-option nocustom-option">
        <div class="opt-left">
            <!-- 时间 -->
            <div class="nocustom-time">
                <el-date-picker v-model="timeVal" class="time-opt" placeholder="请选择时间" :picker-options="pickerOptions1"></el-date-picker>
            </div>
        </div>
        <div class="opt-right">
            <el-button type="primary" class="primary-btn behavior-collapse-btn" size="samll" @click="clickHandle">{{$t('button.confirm')}}</el-button>
            <el-button class="reset-btn behavior-collapse-btn" size="samll" @click="resetRefresh">{{$t('button.reset')}}</el-button>
        </div>
    </div>
</template>

<script>
export default {
    data() {
        return {
            pickerOptions1: {
                disabledDate(time) {
                    return time.getTime() > Date.now();
                },
            },
            timeVal: '',
        }
    },
    methods: {
        clickHandle() {},
        resetRefresh() {}
    }
}
</script>

<style scoped>
    .opt-left {
        float: left;
    }

    .opt-right {
        float: right;
        font-size: 0.14rem;
    }

    .time-opt {
        height: 0.3rem;
        line-height: 0.3rem;
    }

    /* btn */
    .behavior-collapse-btn {
        font-family: 微软雅黑, "Lantinghei SC", "Open Sans", Arial, "Hiragino Sans GB", "Microsoft YaHei", STHeiti, "WenQuanYi Micro Hei", SimSun, sans-serif;
        font-size: 0.14rem;
        padding: 0.08rem 0.17rem;
        font-weight: normal;
        color: #666;
        border-color: #e5e5e5;
    }

    .behavior-collapse-btn:hover {
        background-color: #fff;
    }

    .primary-btn {
        color: #fff;
        background: #0069FF;
        border: none;
    }

    .primary-btn:hover {
        background-color: #014FBE;
    }
</style>