This commit is contained in:
kron
2025-08-05 15:58:43 +08:00
parent 4b9fe45ad2
commit c678a3160a
8 changed files with 38 additions and 14 deletions

View File

@@ -4,6 +4,7 @@ import { onLoad } from "@dcloudio/uni-app";
import Container from "@/components/Container.vue";
import BowTargetEdit from "@/components/BowTargetEdit.vue";
import ScreenHint2 from "@/components/ScreenHint2.vue";
import SButton from "@/components/SButton.vue";
import { getPointBookDetailAPI } from "@/apis";
@@ -31,6 +32,10 @@ const onSelect = (index) => {
arrows.value = groups.value[index].list.filter((item) => item.x && item.y);
};
const goBack = () => {
uni.navigateBack();
};
onLoad(async (options) => {
if (options.id) {
const result = await getPointBookDetailAPI(options.id);
@@ -117,6 +122,9 @@ onLoad(async (options) => {
</button>
</view>
<BowTargetEdit :src="targetSrc" :arrows="arrows" />
<view :style="{ marginTop: '20px' }">
<SButton :onClick="goBack" :rounded="50">关闭</SButton>
</view>
<ScreenHint2 :show="showTip || showTip2" :onClose="closeTip">
<view class="tip-content">
<block v-if="showTip">
@@ -190,6 +198,9 @@ onLoad(async (options) => {
color: #999;
margin-bottom: 8px;
}
.detail-data > view > text {
font-weight: 500;
}
.question-mark {
width: 15px;
height: 15px;