Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
4f9a83d5
Commit
4f9a83d5
authored
Sep 11, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增页面
parent
3991e9e4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
329 additions
and
11 deletions
+329
-11
payMall.vue
src/components/commonPage/payMall.vue
+313
-0
goodlist.vue
src/components/mall/goodlist.vue
+16
-11
No files found.
src/components/commonPage/payMall.vue
0 → 100644
View file @
4f9a83d5
This diff is collapsed.
Click to expand it.
src/components/mall/goodlist.vue
View file @
4f9a83d5
...
...
@@ -196,7 +196,7 @@
</span>
</el-dialog>
<el-dialog
title=
"立即支付"
:visible
.
sync=
"payVisible"
width=
"400px"
>
<pay
urlItem1></payurlItem1
>
<pay
Mall
:item=
"payObj"
></payMall
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
size=
"small"
@
click=
"payVisible = false"
>
取 消
</el-button>
</span>
...
...
@@ -204,10 +204,15 @@
</div>
</template>
<
script
>
import
pay
URL1
from
"../commonPage/payURL1
.vue"
;
import
pay
Mall
from
"../commonPage/payMall
.vue"
;
export
default
{
data
()
{
return
{
payObj
:
{
orderId
:
1
,
OrderSource
:
16
,
TotalPrice
:
0
,
},
statusValue
:
0
,
//请选择
//数据列表
DataList
:
[],
...
...
@@ -289,13 +294,13 @@
trigger
:
'change'
}],
},
orderDialog
:
false
,
orderDialog
:
false
,
goodVisible
:
false
,
payVisible
:
true
,
payVisible
:
true
,
};
},
components
:
{
pay
urlItem1
:
payURL1
,
pay
Mall
:
payMall
,
},
methods
:
{
...
...
@@ -426,7 +431,7 @@
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
console
.
log
(
res
,
'数据'
);
console
.
log
(
res
,
'数据'
);
var
tempArray
=
res
.
data
.
data
.
pageData
;
if
(
tempArray
&&
tempArray
.
length
>
0
)
{
tempArray
.
forEach
(
item
=>
{
...
...
@@ -526,7 +531,7 @@
this
.
Success
(
"下单成功!"
);
this
.
clreaMsg
();
this
.
getGoodList
();
this
.
orderDialog
=
false
;
this
.
orderDialog
=
false
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
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