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
ad47109d
Commit
ad47109d
authored
Dec 29, 2023
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
细节优化
parent
e7100afa
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
2 deletions
+42
-2
order.vue
pages/order/order.vue
+42
-2
No files found.
pages/order/order.vue
View file @
ad47109d
...
...
@@ -52,7 +52,7 @@
<view
class=
"part-1"
>
<text
class=
"text-title text-lg text-bold"
>
套餐选择:
</text>
</view>
<view
class=
"flex-1 package-box"
>
<
!--
<
view
class=
"flex-1 package-box"
>
<view
v-for=
"(item,index) in packageMode"
v-if=
"index
<
=
3
"
:key=
"index"
class=
"flex-col item"
:class=
"
{active: modeIndex===index,'item-3':packageMode.length
<3
,'
item-n
'
:packageMode
.
length
>
=3}"
@tap="onChangeMode(index)">
...
...
@@ -62,6 +62,25 @@
<text
class=
"text-title text-bold text-xl"
>
{{
item
.
price
}}
</text>
</view>
</view>
</view>
-->
<scroll-view
scroll-x=
"true"
class=
"scroll-view"
>
<view
class=
"flex-row package-box"
>
<view
v-for=
"(item,index) in packageMode"
:key=
"index"
class=
"flex-col item"
:class=
"
{active: modeIndex===index}"
@tap="onChangeMode(index)">
<text
class=
"text-title"
>
{{
item
.
name
}}
</text>
<view
class=
"flex-row"
style=
"margin-top: 8upx;"
>
<text>
{{
item
.
duration
}}
小时/
</text>
<text
>
¥
</text>
<text
class=
"text-title text-bold text-xl"
>
{{
item
.
price
}}
</text>
</view>
</view>
</view>
</scroll-view>
<view
class=
"flex-col tip-box"
>
<text
class=
""
style=
"margin-bottom: 12upx;"
>
套餐说明:
</text>
<text
class=
"text-sm"
>
{{
packageMode
[
modeIndex
].
remark
}}
</text>
</view>
</view>
...
...
@@ -1308,7 +1327,7 @@
.package-box
{
.item
{
margin
:
0
1
.5%
;
margin
:
0
1
0
upx
;
justify-content
:
center
;
align-items
:
center
;
border
:
1px
solid
transparent
;
...
...
@@ -1669,4 +1688,24 @@
}
}
}
.tip-box
{
padding
:
12
upx
;
border
:
4
upx
solid
#DBA556
;
border-radius
:
12
upx
;
margin-top
:
20
upx
;
background
:
#FBF6EE
;
color
:
#B67D32
;
//
font-size
:
24
upx
;
}
.scroll-view
{
height
:
136
upx
;
.package-box{
position
:
absolute
;
top
:
0
;
height
:
136
upx
;
.item{
min-width
:
27vw
;
}
}
}
</
style
>
\ No newline at end of file
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