|
|
@ -15,6 +15,7 @@ const selectData = ref({ |
|
|
|
|
|
|
|
}) |
|
|
|
const permanentBeans = ref(0) |
|
|
|
const freeBean = ref(0) |
|
|
|
const beanNum = ref(0) |
|
|
|
const money = ref(0) |
|
|
|
const defaultTime = [ |
|
|
@ -43,6 +44,7 @@ const getTotalBeans = async () => { |
|
|
|
}) |
|
|
|
if (result.code == 200) { |
|
|
|
permanentBeans.value = result.data.permanentBean |
|
|
|
freeBean.value = result.data.freeBean |
|
|
|
beanNum.value = result.data.beanNum |
|
|
|
money.value = result.data.money |
|
|
|
console.log('金豆总数获取成功'); |
|
|
@ -368,7 +370,7 @@ onMounted(async function () { |
|
|
|
<!-- 汉字用 <strong> 加粗,动态数据用 <span> 包一层单独改色 --> |
|
|
|
金豆总数:{{ beanNum }} |
|
|
|
, 充值金豆数:{{ permanentBeans }} |
|
|
|
, 合计新币数:{{ money }}。 |
|
|
|
, 免费金豆数:{{ freeBean }}。 |
|
|
|
</div> |
|
|
|
<!-- 设置表格容器的高度和滚动样式 --> |
|
|
|
<div style="height: 520px; overflow-y: auto;margin-top: 10px;"> |
|
|
|