Commit 25ca965e authored by xiaoye's avatar xiaoye

fix

parent bf9e3bae
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
clickClear : (e) : void => { clickClear : (e) : void => {
let element = e.target; let element = e.target;
while (element) { while (element) {
if (['body'].includes(element.id) || element.classList.contains('Pics')) if (['deckbutton'].includes(element.id) || element.classList.contains('Pics'))
return undefined; return undefined;
element = element.parentElement; element = element.parentElement;
} }
......
...@@ -68,7 +68,6 @@ ...@@ -68,7 +68,6 @@
:title = "i.score ? `胜平负:${i.score.win + i.score.bye}-${i.score.draw}-${i.score.lose}` : ''" :title = "i.score ? `胜平负:${i.score.win + i.score.bye}-${i.score.draw}-${i.score.lose}` : ''"
:note = "i.score ? `小分:${i.score.score}` : ''" :note = "i.score ? `小分:${i.score.score}` : ''"
:clickable = true :clickable = true
@click = 'participant.pics.on(i)'
> >
<template v-slot:header> <template v-slot:header>
<view id = 'header'> <view id = 'header'>
...@@ -79,6 +78,15 @@ ...@@ -79,6 +78,15 @@
</template> </template>
<template v-slot:footer> <template v-slot:footer>
<view id = '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 <view
class = 'button' class = 'button'
:style = "{ '--color' : 'gray' }" :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