Browse Source

🎨 修改页面细节问题

快乐的梦鱼 1 month ago
parent
commit
aa2794a901

+ 3 - 0
src/assets/scss/fix.scss

@@ -52,6 +52,9 @@
     background-color: #fff;
   }
 }
+.ant-upload-list-item-name {
+  white-space: wrap!important;
+}
 
 @media screen and (max-width: 768px) {
   .dynamic-form-group {

+ 2 - 2
src/assets/scss/main.scss

@@ -315,7 +315,7 @@ $small-banner-height: 445px;
 }
 @media (max-width: 768px) {
   .main-section {
-    padding: 80px 40px;
+    padding: 80px 20px;
     &.small-h {
       padding-top: 20px;
       padding-bottom: 20px;
@@ -341,7 +341,7 @@ $small-banner-height: 445px;
 }
 @media (max-width: 425px) {
   .main-section {
-    padding: 80px 20px;
+    padding: 80px 10px;
     &.small-h {
       padding-top: 20px;
       padding-bottom: 20px;

+ 1 - 0
src/assets/scss/news.scss

@@ -73,6 +73,7 @@
       flex-direction: row;
       justify-content: flex-end;
       align-items: center;
+      flex-wrap: wrap;
     }
 
     &.row-type2 {

+ 1 - 1
src/components/content/CommonListBlock.vue

@@ -23,7 +23,7 @@
           </div>
         </div>
         <!-- 右栏 -->
-        <div class="col-sm-12 col-md-6 col-lg-6 d-flex flex-row justify-content-end align-items-start" style="gap:5px">
+        <div class="col-sm-12 col-md-6 col-lg-6 d-flex flex-row justify-content-end align-items-start flex-wrap" style="gap:5px">
           <Dropdown
             v-for="(drop, k) in dropDownNames" :key="k" 
             :selectedValue="dropDownValues[k]"

+ 1 - 1
src/pages/admin.vue

@@ -34,7 +34,7 @@
               <template #itemRight="{ item }">
                 <AdminItemState :item="item" />
                 <a-button type="link">编辑/审核</a-button>
-                <a-button type="link" @click.stop="handleCopyAccount(item)">传承人账号</a-button>
+                <a-button v-if="!authStore.isReviewer" type="link" @click.stop="handleCopyAccount(item)">传承人账号</a-button>
               </template>
             </CommonListBlock>
           </a-tab-pane>