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
704f6e29
Commit
704f6e29
authored
Jan 13, 2024
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
细节优化
parent
9468ff19
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
32 deletions
+38
-32
order.vue
pages/order/order.vue
+38
-32
hot_icon.png
static/hot_icon.png
+0
-0
No files found.
pages/order/order.vue
View file @
704f6e29
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
</view>
</view>
<view
class=
"part-right"
>
<view
class=
"part-right"
>
<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
class=
"status-icon-box"
>
<view
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>
...
@@ -15,21 +15,22 @@
...
@@ -15,21 +15,22 @@
</view>
</view>
</view>
</view>
<view
class=
"part-left"
>
<view
class=
"part-left"
>
<image
:src=
"roomInfo.images.length?roomInfo.images[0]:
'../../static
/blank2.jpg'"
mode=
"widthFix"
>
<image
:src=
"roomInfo.images.length?roomInfo.images[0]:
assetsPath+'
/blank2.jpg'"
mode=
"widthFix"
>
</image>
</image>
</view>
</view>
</view>
</view>
<view
class=
"order-type-box"
>
<view
class=
"tab-box"
>
<view
class=
"tab-box"
>
<view
v-for=
"(item,i) in orderTypeList"
:key=
"i"
class=
"tab-item"
:class=
"
{active:i ===index}"
<view
v-for=
"(item,i) in orderTypeList"
:key=
"i"
class=
"tab-item"
:class=
"
{active:i ===index}"
@tap="onTypeChange(i)">
@tap="onTypeChange(i)">
<text
class=
"text-gray text-xl text-bold"
>
{{
item
.
label
}}
</text>
<text
class=
"text-gray text-xl text-bold"
>
{{
item
.
label
}}
</text>
<view
class=
"line"
>
<view
v-if=
"item.type == 2"
class=
"hot-icon"
>
<view
class=
"img-icon"
>
<image
src=
"../../static/hot_icon.png"
mode=
"widthFix"
></image>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"order-type-box"
>
<view
class=
"flex-col date-content-box"
>
<view
class=
"flex-col date-content-box"
>
<view
class=
"flex-row date-tips"
>
<view
class=
"flex-row date-tips"
>
<text
class=
"text-xl margin-right"
>
选择日期
</text>
<text
class=
"text-xl margin-right"
>
选择日期
</text>
...
@@ -1524,57 +1525,62 @@
...
@@ -1524,57 +1525,62 @@
}
}
}
}
.order-type-box
{
display
:
flex
;
flex-direction
:
column
;
width
:
100%
;
margin-top
:
30
upx
;
min-height
:
600
upx
;
overflow
:
hidden
;
.tab-box
{
.tab-box
{
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
justify-content
:
center
;
justify-content
:
center
;
width
:
100%
;
width
:
92%
;
margin
:
20
upx
0
30
upx
;
background
:
#ffffff
;
background
:
#ffffff
;
border-radius
:
10
upx
;
overflow
:
hidden
;
.tab-item
{
.tab-item
{
position
:
relative
;
position
:
relative
;
display
:
flex
;
display
:
flex
;
flex
:
1
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
height
:
80
upx
;
height
:
80
upx
;
width
:
36%
;
text
{
text
{
color
:
#000000
;
color
:
#000000
;
font-size
:
34
upx
;
font-size
:
34
upx
;
font-weight
:
6
00
;
font-weight
:
7
00
;
}
}
.hot-icon
{
.line
{
position
:
relative
;
height
:
40
upx
;
.img-icon{
position
:
absolute
;
position
:
absolute
;
width
:
30%
;
top
:
-4
upx
;
height
:
2px
;
left
:
4
upx
;
bottom
:
0
;
width
:
46
upx
;
background
:
transparent
;
image{
transition
:
all
0.3s
ease-in-out
;
width
:
100%
;
}
}
}
}
}
}
.active
{
.active
{
background-color
:
#dc4397
;
text
{
text
{
color
:
#DBA556
;
color
:
#ffffff
;
}
font-weight
:
800
;
.line
{
background
:
#DBA556
;
}
}
}
}
}
}
.order-type-box
{
display
:
flex
;
flex-direction
:
column
;
width
:
100%
;
min-height
:
600
upx
;
overflow
:
hidden
;
border
:
4
upx
solid
#DC4397
;
box-shadow
:
0
0
8
upx
#DC4397
;
border-radius
:
12
upx
12
upx
0
0
;
.date-content-box
{
.date-content-box
{
width
:
100%
;
width
:
100%
;
background-color
:
#FFF7F5
;
background-color
:
#FFF7F5
;
...
...
static/hot_icon.png
0 → 100644
View file @
704f6e29
909 Bytes
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