|
@ -25,7 +25,7 @@ const blocks = ref([{ padding: '13px', background: ' #FF2A00' }]) |
|
|
const buttons = ref([{ |
|
|
const buttons = ref([{ |
|
|
radius: '35%', |
|
|
radius: '35%', |
|
|
imgs: [{ |
|
|
imgs: [{ |
|
|
src: 'src/assets/img/jiantou.png', |
|
|
|
|
|
|
|
|
src: jiantou, |
|
|
width: '100%', |
|
|
width: '100%', |
|
|
top: '-130%' |
|
|
top: '-130%' |
|
|
}], |
|
|
}], |
|
@ -95,7 +95,7 @@ const animateScoreChange = () => { |
|
|
|
|
|
|
|
|
<template> |
|
|
<template> |
|
|
<div class="full-background"> |
|
|
<div class="full-background"> |
|
|
<img :src="jiantou" alt="111"> |
|
|
|
|
|
|
|
|
<!-- <img :src="jiantou" alt="111"> --> |
|
|
<div class="art-text" :class="{ 'score-change': scoreAnimation }"> |
|
|
<div class="art-text" :class="{ 'score-change': scoreAnimation }"> |
|
|
{{ totalScore }}金币 |
|
|
{{ totalScore }}金币 |
|
|
</div> |
|
|
</div> |
|
@ -161,7 +161,7 @@ const animateScoreChange = () => { |
|
|
|
|
|
|
|
|
/* 背景图配置 */ |
|
|
/* 背景图配置 */ |
|
|
background: |
|
|
background: |
|
|
url('tanchuang.png') center/contain no-repeat; |
|
|
|
|
|
|
|
|
url('/public/tanchuang.png') center/contain no-repeat; |
|
|
padding: 120px 80px; |
|
|
padding: 120px 80px; |
|
|
/* 根据图片留出边距 */ |
|
|
/* 根据图片留出边距 */ |
|
|
|
|
|
|
|
@ -224,7 +224,7 @@ const animateScoreChange = () => { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.full-background { |
|
|
.full-background { |
|
|
background-image: url('bg.png'); |
|
|
|
|
|
|
|
|
background-image: url('/public/bg.png'); |
|
|
background-size: cover; |
|
|
background-size: cover; |
|
|
background-repeat: no-repeat; |
|
|
background-repeat: no-repeat; |
|
|
background-position: center; |
|
|
background-position: center; |
|
|