fix: 🐛 自定义导航栏在手机被遮挡问题修复
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="home">
|
<view class="home">
|
||||||
|
<view style=" width: 100%;height: var(--status-bar-height)" />
|
||||||
<wd-swiper
|
<wd-swiper
|
||||||
v-model:current="current"
|
v-model:current="current"
|
||||||
:list="swiperList"
|
:list="swiperList"
|
||||||
|
|||||||
@@ -1,13 +1,14 @@
|
|||||||
<template>
|
<template>
|
||||||
<wd-navbar title="用户管理">
|
|
||||||
<template #left>
|
|
||||||
<wd-icon name="thin-arrow-left" @click="handleNavigateback()" />
|
|
||||||
</template>
|
|
||||||
<template #right>
|
|
||||||
<wd-icon name="add-circle" @click="handleOpenDialog()" />
|
|
||||||
</template>
|
|
||||||
</wd-navbar>
|
|
||||||
<view class="user">
|
<view class="user">
|
||||||
|
<view style=" width: 100%;height: var(--status-bar-height)" />
|
||||||
|
<wd-navbar title="用户管理">
|
||||||
|
<template #left>
|
||||||
|
<wd-icon name="thin-arrow-left" @click="handleNavigateback()" />
|
||||||
|
</template>
|
||||||
|
<template #right>
|
||||||
|
<wd-icon name="add-circle" @click="handleOpenDialog()" />
|
||||||
|
</template>
|
||||||
|
</wd-navbar>
|
||||||
<!-- 排序筛选 -->
|
<!-- 排序筛选 -->
|
||||||
<view class="mb-24rpx">
|
<view class="mb-24rpx">
|
||||||
<wd-drop-menu>
|
<wd-drop-menu>
|
||||||
@@ -27,6 +28,12 @@
|
|||||||
</view>
|
</view>
|
||||||
</wd-drop-menu-item>
|
</wd-drop-menu-item>
|
||||||
</wd-drop-menu>
|
</wd-drop-menu>
|
||||||
|
|
||||||
|
<view>
|
||||||
|
<wd-text text="共" size="12px" />
|
||||||
|
<wd-text :text="total" size="12px" />
|
||||||
|
<wd-text text="条数据" size="12px" />
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 用户卡片 -->
|
<!-- 用户卡片 -->
|
||||||
@@ -59,23 +66,28 @@
|
|||||||
</wd-cell-group>
|
</wd-cell-group>
|
||||||
|
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<wd-swipe-action>
|
<view class="flex-between">
|
||||||
<view class="flex-between">
|
<view>
|
||||||
<view>
|
<wd-text text="创建时间:" size="12px" />
|
||||||
<wd-text text="创建时间:" size="12px" />
|
<wd-text :text="item.createTime" size="12px" />
|
||||||
<wd-text :text="item.createTime" size="12px" />
|
</view>
|
||||||
</view>
|
<view class="flex-end">
|
||||||
<view>
|
<wd-button type="primary" size="small" plain @click="handleOpenDialog(item.id)">
|
||||||
<wd-button size="small" plain @click="handleOpenDialog(item.id)">编辑</wd-button>
|
编辑
|
||||||
|
</wd-button>
|
||||||
|
<view class="ml-2">
|
||||||
|
<wd-drop-menu>
|
||||||
|
<wd-drop-menu-item ref="dropMenu" title="更多" icon="more">
|
||||||
|
<view class="text-right m-5">
|
||||||
|
<wd-button type="error" size="small" plain @click="handleDelete(item.id)">
|
||||||
|
删除
|
||||||
|
</wd-button>
|
||||||
|
</view>
|
||||||
|
</wd-drop-menu-item>
|
||||||
|
</wd-drop-menu>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
</view>
|
||||||
<template #right>
|
|
||||||
<wd-button type="error" plain size="small" @click="handleDelete(item.id)">
|
|
||||||
删除
|
|
||||||
</wd-button>
|
|
||||||
</template>
|
|
||||||
</wd-swipe-action>
|
|
||||||
</template>
|
</template>
|
||||||
</wd-card>
|
</wd-card>
|
||||||
|
|
||||||
@@ -112,7 +124,6 @@
|
|||||||
</view>
|
</view>
|
||||||
</wd-popup>
|
</wd-popup>
|
||||||
|
|
||||||
<wd-loading v-show="loading" />
|
|
||||||
<!-- <wd-fab position="left-bottom" :expandable="false" @click="handleOpenDialog" /> -->
|
<!-- <wd-fab position="left-bottom" :expandable="false" @click="handleOpenDialog" /> -->
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ export default {
|
|||||||
{
|
{
|
||||||
"flex-center": "flex justify-center items-center flex-wrap",
|
"flex-center": "flex justify-center items-center flex-wrap",
|
||||||
"flex-start": "flex justify-start items-center",
|
"flex-start": "flex justify-start items-center",
|
||||||
|
"flex-end": "flex justify-end items-center",
|
||||||
"flex-col-center": "flex flex-col justify-center items-center",
|
"flex-col-center": "flex flex-col justify-center items-center",
|
||||||
"flex-between": "flex justify-between items-center",
|
"flex-between": "flex justify-between items-center",
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user