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
9f2ab345
Commit
9f2ab345
authored
Sep 30, 2021
by
Xuguangxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
f88c18ba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
module.js
src/store/module.js
+1
-1
index.vue
src/views/pay/index.vue
+8
-5
No files found.
src/store/module.js
View file @
9f2ab345
...
...
@@ -106,7 +106,7 @@ const mutations = {
let
getScheme
=
async
function
()
{
const
[
res
]
=
await
groupBuy
.
getScheme
({
miniUrl
:
'
pages/groupbuy/webview
'
,
// miniUrl: 'pages/product/goodDetail'
,
// miniUrl: 'pages/product/goodDetail'
params
:
`url=
${
encodeURIComponent
(
JSON
.
stringify
(
paramsParentheses
(
pointer
)
+
'
&vccToken={token}
'
)
)}
`
...
...
src/views/pay/index.vue
View file @
9f2ab345
...
...
@@ -54,10 +54,10 @@
</cr-button>
</p>
<p
v-if=
"overtime"
class=
"btn"
>
<cr-button
v-if=
"isOrder"
type=
"default"
class=
"btn-default"
@
click=
"goOrderList"
<
!--
<
cr-button
v-if=
"isOrder"
type=
"default"
class=
"btn-default"
@
click=
"goOrderList"
>
我的订单
</cr-button
>
<cr-button
type=
"primary"
class=
"btn-primary"
@
click=
"
goHome"
>
返回商城
</cr-button>
>
-->
<cr-button
type=
"primary"
class=
"btn-primary"
@
click=
"
navigateBack"
>
返回
</cr-button>
</p>
<p
class=
"placeholder"
/>
<!-- 支付密码弹窗 -->
...
...
@@ -105,7 +105,7 @@ import { isWechat } from '@/service/validation.service';
import
{
encryptByDESModeEBC
}
from
'
@/service/encrypt
'
;
import
localStorage
from
'
@/service/localStorage.service
'
;
import
{
throttle
}
from
'
@/service/utils.service
'
;
import
{
goUrlExtends
}
from
'
./extends
'
;
//
import { goUrlExtends } from './extends';
import
cookies
from
'
@/service/cookieStorage.service
'
;
import
{
saTrackEvent
}
from
'
@/service/sa.service
'
;
import
{
...
...
@@ -149,7 +149,7 @@ export default {
pay
:
this
};
},
extends
:
goUrlExtends
,
//
extends: goUrlExtends,
data
()
{
return
{
isOrder
:
true
,
...
...
@@ -242,6 +242,9 @@ export default {
this
.
getCouponList
(
this
.
orderNo
);
},
methods
:
{
navigateBack
()
{
this
.
$router
.
go
(
-
1
);
},
getQuery
()
{
this
.
returnUrl
=
cookies
.
get
(
'
returnUrl
'
)
||
''
;
if
(
localStorage
.
get
(
'
hideOrder
'
))
{
...
...
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