File tree Expand file tree Collapse file tree 4 files changed +13
-27
lines changed
uni_modules/wot-design-uni/components/wd-navbar Expand file tree Collapse file tree 4 files changed +13
-27
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,11 @@ function handleBackHome() {
136136 align-items : center ;
137137 --wot-search-padding : 0 ;
138138 --wot-search-side-padding : 0 ;
139+ :deep () {
140+ .wd- search {
141+ background : transparent ;
142+ }
143+ }
139144}
140145```
141146
Original file line number Diff line number Diff line change 11<!--
22 * @Author: weisheng
33 * @Date: 2023-10-17 17:20:31
4- * @LastEditTime: 2024-03-04 12:48:00
4+ * @LastEditTime: 2024-10-12 12:47:30
55 * @LastEditors: weisheng
66 * @Description:
77 * @FilePath: \wot-design-uni\src\pages\navbar\Index.vue
@@ -89,5 +89,10 @@ function handleBackHome() {
8989 align-items : center ;
9090 --wot-search-padding : 0 ;
9191 --wot-search-side-padding : 0 ;
92+ :deep () {
93+ .wd- search {
94+ background : transparent ;
95+ }
96+ }
9297}
9398 </style >
Original file line number Diff line number Diff line change 1111
1212 @include e (text ) {
1313 color : $-dark-color ;
14- @include m (hover){
15- background-color : $-dark-background3 ;
16- }
1714 }
1815
1916 :deep (.wd-navbar__arrow ) {
7269 left : 0 ;
7370 }
7471
75- @include e (left ) {
76- @include m (hover){
77- background-color : $-navbar-hover-color ;
78- }
79- }
80-
8172 @include e (right ) {
8273 right : 0 ;
83- @include m (hover){
84- background-color : $-navbar-hover-color ;
85- }
8674 }
8775
8876 @include edeep (arrow) {
Original file line number Diff line number Diff line change 66 <slot name =" capsule" />
77 </view >
88
9- <view
10- :class =" `wd-navbar__left ${leftDisabled ? 'is-disabled' : ''}`"
11- :hover-class =" leftDisabled || $slots.left ? '' : 'wd-navbar__left--hover'"
12- :hover-stay-time =" 70"
13- @click =" handleClickLeft"
14- v-else-if =" !$slots.left"
15- >
9+ <view :class =" `wd-navbar__left ${leftDisabled ? 'is-disabled' : ''}`" @click =" handleClickLeft" v-else-if =" !$slots.left" >
1610 <wd-icon v-if =" leftArrow" name =" arrow-left" custom-class =" wd-navbar__arrow" />
1711 <view v-if =" leftText" class =" wd-navbar__text" >{{ leftText }}</view >
1812 </view >
2519 <slot name =" title" />
2620 <block v-if =" !$slots.title && title" >{{ title }}</block >
2721 </view >
28- <view
29- :class =" `wd-navbar__right ${rightDisabled ? 'is-disabled' : ''}`"
30- @click =" handleClickRight"
31- v-if =" $slots.right || rightText"
32- :hover-class =" rightDisabled ? '' : 'wd-navbar__right--hover'"
33- :hover-stay-time =" 70"
34- >
22+ <view :class =" `wd-navbar__right ${rightDisabled ? 'is-disabled' : ''}`" @click =" handleClickRight" v-if =" $slots.right || rightText" >
3523 <slot name =" right" />
3624
3725 <view v-if =" !$slots.right && rightText" class =" wd-navbar__text" hover-class =" wd-navbar__text--hover" :hover-stay-time =" 70" >
You can’t perform that action at this time.
0 commit comments