zhoux 1 год назад
Родитель
Сommit
836cf07927
1 измененных файлов с 4 добавлено и 11 удалено
  1. 4 11
      components/dkbase/dk-navbar/dk-navbar.wxml

+ 4 - 11
components/dkbase/dk-navbar/dk-navbar.wxml

@@ -1,17 +1,10 @@
 <!--components/dkbase/dk-navbar/dk-navbar.wxml-->
-<van-nav-bar
-  z-index="10000"
-  bind:click-left="clickLeft"
-  fixed="{{fixed}}"
-  custom-style="{{customStyle}}"
-  border="{{false}}"
-  class="van-nav-bar"
->
-  <van-icon size="20" name="arrow-left" color="{{ fixed ? '#ffffff' : '#000000' }}" slot="left"/>
+<van-nav-bar z-index="10000" bind:click-left="clickLeft" fixed="{{fixed}}" custom-style="{{customStyle}}" border="{{false}}" class="van-nav-bar">
+  <van-icon custom-style="position: absolute;font-weight:bold" size="20" name="arrow-left" color="{{ fixed ? '#ffffff' : '#000000' }}" slot="left" />
   <view slot="title">
     <view class="title">
-        <text style="color: {{titleFontColor}};font-size: 14px;">{{navbarTitle}}</text>
-        <van-icon wx:if="{{operateShow}}" style="margin-left: 10rpx;" size="15px" name="question-o" data-item="{{item}}" catchtap="operateClick" color="{{titleFontColor}}" />
+      <text style="color: {{titleFontColor}};font-size: 14px;">{{navbarTitle}}</text>
+      <van-icon wx:if="{{operateShow}}" style="margin-left: 10rpx;" size="15px" name="question-o" data-item="{{item}}" catchtap="operateClick" color="{{titleFontColor}}" />
     </view>
   </view>
 </van-nav-bar>