Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
group-buy-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
group-buy-ui
Commits
dcd4bd87
Commit
dcd4bd87
authored
Oct 03, 2021
by
beisir
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat/group-buy' of git.quantgroup.cn:ui/group-buy-ui into feat/group-buy
parents
c6b9bb50
154d6a1a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
5 deletions
+12
-5
groupDescInfo.vue
src/views/goodsDetail/components/groupDescInfo.vue
+9
-4
createOrder.vue
src/views/order/createOrder.vue
+2
-0
index.vue
src/views/pay/index.vue
+1
-1
No files found.
src/views/goodsDetail/components/groupDescInfo.vue
View file @
dcd4bd87
...
@@ -2,10 +2,15 @@
...
@@ -2,10 +2,15 @@
<div
class=
"group-info-desc"
>
<div
class=
"group-info-desc"
>
<div
class=
"desc-item"
>
<div
class=
"desc-item"
>
<template
v-if=
"groupInfo.groupBuyStatus == 1"
>
<template
v-if=
"groupInfo.groupBuyStatus == 1"
>
<p
class=
"desc"
>
<template
v-if=
"!groupInfo.joinGroup && !groupInfo.canJoinGroupBuyAgain"
>
还差
<span>
{{
groupInfo
.
groupBuyNeedUserCount
}}
人
</span>
成团,距结束还剩
拼团失败!
</p>
</
template
>
<countDown
v-if=
"!!timestemp"
:block-no-bg=
"true"
:end-time=
"timestemp"
/>
<
template
v-else
>
<p
class=
"desc"
>
还差
<span>
{{
groupInfo
.
groupBuyNeedUserCount
}}
人
</span>
成团,距结束还剩
</p>
<countDown
v-if=
"!!timestemp"
:block-no-bg=
"true"
:end-time=
"timestemp"
/>
</
template
>
</template>
</template>
<
template
v-else
>
<
template
v-else
>
<template
v-if=
"groupInfo.groupBuyStatus != 2"
>
<template
v-if=
"groupInfo.groupBuyStatus != 2"
>
...
...
src/views/order/createOrder.vue
View file @
dcd4bd87
...
@@ -235,6 +235,8 @@ export default {
...
@@ -235,6 +235,8 @@ export default {
this
.
nativeBridge
.
openNewUrl
({
this
.
nativeBridge
.
openNewUrl
({
newUrl
:
`/pages/pay/index?orderNo=
${
data
.
orderNo
}
`
newUrl
:
`/pages/pay/index?orderNo=
${
data
.
orderNo
}
`
});
});
// const wx = require('weixin-js-sdk');
// wx.miniProgram.redirectTo();
}
else
if
(
isApp
)
{
}
else
if
(
isApp
)
{
this
.
$router
.
replace
({
path
:
`/pay?orderNo=
${
data
.
orderNo
}
`
});
this
.
$router
.
replace
({
path
:
`/pay?orderNo=
${
data
.
orderNo
}
`
});
}
else
{
}
else
{
...
...
src/views/pay/index.vue
View file @
dcd4bd87
...
@@ -539,7 +539,7 @@ export default {
...
@@ -539,7 +539,7 @@ export default {
reason
:
error
,
reason
:
error
,
orderNo
:
this
.
orderNo
,
orderNo
:
this
.
orderNo
,
payType
:
this
.
payType
,
payType
:
this
.
payType
,
finalAm
t
:
this
.
amountInfo
.
finalAmt
||
''
,
amoun
t
:
this
.
amountInfo
.
finalAmt
||
''
,
freeAmount
:
this
.
amountInfo
.
freeAmount
||
''
freeAmount
:
this
.
amountInfo
.
freeAmount
||
''
}
}
});
});
...
...
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