2025-10-24
细节修改
This commit is contained in:
@@ -54,7 +54,7 @@
|
|||||||
|
|
||||||
<!-- 底部按钮 -->
|
<!-- 底部按钮 -->
|
||||||
<view class="bottom-actions">
|
<view class="bottom-actions">
|
||||||
<u-button class="consult-btn" @click="handleConsult">立即咨询</u-button>
|
<u-button hover-class="none" class="consult-btn" @click="handleConsult">立即咨询</u-button>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|||||||
@@ -56,7 +56,11 @@
|
|||||||
<view class="box-bottom" id="boxBottom">
|
<view class="box-bottom" id="boxBottom">
|
||||||
<u-checkbox v-model="isAllCheck" shape="circle" @change="handleSelectAll">全选</u-checkbox>
|
<u-checkbox v-model="isAllCheck" shape="circle" @change="handleSelectAll">全选</u-checkbox>
|
||||||
<view class="right">
|
<view class="right">
|
||||||
合计:豆{{rongdou}} 分{{point}}
|
合计:
|
||||||
|
<image class="icon" src="/static/icon/rongdou.png" mode=""></image>
|
||||||
|
{{rongdou}}
|
||||||
|
<image class="icon" src="/static/icon/jifen.png" mode=""></image>
|
||||||
|
{{point}}
|
||||||
<u-button class="u-m-l-10" @click="handleSubmit">{{isManage?'删除':'结算'}}</u-button>
|
<u-button class="u-m-l-10" @click="handleSubmit">{{isManage?'删除':'结算'}}</u-button>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -81,7 +85,9 @@
|
|||||||
import {
|
import {
|
||||||
getImageUrl
|
getImageUrl
|
||||||
} from '../../util/common.js';
|
} from '../../util/common.js';
|
||||||
import {onShow} from '@dcloudio/uni-app'
|
import {
|
||||||
|
onShow
|
||||||
|
} from '@dcloudio/uni-app'
|
||||||
|
|
||||||
const msgRef = ref()
|
const msgRef = ref()
|
||||||
|
|
||||||
@@ -280,6 +286,11 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
|
.icon {
|
||||||
|
width: 30rpx;
|
||||||
|
height: 30rpx;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="my-container">
|
<view class="my-container">
|
||||||
<scroll-view scroll-y="true" style="height: 100%;" :refresher-threshold="50" :refresher-triggered="isRefresher" refresher-background="transparent"
|
<scroll-view scroll-y="true" style="height: 100%;" :refresher-threshold="50" :refresher-triggered="isRefresher"
|
||||||
refresher-enabled="true" @refresherrefresh="reflash">
|
refresher-background="transparent" refresher-enabled="true" @refresherrefresh="reflash">
|
||||||
<view v-if="user!=null">
|
<view v-if="user!=null">
|
||||||
<view class="header">
|
<view class="header">
|
||||||
<view class="header-user">
|
<view class="header-user">
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="item" @click="shop_car">
|
<view class="item" @click="shop_car">
|
||||||
<view class="count">
|
<view class="count">
|
||||||
283
|
{{totalCartCount}}
|
||||||
</view>
|
</view>
|
||||||
<view class="title">
|
<view class="title">
|
||||||
购物车
|
购物车
|
||||||
@@ -159,7 +159,10 @@
|
|||||||
} from '../../api/auth.js';
|
} from '../../api/auth.js';
|
||||||
import {
|
import {
|
||||||
onShow
|
onShow
|
||||||
} from '@dcloudio/uni-app'
|
} from '@dcloudio/uni-app';
|
||||||
|
import {
|
||||||
|
mallAPI
|
||||||
|
} from '../../api/mall.js'
|
||||||
|
|
||||||
const user = ref()
|
const user = ref()
|
||||||
|
|
||||||
@@ -181,12 +184,17 @@
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const totalCartCount = ref(0)
|
||||||
|
|
||||||
const loadData = () => {
|
const loadData = () => {
|
||||||
authAPI.me().then(res => {
|
authAPI.me().then(res => {
|
||||||
user.value = res.user
|
user.value = res.user
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
isRefresher.value = false
|
isRefresher.value = false
|
||||||
})
|
})
|
||||||
|
mallAPI.getCartList().then(res => {
|
||||||
|
totalCartCount.value = res.data.items.length
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
onShow(() => {
|
onShow(() => {
|
||||||
|
|||||||
@@ -188,7 +188,7 @@
|
|||||||
<image class="icon" src="/static/icon/rongdou.png" mode=""></image>
|
<image class="icon" src="/static/icon/rongdou.png" mode=""></image>
|
||||||
{{detailInfo.real_rongdou}}
|
{{detailInfo.real_rongdou}}
|
||||||
</view>
|
</view>
|
||||||
<view class="info-value" v-if="detailInfo.real_points">
|
<view class="info-value" v-else-if="detailInfo.real_points">
|
||||||
<image class="icon" src="/static/icon/jifen.png" mode=""></image>
|
<image class="icon" src="/static/icon/jifen.png" mode=""></image>
|
||||||
{{detailInfo.real_points}}
|
{{detailInfo.real_points}}
|
||||||
</view>
|
</view>
|
||||||
@@ -363,6 +363,7 @@
|
|||||||
if (maxPage.value < params.value.page) {
|
if (maxPage.value < params.value.page) {
|
||||||
loadStatus.value = 'nomore'
|
loadStatus.value = 'nomore'
|
||||||
}
|
}
|
||||||
|
console.log(orderList.value);
|
||||||
})
|
})
|
||||||
} else if (currentTab.value == 2) {
|
} else if (currentTab.value == 2) {
|
||||||
// 理财产品
|
// 理财产品
|
||||||
|
|||||||
Reference in New Issue
Block a user