首页UI修改

首页UI修改
This commit is contained in:
unknown 2024-08-28 17:00:02 +08:00
parent 7f61f124de
commit d267842a86
5 changed files with 51 additions and 40 deletions

View File

@ -8,7 +8,7 @@
<view class="title">机关事务管理平台</view>
<view class="contentView">
<view class="label1">欢迎进入</view>
<view class="label2">淮安市机关事务管理平台</view>
<view class="label2">市行政中心后勤服务平台</view>
</view>
</view>
<view class="logo" style="background: no-repeat center/cover url({{IMG_NAME + '/profile/static/repair/index/logo.png'}});"></view>
@ -18,14 +18,15 @@
<view class="itemTitleView">
<view class="title">我的应用</view>
</view>
<view class="fixed">
<view class="fixed" align="center">
<view class="fixedbox" wx:for='{{menuList}}' wx:key='index' data-path="{{item.path}}" data-name="{{item.name}}" bindtap="navapply">
<image class="menuImg" src="{{IMG_NAME + item.img}}"></image>
<view class="menuTitle">{{item.name}}</view>
</view>
<view style="clear: both;"></view>
</view>
<!-- 消息通知 -->
<view class="itemTitleView">
<view class="itemTitleView" style="margin-top: 80rpx;">
<view class="title">消息通知</view>
<view class="more" bind:tap="jumpInfo">更多</view>
</view>

View File

@ -8,7 +8,7 @@
.topHead {
position: relative;
height: 500rpx;
height: 530rpx;
overflow: hidden;
}
@ -31,7 +31,7 @@
right: 0;
top: 187rpx;
width: 446rpx;
height: 452rpx;
height: 400rpx;
}
.topHead .maskView3 {
@ -83,27 +83,28 @@
}
.topHead .contentView .label1 {
font-size: 47rpx;
font-size: 57rpx;
color: #FFFFFF;
line-height: 1;
font-weight: 700;
}
.topHead .contentView .label2 {
font-size: 26rpx;
font-size: 35rpx;
color: #FFFFFF;
line-height: 1;
margin-top: 40rpx;
font-weight: 700;
}
.logo {
position: absolute;
z-index: 999;
left: 50%;
top: 400rpx;
top: 420rpx;
transform: translateX(-50%);
width: 210rpx;
height: 210rpx;
width: 250rpx;
height: 250rpx;
}
@ -112,13 +113,14 @@
display: flex;
justify-content: space-between;
align-items: center;
margin: 140rpx 50rpx 0;
margin: 100rpx 50rpx 0;
}
.itemTitleView .title {
margin-left: 10rpx;
font-size: 28rpx;
font-size: 32rpx;
color: #141414;
font-weight: 700;
}
@ -171,16 +173,20 @@
.fixed {
padding: 0 30rpx 10rpx 30rpx;
display: flex;
flex-wrap: wrap;
/* padding: 0 30rpx 10rpx 30rpx; */
width: 60%;
margin: 0px auto;
/* display: inline; */
/* display: flex; */
/* flex-wrap: wrap; */
/* border-radius: 20rpx; */
}
.fixedbox {
width: 25%;
width: 50%;
text-align: center;
margin-top: 40rpx;
margin-top: 70rpx;
float: left;
}
.bot {
@ -273,14 +279,15 @@
.menuImg {
width: 132rpx;
height: 134rpx;
width: 162rpx;
height: 164rpx;
margin-left: 15rpx;
}
.menuTitle {
font-size: 24rpx;
font-size: 32rpx;
color: #646466;
font-weight: 500;
}

View File

@ -75,27 +75,28 @@
}
.topHead .contentView .label1 {
font-size: 47rpx;
color: #FFFFFF;
line-height: 1;
font-size: 57rpx;
color: #FFFFFF;
line-height: 1;
font-weight: 700;
}
.topHead .contentView .label2 {
font-size: 26rpx;
color: #FFFFFF;
line-height: 1;
margin-top: 40rpx;
font-size: 33rpx;
color: #FFFFFF;
line-height: 1;
margin-top: 40rpx;
font-weight: 700;
}
.topHead .logo {
position: absolute;
z-index: 4;
left: 50%;
bottom: -80rpx;
bottom: -140rpx;
transform: translateX(-50%);
width: 210rpx;
height: 210rpx;
width: 250rpx;
height: 250rpx;
}
.menuContainerView {
@ -121,12 +122,12 @@
}
.menuContainerView .menuView .menuImg {
width: 120rpx;
height: 120rpx;
width: 140rpx;
height: 140rpx;
}
.menuContainerView .menuView .menuTitle {
font-size: 26rpx;
font-size: 32rpx;
color: #4B6291;
font-weight: 600;
line-height: 1;

View File

@ -32,9 +32,9 @@
<view class="label must">门牌号(地点)</view>
<van-field value="{{ detail.room }}" bind:input="fieldInput" data-name="room" clearable input-class="input" placeholder="请输入" border="{{ false }}" input-align="right" />
</view>
<view class="rowColumnView">
<view class="rowColumnView" id="des">
<view class="label must">故障描述</view>
<van-field model:value="{{ detail.explain }}" bind:input="fieldInput" data-name="explain" input-class="textarea" type="textarea" clearable placeholder="请对故障进行描述" maxlength="{{100}}" show-word-limit border="{{false}}" autosize />
<van-field model:value="{{ detail.explain }}" bind:input="fieldInput" data-name="explain" input-class="textarea" type="textarea" clearable placeholder="请对故障进行描述" maxlength="{{100}}" show-word-limit border="{{false}}" autosize />
</view>
<view class="rowColumnView">
<view class="label">故障图片/视频</view>

View File

@ -150,12 +150,14 @@
font-size: 30rpx;
text-align: center;
}
#des .van-cell {
padding: 0;
}
.textarea {
height: 150rpx !important;
height: 250rpx !important;
/* border: 1px solid rgb(126, 126, 126, 0.2) !important; */
padding: 0rpx !important;
padding: 10rpx !important;
}
.dialogBtnView {