Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-fi
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-fi
Commits
fb33e7c2
提交
fb33e7c2
authored
12月 30, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
首页h5课程按钮已购买显示联系我们
上级
ced35fc0
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
7 行增加
和
50 行删除
+7
-50
Course.vue
src/modules/home/components/Course.vue
+0
-0
PayH5.vue
src/modules/pay/components/PayH5.vue
+0
-2
PayPC.vue
src/modules/pay/components/PayPC.vue
+0
-2
CourseFooter.vue
src/modules/shop/components/CourseFooter.vue
+0
-1
CourseListItem.vue
src/modules/shop/components/CourseListItem.vue
+1
-0
TeacherCard.vue
src/modules/shop/components/TeacherCard.vue
+5
-45
Index.vue
src/modules/shop/views/Index.vue
+1
-0
没有找到文件。
src/modules/home/components/Course.vue
浏览文件 @
fb33e7c2
差异被折叠。
点击展开。
src/modules/pay/components/PayH5.vue
浏览文件 @
fb33e7c2
...
...
@@ -19,7 +19,6 @@ const start_time = getDateTime()
const
end_time
=
getDateTime
(
90
)
const
isAgree
=
$ref
(
false
)
let
isAgreeText
=
$ref
(
false
)
const
dialogVisible
=
$ref
(
false
)
const
{
order
,
pay
}
=
usePay
()
...
...
@@ -32,7 +31,6 @@ onMounted(() => {
watchEffect
(()
=>
{
if
(
order
.
value
?.
order_status
===
'4'
)
{
// 支付成功
console
.
log
(
'支付成功'
)
emit
(
'success'
,
order
.
value
)
}
})
...
...
src/modules/pay/components/PayPC.vue
浏览文件 @
fb33e7c2
...
...
@@ -23,7 +23,6 @@ const { order, payOrder, pay } = usePay()
watchEffect
(()
=>
{
if
(
order
.
value
?.
order_status
===
'4'
)
{
// 支付成功
console
.
log
(
'支付成功'
)
emit
(
'success'
,
order
.
value
)
}
})
...
...
@@ -38,7 +37,6 @@ function handlePay() {
pay
(
params
)
}
const
handleAgree
=
(
val
:
any
)
=>
{
console
.
log
(
val
)
isAgree
=
val
if
(
val
===
true
)
{
isAgreeText
=
false
...
...
src/modules/shop/components/CourseFooter.vue
浏览文件 @
fb33e7c2
...
...
@@ -16,7 +16,6 @@ const props = defineProps({
const
buyDialogVisible
=
ref
(
false
)
const
handleBuyCourse
=
()
=>
{
console
.
log
(
props
.
payStatus
,
props
.
shopItem
?.
isBuy
)
if
(
user
.
isLogin
)
{
if
(
props
.
payStatus
===
'4'
||
props
.
shopItem
?.
isBuy
===
true
)
{
// window.open('https://paa-learning.ezijing.com')
...
...
src/modules/shop/components/CourseListItem.vue
浏览文件 @
fb33e7c2
...
...
@@ -2,6 +2,7 @@
import
ContactDialog
from
'../components/ContactDialog.vue'
import
{
useDevice
}
from
'@/composables/useDevice'
import
{
useUserStore
}
from
'@/stores/user'
const
{
mobile
}
=
useDevice
()
const
user
=
useUserStore
()
...
...
src/modules/shop/components/TeacherCard.vue
浏览文件 @
fb33e7c2
...
...
@@ -15,37 +15,11 @@ defineProps({
const
swiper1
=
ref
(
null
)
function
prev
(
swiper
)
{
console
.
log
(
swiper
,
'111'
)
swiper
?.
slidePrev
()
}
function
next
(
swiper
)
{
swiper
?.
slideNext
()
}
const
list
=
[
{
avatar
:
'https://webapp-pub.ezijing.com/project_online/fi/teacher_01.png'
,
name
:
'张伟张伟张伟张伟张伟张伟张伟张伟张伟张伟张伟张伟'
,
title_list
:
[
'清华大学国家金融研究院副院长、副研究员'
]
},
{
avatar
:
'https://webapp-pub.ezijing.com/project_online/fi/teacher_02.png'
,
name
:
'高皓'
,
title_list
:
[
'清华大学五道口金融学院全球家族企业研究中心主任'
]
},
{
avatar
:
'https://webapp-pub.ezijing.com/project_online/fi/teacher_03.png'
,
name
:
'肇越'
,
title_list
:
[
'清华大学五道口金融学院硕士生导师首席经济学家'
]
},
{
avatar
:
'https://webapp-pub.ezijing.com/project_online/fi/teacher_04.png'
,
name
:
'陈秉正'
,
title_list
:
[
'清华大学经济管理学院金融系教授'
,
'中国保险与风险管理研究中心主任'
]
}
]
</
script
>
<
template
>
...
...
@@ -61,19 +35,12 @@ const list = [
:spaceBetween="20"
:slidePreview="1"
:modules="[Navigation, Grid]"
@swiper="
(swiper)
=> (swiper1 = swiper)"
@swiper="
swiper
=> (swiper1 = swiper)"
>
<SwiperSlide
v-for=
"(item, index) in lecturerList"
:key=
"index"
class=
"teacher-item"
>
<SwiperSlide
v-for=
"(item, index) in lecturerList"
:key=
"index"
class=
"teacher-item"
>
<div
class=
"item_top"
>
<img
:src=
"
item.avatar ||
'https://webapp-pub.ezijing.com/project_online/fi/teacher_04.png'
"
:src=
"item.avatar || 'https://webapp-pub.ezijing.com/project_online/fi/teacher_04.png'"
class=
"top_img"
/>
<div
class=
"top_name"
>
{{
item
.
name
}}
</div>
...
...
@@ -98,17 +65,10 @@ const list = [
<div
class=
"teacher_list"
v-else
>
<div
class=
"con_tit"
>
讲师介绍
</div>
<div
class=
"con_teacher"
>
<div
v-for=
"(item, index) in lecturerList"
:key=
"index"
class=
"teacher-item"
>
<div
v-for=
"(item, index) in lecturerList"
:key=
"index"
class=
"teacher-item"
>
<div
class=
"item_top"
>
<img
:src=
"
item.avatar ||
'https://webapp-pub.ezijing.com/project_online/fi/teacher_04.png'
"
:src=
"item.avatar || 'https://webapp-pub.ezijing.com/project_online/fi/teacher_04.png'"
class=
"top_img"
/>
<div
class=
"top_name"
>
{{ item.name }}
</div>
...
...
src/modules/shop/views/Index.vue
浏览文件 @
fb33e7c2
...
...
@@ -5,6 +5,7 @@ import { useDevice } from '@/composables/useDevice'
const
{
mobile
}
=
useDevice
()
const
shopStore
=
useShopStore
()
const
handleTabClick
=
(
tab
:
any
)
=>
{
if
(
tab
.
index
===
'4'
)
{
window
.
open
(
'https://prp.ezijing.com'
)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论