Browse Source

营销工具,一事一报、一事多报样式调整

qymljy 6 tháng trước cách đây
mục cha
commit
579dfa8ede
1 tập tin đã thay đổi với 40 bổ sung139 xóa
  1. 40 139
      src/SManagement/submitedit_one/components/list.vue

+ 40 - 139
src/SManagement/submitedit_one/components/list.vue

@@ -10,13 +10,13 @@
           <div :class="item.isRead == 0?'no-read':'read'">{{item.isRead == 0 ? $t('未读') : $t('已读')}}</div>
         </div>
         <div class="tag-style-border between-days">
-          <span class="font-size-g">{{$t(`还剩`)}}</span><span class="font-size-b">{{daysBetweenDates(item.begdate,item.enddate)}}</span><span class="font-size-g">{{$t(`天`)}}</span>
+          <span class="font-size-g">{{$t(`还剩`)}}</span><span class="font-size-b">&nbsp;{{daysBetweenDates(item.begdate,item.enddate)}}&nbsp;</span><span class="font-size-g">{{$t(`天`)}}</span>
         </div>
       </div>
       <div class="title-font-b title-show-style">
         {{$t(item.title)}}
       </div>
-      <div class="notes-font-b notes-box-height">
+      <div class="notes-font-b notes-box-height" style="line-height:20px">
         {{$t(item.notes)}}
       </div>
       <div class="footer-box-style">
@@ -25,7 +25,9 @@
             <p>{{item.changeby.substr(0,1)}}</p>
           </div>
           <div class="avatar-null">
-            <div style="margin: auto;font-weight: 1000;color: #777777">+</div>
+            <div style="margin: auto;font-weight: 1000;color: #777777;">
+              <span style="width: 20px!important;height: 20px!important;">+</span>
+            </div>
           </div>
         </div>
         <div class="font-size-g submitcount-style-box">
@@ -111,13 +113,13 @@ export default {
   margin-top: 30px;
 }
 .list .list-item {
-  width: 400px;
-  height: 400px;
+  width: 200px;
+  height: 200px;
   background: #FFFFFF;
-  border: 2px solid;
+  border: 1px solid;
   border-radius: 4px 4px 4px 4px;
-  margin: 0 40px 40px 0;
-  padding: 30px;
+  margin: 0 20px 40px 0;
+  padding: 15px;
   cursor: pointer;
   transition: border 0.1s ease-in-out;
 }
