mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-21 14:19:38 +08:00
1
This commit is contained in:
parent
058d9e7c07
commit
01bb968626
@ -112,6 +112,18 @@ Page({
|
||||
verifyShow: true
|
||||
})
|
||||
}
|
||||
// 设置状态颜色
|
||||
let color = "#3794FF"
|
||||
if (detail.status == 0) { // 待审核
|
||||
color = "#3794FF"
|
||||
verifyShow = true;
|
||||
} else if (detail.status == 1) { // 审核通过
|
||||
color = "#62c855"
|
||||
} else if (detail.status == 2) { // 审核驳回
|
||||
color = "red"
|
||||
}
|
||||
detail.fontColor = color;
|
||||
|
||||
_this.setData({
|
||||
detail,
|
||||
fileList: [{
|
||||
|
@ -44,7 +44,14 @@
|
||||
<view class="label must">来访事由</view>
|
||||
<van-field value="{{ detail.visitContent }}" bind:input="fieldInput" data-name="visitContent" input-class="input" placeholder="请输入" border="{{ false }}" input-align="right" />
|
||||
</view>
|
||||
|
||||
<view class="rowView self">
|
||||
<view class="label">审核状态</view>
|
||||
<view class="input" style="color: {{detail.fontColor}};">{{detail.statusName}}</view>
|
||||
</view>
|
||||
<view class="rowView self">
|
||||
<view class="label">审核内容</view>
|
||||
<view class="input">{{detail.rejectContent ? detail.rejectContent : ''}}</view>
|
||||
</view>
|
||||
<view class="rowView">
|
||||
<view class="label must">访客照片</view>
|
||||
<van-field style="visibility: hidden;" />
|
||||
|
@ -9,6 +9,11 @@
|
||||
|
||||
.contentView {}
|
||||
|
||||
.contentView .rowView.self {
|
||||
padding: 28rpx 28rpx 28rpx 30rpx;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.contentView .rowView {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@ -21,11 +26,12 @@
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
|
||||
.contentView .rowView .label {
|
||||
position: relative;
|
||||
font-size: 30rpx;
|
||||
color: #000000;
|
||||
min-width: 120rpx;
|
||||
margin-right: 30rpx;
|
||||
}
|
||||
|
||||
.contentView .rowView .label.must::after {
|
||||
|
Loading…
x
Reference in New Issue
Block a user