This commit is contained in:
XGL-THINKPAD-X1\rucky 2024-01-24 15:41:36 +08:00
parent fb550f3325
commit 8891954e61
3 changed files with 10 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<script setup name="Question"> <script setup name="Question">
import gsap from "gsap"; import gsap from "gsap";
import { Toast } from "vant"; import { Toast,Progress } from "vant";
import { data } from "@/data"; import { data } from "@/data";
import { debounceTap, FYShuffle, mostValue, judgeBigScreen } from "@/plugins"; import { debounceTap, FYShuffle, mostValue, judgeBigScreen } from "@/plugins";
import { useMainStore } from "@/store"; import { useMainStore } from "@/store";
@ -288,7 +288,14 @@ onMounted(() => {
</div> </div>
</div> </div>
</div> </div>
<Progress
:percentage="(currentId+1)/12 *100"
pivot-color="#7232dd"
:show-pivot="false"
color="linear-gradient(to right, rgb(255 153 153), rgb(221 50 50))"
/>
</div> </div>
</template> </template>
<style lang='scss' scope> <style lang='scss' scope>

View File

@ -129,7 +129,7 @@ const createPoster = (event) => {
{ {
name: "eqcode", name: "eqcode",
src: eqcodePic.value, src: eqcodePic.value,
pos: { w: 140, h: 140, x: 66, y: 1070 }, pos: { w: 140, h: 140, x: bgId.value == 3 ? 75 : 66, y: 1070 },
}, },
], ],
// //

View File

@ -233,7 +233,7 @@ const playMusic = () => {
} }
#musicBtn { #musicBtn {
@include pos(60px, 60px, 80px, 40px); @include pos(60px, 60px, 650px, 30px);
z-index: 99; z-index: 99;
} }