bug修改
This commit is contained in:
@@ -1,13 +1,23 @@
|
||||
<!--pages/meeting/meeting.wxml-->
|
||||
<view class="list-box" wx:if="{{list && list.length}}">
|
||||
<view class="list-item" wx:for="{{list}}" wx:key="item" bindtap="contractDetail" data-meeting="{{item}}">
|
||||
<view class="list-info">
|
||||
<text>{{item.contractName}}</text>
|
||||
<text>合同金额:{{item.contractAmount ? item.contractAmount + '元' : '0'}}</text>
|
||||
</view>
|
||||
<view class="list-info">
|
||||
<text>合同编号:{{item.contractNum}}</text>
|
||||
<text>负责人:{{item.principalName}}</text>
|
||||
<view wx:if="{{list && list.length}}">
|
||||
<view class="basic-info">
|
||||
<view class="container" wx:for="{{list}}" wx:key="item" bindtap="contractDetail" data-meeting="{{item}}">
|
||||
<view>
|
||||
<text>合同名称</text>
|
||||
<text>{{item.contractName}}</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>合同金额</text>
|
||||
<text>{{item.contractAmount ? item.contractAmount + '元' : ''}}</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>合同编号</text>
|
||||
<text>{{item.contractNum}}</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>负责人</text>
|
||||
<text>{{item.principalName}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -1,27 +1,30 @@
|
||||
/* pages/mineContract/mineContract.wxss */
|
||||
page{
|
||||
background-color: #F5F5F5;
|
||||
background-color: #f5f5f5;
|
||||
padding: 15px;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.list-item{
|
||||
.basic-info .container{
|
||||
display: flex;
|
||||
padding: 15px;
|
||||
height: 40px;
|
||||
justify-content: space-between;
|
||||
flex-direction: column;
|
||||
background-color: #fff;
|
||||
border-radius: 10px;
|
||||
color: #333;
|
||||
}
|
||||
.list-item:not(:first-child){
|
||||
margin-top: 10px;
|
||||
}
|
||||
.list-item .list-info{
|
||||
color: #333;
|
||||
.basic-info .container view{
|
||||
background-color: #FFF;
|
||||
padding: 15px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
color: #333;
|
||||
font-size: 14px;
|
||||
border-bottom: 0.5px solid #f5f5f5;
|
||||
position: relative;
|
||||
}
|
||||
.basic-info view:last-child{
|
||||
border-bottom: 0;
|
||||
}
|
||||
.basic-info view text:nth-child(1){
|
||||
flex-shrink: 0;
|
||||
margin-right: 10px;
|
||||
}
|
||||
Reference in New Issue
Block a user