Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
rs-pc
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
注册表
注册表
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
翟畅
rs-pc
Commits
32e0ebf1
提交
32e0ebf1
authored
10月 17, 2022
作者:
翟畅
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zc更换分类顺序
上级
5c971019
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
61 行增加
和
28 行删除
+61
-28
index.vue
src/views/home/index.vue
+3
-3
index.vue
src/views/marketingService/index.vue
+1
-1
detail.vue
src/views/productsWorld/detail.vue
+7
-0
index.vue
src/views/productsWorld/index.vue
+50
-24
没有找到文件。
src/views/home/index.vue
浏览文件 @
32e0ebf1
...
@@ -437,10 +437,10 @@ export default {
...
@@ -437,10 +437,10 @@ export default {
homeBookClassList
(){
homeBookClassList
(){
homeBookClassListAPI
({
name
:
'电子书分类'
}).
then
((
res
)
=>
{
homeBookClassListAPI
({
name
:
'电子书分类'
}).
then
((
res
)
=>
{
if
(
res
.
data
.
code
==
0
){
if
(
res
.
data
.
code
==
0
){
this
.
bookProduceList
=
res
.
data
.
data
[
0
].
list
.
slice
(
0
,
6
)
.
reverse
()
this
.
bookProduceList
=
res
.
data
.
data
[
0
].
list
.
slice
(
0
,
6
)
this
.
bookProduceList
.
map
((
item
,
index
)
=>
{
this
.
bookProduceList
.
map
((
item
,
index
)
=>
{
this
.
$set
(
item
,
'isShowLabel'
,
false
)
this
.
$set
(
item
,
'isShowLabel'
,
false
)
item
.
list
=
item
.
list
.
reverse
()
item
.
list
=
item
.
list
if
(
item
.
showName
==
'数字产品'
){
if
(
item
.
showName
==
'数字产品'
){
this
.
digitalClassList
=
item
.
list
this
.
digitalClassList
=
item
.
list
}
}
...
@@ -808,7 +808,7 @@ export default {
...
@@ -808,7 +808,7 @@ export default {
font-weight: bold;
font-weight: bold;
color: #FFFFFF;
color: #FFFFFF;
line-height: 40px;
line-height: 40px;
margin-bottom:
10
px;
margin-bottom:
7
px;
}
}
.shadeLabelContent{
.shadeLabelContent{
width: 100%;
width: 100%;
...
...
src/views/marketingService/index.vue
浏览文件 @
32e0ebf1
...
@@ -375,7 +375,7 @@ export default {
...
@@ -375,7 +375,7 @@ export default {
//下载服务
//下载服务
downLoadInfo
(
item
){
downLoadInfo
(
item
){
if
(
item
.
file
){
if
(
item
.
file
){
window
.
open
(
this
.
fileUrl
+
'
?fileName='
+
item
.
file
+
'&isOnLine=true'
,
'_self'
)
window
.
open
(
this
.
fileUrl
+
'
download/'
+
item
.
file
)
}
else
{
}
else
{
this
.
$message
.
warning
(
'该资源无法下载'
)
this
.
$message
.
warning
(
'该资源无法下载'
)
}
}
...
...
src/views/productsWorld/detail.vue
浏览文件 @
32e0ebf1
...
@@ -113,6 +113,7 @@ export default {
...
@@ -113,6 +113,7 @@ export default {
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
20
,
pageSize
:
20
,
resourceType
:
null
,
resourceType
:
null
,
typeView
:
null
,
},
},
tabList
:[
tabList
:[
{
name
:
'富媒体'
,
icon
:
require
(
'@/assets/productsWorld/ico-fumeiti.png'
),
iconH
:
require
(
'@/assets/productsWorld/ico-fumeiti-h.png'
)
,
type
:
10
},
{
name
:
'富媒体'
,
icon
:
require
(
'@/assets/productsWorld/ico-fumeiti.png'
),
iconH
:
require
(
'@/assets/productsWorld/ico-fumeiti-h.png'
)
,
type
:
10
},
...
@@ -171,6 +172,12 @@ export default {
...
@@ -171,6 +172,12 @@ export default {
getPressNewsList
(){
getPressNewsList
(){
this
.
loadFlag
=
true
this
.
loadFlag
=
true
if
(
this
.
listQuery
.
resourceType
==
12
){
this
.
listQuery
.
typeView
=
'电子课件'
}
else
if
(
this
.
listQuery
.
resourceType
==
10
){
this
.
listQuery
.
resourceType
=
12
this
.
listQuery
.
typeView
=
'富媒体'
}
worldResourceListAPI
(
this
.
listQuery
).
then
(
res
=>
{
worldResourceListAPI
(
this
.
listQuery
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
0
){
if
(
res
.
data
.
code
==
0
){
this
.
downResourceList
=
res
.
data
.
data
.
resList
?
res
.
data
.
data
.
resList
:
[]
this
.
downResourceList
=
res
.
data
.
data
.
resList
?
res
.
data
.
data
.
resList
:
[]
...
...
src/views/productsWorld/index.vue
浏览文件 @
32e0ebf1
...
@@ -117,24 +117,47 @@
...
@@ -117,24 +117,47 @@
</div>
</div>
</div>
</div>
<div
class=
"contactUsBottom"
>
<div
class=
"contactUsBottom"
>
<div
class=
"classItem"
v-for=
"(item,index) in classAllList"
:key=
"'class'+index"
>
<div
class=
"bLeft"
>
<div
class=
"classCell"
>
<div
class=
"classItem"
v-for=
"(item,index) in classAllList.slice(0,3)"
:key=
"'class'+index"
>
<div
class=
"className"
>
<div
class=
"classCell"
>
<img
src=
"@/assets/productsWorld/ico-she.png"
alt=
""
v-if=
"item.showName == '人社业务图书'"
>
<div
class=
"className"
>
<img
src=
"@/assets/productsWorld/ico-edu.png"
alt=
""
v-if=
"item.showName == '教育教材'"
>
<img
src=
"@/assets/productsWorld/ico-she.png"
alt=
""
v-if=
"item.showName == '人社业务图书'"
>
<img
src=
"@/assets/productsWorld/ico-peixun.png"
alt=
""
v-if=
"item.showName == '培训用书'"
>
<img
src=
"@/assets/productsWorld/ico-edu.png"
alt=
""
v-if=
"item.showName == '教育教材'"
>
<img
src=
"@/assets/productsWorld/ico-test.png"
alt=
""
v-if=
"item.showName == '考试用书'"
>
<img
src=
"@/assets/productsWorld/ico-peixun.png"
alt=
""
v-if=
"item.showName == '培训用书'"
>
<img
src=
"@/assets/productsWorld/ico-dazhong.png"
alt=
""
v-if=
"item.showName == '大众读物'"
>
<img
src=
"@/assets/productsWorld/ico-test.png"
alt=
""
v-if=
"item.showName == '考试用书'"
>
<img
src=
"@/assets/productsWorld/ico-num.png"
alt=
""
v-if=
"item.showName == '数字产品'"
>
<img
src=
"@/assets/productsWorld/ico-dazhong.png"
alt=
""
v-if=
"item.showName == '大众读物'"
>
<img
src=
"@/assets/productsWorld/ico-num.png"
alt=
""
v-if=
"item.showName == '数字产品'"
>
</div>
<div
class=
"classInfo"
>
<div
class=
"name"
@
click=
"toDetailLabel(item)"
>
{{
item
.
showName
}}
</div>
<div
class=
"itemInfo"
>
<span
v-for=
"(x,y) in item.list"
:key=
"'item'+y"
@
click=
"toDetailLabel(x,item)"
>
{{
x
.
showName
}}
</span>
</div>
</div>
</div>
</div>
<div
class=
"classInfo"
>
</div>
<div
class=
"name"
@
click=
"toDetailLabel(item)"
>
{{
item
.
showName
}}
</div>
</div>
<div
class=
"itemInfo"
>
<div
class=
"bRight"
>
<span
v-for=
"(x,y) in item.list"
:key=
"'item'+y"
@
click=
"toDetailLabel(x,item)"
>
{{
x
.
showName
}}
</span>
<div
class=
"classItem"
v-for=
"(item,index) in classAllList.slice(3,6)"
:key=
"'class'+index"
>
<div
class=
"classCell"
>
<div
class=
"className"
>
<img
src=
"@/assets/productsWorld/ico-she.png"
alt=
""
v-if=
"item.showName == '人社业务图书'"
>
<img
src=
"@/assets/productsWorld/ico-edu.png"
alt=
""
v-if=
"item.showName == '教育教材'"
>
<img
src=
"@/assets/productsWorld/ico-peixun.png"
alt=
""
v-if=
"item.showName == '培训用书'"
>
<img
src=
"@/assets/productsWorld/ico-test.png"
alt=
""
v-if=
"item.showName == '考试用书'"
>
<img
src=
"@/assets/productsWorld/ico-dazhong.png"
alt=
""
v-if=
"item.showName == '大众读物'"
>
<img
src=
"@/assets/productsWorld/ico-num.png"
alt=
""
v-if=
"item.showName == '数字产品'"
>
</div>
<div
class=
"classInfo"
>
<div
class=
"name"
@
click=
"toDetailLabel(item)"
>
{{
item
.
showName
}}
</div>
<div
class=
"itemInfo"
>
<span
v-for=
"(x,y) in item.list"
:key=
"'item'+y"
@
click=
"toDetailLabel(x,item)"
>
{{
x
.
showName
}}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -422,9 +445,9 @@ export default {
...
@@ -422,9 +445,9 @@ export default {
//获取电子书分类
//获取电子书分类
homeBookClassListAPI
({
name
:
'电子书分类'
}).
then
((
res
)
=>
{
homeBookClassListAPI
({
name
:
'电子书分类'
}).
then
((
res
)
=>
{
if
(
res
.
data
.
code
==
0
){
if
(
res
.
data
.
code
==
0
){
this
.
classAllList
=
res
.
data
.
data
[
0
].
list
.
slice
(
0
,
6
)
.
reverse
()
this
.
classAllList
=
res
.
data
.
data
[
0
].
list
.
slice
(
0
,
6
)
this
.
classAllList
.
map
((
item
,
index
)
=>
{
this
.
classAllList
.
map
((
item
,
index
)
=>
{
item
.
list
=
item
.
list
.
reverse
()
item
.
list
=
item
.
list
})
})
}
}
})
})
...
@@ -1177,17 +1200,20 @@ export default {
...
@@ -1177,17 +1200,20 @@ export default {
display: flex;
display: flex;
justify-content: space-between;
justify-content: space-between;
flex-wrap: wrap;
flex-wrap: wrap;
.
classItem
{
.
bLeft
{
width: 50%;
width: 50%;
height: auto;
box-sizing: border-box;
box-sizing: border-box;
&:nth-of-type(1n){
padding-left: 40px;
padding-left: 40px;
border-right: 1px solid #ddd;
border-right: 1px solid #ddd;
}
}
.bRight{
&:nth-of-type(2n){
width: 50%;
padding-left: 40px;
box-sizing: border-box;
}
padding-left: 40px;
}
.classItem{
width: 100%;
height: auto;
.classCell{
.classCell{
width: 100%;
width: 100%;
min-height: 55px;
min-height: 55px;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论