productCheck.vue
4.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<template>
<view>
<view class="productList">
<view class="productItem">
<view class="productRight">
<image src="../../../static/image/del/ic_90@2x.png" mode=""></image>
</view>
<view class="productLeft">
<view class="productName">
物品名称1
</view>
<view class="productDesc">
x1
</view>
</view>
</view>
</view>
<view class="checkList">
<view class="checkItem">
<view class="companyItem">
<view class="itemLeft">
科室
</view>
<view class="itemRight">
财务科
</view>
</view>
<view class="companyItem">
<view class="itemLeft">
职位
</view>
<view class="itemRight">
财务职员1
</view>
</view>
<view class="companyItem">
<view class="itemLeft">
申请人姓名
</view>
<view class="itemRight">
岳岳
</view>
</view>
<!-- 条件判断控制显示申请时间、开始时间结束时间 -->
<view class="companyItem">
<view class="itemLeft">
申请时间
</view>
<view class="itemRight">
2020-10-31
</view>
</view>
<!-- <view class="companyItem">
<view class="itemLeft">
开始时间
</view>
<view class="itemRight">
2020-10-31
</view>
</view>
<view class="companyItem">
<view class="itemLeft">
结束时间
</view>
<view class="itemRight">
2020-10-31
</view>
</view> -->
</view>
</view>
<view class="checkList">
<view class="checkItem">
<view class="companyItem" style="font-weight: 600;">
申请原因
</view>
<view class="demandDesc">
审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核内容审核审核容内容审核内容审核内容审核内容审核内容审核审核容
</view>
</view>
</view>
<!-- 底部按钮区域 -->
<view style="height: 120rpx;"></view>
<view class="bottomBtnWrap">
<view class="btnItem">
审核失败
</view>
<view class="btnItem active">
审核通过
</view>
</view>
<textarea-alert v-if="showReason" @close="showReason = false"></textarea-alert>
</view>
</template>
<script>
import textareaAlert from '@/components/textareaAlert.vue'
export default{
data(){
return{
showReason:true
}
},
components:{
textareaAlert
}
}
</script>
<style lang="scss">
page{
background-color: $uni-bg-color-hui;
}
.productList{
padding: 32rpx;
border-bottom: 2rpx solid #ebedf0;
background: $uni-bg-bai-color;
.productItem{
padding: 32rpx;
display: flex;
background: $uni-bg-color-hui;
border-radius: 8rpx;
.productLeft{
flex: 1;
.productName{
padding-top: 26rpx;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp:1;
-webkit-box-orient:vertical;
font-size: $uni-font-size-36;
}
.productDesc{
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp:2;
-webkit-box-orient:vertical;
padding-top: 26rpx;
text-align: right;
color: $uni-text-color-hui;
font-size: $uni-font-size-28;
}
}
.productRight{
width: 232rpx;
display: flex;
justify-content: flex-start;
image{width: 212rpx;height: 148rpx;border-radius: 20rpx;}
}
}
}
.checkList{
padding: 32rpx;
background: $uni-bg-bai-color;
border-bottom: 2rpx solid #ebedf0;
.checkItem{
border-radius: 20rpx;
background: $uni-bg-bai-color;
.companyItem{
height: 70rpx;
font-size: $uni-font-size-30;
text{font-weight: 600;}
display: flex;
justify-content: space-between;
align-items: center;
.itemRight{
flex: 1;
height: 40rpx;
border-radius: 20rpx;
color: $uni-text-color-hui;
line-height: $uni-font-lh-40;
}
.itemLeft{
font-weight: 600;
width: 200rpx;
}
}
.demandDesc{
font-size: $uni-font-size-30;
padding-left: 60rpx;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp:3;
-webkit-box-orient:vertical;
}
}
}
/* 底部按钮区域 */
.bottomBtnWrap{
position: fixed;
bottom: 0;
width: 750rpx;
height: 120rpx;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 32rpx;
background: $uni-bg-color-hui;
.btnItem{
width: 332rpx;
height: 88rpx;
background: #72d0f9;
border-radius: 96rpx;
text-align: center;
color: $uni-text-color-bai;
line-height: 88rpx;
font-size: $uni-font-size-32;
}
.btnItem.active{
background: $uni-bg-main-color;
}
}
</style>