Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
groupPurchase-miniapp
Project
Project
Details
Activity
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
彭佳妮(贵阳日报)
groupPurchase-miniapp
Commits
05fa65f2
Commit
05fa65f2
authored
Aug 03, 2024
by
彭佳妮(贵阳日报)
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.platform.xinhuaapp.com/pengjiani/groupPurchase-miniapp
parents
ef2de324
3055a512
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
3 deletions
+25
-3
confirmOrder.js
src/api/confirmOrder.js
+17
-0
packageDetail.js
src/api/packageDetail.js
+3
-2
packageDetails.vue
src/pages/packageDetails/packageDetails.vue
+5
-1
confirmOrder.vue
src/pages/shop/confirmOrder.vue
+0
-0
No files found.
src/api/confirmOrder.js
View file @
05fa65f2
...
...
@@ -8,3 +8,20 @@ export function groupBuyConfirm(data) {
data
,
});
}
// 修改临时订单-使用优惠券时需要调用
export
function
groupBuyUpdate
(
data
)
{
return
request
({
url
:
`/sgyrdd/previewOrder/groupBuy/update`
,
method
:
'POST'
,
data
,
});
}
// 修改临时订单-提交订单并返回支付信息
export
function
groupBuyCreate
(
data
)
{
return
request
({
url
:
`/sgyrdd/sgyOrder/groupBuy/create`
,
method
:
'POST'
,
data
,
});
}
src/api/packageDetail.js
View file @
05fa65f2
...
...
@@ -26,7 +26,7 @@ export function getCouponShopList(prodId, shopId) {
export
function
receiveCoupon
(
data
)
{
return
request
({
url
:
`/sgyrdd/coupon/receiveCoupon`
,
method
:
'
POS
T'
,
method
:
'
GE
T'
,
data
,
});
}
}
\ No newline at end of file
src/pages/packageDetails/packageDetails.vue
View file @
05fa65f2
...
...
@@ -156,7 +156,7 @@
<!-- card-end -->
<view
class=
"rich-text-card"
>
<text
class=
"title"
>
商品详情
</text>
<rich-text
:nodes=
"prodInfo.content"
></rich-text>
<rich-text
class=
"desc"
:nodes=
"prodInfo.content"
></rich-text>
</view>
<view
class=
"rich-text-card"
>
<text
class=
"title"
>
购买须知
</text>
...
...
@@ -509,6 +509,7 @@ page {
display
:
flex
;
flex-direction
:
column
;
margin-top
:
12rpx
;
border
:
1
*
2rpx
solid
#f3f3f3
;
.ticket-box
{
display
:
flex
;
...
...
@@ -841,6 +842,9 @@ page {
margin-top
:
10rpx
;
border-radius
:
8
*
2rpx
;
box-shadow
:
0
-8rpx
22
*
2rpx
0
rgba
(
255
,
255
,
255
,
0
.6
);
.desc
{
white-space
:
pre-line
;
}
.purchase-information
{
display
:
flex
;
flex-direction
:
column
;
...
...
src/pages/shop/confirmOrder.vue
View file @
05fa65f2
This diff is collapsed.
Click to expand it.
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