Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-old
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-old
Commits
2372d916
提交
2372d916
authored
1月 26, 2025
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bug fixes
上级
728d0874
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
50 行增加
和
38 行删除
+50
-38
package.json
package.json
+0
-1
index.html
src/index.html
+0
-1
schoolHelp.vue
src/pages/hall/components/schoolHelp.vue
+7
-4
studentHelp.vue
src/pages/hall/components/studentHelp.vue
+7
-6
teacherHelp.vue
src/pages/hall/components/teacherHelp.vue
+7
-6
index.vue
src/pages/teachers/index.vue
+8
-4
payPop.vue
src/pages/train/components/payPop.vue
+20
-16
data.js
src/pages/train/data.js
+1
-0
form.vue
src/pages/train/form.vue
+0
-0
没有找到文件。
package.json
浏览文件 @
2372d916
...
...
@@ -78,7 +78,6 @@
"
core-js
"
:
"^3.8.0"
,
"
cross-env
"
:
"^7.0.2"
,
"
element-ui
"
:
"^2.15.6"
,
"
jquery
"
:
"^3.5.1"
,
"
js-cookie
"
:
"^2.2.1"
,
"
js-md5
"
:
"^0.7.3"
,
"
lodash
"
:
"^4.17.20"
,
...
...
src/index.html
浏览文件 @
2372d916
...
...
@@ -13,7 +13,6 @@
<script
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/es5-shim.min.js"
></script>
<script
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/es5-sham.min.js"
></script>
<!-- 三方插件引入 -->
<script
src=
"https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.js"
async
></script>
<script
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/convertString/base64-new.js"
></script>
<script
src=
"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/common/runtime.js"
></script>
...
...
src/pages/hall/components/schoolHelp.vue
浏览文件 @
2372d916
...
...
@@ -94,11 +94,14 @@ export default {
},
methods
:
{
pointScroll
(){
console
.
log
(
$
(
`#point
${
this
.
$route
.
query
.
point
}
`
),
'123'
)
if
(
this
.
$route
.
query
.
point
!==
undefined
)
{
$
(
'html, body'
).
animate
({
scrollTop
:
$
(
`#point
${
this
.
$route
.
query
.
point
}
`
).
offset
().
top
},
300
)
const
element
=
document
.
getElementById
(
`point
${
this
.
$route
.
query
.
point
}
`
);
if
(
element
)
{
element
.
scrollIntoView
({
behavior
:
'smooth'
,
block
:
'start'
});
}
}
},
goPage
(
path
,
n
)
{
...
...
src/pages/hall/components/studentHelp.vue
浏览文件 @
2372d916
...
...
@@ -141,12 +141,13 @@ export default {
methods
:
{
pointScroll
()
{
if
(
this
.
$route
.
query
.
point
!==
undefined
)
{
$
(
'html, body'
).
animate
(
{
scrollTop
:
$
(
`#point
${
this
.
$route
.
query
.
point
}
`
).
offset
().
top
},
500
)
const
target
=
document
.
getElementById
(
`point
${
this
.
$route
.
query
.
point
}
`
);
if
(
target
)
{
target
.
scrollIntoView
({
behavior
:
'smooth'
,
block
:
'start'
});
}
}
},
goPage
(
path
,
n
)
{
...
...
src/pages/hall/components/teacherHelp.vue
浏览文件 @
2372d916
...
...
@@ -133,12 +133,13 @@ export default {
methods
:
{
pointScroll
()
{
if
(
this
.
$route
.
query
.
point
!==
undefined
)
{
$
(
'html, body'
).
animate
(
{
scrollTop
:
$
(
`#point
${
this
.
$route
.
query
.
point
}
`
).
offset
().
top
},
500
)
const
target
=
document
.
getElementById
(
`point
${
this
.
$route
.
query
.
point
}
`
);
if
(
target
)
{
target
.
scrollIntoView
({
behavior
:
'smooth'
,
block
:
'start'
});
}
}
},
goPage
(
path
,
n
)
{
...
...
src/pages/teachers/index.vue
浏览文件 @
2372d916
...
...
@@ -171,10 +171,14 @@ export default {
return
false
}
if
(
n
.
id
)
{
$
(
'html, body'
).
animate
({
scrollTop
:
$
(
'#'
+
n
.
id
).
offset
().
top
})
return
false
const
target
=
document
.
getElementById
(
n
.
id
);
if
(
target
)
{
target
.
scrollIntoView
({
behavior
:
'smooth'
,
block
:
'start'
});
}
return
false
;
}
if
(
n
.
path
)
{
this
.
$router
.
push
(
n
)
...
...
src/pages/train/components/payPop.vue
浏览文件 @
2372d916
...
...
@@ -8,7 +8,7 @@
</div>
<div
class=
"tips-cen mar-t-20"
>
<div
class=
"name"
>
费
用:
</div>
<div
class=
"money"
>
3800
<span>
元
</span></div>
<div
class=
"money"
>
{{
price
}}
<span>
元
</span></div>
</div>
<div
class=
"tips-top"
>
<div
class=
"name"
>
支付方式:
</div>
...
...
@@ -45,16 +45,20 @@ import action from '@action'
import
QrcodeVue
from
'qrcode.vue'
export
default
{
components
:
{
QrcodeVue
QrcodeVue
,
},
props
:
{
formData
:
{
type
:
Object
type
:
Object
,
},
periods
:
{
type
:
Number
,
default
:
'1'
}
default
:
'1'
,
},
price
:
{
type
:
Number
,
default
:
3800
,
},
},
data
()
{
return
{
...
...
@@ -62,7 +66,7 @@ export default {
isCodeShow
:
false
,
product_id
:
'6787934443077107712'
,
payInfo
:
{},
time
:
null
time
:
null
,
}
},
methods
:
{
...
...
@@ -73,15 +77,15 @@ export default {
const
param
=
{
pay_type
:
this
.
payMethod
,
product_id
:
this
.
product_id
,
form_id
:
this
.
formData
.
id
&&
this
.
formData
.
id
.
toString
()
form_id
:
this
.
formData
.
id
&&
this
.
formData
.
id
.
toString
()
,
}
const
loading
=
this
.
$loading
({
lock
:
true
,
text
:
'Loading'
,
spinner
:
'el-icon-loading'
,
background
:
'rgba(0, 0, 0, 0.7)'
background
:
'rgba(0, 0, 0, 0.7)'
,
})
action
.
articleAction
.
getOrder
(
param
).
then
(
res
=>
{
action
.
articleAction
.
getOrder
(
param
).
then
(
(
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
payInfo
=
res
.
data
this
.
isCodeShow
=
true
...
...
@@ -98,13 +102,13 @@ export default {
})
},
checkPay
(
id
,
order_no
)
{
action
.
articleAction
.
checkPay
(
id
).
then
(
res
=>
{
action
.
articleAction
.
checkPay
(
id
).
then
(
(
res
)
=>
{
if
(
res
.
code
===
0
)
{
const
[
order
=
{}]
=
res
.
data
if
(
order
.
status
===
1
)
{
this
.
$message
({
message
:
'支付成功'
,
type
:
'success'
type
:
'success'
,
})
this
.
payEnd
(
order_no
)
this
.
$emit
(
'payStatus'
)
...
...
@@ -119,19 +123,19 @@ export default {
closeClear
()
{
this
.
isCodeShow
=
false
this
.
$emit
(
'closePayPop'
)
// clearInterval(
)
clearInterval
(
this
.
time
)
},
payEnd
(
orderOn
)
{
const
param
=
{
order_no
:
orderOn
,
form_id
:
this
.
formData
.
id
.
toString
()
form_id
:
this
.
formData
.
id
.
toString
()
,
}
action
.
articleAction
.
payEnd
(
param
).
then
(
res
=>
{})
}
action
.
articleAction
.
payEnd
(
param
).
then
(
(
res
)
=>
{})
}
,
},
beforeDestroy
()
{
// clearInterval(this.time)
}
}
,
}
</
script
>
<
style
lang=
"scss"
scoped
>
...
...
src/pages/train/data.js
浏览文件 @
2372d916
...
...
@@ -14,6 +14,7 @@ export default [
contact_number
:
'18500913837'
,
desc
:
''
,
payment
:
'1280元/人'
,
price
:
1280
,
content
:
`<p style="text-align: center"><strong>直播课程</strong></p>
<div align="center">
<table style="width: 100%;" border="1" cellspacing="0" cellpadding="0">
...
...
src/pages/train/form.vue
浏览文件 @
2372d916
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论