zhaoxiaoqiang
2022-11-29 051957280984f1b519b7312fa177511f95506e7b
src/components/v-navbar.vue
@@ -1,17 +1,17 @@
<!--
 * @Author: 小明丶
 * @Date: 2019-08-15 15:44:44
 * @LastEditors: 小明丶
 * @LastEditTime: 2020-06-22 18:17:12
 * @LastEditors: zxq
 * @LastEditTime: 2022-08-30 16:46:40
 * @Description: 头部组件
 -->
<template>
    <div class="nav-bar flex-start-g" :class="[fixed ? 'fixed' : '']" :style="{'background':background}">
        <slot name="left-back">
        <!-- <slot name="left-back"> -->
            <svg class="icon" aria-hidden="true" style="width:25px;height:44px;" @click="go">
                <use xlink:href="#iconzuojiantou"></use>
            </svg>
        </slot>
        <!-- </slot> -->
        <h4 class="title text-center-g" :style="{'color':titleColor}">{{title}}</h4>
        <div class="rightText" @click="rightClick">
            <slot name="right">{{rightText}}</slot>