This commit is contained in:
@@ -8,6 +8,7 @@ const user_info = ref<any>({});
|
||||
const mer_info = ref<any>({});
|
||||
|
||||
const row = ref(0);
|
||||
const str = ref(0);
|
||||
|
||||
const formRef = ref();
|
||||
|
||||
@@ -48,6 +49,7 @@ const getData = async () => {
|
||||
data.value.push(...res.data.data);
|
||||
pagination.value.total = res.data.total;
|
||||
row.value = res.data.integral || 0;
|
||||
str.value = res.data.number || 0;
|
||||
} catch (e) {
|
||||
throw e;
|
||||
}
|
||||
@@ -79,7 +81,6 @@ const rules = ref({
|
||||
{
|
||||
message: '请填写提现积分',
|
||||
validator: (value, _) => {
|
||||
console.log(value);
|
||||
if (!value) {
|
||||
return false;
|
||||
} else {
|
||||
@@ -147,9 +148,7 @@ Taro.useReachBottom(() => {
|
||||
</view>
|
||||
<view class="line"></view>
|
||||
<view class="">
|
||||
<view class="font-bold text-[35px]">{{
|
||||
(row / 100 - (row / 100) * 0.138).toFixed(2)
|
||||
}}</view>
|
||||
<view class="font-bold text-[35px]">{{ str }}</view>
|
||||
<view class="text-[25px] mt-2">实际到账</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -166,12 +165,12 @@ Taro.useReachBottom(() => {
|
||||
<view class="formCard">
|
||||
<view class="flex justify-between mb-[25px]">
|
||||
<text>积分提现</text>
|
||||
<view class="flex items-center" @click="visible1 = true">
|
||||
<!-- <view class="flex items-center" @click="visible1 = true">
|
||||
<image
|
||||
class="w-[26px] h-[26px]"
|
||||
src="http://p1.meituan.net/csc/5437a800f4ed4a49f14984494c1c3077994.png"></image>
|
||||
<view class="text-[#EC4443] text-[26px] ml-1">提现疑问</view>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<nut-form ref="formRef" :model-value="basicData" :rules="rules">
|
||||
<nut-form-item prop="num">
|
||||
|
||||
Reference in New Issue
Block a user