细节完善

This commit is contained in:
kron
2025-09-27 10:09:02 +08:00
parent f8bc5d094e
commit b75ab93af9
8 changed files with 124 additions and 63 deletions

View File

@@ -59,13 +59,13 @@ const toEditPage = () => {
});
}
};
onShow(async () => {
const result = await getPointBookDataAPI();
if (result) {
days.value = result.total_day || 0;
arrows.value = result.total_arrow || 0;
}
});
// onShow(async () => {
// const result = await getPointBookDataAPI();
// if (result) {
// days.value = result.total_day || 0;
// arrows.value = result.total_arrow || 0;
// }
// });
onMounted(async () => {
const pointBook = uni.getStorageSync("point-book");
if (pointBook) {
@@ -82,10 +82,10 @@ onMounted(async () => {
:bgType="2"
bgColor="#F5F5F5"
:whiteBackArrow="false"
title="计分与技术分析"
title="选择参数"
>
<view class="container">
<view class="header">
<!-- <view class="header">
<image
src="https://static.shelingxingqiu.com/attachment/2025-08-06/dbv8w5ak76hozbfpy2.png"
mode="widthFix"
@@ -104,7 +104,7 @@ onMounted(async () => {
</view>
<text>训练箭数</text>
</view>
</view>
</view> -->
<view>
<EditOption
:itemIndex="0"
@@ -136,7 +136,7 @@ onMounted(async () => {
</view>
</view>
<view :style="{ marginBottom: '20px' }">
<SButton :rounded="50" :onClick="toEditPage">开始计分</SButton>
<SButton :rounded="50" :onClick="toEditPage">下一步</SButton>
<view class="see-more" @click="toListPage">
<text>历史计分记录</text>
<image src="../static/enter-arrow-blue.png" mode="widthFix" />