<template>
    <div class="nus_confirmc">
        <div class="nu_confirm-wrap">
            <h1 class="nu_title-name">{{ nameText }}</h1>
            <span class="nu_cancel"
                v-if="cancelText"
                @click="_cancel($event)"
                @tap="_cancel($event)">
                {{ cancelText }}
            </span>
            <span class="nu_confirm"
                v-if="confirmText"
                @click="_confirm($event)"
                @tap="_confirm($event)">
                {{ confirmText }}
            </span>
        </div>
    </div>
</template>

<script>
import ConfirmbarTmp from '../_comm/ConfirmbarTmp';
export default {
    extends: ConfirmbarTmp,
    name: 'NuConfirmbarc'
};
</script>

<style lang="scss">
@import '../../../../_assets/style/_iconFont.scss';
@import '../../../../_assets/style/_var.scss';
@import '../../../../_assets/style/_mixin.scss';

.nus_confirmc {
    position: relative;
    color: $color999;
    background: $bgEee;
    padding: 6px;
    border-bottom: solid 1px $brEee;
    .nu_confirm-wrap {
        @include after();
    }
    .nu_title-name {
        margin: 0 -100% 0 0;
        font-weight: normal;
        text-align: center;
        font-size: $fontSizeLarge;
        color: $color666;
        float: left;
        width: 100%;
        margin-top: 8px;
        line-height: 1.44;
    }
    .nu_cancel,
    .nu_confirm {
        line-height: 1.44;
        display: inline-block;
        padding: 5px 5px;
        font-size: $fontSizeLarge;
        color: $colorDefault;
        font-weight: 500;
        border-radius: 3px;
        margin-top: 3px;
        cursor: pointer;
    }
    .nu_cancel {
        color: $color999;
        float: left;
    }
    .nu_confirm {
        float: right;
    }
}
</style>
