描述:首页修改

This commit is contained in:
SelfRidicule 2024-08-05 16:28:32 +08:00
parent 54eb3432e1
commit 5cc3a0deff
5 changed files with 95 additions and 35 deletions

View File

@ -1,13 +1,17 @@
<view class="containerView public"> <view class="containerView public">
<view class="topHead"> <view class="topHead">
<view class="maskView1"></view>
<view class="maskView2" style="background: no-repeat center/cover url({{IMG_NAME + '/profile/static/repair/index/person.png'}});"></view>
<view class="maskView3"></view>
<view class="title">机关事务管理平台</view> <view class="title">机关事务管理平台</view>
<view class="contentView"> <view class="contentView">
<view class="label1">欢迎进入</view> <view class="label1">欢迎进入</view>
<view class="label2">淮安市机关事务管理平台</view> <view class="label2">淮安市机关事务管理平台</view>
</view> </view>
<view class="logo"></view>
</view> </view>
<view class="logo" style="background: no-repeat center/cover url({{IMG_NAME + '/profile/static/repair/index/logo.png'}});"></view>
<!-- 菜单模块 --> <!-- 菜单模块 -->

View File

@ -1,48 +1,102 @@
@import "../../tabBar.wxss"; @import "../../tabBar.wxss";
.topHead { .topHead {
position: relative; position: relative;
height: 500rpx; height: 500rpx;
background: #5985de; overflow: hidden;
border-bottom-left-radius: 80rpx; }
border-bottom-right-radius: 80rpx;
.topHead .maskView1 {
position: absolute;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: #4c81e5;
opacity: 87%;
border-bottom-left-radius: 96rpx;
border-bottom-right-radius: 96rpx;
}
.topHead .maskView2 {
position: absolute;
z-index: 2;
right: 0;
top: 187rpx;
width: 446rpx;
height: 452rpx;
}
.topHead .maskView3 {
position: absolute;
z-index: 3;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: #4c81e5;
opacity: 85%;
border-bottom-left-radius: 96rpx;
border-bottom-right-radius: 96rpx;
}
.topHead .homeView{
position: absolute;
z-index: 4;
left: 40rpx;
top: 100rpx;
border-radius: 50rpx;
width: 50rpx;
height: 50rpx;
display: flex;
justify-content: center;
align-items: center;
background: #4b71be;
} }
.topHead .title { .topHead .title {
position: absolute; position: absolute;
z-index: 4;
left: 50%; left: 50%;
top: 110rpx; top: 120rpx;
transform: translateX(-50%); transform: translateX(-50%);
font-size: 28rpx; font-size: 32rpx;
color: #ffffff; color: #FFFFFF;
line-height: 1rpx;
text-align: left;
} }
.topHead .contentView { .topHead .contentView {
position: absolute; position: absolute;
left: 60rpx; z-index: 4;
bottom: 110rpx; left: 0;
top: 280rpx;
padding-left: 58rpx;
} }
.topHead .contentView .label1 { .topHead .contentView .label1 {
font-size: 44rpx; font-size: 47rpx;
color: white; color: #FFFFFF;
line-height: 1;
} }
.topHead .contentView .label2 { .topHead .contentView .label2 {
font-size: 26rpx; font-size: 26rpx;
color: white; color: #FFFFFF;
margin-top: 20rpx; line-height: 1;
margin-top: 40rpx;
} }
.topHead .logo { .logo {
width: 160rpx;
height: 160rpx;
background: #c9c9c9;
border-radius: 100rpx;
position: absolute; position: absolute;
z-index: 999;
left: 50%; left: 50%;
bottom: -80rpx; top: 400rpx;
transform: translateX(-50%); transform: translateX(-50%);
width: 210rpx;
height: 210rpx;
} }

View File

@ -9,19 +9,19 @@ Page({
IMG_NAME: app.IMG_NAME, IMG_NAME: app.IMG_NAME,
menuList: [{ menuList: [{
name: "我要报修", name: "我要报修",
img: "/profile/static/index/menu-bxfw.png", img: "/profile/static/repair/index/my.png",
path: "/pages/reportRepair/report/report" path: "/pages/reportRepair/report/report"
}, { }, {
name: "报修查询", name: "报修查询",
img: "/profile/static/index/menu-ztyy.png", img: "/profile/static/repair/index/query.png",
path: "/pages/reportRepair/query/record/record" path: "/pages/reportRepair/query/record/record"
}, { }, {
name: "维修入口", name: "维修入口",
img: "/profile/static/index/menu-bxfw.png", img: "/profile/static/repair/index/repair.png",
path: "/pages/reportRepair/repair/index/index" path: "/pages/reportRepair/repair/index/index"
}, { }, {
name: "派单入口", name: "派单入口",
img: "/profile/static/index/menu-bxfw.png", img: "/profile/static/repair/index/case.png",
path: "/pages/reportRepair/assign/record/record" path: "/pages/reportRepair/assign/record/record"
}] }]
}, },

View File

@ -2,11 +2,11 @@
<view class="topHead"> <view class="topHead">
<view class="maskView1"></view> <view class="maskView1"></view>
<view class="maskView2"></view> <view class="maskView2" style="background: no-repeat center/cover url({{IMG_NAME + '/profile/static/repair/index/person.png'}});"></view>
<view class="maskView3"></view> <view class="maskView3"></view>
<view class="homeView" bind:tap="back"> <view class="homeView" bind:tap="back">
<van-icon name="revoke" size="30rpx" color="#ffffff"/> <van-icon name="wap-home-o" size="30rpx" color="#ffffff"/>
</view> </view>
<view class="title">随手拍</view> <view class="title">随手拍</view>
@ -14,7 +14,7 @@
<view class="label1">欢迎进入</view> <view class="label1">欢迎进入</view>
<view class="label2">淮安市行政中心报修“随手拍”服务平台</view> <view class="label2">淮安市行政中心报修“随手拍”服务平台</view>
</view> </view>
<view class="logo"></view> <view class="logo" style="background: no-repeat center/cover url({{IMG_NAME + '/profile/static/repair/index/logo.png'}});"></view>
</view> </view>
<view class="menuContainerView"> <view class="menuContainerView">

View File

@ -21,10 +21,9 @@
position: absolute; position: absolute;
z-index: 2; z-index: 2;
right: 0; right: 0;
bottom: 0; top: 187rpx;
width: 446rpx; width: 446rpx;
height: 452rpx; height: 452rpx;
border: 1px solid red;
} }
.topHead .maskView3 { .topHead .maskView3 {
@ -45,8 +44,13 @@
z-index: 4; z-index: 4;
left: 40rpx; left: 40rpx;
top: 100rpx; top: 100rpx;
padding: 10rpx;
border-radius: 50rpx; border-radius: 50rpx;
width: 50rpx;
height: 50rpx;
display: flex;
justify-content: center;
align-items: center;
background: #4b71be; background: #4b71be;
} }
@ -66,7 +70,7 @@
position: absolute; position: absolute;
z-index: 4; z-index: 4;
left: 0; left: 0;
bottom: 246rpx; top: 280rpx;
padding-left: 58rpx; padding-left: 58rpx;
} }
@ -90,10 +94,8 @@
bottom: -80rpx; bottom: -80rpx;
transform: translateX(-50%); transform: translateX(-50%);
width: 226rpx; width: 210rpx;
height: 226rpx; height: 210rpx;
background: #c9c9c9;
border-radius: 226rpx;
} }
.menuContainerView { .menuContainerView {