xiaojincai преди 4 години
родител
ревизия
f5aeba3eb4
променени са 2 файла, в които са добавени 9 реда и са изтрити 1 реда
  1. 4 1
      pages/apply/apply.wxml
  2. 5 0
      pages/apply/apply.wxss

+ 4 - 1
pages/apply/apply.wxml

@@ -11,7 +11,10 @@
         <text wx:if="{{item.order_status == 7}}">考试完成</text> 
         <text wx:if="{{item.order_status == 3}}">已培训,待考试</text> 
         <text style="color:green;">{{item.train_type}}</text></view>
-        <view class="title">{{item.name}}   {{item.phone}}  <text>{{item.class_name}}</text></view>
+        <view class="title">{{item.name}}   {{item.phone}}  
+          <text wx:if="{{item.class_name}}">{{item.class_name}}</text>
+          <text class="signup_count" wx:if="{{item.signup_limit}}">计划{{item.signup_limit}}人/已报名{{item.signup_count}}人</text>
+        </view>
         <view class="info">
             <text>{{item.subject_item_1[0]}}</text>
             <text decode="{{true}}">作业类别  &nbsp;&nbsp; {{item.subject_item_1[1]}}</text>

+ 5 - 0
pages/apply/apply.wxss

@@ -32,6 +32,11 @@ page{
   font-size: 28rpx;
   font-weight: 400;
 }
+.title .signup_count{
+  color: #E85546;
+  font-size: 28rpx;
+  font-weight: 400;
+}
 .info text{
   display: block;
   color: #222;