数据资源样式及接口ip修改
This commit is contained in:
parent
f958db6940
commit
c6649d5fee
|
@ -50,7 +50,7 @@ export function paddleocr(params) {
|
|||
// 能力云图-数据资源
|
||||
export function count() {
|
||||
return axios.post(
|
||||
'http://10.10.30.24:30058/share-portal/platform/index/abilityMarket/count',
|
||||
'http://10.134.135.24:30058/share-portal/platform/index/abilityMarket/count',
|
||||
config2
|
||||
)
|
||||
}
|
||||
|
|
|
@ -57,28 +57,28 @@
|
|||
const assignRankings = ref([
|
||||
{
|
||||
index: '1',
|
||||
name: '0',
|
||||
operation: '0',
|
||||
name: ' ',
|
||||
operation: ' ',
|
||||
},
|
||||
{
|
||||
index: '2',
|
||||
name: '0',
|
||||
operation: '0',
|
||||
name: ' ',
|
||||
operation: ' ',
|
||||
},
|
||||
{
|
||||
index: '3',
|
||||
name: '0',
|
||||
operation: '0',
|
||||
name: ' ',
|
||||
operation: ' ',
|
||||
},
|
||||
{
|
||||
index: '4',
|
||||
name: '0',
|
||||
operation: '0',
|
||||
name: ' ',
|
||||
operation: ' ',
|
||||
},
|
||||
{
|
||||
index: '5',
|
||||
name: '0',
|
||||
operation: '0',
|
||||
name: ' ',
|
||||
operation: ' ',
|
||||
},
|
||||
])
|
||||
const columns = ref([
|
||||
|
@ -138,49 +138,50 @@
|
|||
for (let i = 1; i < 6; i++) {
|
||||
assignRankings.value[i - 1].index = i
|
||||
assignRankings.value[i - 1].name =
|
||||
contentData.value.list[i - 1].resourceTop5.service_name || '0'
|
||||
contentData.value.list[i - 1].resourceTop5.service_name || ' '
|
||||
assignRankings.value[i - 1].opacity =
|
||||
contentData.value.list[i - 1].resourceTop5.count || '0'
|
||||
contentData.value.list[i - 1].resourceTop5.count || ' '
|
||||
}
|
||||
})
|
||||
// 请求右侧数据结束
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
.data-resources {
|
||||
width: 440px;
|
||||
height: 465px;
|
||||
width: 4.4rem;
|
||||
height: 4.63rem;
|
||||
background: rgba(0, 108, 188, 0.1);
|
||||
border-radius: 2px;
|
||||
border: 1px solid rgba(0, 108, 188, 0.7);
|
||||
border-radius: 0.02rem;
|
||||
border: 0.01rem solid rgba(0, 108, 188, 0.7);
|
||||
box-sizing: border-box;
|
||||
.resources-top {
|
||||
height: 60px;
|
||||
height: 0.6rem;
|
||||
background: url('~@/assets/capabilityCloud/resources-title.png') no-repeat;
|
||||
text-align: center;
|
||||
font-size: 24px;
|
||||
font-size: 0.24rem;
|
||||
}
|
||||
.resources-bottom {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
.resources-left {
|
||||
width: 156px;
|
||||
height: 275px;
|
||||
width: 1.56rem;
|
||||
height: 2.75rem;
|
||||
background-image: linear-gradient(#214678, transparent);
|
||||
text-align: center;
|
||||
margin-left: 18px;
|
||||
margin-left: 0.18rem;
|
||||
position: relative;
|
||||
div {
|
||||
margin: 0 10px;
|
||||
border-bottom: 1px solid #1f557c;
|
||||
margin: 0 0.1rem;
|
||||
border-bottom: 0.01rem solid #1f557c;
|
||||
h3 {
|
||||
font-size: 16px;
|
||||
font-size: 0.16rem;
|
||||
color: #ffffff;
|
||||
margin-bottom: 0px;
|
||||
padding-top: 16px;
|
||||
margin-bottom: 0rem;
|
||||
padding-top: 0.16rem;
|
||||
}
|
||||
.num {
|
||||
font-size: 28px;
|
||||
font-size: 0.28rem;
|
||||
color: #1ef6f5;
|
||||
margin-bottom: 0px;
|
||||
margin-bottom: 0rem;
|
||||
}
|
||||
}
|
||||
div:last-of-type {
|
||||
|
@ -190,37 +191,46 @@
|
|||
width: 90%;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
bottom: -138px;
|
||||
bottom: -1.38rem;
|
||||
margin-left: -45%;
|
||||
animation: move 5s linear 0s infinite;
|
||||
@keyframes move {
|
||||
from {
|
||||
transform: rotateY(360deg);
|
||||
}
|
||||
to {
|
||||
transform: rotateY(0deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.resources-right {
|
||||
margin-left: 18px;
|
||||
width: 235px;
|
||||
margin-left: 0.18rem;
|
||||
width: 2.35rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
.resources-right-title {
|
||||
width: 224px;
|
||||
height: 100px;
|
||||
width: 2.24rem;
|
||||
height: 1rem;
|
||||
text-align: center;
|
||||
background: url('~@/assets/capabilityCloud/resources-right.png')
|
||||
no-repeat center;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
h3 {
|
||||
font-size: 18px;
|
||||
font-size: 0.18rem;
|
||||
color: #ffffff;
|
||||
width: 100%;
|
||||
height: 38px;
|
||||
line-height: 38px;
|
||||
height: 0.38rem;
|
||||
line-height: 0.38rem;
|
||||
background: linear-gradient(
|
||||
to right,
|
||||
rgba(0, 0, 0, 0) 0%,
|
||||
#1b76cc 50%,
|
||||
rgba(0, 0, 0, 0) 100%
|
||||
);
|
||||
text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.6);
|
||||
text-shadow: 0rem 0rem 0.02rem rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
}
|
||||
.resources-right-table {
|
||||
|
@ -229,24 +239,26 @@
|
|||
background-color: #1f557c;
|
||||
border: none;
|
||||
color: #1ef6f5;
|
||||
height: 32px;
|
||||
height: 0.32rem;
|
||||
padding: 0;
|
||||
}
|
||||
:deep(.ant-table-row) {
|
||||
height: 45px;
|
||||
height: 0.45rem;
|
||||
}
|
||||
:deep(.ant-table-cell) {
|
||||
text-align: center;
|
||||
border-bottom: 1px solid #1f557c;
|
||||
border-right: 1px solid #1f557c;
|
||||
transition: all 0s;
|
||||
background: transparent;
|
||||
border-bottom: 0.01rem solid #1f557c;
|
||||
border-right: 0.01rem solid #1f557c;
|
||||
padding: 0;
|
||||
}
|
||||
:deep(.ant-table-cell:nth-child(1)) {
|
||||
border-left: 1px solid #1f557c;
|
||||
border-left: 0.01rem solid #1f557c;
|
||||
}
|
||||
:deep(.ant-table-cell:nth-child(2)) {
|
||||
text-align: left;
|
||||
padding-left: 10px;
|
||||
padding-left: 0.1rem;
|
||||
}
|
||||
:deep(.ant-table-cell:nth-child(3)) {
|
||||
color: #1ef6f5;
|
||||
|
@ -265,8 +277,8 @@
|
|||
border: none;
|
||||
}
|
||||
:deep(.ant-table-cell-row-hover) {
|
||||
background: transparent;
|
||||
transition: all 0s;
|
||||
background: transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -48,43 +48,44 @@
|
|||
</script>
|
||||
<style lang="less" scoped>
|
||||
.knowledge-base {
|
||||
width: 152px;
|
||||
height: 465px;
|
||||
width: 1.52rem;
|
||||
height: 4.63rem;
|
||||
background: rgba(0, 108, 188, 0.1);
|
||||
border-radius: 2px;
|
||||
border: 1px solid rgba(0, 108, 188, 0.7);
|
||||
border-radius: 0.02rem;
|
||||
border: 0.01rem solid rgba(0, 108, 188, 0.7);
|
||||
box-sizing: border-box;
|
||||
.knowledge-top {
|
||||
height: 60px;
|
||||
height: 0.6rem;
|
||||
background: url('~@/assets/capabilityCloud/Knowledge-title.png') no-repeat;
|
||||
text-align: center;
|
||||
font-size: 24px;
|
||||
font-size: 0.24rem;
|
||||
}
|
||||
.knowledge-content {
|
||||
width: 100%;
|
||||
|
||||
div {
|
||||
width: 118px;
|
||||
height: 176px;
|
||||
width: 1.18rem;
|
||||
height: 1.76rem;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
background-image: linear-gradient(#214678, transparent);
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: 0.2rem;
|
||||
img {
|
||||
margin: 27px 0 12px;
|
||||
margin: 0.27rem 0 0.12rem;
|
||||
}
|
||||
h3 {
|
||||
font-size: 16px;
|
||||
font-size: 0.16rem;
|
||||
font-weight: normal;
|
||||
color: #ffffff;
|
||||
margin-bottom: 0px;
|
||||
margin-bottom: 0rem;
|
||||
}
|
||||
.num {
|
||||
font-weight: 300;
|
||||
font-size: 28px;
|
||||
font-size: 0.28rem;
|
||||
color: #1ef6f5;
|
||||
margin-bottom: 27px;
|
||||
margin-bottom: 0.27rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue