修复新增按钮错位的bug

This commit is contained in:
weipengfei 2023-08-02 10:27:26 +08:00
parent 583450a39a
commit abfd777256
2 changed files with 6 additions and 5 deletions

View File

@ -97,6 +97,7 @@
password_confirm: '', //
// channel: 6, //[1- 2- 3-H5 4-PC 5-APP 6-APP]
id_card: '',
is_captain: '',//
sex: '',
avatar: '',
nickname: '',

View File

@ -1,6 +1,5 @@
<template>
<view class="personnel">
<button class="new_btn" @click="navTo('/subpkg/newPersonnel/newPersonnel')">创建账号</button>
<view class="personnel_list">
<block v-for="(item, index) in userList" :key="item.id">
<view class="personnel_item">
@ -50,6 +49,7 @@
</block>
<u-loadmore :status="loadConfig.status" :loading-text="loadConfig.loadingText" :loadmore-text="loadConfig.loadmoreText" :nomore-text="loadConfig.nomoreText" />
</view>
<button class="new_btn" @click.stop="navTo('/subpkg/newPersonnel/newPersonnel')">创建账号</button>
</view>
</template>
@ -108,14 +108,14 @@ export default {
<style lang="scss">
.personnel{
display: flex;
flex-direction: column;
align-items: center;
.new_btn{
position: fixed;
bottom: 30rpx;
margin-top: 32rpx;
// margin-top: 32rpx;
// margin-bottom: 40rpx;
left: 50%;
transform: translate(-50%);
z-index: 999;
width: 694rpx;
height: 84rpx;
background: $theme-oa-color;