Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
f2dbb636
Commit
f2dbb636
authored
Apr 19, 2022
by
gao_yingdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
人员档案
parent
887bf89b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
5 deletions
+17
-5
src/views/ryda/ryGl.vue
+17
-5
No files found.
src/views/ryda/ryGl.vue
View file @
f2dbb636
...
@@ -19,11 +19,19 @@
...
@@ -19,11 +19,19 @@
<div
class=
"zp"
>
<div
class=
"zp"
>
<!-- :src="'data:image/gif;base64,' + ryjbxx.edzzplj" -->
<!-- :src="'data:image/gif;base64,' + ryjbxx.edzzplj" -->
<img
<img
v-if=
"srcZp"
@
mouseover=
"zpShow"
@
mouseover=
"zpShow"
id=
"zp"
id=
"zp"
src=
"/
"
:src=
"srcZp
"
style=
"height: 160px; width: 84%"
style=
"height: 160px; width: 84%"
/>
/>
<img
style=
"height: 160px; width: 84%"
@
mouseover=
"zpShow"
v-else
src=
"@/assets/img/dangan/961.png"
alt=
""
/>
<div>
<div>
<i
@
click=
"szzTp"
class=
"el-icon-caret-left"
></i>
<i
@
click=
"szzTp"
class=
"el-icon-caret-left"
></i>
<i
@
click=
"xzzTp"
class=
"el-icon-caret-right"
></i>
<i
@
click=
"xzzTp"
class=
"el-icon-caret-right"
></i>
...
@@ -1399,6 +1407,7 @@ export default {
...
@@ -1399,6 +1407,7 @@ export default {
},
},
],
],
zpShowXxs
:
false
,
zpShowXxs
:
false
,
srcZp
:
""
,
};
};
},
},
mounted
()
{
mounted
()
{
...
@@ -2166,14 +2175,16 @@ export default {
...
@@ -2166,14 +2175,16 @@ export default {
var
img
=
document
.
getElementById
(
"zp"
);
var
img
=
document
.
getElementById
(
"zp"
);
this
.
indexPhoto
--
;
this
.
indexPhoto
--
;
if
(
this
.
indexPhoto
<
0
)
this
.
indexPhoto
=
this
.
photo
.
length
-
1
;
if
(
this
.
indexPhoto
<
0
)
this
.
indexPhoto
=
this
.
photo
.
length
-
1
;
img
.
src
=
this
.
photo
[
this
.
indexPhoto
].
zpDzwjnr
;
// img.src = this.photo[this.indexPhoto].zpDzwjnr;
this
.
srcZp
=
this
.
photo
[
this
.
indexPhoto
].
zpDzwjnr
;
},
},
// 下一张图片
// 下一张图片
xzzTp
()
{
xzzTp
()
{
var
img
=
document
.
getElementById
(
"zp"
);
var
img
=
document
.
getElementById
(
"zp"
);
this
.
indexPhoto
++
;
this
.
indexPhoto
++
;
if
(
this
.
indexPhoto
>
this
.
photo
.
length
-
1
)
this
.
indexPhoto
=
0
;
if
(
this
.
indexPhoto
>
this
.
photo
.
length
-
1
)
this
.
indexPhoto
=
0
;
img
.
src
=
this
.
photo
[
this
.
indexPhoto
].
zpDzwjnr
;
// img.src = this.photo[this.indexPhoto].zpDzwjnr;
this
.
srcZp
=
this
.
photo
[
this
.
indexPhoto
].
zpDzwjnr
;
},
},
getwpxx
()
{
getwpxx
()
{
let
self
=
this
;
let
self
=
this
;
...
@@ -2264,8 +2275,9 @@ export default {
...
@@ -2264,8 +2275,9 @@ export default {
self
.
tableDataZp
=
res
.
data
.
rows
;
self
.
tableDataZp
=
res
.
data
.
rows
;
self
.
tableDataLength
=
res
.
data
.
total
;
self
.
tableDataLength
=
res
.
data
.
total
;
var
index
=
0
;
var
index
=
0
;
var
img
=
document
.
getElementById
(
"zp"
);
// var img = document.getElementById("zp");
img
.
src
=
res
.
data
.
rows
[
index
].
zpDzwjnr
;
// img.src = res.data.rows[index].zpDzwjnr;
self
.
srcZp
=
res
.
data
.
rows
[
index
].
zpDzwjnr
;
self
.
photo
=
res
.
data
.
rows
;
self
.
photo
=
res
.
data
.
rows
;
self
.
tableLoading
=
false
;
self
.
tableLoading
=
false
;
}
else
{
}
else
{
...
...
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