This commit is contained in:
weipengfei 2023-12-25 14:36:19 +08:00
parent 9e6b775c88
commit c3c5c0e055
4 changed files with 12 additions and 8 deletions

View File

@ -6,11 +6,11 @@
<view class="nav-con">
<view class="left"></view>
<view class="title" @click="navBack">
<u-icon name="arrow-left" color="#fff" style="margin-right: 10rpx;"></u-icon> <text
<u-icon name="arrow-left" size="40rpx" color="#fff" style="margin-right: 10rpx;"></u-icon> <text
style="padding-bottom: 5rpx;">转栏记录</text>
</view>
<view class="btn" style="margin-top: -5rpx;">
<u-icon name="plus" color="#fff" style="margin-right: 20rpx;"
<u-icon name="plus" color="#fff" size="40rpx" style="margin-right: 20rpx;"
@click="navTo('/pages/jump/addJump')"></u-icon>
<Myindex url='/pages/index/massif' />
</view>

View File

@ -6,11 +6,11 @@
<view class="nav-con">
<view class="left"></view>
<view class="title" @click="navBack">
<u-icon name="arrow-left" color="#fff" style="margin-right: 10rpx;"></u-icon> <text
<u-icon name="arrow-left" color="#fff" size="40rpx" style="margin-right: 10rpx;"></u-icon> <text
style="padding-bottom: 5rpx;">离栏记录</text>
</view>
<view class="btn" style="margin-top: -5rpx;">
<u-icon name="plus" color="#fff" style="margin-right: 20rpx;" @click="navTo('/pages/leave/addLeave')"></u-icon>
<u-icon name="plus" color="#fff" size="40rpx" style="margin-right: 20rpx;" @click="navTo('/pages/leave/addLeave')"></u-icon>
<Myindex url='/pages/index/massif' />
</view>
</view>

View File

@ -6,11 +6,11 @@
<view class="nav-con">
<view class="left"></view>
<view class="title" @click="navBack">
<u-icon name="arrow-left" color="#fff" style="margin-right: 10rpx;"></u-icon> <text
<u-icon name="arrow-left" color="#fff" size="40rpx" style="margin-right: 10rpx;"></u-icon> <text
style="padding-bottom: 5rpx;">栏舍设置</text>
</view>
<view class="btn" style="margin-top: -5rpx;">
<u-icon name="plus" color="#fff" style="margin-right: 20rpx;" @click="navTo('/pages/plantAdmin/addHouse')"></u-icon>
<u-icon name="plus" color="#fff" size="40rpx" style="margin-right: 20rpx;" @click="navTo('/pages/plantAdmin/addHouse')"></u-icon>
<Myindex url='/pages/index/massif' />
</view>
</view>

View File

@ -6,11 +6,11 @@
<view class="nav-con">
<view class="left"></view>
<view class="title" @click="navBack">
<u-icon name="arrow-left" color="#fff" style="margin-right: 10rpx;"></u-icon> <text
<u-icon name="arrow-left" color="#fff" size="40rpx" style="margin-right: 10rpx;"></u-icon> <text
style="padding-bottom: 5rpx;">档案管理</text>
</view>
<view class="btn" style="margin-top: -5rpx;">
<u-icon name="plus" color="#fff" style="margin-right: 20rpx;"
<u-icon name="plus" color="#fff" size="40rpx" style="margin-right: 20rpx;"
@click="show=true"></u-icon>
<Myindex url='/pages/index/massif' />
</view>
@ -134,6 +134,10 @@
})
}
const navBack = () => {
uni.navigateBack()
}
const getNowTimeFn = () => {
const now = new Date();
const hour = now.getHours();