作者 mxd

学员档案详情

1 <template> 1 <template>
2 <view class="wrap_box"> 2 <view class="wrap_box">
3 - <!-- <uParse v-if="datas" :content="datas"></uParse> -->  
4 - <!-- stu_bz_index -->  
5 - <view class="tel_index_bg"></view>  
6 <view class="bz_box"> 3 <view class="bz_box">
7 <view class="stu_msg"> 4 <view class="stu_msg">
8 <view class="stu_li"> 5 <view class="stu_li">
@@ -65,18 +62,23 @@ @@ -65,18 +62,23 @@
65 <view class="stu_l"> 62 <view class="stu_l">
66 学号: 63 学号:
67 </view> 64 </view>
68 - <view class="stu_r" style="color: #FF9A18;"> 65 + <view class="stu_r" style="color: #2D81FF;">
69 <!-- 未分配 --> 66 <!-- 未分配 -->
70 - {{datas.study_code||'未分配'}} 67 + {{datas.study_code || '未分配'}}
71 </view> 68 </view>
72 </view> 69 </view>
73 <view class="stu_li"> 70 <view class="stu_li">
74 <view class="stu_l"> 71 <view class="stu_l">
75 住宿办理: 72 住宿办理:
76 </view> 73 </view>
77 - <view class="stu_r" style="color: #66C134;">  
78 - <!-- 住宿状态 1、已缴费 2、未办理 -->  
79 - {{datas.bed_type==1?'已缴费':'未办理'}} 74 + <view class="stu_r">
  75 +
  76 + <view class="state bg" v-if="datas.bed_type==1">
  77 + 已缴费
  78 + </view>
  79 + <view class="state" >
  80 + 未办理
  81 + </view>
80 </view> 82 </view>
81 </view> 83 </view>
82 <view class="stu_li"> 84 <view class="stu_li">
@@ -272,41 +274,51 @@ @@ -272,41 +274,51 @@
272 background: #F8F8F8; 274 background: #F8F8F8;
273 position: relative; 275 position: relative;
274 } 276 }
275 -.tel_index_bg{  
276 - position: absolute;  
277 - top: 0;  
278 - z-index: 1;  
279 - width: 100%;  
280 - min-height: 220rpx;  
281 - background: linear-gradient(0deg, #f8f8f8 0%, #5D9DFD 60%, #428EFE 70%, #2D81FF 100%);  
282 -} 277 +
283 .bz_box{ 278 .bz_box{
284 - width: 100%; 279 + padding: 25rpx;
285 position: relative; 280 position: relative;
286 z-index: 2; 281 z-index: 2;
287 - padding: 30rpx;  
288 } 282 }
289 .stu_msg{ 283 .stu_msg{
290 width: 100%; 284 width: 100%;
291 background: #FFFFFF; 285 background: #FFFFFF;
292 - border-radius: 10rpx; 286 + padding: 0 30rpx;
  287 + border-radius: 20rpx;
293 .stu_li{ 288 .stu_li{
294 width: 100%; 289 width: 100%;
295 - height: 93rpx;  
296 display: flex; 290 display: flex;
297 align-items: center; 291 align-items: center;
298 justify-content: space-between; 292 justify-content: space-between;
299 - padding: 0 30rpx; 293 + padding: 30rpx 0;
300 &+.stu_li{ 294 &+.stu_li{
301 - border-top: 1px solid #eee; 295 + border-top: 1px solid #F3F3F7;
302 } 296 }
303 .stu_l{ 297 .stu_l{
304 - font-size: 32rpx;  
305 - color: #545D71; 298 + font-size: 30rpx;
  299 + font-family: PingFang SC;
  300 + font-weight: 500;
  301 + color: #000000;
306 } 302 }
307 .stu_r{ 303 .stu_r{
308 - font-size: 32rpx;  
309 - color: #A6A9B1; 304 + font-size: 28rpx;
  305 + font-family: PingFang SC;
  306 + font-weight: 400;
  307 + color: #646464;
  308 +
  309 + .state {
  310 + background: rgba(255, 150, 56, 0.15);
  311 + border-radius: 5rpx;
  312 + font-size: 26rpx;
  313 + font-family: PingFang SC;
  314 + font-weight: 500;
  315 + color: #FF9638;
  316 + padding: 5rpx;
  317 + & .bg {
  318 + background: rgba(52, 213, 170, 0.15);
  319 + color: #10C69E;
  320 + }
  321 + }
310 } 322 }
311 } 323 }
312 } 324 }