瀏覽代碼

修改看板排行样式

11wqe1 2 天之前
父節點
當前提交
4acf1d4b29

+ 2 - 2
src/views/kanBan/components/dataBoardNew/AIApp/index.vue

@@ -11,7 +11,7 @@
               <span>{{ index + 1 }}</span>
               <div class="hotConAATxt">{{ i.name }}</div>
             </div>
-            <div style="color: #3072D8;">{{ i.form_count }}次</div>
+            <div style="color: #3072D8;width: 40px;text-align: right">{{ i.form_count }}次</div>
           </div>
         </div>
       </div>
@@ -23,7 +23,7 @@
               <span>{{ index + 1 }}</span>
               <div class="hotConAATxt">{{ i.username }}</div>
             </div>
-            <div style="color: #3072D8;">{{ i.form_count }}个</div>
+            <div style="color: #3072D8;width: 40px;text-align: right;">{{ i.form_count }}个</div>
           </div>
         </div>
       </div>

+ 4 - 2
src/views/kanBan/components/dataBoardNew/teaing/index.vue

@@ -13,7 +13,7 @@
               <span>{{ index + 1 }}</span>
               <div class="hotConAATxt">{{ i.title }}</div>
             </div>
-            <div style="color: #3072D8;">{{ i.opennum }}次</div>
+            <div style="color: #3072D8;width: 40px;text-align: right">{{ i.opennum }}次</div>
           </div>
         </div>
       </div>
@@ -28,7 +28,7 @@
               <span>{{ index + 1 }}</span>
               <div class="hotConAATxt">{{ i.title }}</div>
             </div>
-            <div style="color: #3072D8;">{{ i.num }}次</div>
+            <div style="color: #3072D8;width: 40px;text-align: right">{{ i.num }}次</div>
           </div>
         </div>
       </div>
@@ -221,12 +221,14 @@ export default {
   align-items: center;
   padding: 8px 0;
   height: 30px;
+  box-sizing: border-box;
   border-bottom:1px #e7e7e7 solid;
 }
 .hotConAA{
   display: flex;
   justify-content: space-between;
   align-items: center;
+  flex: 1;
 }
 .hotConAA > span{
   padding: 0px 5px;