Переглянути джерело

Merge branch 'master' of http://47.108.172.52:3000/dayou/item-management-vant

GouGengquan 2 тижнів тому
батько
коміт
ae777125f0
2 змінених файлів з 10 додано та 4 видалено
  1. 8 1
      src/views/home/todo.vue
  2. 2 3
      src/views/personal/todoDetail.vue

+ 8 - 1
src/views/home/todo.vue

@@ -24,6 +24,12 @@
               <van-tag type="success" size="medium" class="van-tag">{{ item.clientManager }}</van-tag>
               <van-tag color="#969799" size="medium" class="van-tag">{{ item.created }}</van-tag>
             </div>
+            <div class="comments">
+            <div>
+              <van-icon name="notes-o" />
+              {{ item.comments ? item.comments : '-' }}
+            </div>
+          </div>
           </div>
         </van-list>
       </van-pull-refresh>
@@ -619,8 +625,9 @@ export default {
   font-weight: bold;
   margin-bottom: 5px;
 }
-.clientInfo {
+.comments {
   margin-bottom: 5px;
+  color: darkgrey
 }
 /deep/ .van-tabs__wrap {
   width: 100%;

+ 2 - 3
src/views/personal/todoDetail.vue

@@ -289,14 +289,13 @@ export default {
   width: 100px;
 }
 .buttons-div{
-  width: 100%;
   display: flex;
-  padding: 17px;
+  margin:18px;
 }
 
 .button{
   width: 90px;
-  margin-right: 50px;
+  margin-right: 25px;
 }
 
 .radio-class{