瀏覽代碼

样式修改

黄琪勇 10 月之前
父節點
當前提交
4ff927ea11
共有 2 個文件被更改,包括 4 次插入1 次删除
  1. 3 0
      src/views/creation/index.less
  2. 1 1
      src/views/creation/index.vue

+ 3 - 0
src/views/creation/index.less

@@ -318,6 +318,8 @@
             .staff {
                width: 100%;
                height: 100%;
+               box-sizing: border-box;
+               padding-left: 0.1rem;
             }
             .mask {
                position: absolute;
@@ -441,6 +443,7 @@
             height: calc(var(--staffBoxHeight) + 0.44rem);
             padding-bottom: 0.44rem;
             .staff {
+               box-sizing: border-box;
                padding-left: 0.2rem;
             }
          }

+ 1 - 1
src/views/creation/index.vue

@@ -146,7 +146,7 @@
                </template>
                <template #title>
                   <div class="userInfo">
-                     <p class="name">{{ item.userName }}</p>
+                     <p class="name">{{ item.userName || `游客${item.userId}` }}</p>
                      <p class="sub">
                         {{ item.subjectName }}
                      </p>