修改首页 #39

Merged
gaogaoyujie merged 2 commits from gyj into dev 2024-03-04 06:40:35 +00:00
8 changed files with 56 additions and 37 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;
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+37
View File
@@ -3,7 +3,18 @@
"pages/switchSystem",
"pages/login",
"pages/register",
"pages/index",
"pages/work/index",
"pages/mine/index",
"pages/mine/avatar/index",
"pages/mine/info/index",
"pages/mine/info/edit",
"pages/mine/pwd/index",
"pages/mine/setting/index",
"pages/mine/help/index",
"pages/mine/about/index",
"pages/common/webview/index",
"pages/common/textview/index",
"pages/handlecase/index",
"pages/handlecase/component/uploadEvidence",
"pages/handlecase/component/confirmPayment",
@@ -31,6 +42,32 @@
"navigationBarTitleText": "RuoYi",
"navigationBarBackgroundColor": "#FFFFFF"
},
"tabBar": {
"color": "#000000",
"selectedColor": "#000000",
"borderStyle": "white",
"backgroundColor": "#ffffff",
"list": [
{
"pagePath": "pages/index",
"iconPath": "static/images/tabbar/home.png",
"selectedIconPath": "static/images/tabbar/home_.png",
"text": "首页"
},
{
"pagePath": "pages/work/index",
"iconPath": "static/images/tabbar/work.png",
"selectedIconPath": "static/images/tabbar/work_.png",
"text": "工作台"
},
{
"pagePath": "pages/mine/index",
"iconPath": "static/images/tabbar/mine.png",
"selectedIconPath": "static/images/tabbar/mine_.png",
"text": "我的"
}
]
},
"permission": {},
"usingComponents": {}
}