员工列表样式

This commit is contained in:
duan
2024-11-01 13:36:37 +08:00
parent 69712862d9
commit 82d9e44827

View File

@@ -1,6 +1,6 @@
<template> <template>
<ul class="liststyle"> <view class="liststyle">
<li v-for="item in datas.list " :key="item.id"> <view v-for="item in datas.list " :key="item.id">
<view class=""> <view class="">
<view class=""> <view class="">
<span style="font-size: 28rpx;color: #333333; ">{{item.name}}&nbsp;</span> <span style="font-size: 28rpx;color: #333333; ">{{item.name}}&nbsp;</span>
@@ -24,9 +24,9 @@
text="编辑"></up-button> text="编辑"></up-button>
</view> </view>
</view> </view>
</li> </view>
<li style="background-color: rgba(0,0,0,0);"></li> <view style="background-color: rgba(0,0,0,0);"></view>
</ul> </view>
<view v-if="datas.list.length==0" style="text-align: center;"> <view v-if="datas.list.length==0" style="text-align: center;">
<image src="./bg.png" style="width: 325rpx;height: 335rpx;" mode=""></image> <image src="./bg.png" style="width: 325rpx;height: 335rpx;" mode=""></image>
<view style="font-size: 28rpx;color: #999;">暂无员工</view> <view style="font-size: 28rpx;color: #999;">暂无员工</view>
@@ -124,13 +124,9 @@
ul,
li {
list-style: none;
}
.liststyle { .liststyle {
>li { >view {
// width: 694rpx; // width: 694rpx;
height: 192rpx; height: 192rpx;
background: #FFFFFF; background: #FFFFFF;