update
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-07-15 19:48:40 +08:00
parent f479863d7d
commit 8b4484d8ab
4 changed files with 33 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
<template>
<view>
<view class="p-[30px]">
<view class="p-[30px]" v-if="data.length !== 0">
<view
class="pt-[10px] pb-[10px] line"
v-for="(item, index) in data"
@@ -56,6 +56,7 @@
</view>
</view>
</view>
<view v-else class="text-[#959BB1] text-center">暂无记录</view>
</view>
</template>
@@ -99,6 +100,9 @@ const data = ref([]);
Taro.useLoad((opt) => {
uid.value = opt.uid;
});
Taro.useDidShow(() => {
getList();
});
@@ -111,6 +115,9 @@ const getList = async () => {
hm: [item.Name],
t: item.DrawTime,
j: item.Number,
draw_num: item.DrawNumber,
state: item.State,
periods_num: item.PeriodsNum,
}));
};
</script>