From 496fd3866f44ad362539b316d16e34d03cf169e3 Mon Sep 17 00:00:00 2001 From: zhaoxiaoqiang <287285524@qq.com> Date: Tue, 30 Aug 2022 16:46:52 +0800 Subject: [PATCH] 头部组件 --- src/components/cell/h-cell.vue | 6 +++--- src/components/v-navbar.vue | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/cell/h-cell.vue b/src/components/cell/h-cell.vue index 70f3c46..db347d9 100644 --- a/src/components/cell/h-cell.vue +++ b/src/components/cell/h-cell.vue @@ -2,7 +2,7 @@ * @Author: 小明丶 * @Date: 2020-05-09 13:38:38 * @LastEditors: zxq - * @LastEditTime: 2022-08-30 16:43:01 + * @LastEditTime: 2022-08-30 16:45:16 * @Description: cell框组件 --> <template> @@ -15,7 +15,7 @@ <span class="label" :class="[isTitle? 'title' : '']">{{label}}</span> </div> <div class="right flex-end-g"> - <template name="v-cell-right"> + <!-- <template name="v-cell-right"> --> <div class="c-text-999-g" v-if="!Show_input"> {{calcValue}} </div> @@ -38,7 +38,7 @@ > <use xlink:href="#iconright" /> </svg> - </template> + <!-- </template> --> <slot name="button"> </slot> diff --git a/src/components/v-navbar.vue b/src/components/v-navbar.vue index 128f38b..ba88584 100644 --- a/src/components/v-navbar.vue +++ b/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> -- Gitblit v1.8.0