This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user