This commit is contained in:
SelfRidicule 2024-08-16 16:09:00 +08:00
parent 70559fbf50
commit e1601bd81b
3 changed files with 74 additions and 6 deletions

View File

@ -2,6 +2,7 @@
"navigationBarTitleText": "首页", "navigationBarTitleText": "首页",
"navigationStyle": "custom", "navigationStyle": "custom",
"usingComponents": { "usingComponents": {
"van-notify": "@vant/weapp/notify/index" "van-notify": "@vant/weapp/notify/index",
"van-icon": "@vant/weapp/icon/index"
} }
} }

View File

@ -25,6 +25,22 @@
</view> </view>
</view> </view>
<!-- 消息通知 -->
<view class="itemTitleView">
<view class="title">消息通知</view>
<view class="more">更多</view>
</view>
<view class="infoView">
<view class="itemView" wx:for="{{3}}">
<view class="contentView ellipsisFont">
<view class="title">工单动态</view>
<view class="msg ellipsisFont">您的工单《空调》已受理,正在处理中正在处理中正在处理中正在处理中</view>
<view class="time">2024-08-16 13:49:11</view>
</view>
<van-icon class="arrow" name="arrow" color="#c3c3c3" size="40rpx"/>
</view>
</view>
<!-- tabBar --> <!-- tabBar -->
<view class="tab-bar"> <view class="tab-bar">
<view wx:for="{{tabBarList}}" wx:key="index" class="tab-bar-item {{item.bulge?'bulge':''}}" data-path="{{item.pagePath}}" data-index="{{index}}" bindtap="switchTab"> <view wx:for="{{tabBarList}}" wx:key="index" class="tab-bar-item {{item.bulge?'bulge':''}}" data-path="{{item.pagePath}}" data-index="{{index}}" bindtap="switchTab">

View File

@ -1,4 +1,11 @@
@import "../../tabBar.wxss"; @import "../../tabBar.wxss";
.containerView.public {
position: relative;
background: #fbfbfb;
padding-bottom: 300rpx;
}
.topHead { .topHead {
position: relative; position: relative;
height: 500rpx; height: 500rpx;
@ -40,12 +47,12 @@
border-bottom-right-radius: 96rpx; border-bottom-right-radius: 96rpx;
} }
.topHead .homeView{ .topHead .homeView {
position: absolute; position: absolute;
z-index: 4; z-index: 4;
left: 40rpx; left: 40rpx;
top: 100rpx; top: 100rpx;
border-radius: 50rpx; border-radius: 50rpx;
width: 50rpx; width: 50rpx;
height: 50rpx; height: 50rpx;
@ -115,15 +122,59 @@
} }
.itemTitleView .more {
font-size: 28rpx;
color: #5482de;
}
.infoView {
/* border: 1px solid red; */
background: white;
margin: 30rpx 20rpx;
}
.infoView .itemView {
display: flex;
justify-content: space-between;
align-items: center;
padding: 30rpx 30rpx;
border-bottom: 2rpx solid rgb(126, 126, 126, 0.2);
}
.infoView .itemView:last-of-type {
border-bottom: none;
}
.infoView .itemView .contentView {}
.infoView .itemView .arrow {
margin-left: 20rpx;
}
.infoView .itemView .contentView .title {
font-size: 30rpx;
color: orange;
}
.infoView .itemView .contentView .msg {
font-size: 26rpx;
color: gray;
margin-top: 16rpx;
}
.infoView .itemView .contentView .time {
font-size: 24rpx;
color: gray;
margin-top: 4rpx
}
.fixed { .fixed {
background: white; padding: 0 30rpx 10rpx 30rpx;
padding: 0 30rpx 240rpx 30rpx;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
/* border-radius: 20rpx; */ /* border-radius: 20rpx; */
margin-bottom: 40rpx;
} }
.fixedbox { .fixedbox {