Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
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
fukai
vue-gjjs
Commits
b22c40aa
Commit
b22c40aa
authored
Mar 30, 2022
by
liuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单据要求Icon样式调整
parent
e6087afc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
9 deletions
+30
-9
IntellectIcon.vue
src/components/IntellectIcon.vue
+19
-7
Tk.vue
src/views/Business/Ditopn/Tk.vue
+11
-2
No files found.
src/components/IntellectIcon.vue
View file @
b22c40aa
...
@@ -42,15 +42,15 @@
...
@@ -42,15 +42,15 @@
<el-col
:span=
"spanVal"
v-for=
"(item, idx) in displayIconList"
:key=
"idx"
:offset=
"1"
>
<el-col
:span=
"spanVal"
v-for=
"(item, idx) in displayIconList"
:key=
"idx"
:offset=
"1"
>
<el-card
:body-style=
"
{ padding: '0px' }" style="height:100%">
<el-card
:body-style=
"
{ padding: '0px' }" style="height:100%">
<!--
<img
:src=
"item.src"
class=
"image"
>
-->
<!--
<img
:src=
"item.src"
class=
"image"
>
-->
<div
style=
"padding: 5px;"
>
<div
class=
"image_icon"
>
<span
style=
"text-align:center;font-size:5
px"
>
{{
item
.
name
}}
</span>
<span
style=
"font-size:10
px"
>
{{
item
.
name
}}
</span>
<el-button
type=
"text"
class=
"button"
icon=
"el-icon-delete"
@
click=
"DeleteIcon(item.id)"
></el-button>
<el-button
type=
"text"
class=
"button"
icon=
"el-icon-delete"
@
click=
"DeleteIcon(item.id)"
></el-button>
</div>
</div>
</el-card>
</el-card>
</el-col>
</el-col>
<el-col
:span=
"
2
"
:offset=
"1"
>
<el-col
:span=
"
spanVal
"
:offset=
"1"
>
<el-card
:body-style=
"
{ padding: '0px'
}" style="height:100%">
<el-card
:body-style=
"
{ padding: '0px'
, border:'1px dashed '
}" style="height:100%">
<div
style=
"padding: 5px;"
>
<div
class=
"image_icon"
>
<!--
<img
:src=
"require('~/assets/add.png')"
class=
"image"
@
click=
"AddIcon"
>
-->
<!--
<img
:src=
"require('~/assets/add.png')"
class=
"image"
@
click=
"AddIcon"
>
-->
<!--
<span
style=
"text-align:center;font-size:5px"
>
添加
</span>
-->
<!--
<span
style=
"text-align:center;font-size:5px"
>
添加
</span>
-->
<el-button
type=
"text"
class=
"button"
icon=
"el-icon-plus"
@
click=
"AddIcon"
></el-button>
<el-button
type=
"text"
class=
"button"
icon=
"el-icon-plus"
@
click=
"AddIcon"
></el-button>
...
@@ -62,9 +62,9 @@
...
@@ -62,9 +62,9 @@
<div
style=
"height:200px"
>
<div
style=
"height:200px"
>
<el-col
:span=
"14"
>
<el-col
:span=
"14"
>
<el-col
:span=
"spanVal"
v-for=
"(item, idx) in hideIconList"
:key=
"idx"
:offset=
"1"
>
<el-col
:span=
"spanVal"
v-for=
"(item, idx) in hideIconList"
:key=
"idx"
:offset=
"1"
>
<el-card
:body-style=
"
{ padding: '0px'
}" style="height:100%">
<el-card
:body-style=
"
{ padding: '0px'}" style="height:100%">
<!--
<img
:src=
"item.src"
class=
"image"
>
-->
<!--
<img
:src=
"item.src"
class=
"image"
>
-->
<div
style=
"padding: 5px;"
>
<div
class=
"image_icon"
>
<span
style=
"text-align:center;font-size:5px"
>
{{
item
.
name
}}
</span>
<span
style=
"text-align:center;font-size:5px"
>
{{
item
.
name
}}
</span>
<el-button
type=
"text"
class=
"button"
icon=
"el-icon-plus"
@
click=
"InsertIcon(item.id)"
></el-button>
<el-button
type=
"text"
class=
"button"
icon=
"el-icon-plus"
@
click=
"InsertIcon(item.id)"
></el-button>
</div>
</div>
...
@@ -166,4 +166,15 @@ export default {
...
@@ -166,4 +166,15 @@ export default {
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
}
}
.image
{
width
:
10%
;
display
:
block
;
}
.image_icon
{
padding
:
5px
;
height
:
40px
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
}
</
style
>
</
style
>
\ No newline at end of file
src/views/Business/Ditopn/Tk.vue
View file @
b22c40aa
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<span
v-text=
"model.ditp.hwfwms"
data-path=
".ditp.hwfwms"
>
</span>
<span
v-text=
"model.ditp.hwfwms"
data-path=
".ditp.hwfwms"
>
</span>
</c-col>
</c-col>
-->
-->
<c-col
:span=
"1
6
"
>
<c-col
:span=
"1
5
"
>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
<el-form-item
label=
"货物描述"
prop=
"didgrp.blk.lcrgod"
>
<el-form-item
label=
"货物描述"
prop=
"didgrp.blk.lcrgod"
>
<c-input
type=
"textarea"
:autosize=
"
{ minRows: 6, maxRows: 8}" v-model="model.didgrp.blk.lcrgod" style="margin-right:20px;" maxlength="1430" show-word-limit placeholder="请输入Description of Goods" >
</c-input>
<c-input
type=
"textarea"
:autosize=
"
{ minRows: 6, maxRows: 8}" v-model="model.didgrp.blk.lcrgod" style="margin-right:20px;" maxlength="1430" show-word-limit placeholder="请输入Description of Goods" >
</c-input>
...
@@ -32,6 +32,10 @@
...
@@ -32,6 +32,10 @@
</c-col>
</c-col>
<c-col
:span=
"7"
:offset=
"1"
>
<c-col
:span=
"7"
:offset=
"1"
>
<c-col
:offset=
"1"
>
<el-form-item
label=
"单据模板智能识别:"
class=
"messageLabel"
>
</el-form-item>
</c-col>
<IntellectIcon
:IconList=
"IconList"
:spanVal=
"spanVal"
v-on:deleteIcon=
"deleteIcon"
v-on:insertIcon=
"insertIcon"
></IntellectIcon>
<IntellectIcon
:IconList=
"IconList"
:spanVal=
"spanVal"
v-on:deleteIcon=
"deleteIcon"
v-on:insertIcon=
"insertIcon"
></IntellectIcon>
</c-col>
</c-col>
<!--
<c-col
:span=
"8"
>
<!--
<c-col
:span=
"8"
>
...
@@ -116,7 +120,7 @@ export default {
...
@@ -116,7 +120,7 @@ export default {
IconList
:[
IconList
:[
"invoice"
,
"receipt"
,
"invoice"
,
"receipt"
,
],
],
spanVal
:
6
,
spanVal
:
7
,
}
}
},
},
methods
:{
methods
:{
...
@@ -174,4 +178,9 @@ export default {
...
@@ -174,4 +178,9 @@ export default {
.clearfix
:after
{
.clearfix
:after
{
clear
:
both
clear
:
both
}
}
.messageLabel
>>>
.el-form-item__label
{
/* text-align: left; */
font-weight
:
bold
;
font-size
:
12px
;
}
</
style
>
</
style
>
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