This commit is contained in:
shengchanzhe 2023-10-15 16:05:15 +08:00
parent 1df3187214
commit 9aec1b9871
8 changed files with 25 additions and 23 deletions

View File

@ -9,7 +9,7 @@
<style scoped>
.box {
width: 24em;
width: 32em;
height: 100%;
border-radius: 20px;
/* background-color: rgba(97, 161, 140, 0.3); */

View File

@ -28,8 +28,8 @@
bottom: -2em;
}
.dots {
width: 20em;
height: 20em;
width: 28em;
height: 28em;
display: grid;
grid-template-rows: repeat(3, 1fr);
grid-template-columns: repeat(3, 1fr);
@ -38,8 +38,8 @@
}
.dots > div {
width: 4em;
height: 4em;
width: 6em;
height: 6em;
background-color: #7fe7c4;
border-radius: 50%;
animation: fade 1.5s alternate ease-in-out infinite;

View File

@ -18,8 +18,8 @@
bottom: -2em;
}
.div {
width: 20em;
height: 20em;
width: 28em;
height: 28em;
border: 3em solid transparent;
border-top-color: #7fe7c4;
border-bottom-color: #7fe7c4;

View File

@ -27,9 +27,9 @@
display: flex;
justify-content: center;
align-items: center;
width: 20em;
height: 20em;
transform: scale(5);
width: 28em;
height: 28em;
transform: scale(7);
}
.loader {
position: relative;

View File

@ -20,9 +20,9 @@
.div {
display: flex;
width: 20em;
height: 20em;
border: 1em solid transparent;
width: 28em;
height: 28em;
border: 2em solid transparent;
border-top-color: #7fe7c4;
border-bottom-color: #7fe7c4;
border-radius: 50%;
@ -33,9 +33,9 @@
content: '';
display: block;
margin: auto;
width: 10em;
height: 10em;
border: 1em solid #7fe7c4;
width: 13em;
height: 13em;
border: 2em solid #7fe7c4;
border-radius: 50%;
animation: pulse 1s alternate ease-in-out infinite;
}

View File

@ -42,19 +42,19 @@ setInterval(() => {
text-align: center;
position: absolute;
left: 0;
bottom: -6em;
bottom: -8.5em;
}
.div {
display: flex;
flex-flow: row nowrap;
align-items: center;
justify-content: space-between;
width: 20em;
width: 28em;
}
span {
width: 3em;
height: 6em;
width: 5em;
height: 9em;
background-color: #7fe7c4;
}

View File

@ -170,7 +170,7 @@ const stopPlay = () => {
item.pause()
item.currentTime = 0
})
audioElements.length = 0
// audioElements.length = 0
}
onUpdated(() => {
@ -180,7 +180,7 @@ onUpdated(() => {
}
})
console.log('组件渲染 ', props.text, props.tts)
// console.log(' ', props.text, props.tts)
const playStatus = ref('end')
let playing = 0

View File

@ -120,7 +120,9 @@ const reOrder = () => {
reRecordXunfei()
prompt.value = ''
recordFalg.value = 1
nowStatus.value = 'record'
setTimeout(() => {
nowStatus.value = 'record'
}, 1600)
}
else {
console.log('无效指令')