diff --git a/components/verification/verification.vue b/components/verification/verification.vue index ee1f62b..ba2afa0 100644 --- a/components/verification/verification.vue +++ b/components/verification/verification.vue @@ -4,7 +4,7 @@ v-if="!state.hid" class="flex-row-center" :style="{ top: state.scHight }" - style="width: 750rpx; position: fixed; z-index: 100; left: 0" + style="width: 750rpx; position: fixed; z-index: 100; left: 0; background-color: #ffffff; padding: 40rpx 0" > - + {{ state.hasImg }} - - - - - - - + + + + + @@ -116,7 +114,7 @@ const phone = uni.getSystemInfoSync() const l = phone.screenWidth / 750 const mainColor = computed(() => store.getters.mainColor) -const fillWidth = computed(() => `calc(${state.moveX}px + 42rpx)`) +const fillWidth = computed(() => `${state.moveX + 42 * l}px`) const handleStyle = computed(() => { const glow = /^#[0-9a-fA-F]{6}$/.test(mainColor.value) ? mainColor.value + '59' @@ -282,9 +280,6 @@ defineExpose({ margin-top: 36rpx; background-color: #f7f7f8; border-radius: 42rpx; - display: flex; - align-items: center; - justify-content: center; } .v-fill { @@ -297,17 +292,14 @@ defineExpose({ } .v-track-text { - font-size: 26rpx; - letter-spacing: 2rpx; -} - -.v-area { position: absolute; left: 0; + right: 0; top: 0; - width: 100%; - height: 100%; - background-color: transparent; + line-height: 84rpx; + text-align: center; + font-size: 26rpx; + letter-spacing: 2rpx; } .v-handle {