Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center-ui
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center-ui
Commits
e56baf6a
Commit
e56baf6a
authored
Mar 18, 2020
by
黄森林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
1317cd87
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
12 deletions
+9
-12
src/components/sysmanage/codeMove.vue
+2
-2
src/views/poster/PosterList.vue
+3
-4
src/views/poster/newPoster.vue
+4
-6
No files found.
src/components/sysmanage/codeMove.vue
View file @
e56baf6a
...
...
@@ -76,8 +76,8 @@ export default {
if
(
left
<
0
){
left
=
0
;
}
if
(
left
+
this
.
width
>
5
00
){
left
=
5
00
-
this
.
width
;
if
(
left
+
this
.
width
>
3
00
){
left
=
3
00
-
this
.
width
;
}
if
(
top
<
0
){
top
=
0
;
...
...
src/views/poster/PosterList.vue
View file @
e56baf6a
...
...
@@ -34,9 +34,8 @@
{{
text
|
dayjs
}}
</
template
>
<
template
slot=
"picture"
slot-scope=
"text"
>
<img
:src=
"text"
@
click=
"imgClick(text)"
>
<!--
<img
@
click=
"imgClick('http://yrym.winsun-aly.com/gdtel-xyzx-hhr/images/yrym-ruanyan-logo.png')"
style=
"height: 50px"
src=
"http://yrym.winsun-aly.com/gdtel-xyzx-hhr/images/yrym-ruanyan-logo.png"
>
-->
</
template
>
<img
style=
"width: 20%"
:src=
"text"
@
click=
"imgClick(text)"
>
</
template
>
<
template
slot=
"enable"
slot-scope=
"text"
>
<span
v-if=
"text == 0"
>
不启用
</span>
<span
v-if=
"text == 1"
>
启用
</span>
...
...
@@ -66,7 +65,7 @@
:closable=
"false"
@
close=
"pictureOnClose"
:visible=
"visiblepicture"
width=
"
5
0%"
width=
"
3
0%"
>
<div
>
<img
class=
"bg-img"
:src=
"imgInfo"
>
...
...
src/views/poster/newPoster.vue
View file @
e56baf6a
...
...
@@ -25,7 +25,7 @@
<a-input
v-model=
"codeText"
></a-input>
</a-form-item>
</a-col>
-->
<a-col
:span=
"
9
"
v-if=
"images!=''"
>
<a-col
:span=
"
18
"
v-if=
"images!=''"
>
<a-form-item
label=
"二维码大小:"
:label-col=
"
{ span: 5 }" :wrapper-col="{ span: 12 }">
<a-slider
id=
"code"
v-model=
"codeWidth"
:max=
"300"
/>
</a-form-item>
...
...
@@ -72,7 +72,6 @@ export default {
},
methods
:
{
showModal
(
picture
,
url
)
{
/* picture = picture.replace('http://yrym.winsun-aly.com','/api');*/
this
.
codeText
=
url
this
.
getBase64
(
picture
,
'jpeg'
,
(
base64
)
=>
{
// 给原生img对象的src属性赋值
...
...
@@ -81,7 +80,7 @@ export default {
});
setTimeout
(()
=>
{
this
.
newCode
()
},
5
);
},
200
);
},
onClose
()
{
this
.
visible
=
false
;
...
...
@@ -163,7 +162,6 @@ export default {
<
style
scoped
lang=
"less"
>
.meun-box
{
position
:
absolute
;
left
:
0
;
right
:
0
;
height
:
80px
;
...
...
@@ -171,7 +169,7 @@ export default {
}
.center-box
{
padding-top
:
10
0px
;
padding-top
:
0px
;
}
.select-btn
{
...
...
@@ -198,7 +196,7 @@ export default {
}
.image-box
{
width
:
5
00px
;
width
:
3
00px
;
height
:
auto
;
overflow
:
hidden
;
position
:
relative
;
...
...
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