Просмотр исходного кода

24035 (v1.1.0全景看看)无作品时,我的作品样式有误,应按设计图实现

任一存 3 лет назад
Родитель
Сommit
85655300a3
1 измененных файлов с 13 добавлено и 12 удалено
  1. 13 12
      src/views/material/style.less

+ 13 - 12
src/views/material/style.less

@@ -76,18 +76,6 @@
       > span {
         color: #646566;
       }
-      // 素材列表为空时,表格里的上传素材按钮的样式
-      .upload-btn-in-table {
-        cursor: pointer;
-        width: 100px;
-        height: 36px;
-        background: linear-gradient(144deg, #00AEFB 0%, #0076F6 100%);
-        border-radius: 22px;
-        border: none;
-        font-size: 14px;
-        color: #FFFFFF;
-        margin-top: 20px;
-      }
     }
     .upload-task-list {
       z-index: 1;
@@ -264,6 +252,19 @@
   }
 }
 
+// 列表为空时,上传按钮的样式。因为在“我的作品”和“我的素材”里位置不一样,所以只能写在这里。
+.upload-btn-in-table {
+  cursor: pointer;
+  width: 100px;
+  height: 36px;
+  background: linear-gradient(144deg, #00AEFB 0%, #0076F6 100%);
+  border-radius: 22px;
+  border: none;
+  font-size: 14px;
+  color: #FFFFFF;
+  margin-top: 20px;
+}
+
 // 左上角上传素材按钮的提示icon,hover时的样式和一般的有tooltip的元素不一样
 .hover-tips.hover-tips-upload-icon {
   &:hover {