黄琪勇 hai 10 meses
pai
achega
4ff927ea11
Modificáronse 2 ficheiros con 4 adicións e 1 borrados
  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>