Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
tax-opr-digit
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
注册表
注册表
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
许敬帅
tax-opr-digit
Commits
dc991d11
提交
dc991d11
authored
5月 15, 2020
作者:
许敬帅
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
首页、资源
上级
c42b6257
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
32 行增加
和
24 行删除
+32
-24
dist.zip
dist.zip
+0
-0
home_icon_icon.png
src/assets/home_icon_icon.png
+0
-0
home_icon_xingzheng.png
src/assets/home_icon_xingzheng.png
+0
-0
router.js
src/router.js
+2
-2
index.scss
src/views/Expert/index.scss
+2
-0
index.scss
src/views/Home/index.scss
+6
-5
index.vue
src/views/Home/index.vue
+14
-10
index.vue
src/views/Resource/index.vue
+7
-6
index.vue
src/views/Topic/index.vue
+1
-1
没有找到文件。
dist.zip
浏览文件 @
dc991d11
No preview for this file type
src/assets/home_icon_icon.png
0 → 100644
浏览文件 @
dc991d11
5.7 KB
src/assets/home_icon_xingzheng.png
0 → 100644
浏览文件 @
dc991d11
7.0 KB
src/router.js
浏览文件 @
dc991d11
...
...
@@ -48,14 +48,14 @@ export default new Router({
name
:
'home'
,
component
:
Home
,
meta
:
{
title
:
"
税可知
"
title
:
"
财税实操知识技能服务平台
"
}
},
{
path
:
'/index.html'
,
name
:
'home'
,
component
:
Home
,
meta
:
{
title
:
"
税可知
"
title
:
"
财税实操知识技能服务平台
"
}
},
{
path
:
'/expert'
,
...
...
src/views/Expert/index.scss
浏览文件 @
dc991d11
...
...
@@ -143,6 +143,8 @@
color
:
#666
;
word-wrap
:
break-word
;
word-break
:
break-all
;
line-height
:
32px
;
font-size
:
16px
;
img
{
max-width
:
90%
;
max-height
:
100%
;
...
...
src/views/Home/index.scss
浏览文件 @
dc991d11
...
...
@@ -202,11 +202,11 @@ $main-color: #0089EE;
background-size
:
100%
100%
;
}
.icon-jianzhu
{
background
:
url('~@/assets/home_icon_
jianzhu
.png')
center
center
no-repeat
;
background
:
url('~@/assets/home_icon_
xingzheng
.png')
center
center
no-repeat
;
background-size
:
100%
100%
;
}
.icon-kuaiji
{
background
:
url('~@/assets/home_icon_
kuaiji
.png')
center
center
no-repeat
;
background
:
url('~@/assets/home_icon_
icon
.png')
center
center
no-repeat
;
background-size
:
100%
100%
;
}
.icon-gengduo
{
...
...
@@ -848,6 +848,7 @@ $main-color: #0089EE;
display
:
block
;
padding
:
5px
10px
;
max-height
:
34px
;
font-size
:
14px
;
}
a
.title
:hover
{
color
:
$main-color
;
}
}
...
...
@@ -856,7 +857,7 @@ $main-color: #0089EE;
/************** 热点解读 **************/
.redian-part
{
background
:
#fff
;
padding-bottom
:
2
0px
;
padding-bottom
:
1
0px
;
padding-top
:
31px
;
box-shadow
:
0px
4px
20px
0px
rgba
(
81
,
163
,
230
,
0
.1
);
.title
{
...
...
@@ -883,12 +884,12 @@ $main-color: #0089EE;
.info
{
color
:
#333
;
line-height
:
24px
;
margin-bottom
:
3
2px
;
margin-bottom
:
1
2px
;
h3
.name
{
color
:
#333
;
font-size
:
16px
;
/*margin: 10px 0;*/
margin-bottom
:
20
px
;
margin-bottom
:
6
px
;
@include
text-ellipsis
;
a
:hover
{
color
:
#0089EE
;
}
}
...
...
src/views/Home/index.vue
浏览文件 @
dc991d11
...
...
@@ -101,7 +101,7 @@
</a>
</div>
<div
class=
"down"
>
<h3
class=
"title"
>
{{
item
.
name
}}
</h3>
<h3
class=
"title"
:title=
"item.name"
>
{{
item
.
name
}}
</h3>
<span
class=
"shortLine"
></span>
<!--
<span
class=
"content"
v-html=
"item.synopsis"
></span>
-->
<span
class=
"content"
>
{{
item
.
mySynopsis
}}
</span>
...
...
@@ -182,14 +182,14 @@
<div
class=
"anli-shicao"
>
<div
class=
"w80p anli-shicao-inner"
>
<h3
class=
"topic-title"
>
案例实操
</h3>
<ul
class=
"anli-shicao-nav-ul"
>
<
!--
<
ul
class=
"anli-shicao-nav-ul"
>
<li
v-for=
"(item,index) in anliShicaoLabel"
:key=
"index"
>
<a
href=
"javascript:void(0)"
@
click=
"toRsPage(item)"
>
{{
item
.
labelContent
}}
</a>
</li>
</ul>
</ul>
-->
<div
class=
"anli-shicao-result"
>
<div
class=
"anli-shicao-result-item"
v-for=
"(item, index) in anliShicaoList"
:key=
"index"
>
<a
href=
"javascript:void(0)"
class=
"title"
@
click=
"toArticalReadPage(item)"
>
{{
item
.
name
}}
</a>
<a
href=
"javascript:void(0)"
class=
"title"
@
click=
"toArticalReadPage(item)"
:title=
"item.name"
>
{{
item
.
name
}}
</a>
<!--
<span
class=
"content"
>
{{
item
.
synopsis
}}
</span>
-->
<span
class=
"content"
>
{{
item
.
myText
}}
</span>
</div>
...
...
@@ -233,7 +233,7 @@
<img
:src=
"`$
{item.cover}`" v-if="item.cover" />
<img
:src=
"DEFAULTIMG.HOME_INDUSTRY_SMALL"
v-else
/>
</a>
<a
href=
"javascript:void(0)"
@
click=
"toInfoDetail(item)"
class=
"title"
>
{{
item
.
title
}}
</a>
<a
href=
"javascript:void(0)"
@
click=
"toInfoDetail(item)"
class=
"title"
:title=
"item.title"
>
{{
item
.
title
}}
</a>
</div>
</li>
</ul>
...
...
@@ -247,7 +247,7 @@
<img
:src=
"DEFAULTIMG.HOME_HOT"
v-else
/>
<div
class=
"info-wrapper"
>
<div
class=
"info"
v-for=
"(item,index) in newsHot"
:key=
"index"
@
mouseover=
"handleHotMouseOver($event,index)"
>
<h3
class=
"name"
><a
href=
"javascript:void(0)"
@
click=
"toInfoDetail(item)"
>
{{
item
.
title
}}
</a></h3>
<h3
class=
"name"
><a
href=
"javascript:void(0)"
@
click=
"toInfoDetail(item)"
:title=
"item.title"
>
{{
item
.
title
}}
</a></h3>
<blockquote
v-if=
"item.myContent"
:ref=
"`hot-blo-$
{index}`">
{{
item
.
myContent
}}
</blockquote>
</div>
</div>
...
...
@@ -261,7 +261,9 @@
<el-row
:gutter=
"10"
>
<el-col
:span=
"16"
>
<div
:class=
"['left',
{'visible': !hasAdBL}]">
<a
:href=
"adBL.url"
target=
"_blank"
v-if=
"adBL"
><img
:src=
"`$
{imgPrefix}${adBL.picture}`"/>
</a>
<!--
<a
:href=
"adBL.url"
target=
"_blank"
v-if=
"adBL"
>
-->
<img
:src=
"`$
{imgPrefix}${adBL.picture}`"/>
<!--
</a>
-->
<div
class=
"ad-info hide"
>
<h3>
重磅!国家发展改革委产业所推出《中国产业发展报告2018》
</h3>
<el-button
round
size=
"small"
>
了解详情
</el-button>
...
...
@@ -269,7 +271,9 @@
</div>
</el-col>
<el-col
:span=
"8"
:class=
"['right',
{'visible': !hasAdBR}]">
<a
:href=
"adBR.url"
target=
"_blank"
v-if=
"adBR"
><img
:src=
"`$
{imgPrefix}${adBR.picture}`"/>
</a>
<!--
<a
:href=
"adBR.url"
target=
"_blank"
v-if=
"adBR"
>
-->
<img
:src=
"`$
{imgPrefix}${adBR.picture}`"/>
<!--
</a>
-->
</el-col>
</el-row>
</div>
...
...
@@ -310,11 +314,11 @@
class
:
'icon icon-zengzhishui'
,
},{
id
:
0
,
name
:
'
城市建设维护税
'
,
name
:
'
行政事业单位
'
,
class
:
'icon icon-jianzhu'
,
},{
id
:
0
,
name
:
'
会计行业
'
,
name
:
'
建筑
'
,
class
:
'icon icon-kuaiji'
,
},{
id
:
''
,
...
...
src/views/Resource/index.vue
浏览文件 @
dc991d11
...
...
@@ -106,7 +106,7 @@
<el-col
:span=
"6"
v-if=
"item.myImg"
style=
"width: 185px; margin-right: 30px;"
>
<div
class=
"left-img-con"
>
<a
href=
"javascript:void(0)"
@
click=
"toArticalReadPage(item)"
>
<img
:src=
"`$
{i
mgPrefix}${i
tem.myImg}`" class="con-img" v-if="!item.imgUrlIsWhole"/>
<img
:src=
"`$
{item.myImg}`" class="con-img" v-if="!item.imgUrlIsWhole"/>
<img
:src=
"`$
{item.myImg}`" class="con-img" v-else/>
</a>
</div>
...
...
@@ -497,11 +497,12 @@
// img如果没有则从text里面取第一个图 有一个隐藏bug - 后端将txt做10%截取处理,前端取第一张图有可能出错
// 暂时这么做而已 - 后期还是需要后端把值填到img中
if
(
this
.
rsDataType
[
'ARTICAL'
].
includes
(
item
.
resourceType
))
{
// 文章类型
const
imgsArr
=
item
.
text
?
regHtml
(
item
.
text
):[]
let
newImg
=
void
0
;
imgsArr
.
length
>
0
&&
(
newImg
=
imgsArr
[
0
]);
item
[
'myImg'
]
=
item
.
img
?
item
.
img
:
newImg
item
[
'imgUrlIsWhole'
]
=
item
.
img
?
false
:
true
;
// 正文中取的图片是完整的连接不需要拼接
// const imgsArr = item.text?regHtml(item.text):[]
// let newImg = void 0;
// imgsArr.length > 0 && (newImg = imgsArr[0]);
item
[
'myImg'
]
=
item
.
img
?
`
${
item
.
img
}
`
:
(
item
.
imgSrc
?
`
${
item
.
imgSrc
}
`
:
undefined
)
// item['imgUrlIsWhole'] = item.img ? false : true; // 正文中取的图片是完整的连接不需要拼接
// console.log(item['myImg'],newImg,8899)
}
if
(
this
.
rsDataType
[
'WEIKE'
].
includes
(
item
.
resourceType
))
{
// 微课
// 封面取’img‘,没有则取’imgPath‘
...
...
src/views/Topic/index.vue
浏览文件 @
dc991d11
...
...
@@ -10,7 +10,7 @@
<img
:src=
"DEFAULTIMG.TOPIC"
v-else
/>
</a>
<div
class=
"info"
>
<h3><a
href=
"javascript:void(0)"
@
click=
"toDetailPage(item)"
>
{{
item
.
name
}}
</a></h3>
<h3><a
href=
"javascript:void(0)"
@
click=
"toDetailPage(item)"
:title=
"item.name"
>
{{
item
.
name
}}
</a></h3>
<span
class=
"short-line"
></span>
<div
class=
"topic-synopsis"
:title=
"item.myContent"
>
{{
item
.
myContent
}}
</div>
</div>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论