Compare commits

..

No commits in common. "2f34e4acbc33aa64f3b45b1a5831d099f81f6ce1" and "fbcd40f2a6b433861ac2adec6a35302c942eee5e" have entirely different histories.

1 changed files with 57 additions and 8 deletions

View File

@ -83,6 +83,7 @@
</a-popconfirm> </a-popconfirm>
</div> </div>
</div> </div>
<div class="box" v-if="item.list.length > 0"> <div class="box" v-if="item.list.length > 0">
<div <div
class="ability" class="ability"
@ -145,13 +146,6 @@
</div> </div>
</div> </div>
<div></div> <div></div>
<a-button
type="primary"
v-if="item.approveStatus === '通过'"
@click.stop="switchFunction(item)"
>
查看详情
</a-button>
<!-- <div class="btn" v-if="val.type == '组件服务'">技术文档</div> --> <!-- <div class="btn" v-if="val.type == '组件服务'">技术文档</div> -->
</div> </div>
<div class="ability-bottom"> <div class="ability-bottom">
@ -172,7 +166,13 @@
> >
附件下载 附件下载
</a-button> </a-button>
<a-button
type="primary"
v-if="item.approveStatus === '通过'"
@click.stop="switchFunction(item)"
>
查看详情
</a-button>
</div> </div>
</div> </div>
</div> </div>
@ -238,6 +238,7 @@
</div> </div>
</div> </div>
</div> </div>
<!-- 单个预览弹窗 --> <!-- 单个预览弹窗 -->
<a-modal <a-modal
wrapClassName="single-preview-modal" wrapClassName="single-preview-modal"
@ -310,6 +311,7 @@
'fullScreen', 'fullScreen',
], //, ], //,
}) })
const dept = reactive({}) const dept = reactive({})
// eslint-disable-next-line no-undef // eslint-disable-next-line no-undef
if (infrastructure) { if (infrastructure) {
@ -468,6 +470,7 @@
} }
} }
} }
// //
const openVideo = (item) => { const openVideo = (item) => {
console.log('打开视频', item) console.log('打开视频', item)
@ -491,9 +494,11 @@
// visible.value = true // visible.value = true
// options.src = 'http://playertest.longtailvideo.com/adaptive/bipbop/gear4/prog_index.m3u8' // options.src = 'http://playertest.longtailvideo.com/adaptive/bipbop/gear4/prog_index.m3u8'
} }
onMounted(() => { onMounted(() => {
handleUser() handleUser()
}) })
// //
const userInfo = ref(null) const userInfo = ref(null)
const handleUser = () => { const handleUser = () => {
@ -517,16 +522,19 @@
message.warning(err) message.warning(err)
}) })
} }
const openView = (url) => { const openView = (url) => {
window.open(url, '_blank') window.open(url, '_blank')
} }
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.aaa { .aaa {
margin-right: 30px; margin-right: 30px;
} }
:deep(.ant-popover-inner) { :deep(.ant-popover-inner) {
position: fixed !important; position: fixed !important;
margin-right: 100px; margin-right: 100px;
} }
.title { .title {
@ -537,17 +545,22 @@
padding-left: 0.1rem; padding-left: 0.1rem;
border-left: 0.06rem #0058e1 solid; border-left: 0.06rem #0058e1 solid;
} }
.top { .top {
margin-bottom: 0.1rem; margin-bottom: 0.1rem;
.main { .main {
background: #eee; background: #eee;
padding: 0.2rem 0.2rem 0.1rem; padding: 0.2rem 0.2rem 0.1rem;
p { p {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
& > span { & > span {
width: 100%; width: 100%;
} }
.enclosure { .enclosure {
width: 95%; width: 95%;
padding: 0.05rem 0.1rem; padding: 0.05rem 0.1rem;
@ -556,11 +569,13 @@
justify-content: space-between; justify-content: space-between;
margin-top: 0.05rem; margin-top: 0.05rem;
} }
.btn:hover { .btn:hover {
color: #0058e1; color: #0058e1;
cursor: pointer; cursor: pointer;
} }
} }
.item { .item {
span { span {
width: 2.5rem; width: 2.5rem;
@ -568,16 +583,19 @@
} }
} }
} }
.bottom { .bottom {
.main { .main {
.item { .item {
border-top: 1px #eee solid; border-top: 1px #eee solid;
.deptName { .deptName {
color: #0058e1; color: #0058e1;
font-size: 0.16rem; font-size: 0.16rem;
margin-top: 0.1rem; margin-top: 0.1rem;
display: flex; display: flex;
align-items: center; align-items: center;
.img { .img {
width: 0.05rem; width: 0.05rem;
height: 0.05rem; height: 0.05rem;
@ -586,16 +604,20 @@
margin-right: 0.1rem; margin-right: 0.1rem;
} }
} }
.oddNumbers { .oddNumbers {
margin: 0.1rem 0 0 0.15rem; margin: 0.1rem 0 0 0.15rem;
} }
.box { .box {
margin-left: 0.1rem; margin-left: 0.1rem;
.ability { .ability {
height: 1.6rem; height: 1.6rem;
display: flex; display: flex;
border-bottom: 1px #eee solid; border-bottom: 1px #eee solid;
padding: 0.1rem 0; padding: 0.1rem 0;
.left { .left {
display: inline-block; display: inline-block;
width: 1.1rem; width: 1.1rem;
@ -604,30 +626,37 @@
background: url('~@/assets/home/sxt_square.png') no-repeat; background: url('~@/assets/home/sxt_square.png') no-repeat;
background-size: 100%; background-size: 100%;
} }
.sxt { .sxt {
background: url('~@/assets/home/sxt_square.png') no-repeat; background: url('~@/assets/home/sxt_square.png') no-repeat;
background-size: 100%; background-size: 100%;
} }
.yyzy { .yyzy {
background: url('~@/assets/home/yyzy_square.png') no-repeat; background: url('~@/assets/home/yyzy_square.png') no-repeat;
background-size: 100%; background-size: 100%;
} }
.znsf { .znsf {
background: url('~@/assets/home/znsf_square.png') no-repeat; background: url('~@/assets/home/znsf_square.png') no-repeat;
background-size: 100%; background-size: 100%;
} }
.tcfw { .tcfw {
background: url('~@/assets/home/tcfw_square.png') no-repeat; background: url('~@/assets/home/tcfw_square.png') no-repeat;
background-size: 100%; background-size: 100%;
} }
.kfzj { .kfzj {
background: url('~@/assets/home/kfzj_square.png') no-repeat; background: url('~@/assets/home/kfzj_square.png') no-repeat;
background-size: 100%; background-size: 100%;
} }
.ywzj { .ywzj {
background: url('~@/assets/home/ywzj_square.png') no-repeat; background: url('~@/assets/home/ywzj_square.png') no-repeat;
background-size: 100%; background-size: 100%;
} }
.btn { .btn {
cursor: pointer; cursor: pointer;
color: #0087ff; color: #0087ff;
@ -636,18 +665,22 @@
border: 1px #0087ff solid; border: 1px #0087ff solid;
border-radius: 0.2rem; border-radius: 0.2rem;
} }
.right { .right {
flex: 1; flex: 1;
margin-left: 0.15rem; margin-left: 0.15rem;
.ability-top { .ability-top {
width: 100%; width: 100%;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
.name { .name {
width: 6rem; width: 6rem;
height: 0.2rem; height: 0.2rem;
display: flex; display: flex;
.channelName { .channelName {
max-width: 5rem; max-width: 5rem;
height: 0.2rem; height: 0.2rem;
@ -658,6 +691,7 @@
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all; word-break: break-all;
} }
.type { .type {
background: #0087ff; background: #0087ff;
color: #fff; color: #fff;
@ -668,8 +702,10 @@
} }
} }
} }
.ability-bottom { .ability-bottom {
margin-top: 0.15rem; margin-top: 0.15rem;
// display: flex; // display: flex;
// justify-content: space-between; // justify-content: space-between;
.dec { .dec {
@ -682,6 +718,7 @@
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all; word-break: break-all;
} }
.dec2 { .dec2 {
width: 7rem; width: 7rem;
height: 0.22rem; height: 0.22rem;
@ -692,6 +729,7 @@
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
word-break: break-all; word-break: break-all;
} }
// .result:hover { // .result:hover {
// color: #0058e1; // color: #0058e1;
// cursor: pointer; // cursor: pointer;
@ -701,17 +739,20 @@
} }
} }
} }
.DownloadAttachment { .DownloadAttachment {
position: absolute; position: absolute;
right: 10px; right: 10px;
top: -150px; top: -150px;
} }
.DownloadAttachment2 { .DownloadAttachment2 {
position: absolute; position: absolute;
right: 10px; right: 10px;
top: -110px; top: -110px;
} }
} }
.clickCursor { .clickCursor {
cursor: pointer; cursor: pointer;
} }
@ -719,44 +760,52 @@
} }
} }
} }
.single-preview-modal { .single-preview-modal {
.ant-modal-header { .ant-modal-header {
background: url(~@/assets/home/video-background.png) no-repeat; background: url(~@/assets/home/video-background.png) no-repeat;
background-size: cover; background-size: cover;
} }
.ant-modal-title { .ant-modal-title {
font-size: 0.16rem; font-size: 0.16rem;
font-weight: 500; font-weight: 500;
color: #ffffff; color: #ffffff;
} }
.anticon { .anticon {
color: #ffffff; color: #ffffff;
} }
} }
// //
.waterMark-left-top { .waterMark-left-top {
left: 50px; left: 50px;
top: 100px; top: 100px;
text-align: left; text-align: left;
} }
// //
.waterMark-right-top { .waterMark-right-top {
right: 50px; right: 50px;
top: 100px; top: 100px;
text-align: right; text-align: right;
} }
// //
.waterMark-left-bottom { .waterMark-left-bottom {
left: 50px; left: 50px;
bottom: 100px; bottom: 100px;
text-align: left; text-align: left;
} }
// //
.waterMark-right-bottom { .waterMark-right-bottom {
right: 50px; right: 50px;
bottom: 100px; bottom: 100px;
text-align: right; text-align: right;
} }
.waterMark { .waterMark {
position: absolute; position: absolute;
z-index: 99999999; z-index: 99999999;