@@ -128,24 +130,24 @@ export default {
   box-shadow: 1px 6px 6px 1px rgba(230,162,60, 0.35);
 }
 .list .list-item .headerState {
-  width: 100px;
-  height: 40px;
+  width: 50px;
+  height: 20px;
   border-radius: 30px;
   color: #FFFFFF;
-  line-height: 40px;
+  line-height: 20px;
   text-align: center;
   vertical-align: middle;
-  margin: -50px 0 0 120px;
-  font-size: 20px;
+  margin: -25px 0 0 60px;
+  font-size: 10px;
 }
 .tag-style-border{
-  width: 86px;
-  height: 44px;
+  width: 46px;
+  height: 24px;
   border-radius: 4px 4px 4px 4px;
-  font-size: 20px;
+  font-size: 10px;
   font-weight: normal;
   text-align: center;
-  line-height: 44px;
+  line-height: 24px;
 }
 .read {
   color: #67c23a;
@@ -162,38 +164,37 @@ export default {
   color: #333333;
 }
 .title-font-b{
-  margin-top: 10px;
+  margin-top: 5px;
   color: #333333;
   font-weight: bold;
-  font-size: 24px;
+  font-size: 12px;
 }
 .notes-font-b{
-  margin-top: 10px;
   color: #333333;
-  font-size: 20px;
+  font-size: 10px;
 }
 .notes-box-height{
-  height: 185px;
+  height: 65px;
   overflow: hidden;
   display: -webkit-box;
   -webkit-box-orient: vertical;
-  -webkit-line-clamp: 6;
+  -webkit-line-clamp: 3;
   text-overflow: ellipsis;
 }
 .footer-box-style{
   display: flex;
   justify-content: space-between;
-  font-size: 20px;
-  margin-top: 20px;
+  font-size: 10px;
+  margin-top: 10px;
 }
 .avatar{
   position: relative;
-  height:48px;
-  width: 48px;
-  margin-bottom: 5px;
+  height:24px;
+  width: 24px;
+  margin-bottom: 2.5px;
   border-radius: 100%;
   text-align: center;
-  line-height: 48px;
+  line-height: 24px;
   color:#fff;
   font-weight: 500;
   background: #3874F6;
@@ -202,138 +203,38 @@ export default {
 }
 .avatar-null{
   position: relative;
-  height:48px;
-  width: 48px;
-  margin-bottom: 5px;
+  height:24px;
+  width: 24px;
+  margin-bottom: 2.5px;
   border-radius: 100%;
   text-align: center;
-  line-height: 48px;
+  line-height: 24px;
   color:#fff;
   font-weight: 500;
   background: #e5e5e5;
   cursor: pointer;
   overflow: hidden;
-  border: 2px solid #FFFFFF;
-  margin-left: -24px;
+  border: 1px solid #FFFFFF;
+  margin-left: -12px;
 }
 .submitcount-style-box{
-  line-height: 48px;
+  line-height: 24px;
   vertical-align: middle;
 }
 .footer-font-postion{
-  margin-left: 10px;
+  margin-left: 5px;
 }
 .title-show-style{
   overflow: hidden;
   text-overflow:ellipsis;
   white-space:nowrap;
+  margin-top: 16px;
+  margin-bottom: 16px;
 }
 .between-days{
   width:200px;
   text-align: right;
 }
-@media(max-width: 1920px){
-  .list .list-item {
-    width: 200px;
-    height: 200px;
-    background: #FFFFFF;
-    border: 2px solid;
-    border-radius: 4px 4px 4px 4px;
-    margin: 0 20px 40px 0;
-    padding: 15px;
-    cursor: pointer;
-    transition: border 0.1s ease-in-out;
-  }
-  .list .list-item .headerState {
-    width: 50px;
-    height: 20px;
-    border-radius: 30px;
-    color: #FFFFFF;
-    line-height: 20px;
-    text-align: center;
-    vertical-align: middle;
-    margin: -25px 0 0 60px;
-    font-size: 10px;
-  }
-  .tag-style-border{
-    width: 46px;
-    height: 24px;
-    border-radius: 4px 4px 4px 4px;
-    font-size: 10px;
-    font-weight: normal;
-    text-align: center;
-    line-height: 24px;
-  }
-  .read {
-    color: #67c23a;
-    background: #e5fadb;
-  }
-  .no-read {
-    color: #f56c6c;
-    background: #ffedec;
-  }
-  .title-font-b{
-    margin-top: 5px;
-    color: #333333;
-    font-weight: bold;
-    font-size: 12px;
-  }
-  .notes-font-b{
-    margin-top: 5px;
-    color: #333333;
-    font-size: 10px;
-  }
-  .notes-box-height{
-    height: 90px;
-    overflow: hidden;
-  }
-  .footer-box-style{
-    display: flex;
-    justify-content: space-between;
-    font-size: 10px;
-    margin-top: 10px;
-  }
-  .avatar{
-    position: relative;
-    height:24px;
-    width: 24px;
-    margin-bottom: 2.5px;
-    border-radius: 100%;
-    text-align: center;
-    line-height: 24px;
-    color:#fff;
-    font-weight: 500;
-    background: #3874F6;
-    cursor: pointer;
-    overflow: hidden;
-  }
-  .avatar-null{
-    position: relative;
-    height:24px;
-    width: 24px;
-    margin-bottom: 2.5px;
-    border-radius: 100%;
-    text-align: center;
-    line-height: 24px;
-    color:#fff;
-    font-weight: 500;
-    background: #e5e5e5;
-    cursor: pointer;
-    overflow: hidden;
-    border: 1px solid #FFFFFF;
-    margin-left: -12px;
-  }
-  .submitcount-style-box{
-    line-height: 24px;
-    vertical-align: middle;
-  }
-  .footer-font-postion{
-    margin-left: 5px;
-  }
-}
-/*.list .list-item:hover {*/
-/*  box-shadow: 1px 6px 6px 1px rgba(0, 0, 0, 0.35);*/
-/*}*/
 
 .list .list-item .header1 {
   display: flex;