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
3174b192
Commit
3174b192
authored
Mar 03, 2024
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
dffa6666
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
14 deletions
+22
-14
order.vue
pages/order/order.vue
+22
-14
No files found.
pages/order/order.vue
View file @
3174b192
...
@@ -8,7 +8,15 @@
...
@@ -8,7 +8,15 @@
<text
<text
class=
"text-title text-xl text-bold"
>
{{
roomInfo
.
name
||
'凑角'
}}{{
roomInfo
.
roomType
?
'【'
+
roomTypeEnum
[
roomInfo
.
roomType
]
+
'】'
:
''
}}
</text>
class=
"text-title text-xl text-bold"
>
{{
roomInfo
.
name
||
'凑角'
}}{{
roomInfo
.
roomType
?
'【'
+
roomTypeEnum
[
roomInfo
.
roomType
]
+
'】'
:
''
}}
</text>
<view
v-if=
"roomInfo.isDirtyRoom >=1"
class=
"status-icon-box"
>
<view
v-if=
"roomInfo.roomStat >= 3"
class=
"status-icon-box"
>
<view
class=
"status-box"
:class=
"'status-box-1'"
>
<text>
维护中
</text>
</view>
<image
class=
"img"
:src=
"assetsPath+'/fa_icon_1.png'"
mode=
"widthFix"
></image>
</view>
<view
v-else-if=
"roomInfo.isDirtyRoom >=1"
class=
"status-icon-box"
>
<view
class=
"status-box"
:class=
"'status-box-1'"
>
<view
class=
"status-box"
:class=
"'status-box-1'"
>
<text>
未保洁
</text>
<text>
未保洁
</text>
</view>
</view>
...
@@ -610,12 +618,12 @@
...
@@ -610,12 +618,12 @@
this
.
orderTypeList
=
this
.
orderTypeList
.
filter
(
item
=>
item
.
type
==
1
)
this
.
orderTypeList
=
this
.
orderTypeList
.
filter
(
item
=>
item
.
type
==
1
)
}
}
if
(
this
.
roomInfo
.
isDirtyRoom
>=
1
){
//
if(this.roomInfo.isDirtyRoom >=1){
uni
.
showToast
({
//
uni.showToast({
icon
:
"none"
,
//
icon:"none",
title
:
'当前房间未保洁,无法预定,请选择其他房间'
//
title:'当前房间未保洁,无法预定,请选择其他房间'
})
//
})
}
//
}
this
.
onGetSortDistance
()
this
.
onGetSortDistance
()
}
}
...
@@ -1147,13 +1155,13 @@
...
@@ -1147,13 +1155,13 @@
})
})
return
;
return
;
}
}
if
(
this
.
roomInfo
.
isDirtyRoom
>=
1
){
//
if(this.roomInfo.isDirtyRoom >=1){
uni
.
showToast
({
//
uni.showToast({
icon
:
"none"
,
//
icon:"none",
title
:
'当前房间未保洁,无法预定,请选择其他房间'
//
title:'当前房间未保洁,无法预定,请选择其他房间'
})
//
})
return
;
//
return;
}
//
}
let
nowDate
=
moment
().
format
(
"MMDD"
)
let
nowDate
=
moment
().
format
(
"MMDD"
)
...
...
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