Browse Source

外框圆角弧度保持统一,且弧度减小为4px

natasha 5 days ago
parent
commit
97856488bd

+ 7 - 7
src/views/book/courseware/preview/components/character/CharacterPreview.vue

@@ -633,7 +633,7 @@ export default {
     width: 80px;
     height: 80px;
     border: 2px solid #346cda;
-    border-radius: 8px;
+    border-radius: 4px;
 
     .character-target-bg,
     .hanzi-writer-img {
@@ -701,7 +701,7 @@ export default {
     height: 80px;
     overflow: hidden;
     border: 2px solid #346cda;
-    border-radius: 8px;
+    border-radius: 4px;
   }
 
   .items-lian {
@@ -729,14 +729,14 @@ export default {
 
     .rightBorderRadius {
       border-radius: 0;
-      border-top-right-radius: 8px;
-      border-bottom-right-radius: 8px;
+      border-top-right-radius: 4px;
+      border-bottom-right-radius: 4px;
     }
 
     .leftBorderRadius {
       border-radius: 0;
-      border-top-left-radius: 8px;
-      border-bottom-left-radius: 8px;
+      border-top-left-radius: 4px;
+      border-bottom-left-radius: 4px;
     }
 
     .NoborderRight {
@@ -853,7 +853,7 @@ export default {
     width: 80px;
     height: 80px;
     border-width: 2px !important;
-    border-radius: 8px;
+    border-radius: 4px;
   }
 
   .words-item {

+ 4 - 4
src/views/book/courseware/preview/components/character_structure/CharacterStructurePreview.vue

@@ -397,7 +397,7 @@ export default {
     flex-wrap: wrap;
     padding: 10px 15px;
     background: #deebff;
-    border-radius: 8px;
+    border-radius: 4px;
 
     .option_one {
       display: flex;
@@ -409,7 +409,7 @@ export default {
       overflow: hidden;
       cursor: pointer;
       background: #9dcaff;
-      border-radius: 8px;
+      border-radius: 4px;
 
       img {
         max-width: 100%;
@@ -433,7 +433,7 @@ export default {
     background: #fff;
     background-size: cover;
     border: 2px solid #346cda;
-    border-radius: 8px;
+    border-radius: 4px;
   }
 
   .one {
@@ -494,7 +494,7 @@ export default {
         height: 80px;
         overflow: hidden;
         border: 2px solid #346cda;
-        border-radius: 8px;
+        border-radius: 4px;
 
         &.right {
           background: #e9f7f2 !important;

+ 1 - 1
src/views/book/courseware/preview/components/dialogue_article/index.vue

@@ -798,7 +798,7 @@ export default {
       box-sizing: border-box;
       background: #fff;
       border: 1px solid rgba(0, 0, 0, 10%);
-      border-radius: 8px;
+      border-radius: 4px;
 
       .aduioLine-box {
         width: 100%;

+ 7 - 7
src/views/book/courseware/preview/components/newWord_template/NewWordTemplatePreview.vue

@@ -570,7 +570,7 @@ export default {
     height: 80px;
     overflow: hidden;
     border: 2px solid #346cda;
-    border-radius: 8px;
+    border-radius: 4px;
   }
 
   .items-lian {
@@ -586,7 +586,7 @@ export default {
     min-height: 32px;
     margin-top: 16px;
     overflow: hidden;
-    border-radius: 8px;
+    border-radius: 4px;
 
     :deep .edit-div {
       min-height: 32px;
@@ -597,7 +597,7 @@ export default {
 
       // background-color: #deebff;
       border: 1px solid transparent;
-      border-radius: 8px;
+      border-radius: 4px;
     }
 
     .right {
@@ -645,14 +645,14 @@ export default {
 
     .rightBorderRadius {
       border-radius: 0;
-      border-top-right-radius: 8px;
-      border-bottom-right-radius: 8px;
+      border-top-right-radius: 4px;
+      border-bottom-right-radius: 4px;
     }
 
     .leftBorderRadius {
       border-radius: 0;
-      border-top-left-radius: 8px;
-      border-bottom-left-radius: 8px;
+      border-top-left-radius: 4px;
+      border-bottom-left-radius: 4px;
     }
 
     .NoborderRight {

+ 1 - 1
src/views/book/courseware/preview/components/new_word/NewWordPreview.vue

@@ -1497,7 +1497,7 @@ export default {
   .NPC-word-list {
     padding: 20px 24px;
     border: 1px solid rgba(0, 0, 0, 10%);
-    border-radius: 8px;
+    border-radius: 4px;
   }
 
   .detail-icon {

+ 1 - 1
src/views/book/courseware/preview/components/notes/NotesPreview.vue

@@ -300,7 +300,7 @@ export default {
     .NPC-notes-list {
       padding: 24px 24px 5px;
       border: 1px solid rgba(0, 0, 0, 10%);
-      border-radius: 8px;
+      border-radius: 4px;
 
       .NPC-notes {
         width: 100%;

+ 2 - 2
src/views/book/courseware/preview/components/pinyin_base/PinyinBasePreview.vue

@@ -681,11 +681,11 @@ export default {
   }
 
   .option-content {
-    padding: 10px 22px;
+    padding: 5px 15px;
     color: #706f78;
     background-color: $content-color;
     border: 1px solid $content-color;
-    border-radius: 40px;
+    border-radius: 4px;
 
     &.all-right {
       background-color: $right-bc-color;

+ 1 - 1
src/views/book/courseware/preview/components/table/TablePreview.vue

@@ -41,7 +41,7 @@
                       : j === row.length - 1
                         ? '2px solid ' + data.property.decoration_color
                         : '1px dotted ' + data.property.border_color,
-                  borderRadius: i === 0 && data.property.first_line_color ? '5px ' : '0',
+                  borderRadius: i === 0 && data.property.first_line_color ? '4px ' : '0',
                   background:
                     i === 0 && data.property.first_line_color
                       ? data.property.first_line_color

+ 1 - 0
src/views/book/courseware/preview/components/upload_preview/UploadPreviewPreview.vue

@@ -264,6 +264,7 @@ export default {
         font-size: 14px;
         color: #1d2129;
         background-color: #f7f8fa;
+        border-radius: 4px;
 
         p {
           margin: 0;

+ 2 - 1
src/views/book/courseware/preview/components/write_base/WriteBasePreview.vue

@@ -57,7 +57,7 @@ export default {
     },
   },
   mounted() {
-    this.width = document.getElementsByClassName('write-base-preview')[0].clientWidth - 16;
+    this.width = document.getElementsByClassName('write-base-preview')[0].clientWidth;
     if (!this.isJudgingRightWrong) {
       this.answer.answer_list = this.data.write_base64;
     }
@@ -102,6 +102,7 @@ export default {
     .esign-box {
       position: relative;
       background-color: #f7f8fa;
+      border-radius: 4px;
 
       .btn-box {
         position: absolute;