Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-pc
Commits
068db53c
提交
068db53c
authored
6月 03, 2021
作者:
lihuihui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
cd2c8b54
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
16 行增加
和
14 行删除
+16
-14
banner.vue
components/home/banner.vue
+1
-1
news.vue
components/home/news.vue
+1
-1
openClass.vue
components/home/openClass.vue
+1
-1
presence.vue
components/home/presence.vue
+2
-2
recommend.vue
components/recommend.vue
+1
-1
rightAside.vue
components/rightAside.vue
+3
-3
nuxt.config.js
nuxt.config.js
+4
-2
index.vue
pages/alumni/sharing/index.vue
+1
-1
index.vue
pages/news/hot/index.vue
+1
-1
index.vue
pages/news/interview/index.vue
+1
-1
没有找到文件。
components/home/banner.vue
浏览文件 @
068db53c
...
@@ -39,7 +39,7 @@ export default {
...
@@ -39,7 +39,7 @@ export default {
}
}
},
},
async
fetch
()
{
async
fetch
()
{
const
params
=
{
project_id
:
process
.
env
.
p
rojectId
,
type_tag
:
'ad_banner'
}
const
params
=
{
project_id
:
process
.
env
.
newP
rojectId
,
type_tag
:
'ad_banner'
}
this
.
list
=
await
this
.
$axios
.
get
(
'/api/cms/api/v1/advertisements'
,
{
params
}).
then
(
res
=>
res
.
data
.
data
)
this
.
list
=
await
this
.
$axios
.
get
(
'/api/cms/api/v1/advertisements'
,
{
params
}).
then
(
res
=>
res
.
data
.
data
)
},
},
...
...
components/home/news.vue
浏览文件 @
068db53c
...
@@ -33,7 +33,7 @@ export default {
...
@@ -33,7 +33,7 @@ export default {
AppLink
AppLink
},
},
async
fetch
()
{
async
fetch
()
{
const
params
=
{
project_id
:
process
.
env
.
p
rojectId
,
type_tag
:
'article_news_hot'
,
page
:
1
,
limit
:
4
}
const
params
=
{
project_id
:
process
.
env
.
newP
rojectId
,
type_tag
:
'article_news_hot'
,
page
:
1
,
limit
:
4
}
await
this
.
$axios
.
get
(
'/api/cms/api/v1/articles'
,
{
params
}).
then
(
res
=>
{
await
this
.
$axios
.
get
(
'/api/cms/api/v1/articles'
,
{
params
}).
then
(
res
=>
{
this
.
data
=
res
.
data
.
data
||
[]
this
.
data
=
res
.
data
.
data
||
[]
})
})
...
...
components/home/openClass.vue
浏览文件 @
068db53c
...
@@ -52,7 +52,7 @@ export default {
...
@@ -52,7 +52,7 @@ export default {
}
}
},
},
async
fetch
()
{
async
fetch
()
{
const
params
=
{
project_id
:
process
.
env
.
p
rojectId
,
type_tag
:
'article_publish_class'
}
const
params
=
{
project_id
:
process
.
env
.
newP
rojectId
,
type_tag
:
'article_publish_class'
}
this
.
listData
=
await
this
.
$axios
.
get
(
'/api/cms/api/v1/articles'
,
{
params
}).
then
(
res
=>
res
.
data
.
data
)
this
.
listData
=
await
this
.
$axios
.
get
(
'/api/cms/api/v1/articles'
,
{
params
}).
then
(
res
=>
res
.
data
.
data
)
},
},
computed
:
{
computed
:
{
...
...
components/home/presence.vue
浏览文件 @
068db53c
...
@@ -99,7 +99,7 @@ export default {
...
@@ -99,7 +99,7 @@ export default {
name
:
''
,
name
:
''
,
phone
:
''
,
phone
:
''
,
// channel: 19960,
// channel: 19960,
project_id
:
process
.
env
.
p
rojectId
project_id
:
process
.
env
.
newP
rojectId
},
},
value
:
''
,
value
:
''
,
titleParams
:
{
titleParams
:
{
...
@@ -125,7 +125,7 @@ export default {
...
@@ -125,7 +125,7 @@ export default {
}
}
},
},
async
fetch
()
{
async
fetch
()
{
const
params
=
{
project_id
:
process
.
env
.
p
rojectId
,
type_tag
:
'kelley_alumni_share'
}
const
params
=
{
project_id
:
process
.
env
.
newP
rojectId
,
type_tag
:
'kelley_alumni_share'
}
this
.
listData
=
await
this
.
$axios
.
get
(
'/api/cms/api/v1/articles'
,
{
params
}).
then
(
res
=>
res
.
data
.
data
)
this
.
listData
=
await
this
.
$axios
.
get
(
'/api/cms/api/v1/articles'
,
{
params
}).
then
(
res
=>
res
.
data
.
data
)
},
},
computed
:
{
computed
:
{
...
...
components/recommend.vue
浏览文件 @
068db53c
...
@@ -31,7 +31,7 @@ export default {
...
@@ -31,7 +31,7 @@ export default {
},
},
async
fetch
()
{
async
fetch
()
{
const
params
=
{
const
params
=
{
project_id
:
process
.
env
.
p
rojectId
,
project_id
:
process
.
env
.
newP
rojectId
,
type_tag
:
'article_news_hot'
,
type_tag
:
'article_news_hot'
,
is_recommend
:
1
,
is_recommend
:
1
,
page
:
1
,
page
:
1
,
...
...
components/rightAside.vue
浏览文件 @
068db53c
...
@@ -29,11 +29,11 @@
...
@@ -29,11 +29,11 @@
<!--
<p><el-input
v-model=
"projectName"
size=
"small"
:readonly=
"true"
></el-input></p>
-->
<!--
<p><el-input
v-model=
"projectName"
size=
"small"
:readonly=
"true"
></el-input></p>
-->
<p>
<p>
<el-input
v-model=
"projectName"
placeholder=
"请输入您的电话"
size=
"small"
disabled
></el-input>
<el-input
v-model=
"projectName"
placeholder=
"请输入您的电话"
size=
"small"
disabled
></el-input>
<!--
<select
name=
""
id=
""
v-model=
"formInfo.
p
rojectId"
disabled
>
<!--
<select
name=
""
id=
""
v-model=
"formInfo.
newP
rojectId"
disabled
>
<option
:value=
"item.value"
v-for=
"(item, index) in projectList"
:key=
"index"
>
{{
item
.
label
}}
</option>
<option
:value=
"item.value"
v-for=
"(item, index) in projectList"
:key=
"index"
>
{{
item
.
label
}}
</option>
</select>
-->
</select>
-->
<!--
<span
class=
"icon el-icon-arrow-down"
></span>
-->
<!--
<span
class=
"icon el-icon-arrow-down"
></span>
-->
<!--
<el-select
v-model=
"formInfo.
p
rojectId"
placeholder=
"请选择"
size=
"small"
>
<!--
<el-select
v-model=
"formInfo.
newP
rojectId"
placeholder=
"请选择"
size=
"small"
>
<el-option
<el-option
v-for=
"item in projectList"
v-for=
"item in projectList"
:key=
"item.value"
:key=
"item.value"
...
@@ -124,7 +124,7 @@ export default {
...
@@ -124,7 +124,7 @@ export default {
enrollQuery
()
{
enrollQuery
()
{
const
params
=
{
const
params
=
{
channel
:
19960
,
channel
:
19960
,
project_id
:
this
.
formInfo
.
p
rojectId
,
project_id
:
this
.
formInfo
.
newP
rojectId
,
name
:
this
.
formInfo
.
name
,
name
:
this
.
formInfo
.
name
,
phone
:
this
.
formInfo
.
phone
phone
:
this
.
formInfo
.
phone
}
}
...
...
nuxt.config.js
浏览文件 @
068db53c
...
@@ -6,7 +6,8 @@ let config = {}
...
@@ -6,7 +6,8 @@ let config = {}
if
(
process
.
env
.
NODE_ENV
===
'production'
)
{
if
(
process
.
env
.
NODE_ENV
===
'production'
)
{
config
=
{
config
=
{
env
:
{
env
:
{
projectId
:
'6805762100502200320'
,
projectId
:
'1012'
,
newProjectId
:
'6805762100502200320'
,
baseURL
:
'https://project-api.ezijing.com'
,
baseURL
:
'https://project-api.ezijing.com'
,
loginURL
:
'https://login.ezijing.com/auth'
loginURL
:
'https://login.ezijing.com/auth'
},
},
...
@@ -15,7 +16,8 @@ if (process.env.NODE_ENV === 'production') {
...
@@ -15,7 +16,8 @@ if (process.env.NODE_ENV === 'production') {
}
else
{
}
else
{
config
=
{
config
=
{
env
:
{
env
:
{
projectId
:
'6805762100502200320'
,
projectId
:
'1012'
,
newProjectId
:
'6805762100502200320'
,
baseURL
:
'https://project-api.ezijing.com'
,
baseURL
:
'https://project-api.ezijing.com'
,
loginURL
:
'https://login.ezijing.com/auth'
loginURL
:
'https://login.ezijing.com/auth'
},
},
...
...
pages/alumni/sharing/index.vue
浏览文件 @
068db53c
...
@@ -15,7 +15,7 @@ export default {
...
@@ -15,7 +15,7 @@ export default {
newsItem
newsItem
},
},
async
fetch
()
{
async
fetch
()
{
const
params
=
{
project_id
:
process
.
env
.
p
rojectId
,
type_tag
:
'kelley_alumni_share'
}
const
params
=
{
project_id
:
process
.
env
.
newP
rojectId
,
type_tag
:
'kelley_alumni_share'
}
this
.
newsList
=
await
this
.
$axios
.
get
(
'/api/cms/api/v1/articles'
,
{
params
}).
then
(
res
=>
res
.
data
.
data
)
this
.
newsList
=
await
this
.
$axios
.
get
(
'/api/cms/api/v1/articles'
,
{
params
}).
then
(
res
=>
res
.
data
.
data
)
},
},
data
()
{
data
()
{
...
...
pages/news/hot/index.vue
浏览文件 @
068db53c
...
@@ -15,7 +15,7 @@ export default {
...
@@ -15,7 +15,7 @@ export default {
newsItem
newsItem
},
},
async
fetch
()
{
async
fetch
()
{
const
params
=
{
project_id
:
process
.
env
.
p
rojectId
,
type_tag
:
this
.
$route
.
query
.
type
||
'article_news_hot'
}
const
params
=
{
project_id
:
process
.
env
.
newP
rojectId
,
type_tag
:
this
.
$route
.
query
.
type
||
'article_news_hot'
}
this
.
newsList
=
await
this
.
$axios
.
get
(
'/api/cms/api/v1/articles'
,
{
params
}).
then
(
res
=>
res
.
data
.
data
)
this
.
newsList
=
await
this
.
$axios
.
get
(
'/api/cms/api/v1/articles'
,
{
params
}).
then
(
res
=>
res
.
data
.
data
)
},
},
data
()
{
data
()
{
...
...
pages/news/interview/index.vue
浏览文件 @
068db53c
...
@@ -15,7 +15,7 @@ export default {
...
@@ -15,7 +15,7 @@ export default {
newsItem
newsItem
},
},
async
fetch
()
{
async
fetch
()
{
const
params
=
{
project_id
:
process
.
env
.
p
rojectId
,
type_tag
:
'kelley_interview'
}
const
params
=
{
project_id
:
process
.
env
.
newP
rojectId
,
type_tag
:
'kelley_interview'
}
this
.
newsList
=
await
this
.
$axios
.
get
(
'/api/cms/api/v1/articles'
,
{
params
}).
then
(
res
=>
res
.
data
.
data
)
this
.
newsList
=
await
this
.
$axios
.
get
(
'/api/cms/api/v1/articles'
,
{
params
}).
then
(
res
=>
res
.
data
.
data
)
},
},
data
()
{
data
()
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论