Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
client
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
11b298ab
authored
Jun 18, 2024
by
孙美琪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
相关修改
parent
63338095
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
19 deletions
+33
-19
src/assets/logo/nscc-logo-copy.png
+0
-0
src/layout/user-layout.vue
+2
-1
src/views/componentServices/list.vue
+25
-14
src/views/index-copy.vue
+4
-2
src/views/partnership/list.vue
+2
-2
No files found.
src/assets/logo/nscc-logo-copy.png
View file @
11b298ab
60.1 KB
|
W:
|
H:
37.6 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/layout/user-layout.vue
View file @
11b298ab
...
@@ -3,7 +3,8 @@
...
@@ -3,7 +3,8 @@
<div
class=
"nav-bar"
>
<div
class=
"nav-bar"
>
<div
class=
"nav-bar-content"
>
<div
class=
"nav-bar-content"
>
<div
class=
"logo flex-align-center"
@
click=
"$router.push('/index')"
>
<div
class=
"logo flex-align-center"
@
click=
"$router.push('/index')"
>
<img
class=
"nscc"
src=
"@/assets/logo/nscc-logo.jpg"
alt=
""
>
<!--
<img
class=
"nscc"
src=
"@/assets/logo/nscc-logo.jpg"
alt=
""
>
-->
<img
class=
"nscc"
src=
"@/assets/logo/nscc-logo-copy.png"
alt=
""
>
<img
class=
"xjjt"
src=
"@/assets/logo/xjjt-logo.png"
alt=
""
>
<img
class=
"xjjt"
src=
"@/assets/logo/xjjt-logo.png"
alt=
""
>
<span
class=
"logo-text"
>
先进计算公共服务平台
</span>
<span
class=
"logo-text"
>
先进计算公共服务平台
</span>
</div>
</div>
...
...
src/views/componentServices/list.vue
View file @
11b298ab
<
template
>
<
template
>
<div
class=
"app-container"
>
<div
class=
"app-container"
>
<div
style=
"
width: calc(100% - 190px);margin: 0 auto
"
>
<div
style=
"
margin: 0 auto;padding: 0 84px;'
"
>
<el-row
:gutter=
"24"
>
<el-row
:gutter=
"24"
>
<el-col
v-for=
"
item
in assemblyData"
:key=
"item.id"
:span=
"6"
>
<el-col
v-for=
"
(item,index)
in assemblyData"
:key=
"item.id"
:span=
"6"
>
<div
class=
"item flex"
>
<div
class=
"item flex"
>
<img
:src=
"baseUrl + item.image"
alt=
""
>
<img
:src=
"baseUrl + item.image"
alt=
""
>
<div>
<div>
<div
class=
"title"
>
{{
item
.
title
}}
</div>
<div
class=
"title"
>
{{
item
.
title
}}
</div>
<p>
{{
item
.
description
}}
</p>
<p>
{{
item
.
description
}}
</p>
<el-button
type=
"primary"
link
@
click=
"openPage(item)"
>
查看详情
<el-button
type=
"primary"
link
@
click=
"openPage(item
,index
)"
>
查看详情
<el-icon>
<el-icon>
<ArrowRight/>
<ArrowRight/>
</el-icon>
</el-icon>
...
@@ -21,18 +21,20 @@
...
@@ -21,18 +21,20 @@
</div>
</div>
<el-dialog
<el-dialog
v-model=
"dialogTableVisible"
v-model=
"dialogTableVisible"
style=
"width: 80% !important;"
:title=
"dialogTitle"
:title=
"dialogTitle"
width=
"1600
"
@
close=
"handleDialogClose
"
>
>
<div>
<!--
<template
#
header
>
-->
<iframe
v-show=
"iframeShow"
ref=
"iframe"
:src=
"iframeSrc"
<!--
<div
class=
"dialog-style"
>
-->
:style=
"
{ width: iframeWidth + 'px', height: iframeHeight + 'px' }">
</iframe>
<!--
<img
:src=
"baseUrl + assemblyData[indexNum].image"
alt=
""
>
-->
</div>
<!--
<div>
{{
dialogTitle
}}
</div>
-->
<!--
<template
#
footer
>
-->
<!--
<div
class=
"dialog-footer"
>
-->
<!--
<el-button
@
click=
"cancel"
>
关闭
</el-button>
-->
<!--
</div>
-->
<!--
</div>
-->
<!--
</
template
>
-->
<!--
</
template
>
-->
<div>
<iframe
v-show=
"iframeShow"
ref=
"iframe"
:src=
"iframeSrc"
width=
"100%"
height=
"700px"
></iframe>
<!-- :style="{ width: iframeWidth + 'px', height: iframeHeight + 'px' }"-->
</div>
</el-dialog>
</el-dialog>
</div>
</div>
</template>
</template>
...
@@ -46,9 +48,8 @@ const assemblyData = ref([])
...
@@ -46,9 +48,8 @@ const assemblyData = ref([])
const
iframeSrc
=
ref
(
''
)
const
iframeSrc
=
ref
(
''
)
const
iframeShow
=
ref
(
false
)
const
iframeShow
=
ref
(
false
)
const
dialogTableVisible
=
ref
(
false
)
const
dialogTableVisible
=
ref
(
false
)
const
iframeWidth
=
ref
(
1560
)
const
iframeHeight
=
ref
(
800
)
const
dialogTitle
=
ref
(
''
)
const
dialogTitle
=
ref
(
''
)
const
indexNum
=
ref
(
0
)
function
getAassemblyList
()
{
function
getAassemblyList
()
{
assemblyList
().
then
(
res
=>
{
assemblyList
().
then
(
res
=>
{
...
@@ -58,7 +59,8 @@ function getAassemblyList() {
...
@@ -58,7 +59,8 @@ function getAassemblyList() {
getAassemblyList
()
getAassemblyList
()
function
openPage
(
data
)
{
function
openPage
(
data
,
index
)
{
indexNum
.
value
=
index
dialogTitle
.
value
=
data
.
title
dialogTitle
.
value
=
data
.
title
iframeSrc
.
value
=
data
.
url
iframeSrc
.
value
=
data
.
url
dialogTableVisible
.
value
=
true
dialogTableVisible
.
value
=
true
...
@@ -70,6 +72,11 @@ function cancel() {
...
@@ -70,6 +72,11 @@ function cancel() {
dialogTableVisible
.
value
=
false
dialogTableVisible
.
value
=
false
iframeShow
.
value
=
false
iframeShow
.
value
=
false
}
}
// 关闭弹窗
function
handleDialogClose
()
{
iframeSrc
.
value
=
null
}
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.app-container
{
.app-container
{
...
@@ -127,4 +134,8 @@ function cancel() {
...
@@ -127,4 +134,8 @@ function cancel() {
top
:
0
;
top
:
0
;
left
:
0
;
left
:
0
;
}
}
:deep
(
.el-dialog__body
)
{
padding-top
:
unset
!important
;
}
</
style
>
</
style
>
src/views/index-copy.vue
View file @
11b298ab
...
@@ -610,10 +610,12 @@ function openAssembly(data) {
...
@@ -610,10 +610,12 @@ function openAssembly(data) {
}
}
.banner-text
{
.banner-text
{
width
:
913px
;
position
:
absolute
;
position
:
absolute
;
top
:
33
%
;
top
:
50
%
;
left
:
26
%
;
left
:
50
%
;
display
:
flex
;
display
:
flex
;
transform
:
translate
(
-50%
,
-50%
);
}
}
.banner-text
.banner-left
div
:first-child
{
.banner-text
.banner-left
div
:first-child
{
...
...
src/views/partnership/list.vue
View file @
11b298ab
...
@@ -75,8 +75,8 @@ function openPage (data) {
...
@@ -75,8 +75,8 @@ function openPage (data) {
font-size
:
16px
;
font-size
:
16px
;
color
:
#626566
;
color
:
#626566
;
line-height
:
24px
;
line-height
:
24px
;
margin-top
:
5
px
;
margin-top
:
9
px
;
margin-bottom
:
40
px
;
margin-bottom
:
38
px
;
height
:
96px
;
height
:
96px
;
overflow
:
hidden
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment