首页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="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> </view>
<view class="logo" style="background: no-repeat center/cover url({{IMG_NAME + '/profile/static/repair/index/logo.png'}});"></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="itemTitleView">
<view class="title">我的应用</view> <view class="title">我的应用</view>
</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"> <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> <image class="menuImg" src="{{IMG_NAME + item.img}}"></image>
<view class="menuTitle">{{item.name}}</view> <view class="menuTitle">{{item.name}}</view>
</view> </view>
<view style="clear: both;"></view>
</view> </view>
<!-- 消息通知 --> <!-- 消息通知 -->
<view class="itemTitleView"> <view class="itemTitleView" style="margin-top: 80rpx;">
<view class="title">消息通知</view> <view class="title">消息通知</view>
<view class="more" bind:tap="jumpInfo">更多</view> <view class="more" bind:tap="jumpInfo">更多</view>
</view> </view>

View File

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

View File

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

View File

@ -32,7 +32,7 @@
<view class="label must">门牌号(地点)</view> <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" /> <van-field value="{{ detail.room }}" bind:input="fieldInput" data-name="room" clearable input-class="input" placeholder="请输入" border="{{ false }}" input-align="right" />
</view> </view>
<view class="rowColumnView"> <view class="rowColumnView" id="des">
<view class="label must">故障描述</view> <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>

View File

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