Commit 25ca965e authored by xiaoye's avatar xiaoye

fix

parent bf9e3bae
......@@ -77,7 +77,7 @@
clickClear : (e) : void => {
let element = e.target;
while (element) {
if (['body'].includes(element.id) || element.classList.contains('Pics'))
if (['deckbutton'].includes(element.id) || element.classList.contains('Pics'))
return undefined;
element = element.parentElement;
}
......
......@@ -68,7 +68,6 @@
:title = "i.score ? `胜平负:${i.score.win + i.score.bye}-${i.score.draw}-${i.score.lose}` : ''"
:note = "i.score ? `小分:${i.score.score}` : ''"
:clickable = true
@click = 'participant.pics.on(i)'
>
<template v-slot:header>
<view id = 'header'>
......@@ -79,6 +78,15 @@
</template>
<template v-slot:footer>
<view id = 'footer'>
<view
class = 'button'
id = 'deckbutton'
:style = "{ '--color' : 'gray' }"
v-show = '!i.quit'
@click = 'participant.pics.on(i)'
>
<uni-icons type = 'wallet'></uni-icons>
</view>
<view
class = 'button'
:style = "{ '--color' : 'gray' }"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment