Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-pad
Project
Project
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
ximai
mes-pad
Commits
e44dc8b8
Commit
e44dc8b8
authored
Mar 25, 2024
by
张海景
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:修改工作单元布局和修改生产、质量图标
parent
2d0cb090
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
9 deletions
+13
-9
index.vue
pages/index/index.vue
+13
-9
pro.png
static/icons/png/pro.png
+0
-0
pro1.png
static/icons/png/pro1.png
+0
-0
qc.png
static/icons/png/qc.png
+0
-0
qc1.png
static/icons/png/qc1.png
+0
-0
No files found.
pages/index/index.vue
View file @
e44dc8b8
...
...
@@ -19,12 +19,16 @@
<view
class=
"station_list"
>
<u-empty
text=
"暂无工作单元"
mode=
"list"
v-if=
"workUnitList.length == 0"
style=
"margin: 0 auto; display: block; height: 360rpx; padding: 100rpx 0"
></u-empty>
<template
v-else
>
<u-card
class=
"station_card"
:show-foot=
"false"
:title=
"'工作单元' + card.workunitCode"
v-for=
"(card, index) in workUnitList"
>
<view
class=
"station_card_text"
slot=
"body"
>
{{
'工作单元名称:'
+
card
.
workunitName
}}
<u-button
type=
"primary"
@
click=
"setWorkUnit(card)"
style=
"margin-top: 30rpx"
>
选择
</u-button>
</view>
</u-card>
<u-row>
<u-col
span=
"3"
v-for=
"(card, index) in workUnitList"
:key=
"index"
>
<u-card
class=
"station_card"
:show-foot=
"false"
:title=
"'工作单元' + card.workunitCode"
>
<view
class=
"station_card_text"
slot=
"body"
>
{{
'工作单元名称:'
+
card
.
workunitName
}}
<u-button
type=
"primary"
@
click=
"setWorkUnit(card)"
style=
"margin-top: 30rpx"
>
选择
</u-button>
</view>
</u-card>
</u-col>
</u-row>
</
template
>
</view>
</u-modal>
...
...
@@ -367,12 +371,12 @@ img {
}
.station_list
{
display
:
flex
;
flex-wrap
:
wrap
;
/*
display: flex;
flex-wrap: wrap;
*/
}
.station_card
{
width
:
250px
;
/* width: 250px; */
height
:
150px
;
}
...
...
static/icons/png/pro.png
View replaced file @
2d0cb090
View file @
e44dc8b8
3.97 KB
|
W:
|
H:
11.2 KB
|
W:
|
H:
2-up
Swipe
Onion skin
static/icons/png/pro1.png
0 → 100644
View file @
e44dc8b8
3.97 KB
static/icons/png/qc.png
View replaced file @
2d0cb090
View file @
e44dc8b8
2.83 KB
|
W:
|
H:
6.97 KB
|
W:
|
H:
2-up
Swipe
Onion skin
static/icons/png/qc1.png
0 → 100644
View file @
e44dc8b8
2.83 KB
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