Browse Source

系统充值金币总数问题修改

zhangrenyuan/feature-20250728113353-金币前端三期
ZhangYong 1 week ago
parent
commit
082653d8b8
  1. 4
      .env.development
  2. 4
      src/views/recharge/beanSystemRecharge.vue

4
.env.development

@ -1,6 +1,6 @@
# VITE_API_BASE='https://hwjb.homilychart.com/dev/admin'
# 测试环境
# VITE_API_BASE='http://54.255.212.181:10704/'
VITE_API_BASE='http://54.255.212.181:10704/'
# 正式环境
# VITE_API_BASE='http://54.255.212.181:10705/'
VITE_UPLOAD_URL=http://39.101.133.168:8828/hljw/api/aws/upload
@ -11,4 +11,4 @@ VITE_UPLOAD_URL=http://39.101.133.168:8828/hljw/api/aws/upload
# zhangyong
# VITE_API_BASE='http://192.168.3.83:8081/'
# 本地
VITE_API_BASE='http://localhost:10704/'
# VITE_API_BASE='http://localhost:10704/'

4
src/views/recharge/beanSystemRecharge.vue

@ -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;">

Loading…
Cancel
Save