Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
h5-base
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
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
new-sing
h5-base
Commits
fd079c15
Commit
fd079c15
authored
Sep 12, 2019
by
IvyXia123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
支付还原
parent
a9bca9cc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
buy.vue
src/components/buy/buy.vue
+4
-4
index.vue
src/components/map/index.vue
+1
-1
evaluate.vue
src/components/newLesson/evaluate.vue
+5
-4
video.vue
src/components/newLesson/video.vue
+0
-1
No files found.
src/components/buy/buy.vue
View file @
fd079c15
...
...
@@ -378,7 +378,7 @@ export default {
}
this
.
orderFlag
=
false
;
let
payTypeArr
=
[
'WX'
,
'ALI'
,
'KFQ'
]
/*
let payTypeArr = ['WX', 'ALI', 'KFQ']
let data = { pay_type: payTypeArr[this.payIndex], return_url: window.location.href, goods_id: json.goods_id, buy_type: this.groupDetail.goods_type, group_order_id: json.group_order_id, order_coupon_id:json.order_coupon_id }
postPayBillApi(data).then(res => {
if(this.payIndex === 0) {
...
...
@@ -388,9 +388,9 @@ export default {
}else if(this.payIndex === 2) {
this.payUrl = res.pay_url;
}
})
})
*/
/*
payApi(json).then(res => {
payApi
(
json
).
then
(
res
=>
{
this
.
orderNo
=
res
.
out_trade_no
;
console
.
log
(
res
)
if
(
res
.
out_trade_no
&&
!
res
.
appId
)
{
...
...
@@ -435,7 +435,7 @@ export default {
.
catch
(
res
=>
{
// alert(res)
this
.
orderFlag
=
true
;
});
*/
});
}
},
closeAdd
(
data
)
{
...
...
src/components/map/index.vue
View file @
fd079c15
...
...
@@ -477,7 +477,7 @@
lessonData
.
classID
=
this
.
classID
;
lessonData
.
nowTime
=
Date
.
parse
(
new
Date
());
lessonData
.
course_title
=
this
.
secActions
.
course_title
// console.log(lessonData)
localStorage
.
setItem
(
'lessonDetail'
,
JSON
.
stringify
(
lessonData
));
// console.log(query)
// debugger
...
...
src/components/newLesson/evaluate.vue
View file @
fd079c15
...
...
@@ -121,8 +121,6 @@
subUserLessonApi
(
elementId
,
category_id
,
periods_id
,
json
).
then
((
res
)
=>
{
this
.
totalStarNum
=
res
.
total_star_num
})
// const subUserLessonDatac = await subUserLessonApi(elementId, category_id, periods_id, json)
// this.totalStarNum = subUserLessonDatac.total_star_num
},
/**
* 提交成长记录
...
...
@@ -230,15 +228,18 @@
<
style
lang=
"less"
type=
"text/less"
>
@import "../../util/public";
html, body, #app {
height: 100%;
}
.evaluate-page {
width: 100%;
height: 100%;
background: #EEEEEE;
padding: 10 * @toVw 20 * @toVw
0
;
padding: 10 * @toVw 20 * @toVw;
box-sizing: border-box;
.evaluate-content {
width: 100%;
height: 100%;
margin: auto;
padding: 0 26 * @toVw 10 * @toVw;
background: #fff;
...
...
src/components/newLesson/video.vue
View file @
fd079c15
...
...
@@ -196,7 +196,6 @@
this
.
videoWidth
=
Number
(
document
.
documentElement
.
clientWidth
)
/
3.8
;
},
mounted
()
{
console
.
log
(
this
.
contentData
,
86876
)
this
.
changeAge
(
this
.
contentData
.
age
);
let
that
=
this
;
// console.log(document.documentElement.clientWidth)
...
...
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