Compare commits

..

6 Commits

Author SHA1 Message Date
kk 558e1380db 正在获取用户信息
Uni-app H5 Deploy (Prod + Staging) / deploy (release) Successful in 47s
2026-07-20 17:00:41 +08:00
kk 1b9602f66b 总数量显示订单总数
Uni-app H5 Deploy (Prod + Staging) / deploy (release) Successful in 46s
2026-07-20 11:50:41 +08:00
kk a071f760d3 授权回调code支持auth_code
Uni-app H5 Deploy (Prod + Staging) / deploy (release) Successful in 48s
2026-07-20 10:30:59 +08:00
kk 445d428d8b 授权获取用户信息scope是auth_user
Uni-app H5 Deploy (Prod + Staging) / deploy (release) Successful in 1m12s
2026-07-17 17:45:24 +08:00
kk bbbd386e1e 修改scope
Uni-app H5 Deploy (Prod + Staging) / deploy (release) Successful in 41s
2026-07-17 17:19:35 +08:00
kk fd3cd58123 scope参数问题处理
Uni-app H5 Deploy (Prod + Staging) / deploy (release) Successful in 40s
2026-07-17 16:22:57 +08:00
3 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -42,8 +42,8 @@
} }
} }
// 3. 检查 URL 中是否有授权回调的 code // 3. 检查 URL 中是否有授权回调的 code(支付宝用 auth_code,微信用 code
const code = urlParams.get('code'); const code = urlParams.get('code') || urlParams.get('auth_code');
if (code) { if (code) {
// 有 code → 进入授权 Loading 页处理 // 有 code → 进入授权 Loading 页处理
+1
View File
@@ -67,6 +67,7 @@ export default {
if (this.action === 'userinfo') { if (this.action === 'userinfo') {
// 获取用户信息流程 // 获取用户信息流程
this.statusText = '正在获取用户信息...';
if (code) { if (code) {
this.handleUserInfoCallback(code); this.handleUserInfoCallback(code);
} else { } else {
+1 -1
View File
@@ -30,7 +30,7 @@
<!-- 数量统计和筛选 --> <!-- 数量统计和筛选 -->
<view class="filter-bar"> <view class="filter-bar">
<text class="total-count">总数量: {{ filteredOrders.length }}</text> <text class="total-count">总数量: {{ total }}</text>
<view class="search-btn" @click="showFilterSidebar = true"> <view class="search-btn" @click="showFilterSidebar = true">
<text class="search-icon">🔍</text> <text class="search-icon">🔍</text>
</view> </view>