ljc 2 saat önce
ebeveyn
işleme
0ada414c3a

+ 27 - 5
components/cwg-language.vue

@@ -67,15 +67,37 @@ function getFlagSrc(code: string) {
   :deep(.cwg-dropdown-menu-container) {
     left: px2rpx(-40) !important;
     right: px2rpx(0) !important;
+    .menu{
+      max-height: 80vh;
+      overflow-y: scroll;
+      //scrollbar-width: thin;
+      /* 强制显示滚动条并美化 */
+      &::-webkit-scrollbar {
+        width: 4px !important;
+        height: 4px !important;
+        display: block !important;
+        /* 强制在某些webkit浏览器中显示 */
+        background-color:yellow !important;
+      }
+      &::-webkit-scrollbar-track {
+        background-color: #faf3f3;
+        border-radius: 4px;
+      }
+
+      &::-webkit-scrollbar-thumb {
+        background-color:#6a6a6a;
+        border-radius: 4px;
+
+        &:hover {
+          background-color: #6a6a6a;
+        }
+      }
+    }
   }
   @media screen and (max-width: 991px) {
     :deep(.cwg-dropdown-menu-container) {
       right: px2rpx(-20) !important;
-      .menu{
-        max-height: 70vh;
-        overflow-y: scroll;
-        scrollbar-width: thin;
-      }
+
     }
   }
   @media screen and (max-width: 768px) {

+ 3 - 2
components/cwg-notice.vue

@@ -2,9 +2,10 @@
     <view class="notice-container">
         <cwg-dropdown ref="dropdownRef" :menu-list="[]">
             <view class="pc-header-btn cursor-pointer" :data-tooltip="t('News.Notice')" :class="{ '!has-dot': isRed }">
-                <text v-if="isRed"
-                    class="position-absolute top-0 left-15 p-1 mt-1 me-1 bg-danger border border-3 border-light rounded-circle" />
                 <cwg-icon name="cwg-bell" color="#97A1C0" :size="20" @click="openNotice" />
+                <text v-if="true"
+                    class="position-absolute top-0 left-15 p-1 mt-1 me-1 bg-danger border border-3 border-light rounded-circle" />
+
                 <cwg-match-media :min-width="791">
                   <view class="ml-5">{{ t('News.Notice') }}</view>
                 </cwg-match-media>

+ 2 - 9
pages/mine/components/FileManagementTab.vue

@@ -247,7 +247,7 @@ defineProps<Props>();
 
 .operation-btn {
   display: flex;
-  width: px2rpx(120);
+  width: auto;
   align-items: center;
   justify-content: center;
   padding: 0 px2rpx(10);
@@ -256,14 +256,7 @@ defineProps<Props>();
   line-height: px2rpx(36);
 
   :deep(span) {
-    display: flex;
-    align-items: center;
-    justify-content: center;
-    gap: px2rpx(4);
-    cursor: pointer;
-    background-color: var(--btn-color);
-    color: #000;
-    padding: px2rpx(8) 0;
+    font-size: px2rpx(14);
   }
 }