Kaynağa Gözat

登录界面滚动时app-header背景色修改

master
kim131 4 yıl önce
ebeveyn
işleme
8e9fb9f620
1 değiştirilmiş dosya ile 5 ekleme ve 2 silme
  1. +5
    -2
      src/components/app-header/app-header.vue

+ 5
- 2
src/components/app-header/app-header.vue Dosyayı Görüntüle

@@ -1,6 +1,6 @@
<template>
<div class="app-header" :class="{ white: theme === 'white' || isWindowScrollIng, black: theme === 'black' }">
<div class="app-header-content">
<div class="app-header" :class="{ white: theme === 'white' || isWindowScrollIng, black: theme === 'black', 'black-bg-color': isWindowScrollIng && theme === 'black' }">
<div class="app-header-content" >
<div class="app-header-content-left">
<slot name="left">
<i class="yiyun_icon app-header-back-btn" :class="{ icon_topback_left: theme === 'white', icon_topback_left_baise: theme === 'black' }" @click="navBack()" v-show="showBackBtn" />
@@ -121,4 +121,7 @@ export default {
bottom: 0;
margin: auto 0;
}
.black-bg-color {
background-color:#32323c;
}
</style>

Yükleniyor…
İptal
Kaydet