交互方式修改

This commit is contained in:
kron
2025-08-19 16:48:33 +08:00
parent f03adb5ea0
commit 7162490ef7
3 changed files with 109 additions and 120 deletions

View File

@@ -13,6 +13,7 @@ const showTip = ref(false);
const showTip2 = ref(false);
const groups = ref([]);
const data = ref({});
const targetId = ref("");
const targetSrc = ref("");
const arrows = ref([]);
@@ -42,6 +43,7 @@ onLoad(async (options) => {
const config = uni.getStorageSync("point-book-config");
config.targetOption.some((item) => {
if (item.id === result.targetType) {
targetId.value = item.id;
targetSrc.value = item.icon;
}
});
@@ -122,7 +124,7 @@ onLoad(async (options) => {
/>
</button>
</view>
<BowTargetEdit :src="targetSrc" :arrows="arrows" />
<BowTargetEdit :id="targetId" :src="targetSrc" :arrows="arrows" />
<view :style="{ marginTop: '20px' }">
<SButton :onClick="goBack" :rounded="50">关闭</SButton>
</view>