Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
A
alumni-show-h5
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
alumni-show-h5
Commits
9c6a9fcd
提交
9c6a9fcd
authored
5月 30, 2021
作者:
lihuihui
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of
https://gitlab.ezijing.com/ezijing/ezijing-friends-h5
上级
5798a710
afd0c252
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
33 行增加
和
21 行删除
+33
-21
home_marywood.png
public/img/home_marywood.png
+0
-0
index.js
src/store/index.js
+1
-1
h5Pay.vue
src/views/attestation/buy/components/h5Pay.vue
+1
-1
Index.vue
src/views/home/Index.vue
+29
-18
Index.vue
src/views/my/Index.vue
+1
-0
vue.config.js
vue.config.js
+1
-1
没有找到文件。
public/img/home_marywood.png
0 → 100644
浏览文件 @
9c6a9fcd
89.3 KB
src/store/index.js
浏览文件 @
9c6a9fcd
...
...
@@ -32,7 +32,7 @@ export default new Vuex.Store({
const
isLogin
=
await
getUser
()
.
then
(
response
=>
{
if
(
response
.
code
===
0
)
{
commit
(
'setUser'
,
response
)
commit
(
'setUser'
,
response
.
data
)
return
true
}
else
{
commit
(
'setUser'
,
{})
...
...
src/views/attestation/buy/components/h5Pay.vue
浏览文件 @
9c6a9fcd
...
...
@@ -34,7 +34,7 @@ export default {
methods
:
{
// 获取openid
getOpenId
()
{
api
.
getOpenId
({
id
:
this
.
user
.
data
.
id
,
identity
:
'alumni'
}).
then
(
response
=>
{
api
.
getOpenId
({
id
:
this
.
user
.
id
,
identity
:
'alumni'
}).
then
(
response
=>
{
this
.
openId
=
response
.
data
.
openid
// 生成订单
this
.
genOrder
()
...
...
src/views/home/Index.vue
浏览文件 @
9c6a9fcd
...
...
@@ -71,22 +71,33 @@ export default {
{
src
:
'img/home_nav_03.png'
,
title
:
'直播课'
,
type
:
3
},
// { src: 'img/home_nav_04.png', title: '找工作', type: 4 },
{
src
:
'img/home_nav_04.png'
,
title
:
'运动家'
,
type
:
5
}
],
popularList
:
[
]
}
},
computed
:
{
user
()
{
return
this
.
$store
.
state
.
user
},
popularList
()
{
return
[
{
title
:
'紫荆-
索菲亚F
MBA项目'
,
src
:
'img/home_
sofia
.png'
,
href
:
'https://pages.ezijing.com/sofia-mba/mobile/channel.html?channel_num=29756'
title
:
'紫荆-
玛丽伍德
MBA项目'
,
src
:
'img/home_
marywood
.png'
,
href
:
`https://pages.ezijing.com/marywood/m204001490516.html?channel_num=19963&user_id=
${
this
.
user
.
id
}
`
},
{
title
:
'紫荆-Kelley金融硕士项目'
,
src
:
'img/home_kelley.png'
,
href
:
'https://pages.ezijing.com/sofia-mba/mobile/channel.html?channel_num=29756'
href
:
`https://pages.ezijing.com/sofia-mba/mobile/channel.html?channel_num=29756&user_id=
${
this
.
user
.
id
}
`
},
{
title
:
'紫荆-索菲亚FMBA项目'
,
src
:
'img/home_sofia.png'
,
href
:
`https://pages.ezijing.com/sofia-mba/mobile/channel.html?channel_num=29756&user_id=
${
this
.
user
.
id
}
`
}
]
}
},
methods
:
{
handleNavClick
({
type
})
{
this
.
$router
.
push
({
name
:
'activity'
,
query
:
{
type
}
})
...
...
@@ -158,28 +169,28 @@ export default {
background-size
:
contain
;
}
.popular-list
{
display
:
flex
;
justify-content
:
space-between
;
// display: flex;
// overflow-x: auto;
// overflow-y: hidden;
// margin-left: -15px;
// margin-right: -15px;
// -webkit-overflow-scrolling: touch;
// justify-content: space-between;
display
:
flex
;
overflow-x
:
auto
;
overflow-y
:
hidden
;
margin-left
:
-15px
;
margin-right
:
-15px
;
-webkit-overflow-scrolling
:
touch
;
}
.popular-item
{
flex-shrink
:
0
;
margin-bottom
:
0
.18rem
;
//
margin-right: 0.15rem;
margin-right
:
0
.15rem
;
width
:
1
.65rem
;
min-height
:
1
.4rem
;
background
:
#ffffff
;
box-shadow
:
0px
2px
6px
0px
rgba
(
74
,
9
,
25
,
0
.05
);
border-radius
:
6px
;
overflow
:
hidden
;
//
&:first-child {
//
margin-left: 15px;
//
}
&
:first-child
{
margin-left
:
15px
;
}
}
.popular-item-pic
{
height
:
0
.95rem
;
...
...
src/views/my/Index.vue
浏览文件 @
9c6a9fcd
...
...
@@ -18,6 +18,7 @@
<div
class=
"user-content"
>
<div
class=
"user-content__name"
>
{{
user
.
personal_name
}}
</div>
<div
class=
"user-content__info"
>
{{
user
.
class_name
}}
</div>
<div
class=
"user-content__info"
>
紫荆币:0
</div>
</div>
<!--
<van-icon
name=
"arrow"
class=
"arrow-right"
/>
-->
<!--
<div
class=
"user-aside"
>
...
...
vue.config.js
浏览文件 @
9c6a9fcd
...
...
@@ -10,7 +10,7 @@ module.exports = {
},
proxy
:
{
'/api'
:
{
target
:
'https://alumni
2
.ezijing.com'
target
:
'https://alumni.ezijing.com'
}
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论