Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
飞
飞鹤小程序
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
FH
飞鹤小程序
Commits
95d91059
Commit
95d91059
authored
Oct 27, 2025
by
spc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed
parent
68d362c0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
15 deletions
+11
-15
goods.js
api/goods.js
+1
-5
orderDetail.vue
v3/orderDetail/orderDetail.vue
+1
-1
orderList.vue
v3/orderList/orderList.vue
+9
-9
No files found.
api/goods.js
View file @
95d91059
...
@@ -103,8 +103,4 @@ export const fetchOrderExpressRoute = (data) => api.get('/c/order/express/route'
...
@@ -103,8 +103,4 @@ export const fetchOrderExpressRoute = (data) => api.get('/c/order/express/route'
* @returns {Promise} API响应
* @returns {Promise} API响应
* @description 取消订单
* @description 取消订单
*/
*/
export
const
fetchOrderCancel
=
(
data
)
=>
api
.
post
(
'/c/order/cancel'
,
data
,
{
export
const
fetchOrderCancel
=
(
data
)
=>
api
.
post
(
'/c/order/cancel'
,
data
);
headers
:
{
'Content-Type'
:
'form-data'
}
});
v3/orderDetail/orderDetail.vue
View file @
95d91059
...
@@ -1078,7 +1078,7 @@ export default {
...
@@ -1078,7 +1078,7 @@ export default {
left
:
0
;
left
:
0
;
right
:
0
;
right
:
0
;
background-color
:
#fff
;
background-color
:
#fff
;
padding
:
2
0
rpx
30
rpx
;
padding
:
8
0
rpx
30
rpx
;
box-shadow
:
0
-2
rpx
10
rpx
rgba
(
0
,
0
,
0
,
0.1
);
box-shadow
:
0
-2
rpx
10
rpx
rgba
(
0
,
0
,
0
,
0.1
);
z-index
:
100
;
z-index
:
100
;
/* 实物商品按钮使用flex布局,将按钮推到右侧 */
/* 实物商品按钮使用flex布局,将按钮推到右侧 */
...
...
v3/orderList/orderList.vue
View file @
95d91059
...
@@ -141,14 +141,14 @@ export default {
...
@@ -141,14 +141,14 @@ export default {
this
.
nextId
=
response
.
data
.
nextId
||
null
;
this
.
nextId
=
response
.
data
.
nextId
||
null
;
this
.
hasMore
=
!!
this
.
nextId
;
this
.
hasMore
=
!!
this
.
nextId
;
}
else
{
}
else
{
// API调用失败
// API调用失败
console
.
warn
(
'API调用失败:'
,
response
.
msg
);
console
.
warn
(
'API调用失败:'
,
response
.
msg
);
this
.
orderList
=
[];
this
.
orderList
=
[];
}
}
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
error
(
'加载兑换记录失败:'
,
error
);
console
.
error
(
'加载兑换记录失败:'
,
error
);
this
.
orderList
=
[];
this
.
orderList
=
[];
}
finally
{
}
finally
{
this
.
loading
=
false
;
this
.
loading
=
false
;
}
}
},
},
...
@@ -173,10 +173,10 @@ export default {
...
@@ -173,10 +173,10 @@ export default {
description
:
item
.
bizDesc
||
''
,
description
:
item
.
bizDesc
||
''
,
points
:
item
.
credits
||
0
,
points
:
item
.
credits
||
0
,
creditsTypeName
:
item
.
creditsTypeName
||
'积分'
,
creditsTypeName
:
item
.
creditsTypeName
||
'积分'
,
exchangeTime
:
this
.
formatTime
(
item
.
createTime
)
,
exchangeTime
:
item
.
createTime
,
productImage
:
item
.
bizIcon
||
''
,
productImage
:
item
.
bizIcon
||
''
,
countdown
:
this
.
calculateCountdown
(
item
.
expireTime
),
countdown
:
this
.
calculateCountdown
(
item
.
expireTime
),
validUntil
:
item
.
expireTime
?
this
.
formatTime
(
item
.
expireTime
)
:
null
validUntil
:
item
.
expireTime
?
item
.
expireTime
:
null
}));
}));
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment