|
|
|
|
@ -15,7 +15,7 @@
|
|
|
|
|
<el-row :gutter="20" class="info">
|
|
|
|
|
<el-col :span="8">帐户余额:¥<el-text class="mx-1" >{{ NumFilter(userBalance) }}</el-text></el-col>
|
|
|
|
|
<el-col :span="8">本月消费:¥<el-text class="mx-1" >{{ NumFilter(userBalanceMonth) }}</el-text></el-col>
|
|
|
|
|
<el-col :span="8">帐户等级:<el-tag class="ml-2" type="success">1</el-tag></el-col>
|
|
|
|
|
<el-col :span="8">当日消费:¥<el-text class="mx-1" >{{ NumFilter(userBalanceDay) }}</el-text></el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
</el-card>
|
|
|
|
|
<div class="main2" v-if="pushSwitch == 'Y'">
|
|
|
|
|
@ -116,6 +116,7 @@ const serverUrl2 = ref("");
|
|
|
|
|
const userKey = ref("");
|
|
|
|
|
const userBalance = ref(0);
|
|
|
|
|
const userBalanceMonth = ref(0);
|
|
|
|
|
const userBalanceDay = ref(0);
|
|
|
|
|
const pushUrl = ref("");
|
|
|
|
|
const pushSwitch = ref("N")
|
|
|
|
|
const rewardDesc = ref("")
|
|
|
|
|
@ -142,6 +143,7 @@ function getIndex() {
|
|
|
|
|
userKey.value = response.data.userKey
|
|
|
|
|
userBalance.value = response.data.userBalance
|
|
|
|
|
userBalanceMonth.value = response.data.userBalanceMonth
|
|
|
|
|
userBalanceDay.value = response.data.userBalanceDay
|
|
|
|
|
pushUrl.value = response.data.pushUrl
|
|
|
|
|
modelList.value = response.data.modelList
|
|
|
|
|
})
|
|
|
|
|
|