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