diff --git a/components/verification/verification.vue b/components/verification/verification.vue index f8de759..ee1f62b 100644 --- a/components/verification/verification.vue +++ b/components/verification/verification.vue @@ -6,10 +6,7 @@ :style="{ top: state.scHight }" style="width: 750rpx; position: fixed; z-index: 100; left: 0" > - + - - - - - - - {{ + + + {{ state.hasImg }} - - - + + + + + + + - 刷新拼图 - Lili-FRAMEWORK + + + + + + + + + + + Lili-FRAMEWORK 安全验证 @@ -133,6 +116,13 @@ const phone = uni.getSystemInfoSync() const l = phone.screenWidth / 750 const mainColor = computed(() => store.getters.mainColor) +const fillWidth = computed(() => `calc(${state.moveX}px + 42rpx)`) +const handleStyle = computed(() => { + const glow = /^#[0-9a-fA-F]{6}$/.test(mainColor.value) + ? mainColor.value + '59' + : 'rgba(0, 0, 0, 0.18)' + return { background: mainColor.value, boxShadow: `0 6rpx 20rpx ${glow}` } +}) const state = reactive({ flage: false, key: '', // key @@ -284,6 +274,85 @@ defineExpose({ @import "./animation.css"; @import "./icon.css"; // @import './main.css'; + +.v-track { + position: relative; + width: 100%; + height: 84rpx; + margin-top: 36rpx; + background-color: #f7f7f8; + border-radius: 42rpx; + display: flex; + align-items: center; + justify-content: center; +} + +.v-fill { + position: absolute; + left: 0; + top: 0; + bottom: 0; + background-color: #ffe9e5; + border-radius: 42rpx; +} + +.v-track-text { + font-size: 26rpx; + letter-spacing: 2rpx; +} + +.v-area { + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + background-color: transparent; +} + +.v-handle { + width: 84rpx; + height: 84rpx; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; +} + +.v-foot { + display: flex; + flex-direction: row; + justify-content: flex-end; + width: 100%; + margin-top: 28rpx; +} + +.v-icon-btn { + width: 68rpx; + height: 68rpx; + border-radius: 50%; + background-color: #f4f4f5; + display: flex; + align-items: center; + justify-content: center; + margin-left: 24rpx; +} + +.v-mark { + display: flex; + flex-direction: row; + align-items: center; + justify-content: center; + margin-top: 32rpx; + font-size: 22rpx; + color: #d2d2d2; +} + +.v-mark-icon { + margin-right: 8rpx; + font-size: 22rpx; + color: #d9d9d9; +} .dh-wt { animation: at 1.1s ease; animation-iteration-count: infinite;