Browse Source

样式修复

una 4 năm trước cách đây
mục cha
commit
a213c618b3

+ 14 - 1
client/pages/servant/taskreminder/taskreminder.acss

@@ -211,7 +211,7 @@
 .tasks-list-pay-right{
  
   text-align: right;
-  padding-right: 12rpx;
+  padding-right: 24rpx;
   height: 102rpx;
   font-weight: bold;
   display: flex;
@@ -277,4 +277,17 @@
   text-align: left;
   font-size: 30rpx;
   margin:0 0 30rpx 0;
+}
+.finish-text{
+color:#09AFFF;
+padding-right:36rpx;
+}
+.tasks-item-finish{
+  color: #FF5030;
+  padding-right:36rpx;
+}
+.reason-unfinish-wrapper{
+  display: flex;
+  align-items: center;
+  justify-content: flex-start;
 }

+ 37 - 8
client/pages/servant/taskreminder/taskreminder.axml

@@ -62,25 +62,35 @@
         </view>
         <view class="tasks-list-item" a:if="{{item.state == 1}}">
           <text> {{item.itemName}}</text>
-          
-          <view class="tasks-item-yes">
-            <image class="icon-yes" mode="scaleToFill" src="/image/icon-yes.png"/>
+           <view class="item-task-wrapper">
+          <text class="finish-text" >已完成</text>
           </view>
+          <!-- <view class="tasks-item-yes">
+            <image class="icon-yes" mode="scaleToFill" src="/image/icon-yes.png"/>
+          </view> -->
         </view>
         <view class="tasks-list-item" a:if="{{item.state == 2}}">
+         <view class="reason-unfinish-wrapper">
           <text>{{item.itemName}}</text>
           <view class="item-task-wrapper">
           <label class="nogood" a:if="{{item.incompleteReason == 1}}">任务太多</label>
           <label class="nogood" a:if="{{item.incompleteReason == 2}}">我不会</label>
           <label class="nogood" a:if="{{item.incompleteReason == 3}}">任务不详细</label>
-          <view class="tasks-item-yes">
-            <image mode="scaleToFill" src="/image/icon-no.png"/>
+           </view>
+           </view>
+           
+             <view class="tasks-item-finish">
+           未完成
           </view>
+          <!-- <view class="tasks-item-yes">
+            <image mode="scaleToFill" src="/image/icon-no.png"/>
+          </view> -->
           </view>
         </view>
-      </view>
-    </view>
-    <!--没有任务-->
+      
+      
+
+          <!--没有任务-->
     <view a:if="{{!isreminds}}">
       <view class="notasks">
         <text>还没有任务</text>
@@ -92,6 +102,25 @@
         <text>今天是休息日</text>
       </view>
     </view>
+
+
+      
+      </view>
+    </view>
+   
+     <!--没有任务-->
+    <!-- <view a:if="{{!isreminds}}">
+      <view class="notasks">
+        <text>还没有任务</text>
+      </view>
+    </view> -->
+  <!--没有任务-->
+    <!-- <view a:if="{{!workDay}}">
+      <view class="notasks">
+        <text>今天是休息日</text>
+      </view>
+    </view> -->
+
     <!---没有任务花销计算不显示-->
     <view a:if="{{isremindscose}}" class="tast-moneybox">
       <view class="tasks-list-money">