diff --git a/src/components/BattleFooter.vue b/src/components/BattleFooter.vue index 499d16e..3186b2f 100644 --- a/src/components/BattleFooter.vue +++ b/src/components/BattleFooter.vue @@ -160,10 +160,10 @@ const normalRounds = computed( padding-top: 5px; } .players > view:first-child > view { - background: linear-gradient(270deg, #172a86 0%, #0006 100%); + background: linear-gradient(270deg, #172a86 0%, #0000 100%); } .players > view:last-child > view { - background: linear-gradient(270deg, #0006 0%, #6a1212 100%); + background: linear-gradient(270deg, #0000 0%, #6a1212 100%); } .players > view > view { min-height: 52rpx; diff --git a/src/components/ScoreResult.vue b/src/components/ScoreResult.vue index 379540d..ae191ea 100644 --- a/src/components/ScoreResult.vue +++ b/src/components/ScoreResult.vue @@ -5,7 +5,6 @@ import SButton from "@/components/SButton.vue"; import ScreenHint from "@/components/ScreenHint.vue"; import BowData from "@/components/BowData.vue"; import UserUpgrade from "@/components/UserUpgrade.vue"; -import { wxShare } from "@/util"; import { directionAdjusts } from "@/constants"; import useStore from "@/store"; import { storeToRefs } from "pinia"; @@ -45,6 +44,9 @@ const closePanel = () => { props.onClose(); }, 300); }; +function onClickShare() { + uni.$emit("share-image"); +} onMounted(() => { if (props.result.lvl > user.value.lvl) { showUpgrade.value = true; @@ -58,9 +60,6 @@ onMounted(() => { finished.value = props.result.arrows && props.result.arrows.length === props.total; }); -// setTimeout(() => { -// showPanel.value = true; -// }, 300);