Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_wechat
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
pseer
gxpt_wechat
Commits
ead25fbb
Commit
ead25fbb
authored
Mar 12, 2024
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
细节优化
parent
e41d68c1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
2 deletions
+26
-2
index.vue
pages/index/index.vue
+16
-1
order.vue
pages/order/order.vue
+10
-1
No files found.
pages/index/index.vue
View file @
ead25fbb
...
@@ -69,6 +69,11 @@
...
@@ -69,6 +69,11 @@
<view
class=
'cu-tag radius line-red'
v-else-if=
"item.isDirtyRoom >= 1"
>
<view
class=
'cu-tag radius line-red'
v-else-if=
"item.isDirtyRoom >= 1"
>
未保洁
未保洁
</view>
</view>
<view
v-else-if=
"item.recordsStatus>=0"
class=
"cu-tag radius line-red"
>
{{
recordsStatusEnum
[
item
.
recordsStatus
]
}}
</view>
<view
v-else
class=
'cu-tag radius'
<view
v-else
class=
'cu-tag radius'
:class=
"item.status==0?'line-green':item.status==1?'line-orange':'line-blue'"
>
:class=
"item.status==0?'line-green':item.status==1?'line-orange':'line-blue'"
>
{{
roomStatusEnum
[
item
.
status
]
}}
</view>
{{
roomStatusEnum
[
item
.
status
]
}}
</view>
...
@@ -204,6 +209,10 @@
...
@@ -204,6 +209,10 @@
url
:
this
.
assetsPath
+
"/power.png"
url
:
this
.
assetsPath
+
"/power.png"
},
},
],
],
recordsStatusEnum
:{
0
:
"待保洁"
,
1
:
"保洁中"
},
options
:
[{
options
:
[{
value
:
'4'
,
value
:
'4'
,
label
:
"4小时"
label
:
"4小时"
...
@@ -1122,7 +1131,13 @@
...
@@ -1122,7 +1131,13 @@
.list-point-box
{
.list-point-box
{
width
:
100%
;
width
:
100%
;
margin-bottom
:
20
upx
;
margin-bottom
:
20
upx
;
.bg-pink{
background-color
:
rgba
(
0
,
0
,
0
,
0.2
);
box-shadow
:
0
0
3px
rgba
(
0
,
0
,
0
,
0.26
)
inset
;
}
//
.bg-gray
{
//
background-color
:
rgba
(
255
,
255
,
255
,
0.9
);
//
}
.flex-col
{
.flex-col
{
align-items
:
center
;
align-items
:
center
;
}
}
...
...
pages/order/order.vue
View file @
ead25fbb
...
@@ -23,6 +23,12 @@
...
@@ -23,6 +23,12 @@
<image
class=
"img"
:src=
"assetsPath+'/fa_icon_1.png'"
mode=
"widthFix"
></image>
<image
class=
"img"
:src=
"assetsPath+'/fa_icon_1.png'"
mode=
"widthFix"
></image>
</view>
</view>
<view
v-else-if=
"roomInfo.recordsStatus>=0"
class=
"status-icon-box"
>
<view
class=
"status-box"
:class=
"'status-box-1'"
>
<text>
{{
recordsStatusEnum
[
roomInfo
.
recordsStatus
]
}}
</text>
</view>
<image
class=
"img"
:src=
"assetsPath+'/fa_icon_1.png'"
mode=
"widthFix"
></image>
</view>
<view
v-else
class=
"status-icon-box"
>
<view
v-else
class=
"status-icon-box"
>
<view
class=
"status-box"
:class=
"'status-box-'+roomInfo.status"
>
<view
class=
"status-box"
:class=
"'status-box-'+roomInfo.status"
>
<text>
{{
roomStatusEnum
[
roomInfo
.
status
]
}}
</text>
<text>
{{
roomStatusEnum
[
roomInfo
.
status
]
}}
</text>
...
@@ -487,7 +493,10 @@
...
@@ -487,7 +493,10 @@
endHours
:
48
,
endHours
:
48
,
content
:
''
,
content
:
''
,
toDayDate
:
''
,
// 今天日期
toDayDate
:
''
,
// 今天日期
recordsStatusEnum
:{
0
:
"待保洁"
,
1
:
"保洁中"
}
};
};
},
},
filters
:
{
filters
:
{
...
...
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