flx:修改样式问题

This commit is contained in:
X_Rian 2024-07-24 17:24:21 +08:00
parent 147fd71fc4
commit aa9fe0be1c
2 changed files with 12 additions and 3 deletions

View File

@ -65,7 +65,8 @@
<scroll-view :scroll-y="true" class="scrollBox" :style="{height: scrollHeight + 'px'}" v-if="checked == 2">
<div class="conProjectItem" v-for="item in conProjectList" :key="item.id">
<view class="property-item">
<view class="item-top">承包商名称</view>
<!-- 承包商名称 -->
<view class="item-top">承包项目名称</view>
<view class="item-bottom">{{item.cbsName || '--'}}</view>
</view>
<view class="property-item">

View File

@ -5,7 +5,7 @@
进度管理系统
</view>
</headers>
<view class="content">
<view class="content" :style="{paddingTop: mobileTopHeight + 'px'}">
<view class="title">
进度详情
</view>
@ -81,6 +81,7 @@
export default {
data() {
return {
mobileTopHeight: 0,
itemFrom: {},
userInfo: {},
tableData: [],
@ -88,6 +89,12 @@
}
},
onLoad(option) {
uni.getSystemInfo({
success(res) {
that.mobileTopHeight = res.statusBarHeight ? res.statusBarHeight : 0;
console.log(res)
}
})
this.itemFrom = JSON.parse(option.obj);
console.log(this.itemFrom, 666777)
if (this.itemFrom) {
@ -137,6 +144,7 @@
width: 100%;
box-sizing: border-box;
padding: 20rpx 16rpx;
// height: calc(100vh - 88rpx - 32rpx);
.title {
margin: 20rpx;
@ -163,11 +171,11 @@
}
.type-img {
margin-top: 20rpx;
display: flex;
flex-wrap: wrap;
image {
margin-top: 20rpx;
width: 280rpx;
height: 200rpx;
margin-right: 20rpx;