签到码
This commit is contained in:
@@ -35,7 +35,15 @@ Component({
|
||||
homeShowTitle:{
|
||||
type: Boolean,
|
||||
value: false
|
||||
}
|
||||
},
|
||||
showHomeIcon:{
|
||||
type: Boolean,
|
||||
value: true
|
||||
},
|
||||
showLeftIcon:{
|
||||
type: Boolean,
|
||||
value: true
|
||||
},
|
||||
},
|
||||
attached: function () {
|
||||
this.setNavSize()
|
||||
@@ -88,9 +96,10 @@ Component({
|
||||
})
|
||||
},
|
||||
home: function () {
|
||||
wx.switchTab({
|
||||
wx.reLaunch({
|
||||
url: '/pages/index/index'
|
||||
})
|
||||
wx.re
|
||||
}
|
||||
}
|
||||
})
|
||||
@@ -15,7 +15,7 @@
|
||||
<i class="iconfont mr10 icon-fanhui" style="font-size:22px;color:{{txtColor}};"></i>
|
||||
</view>
|
||||
</view>
|
||||
<view class="absolute left-0 box-middle" style="width:40px;height:32px;margin-left:7px;box-sizing:border-box;" wx:else>
|
||||
<view class="absolute left-0 box-middle" style="width:40px;height:32px;margin-left:7px;box-sizing:border-box;" wx:elif="{{showHomeIcon}}">
|
||||
<view class="absolute box-center-middle" bindtap='home' wx:if="{{!isShowHomeBtn}}">
|
||||
<i class="iconfont icon-shouye1" style="font-size:22px;color:{{txtColor}}"></i>
|
||||
</view>
|
||||
@@ -23,4 +23,5 @@
|
||||
<view class='navbarTitle absolute box-center-middle wp40 text-center text-nowrap text-bold' style="color:{{txtColor}};">{{titleText}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{isShowBg}}" style='height: {{status + navHeight}}px;'></view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user