修改首页

This commit is contained in:
gyj
2024-03-04 14:11:05 +08:00
parent 57cf84d9e3
commit 1fa7c2bb34
8 changed files with 56 additions and 21 deletions
+13 -15
View File
@@ -7,7 +7,7 @@
<view class="cardList" @tap="handlingCases(item.caseFlowId)" v-for="item in homePageList" :key="item.caseFlowId">
<view class="badge">{{item.caseCount}}</view>
<view class="cardMain">
<!-- <img class="iconImg" src="@/assets/images/daishencha.png" alt=""> -->
<img class="iconImg" style="width: 100rpx;height: 70rpx;margin-top: 60rpx;" :src="urls+item.fileName" alt="">
</view>
<view class="cardMain">
<view class="imgTitle">{{item.caseStatusName}}</view>
@@ -18,7 +18,7 @@
</view>
</view>
<view class="homeMain" v-if="sysType == 1">
<!-- <view class="cardList" @tap="refereeCase()">
<!-- <view class="cardList" @tap="refereeCase()">
<view class="badge">{{dataCount.caseApply}}</view>
<view class="cardMain">
</view>
@@ -58,7 +58,7 @@
<view class="imgTitle">待案件质证</view>
</view>
</view>
<!-- <view class="cardList" @tap="refereeCase()">
<!-- <view class="cardList" @tap="refereeCase()">
<view class="badge">{{dataCount.caseApplyGroupCheck}}</view>
<view class="cardMain">
</view>
@@ -168,7 +168,8 @@
<script>
import {todoCount,toDoCountReferee} from '@/api/homePage/index.js'
import LuanqingEmpty from "@/components/luanqing-empty.vue"
import LuanqingEmpty from "@/components/luanqing-empty.vue"
import config from '@/config'
export default {
components: {
'luanqing-empty': LuanqingEmpty,
@@ -177,7 +178,9 @@
return {
homePageList:[],
sysType:null,
dataCount:{}
dataCount:{},
urls:config.baseUrlTJ
}
},
methods:{
@@ -229,13 +232,13 @@
// justify-content: space-between;
.cardList {
width: 28%;
height:200rpx;
height:210rpx;
border-radius: 48rpx;
background-color:#ffffff;
position: relative;
margin-right: 30rpx;
margin-bottom: 30rpx;
border:1rpx solid #05baf1;
border:1rpx solid #1296DB;
.badge {
width: 80rpx;
@@ -244,9 +247,9 @@
line-height: 50rpx;
font-size: 35rpx;
font-weight: 500;
color: #e32a4f;
color: red;
border-radius: 10rpx 30rpx 10rpx 30rpx;
background-color: #05baf1;
background-color: #1296DB;
position: absolute;
right: 0;
}
@@ -256,13 +259,8 @@
display: flex;
text-align: center;
justify-content: center;
margin-top: 40rpx;
margin-top: 5rpx;
padding
.iconImg {
width: 100rpx;
height: 110rpx;
}
.imgTitle {
font-size: 28rpx;
font-weight: 600;