Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
Project
Project
Details
Activity
Releases
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
zhengke
jz_Travel
Commits
a7d2884d
Commit
a7d2884d
authored
Nov 07, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
cdf6d6b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
index.vue
pages/jiuzhai/components/sign/index.vue
+8
-10
No files found.
pages/jiuzhai/components/sign/index.vue
View file @
a7d2884d
...
...
@@ -72,10 +72,10 @@
line == end[0]
&&
index == end[1] ? '#111' : '',
color: line == end[0]
&&
index == end[1] ? '#FFFFFF' : '',
}">
<view
style=
"padding-top: 2px; padding-bottom: 2px;
color:#FF3166"
:style=
"
{'opacity':priceStauts.length>0
&&
priceStauts[line][index].price>0?'1':'0'}"
>
<
!--
{{
item
}}
--
>
{{
priceStauts
.
length
>
0
&&
priceStauts
[
line
][
index
].
price
>
0
?
'¥'
+
priceStauts
[
line
][
index
].
price
:
'-'
}}
<view
style=
"padding-top: 2px; padding-bottom: 2px;
"
>
<text
style=
"color:#FF3166;font-size: 22upx;"
:style=
"
{'opacity':priceStauts[line][index].remainNum>0?'1':'0'}">余:
{{
priceStauts
[
line
][
index
].
remainNum
}}
</text
>
<
template
v-if=
"priceStauts[line][index].price == -1"
>
售罄
</
template
>
<
template
v-if=
"priceStauts[line][index].price == -2"
>
候补
</
template
>
</view>
<!-- <view class="select-style" v-if="line == start[0] && index == start[1]">最早</view>
<view class="select-style" v-if="line == end[0] && index == end[1]">最晚</view> -->
...
...
@@ -84,10 +84,8 @@
<view>
{{item}}
</view>
<view
style=
"color:#FF3166"
:style=
"
{'opacity':priceStauts
[line][index].remainNum>0?'1':'0'}">余:
{{
priceStauts
[
line
][
index
].
remainNum
}}
</view>
<view
style=
"color:#FF3166"
:style=
"{'opacity':priceStauts
.length>0&&priceStauts[line][index].price>0?'1':'0'}"
>
¥{{ priceStauts[line][index].price
}}
</view>
</view>
<view
v-if=
"priceStauts[line][index].price == -1"
>
售罄
</view>
<view
v-if=
"priceStauts[line][index].price == -2"
>
候补
</view>
</view>
</view>
</view>
...
...
@@ -260,7 +258,7 @@
const
query
=
uni
.
createSelectorQuery
().
in
(
this
);
query
.
selectAll
(
'.select-style'
).
boundingClientRect
((
rects
)
=>
{
const
top
=
rects
[
0
].
top
-
(
that
.
scrollHeight
)
-
10
0
const
top
=
rects
[
0
].
top
-
(
that
.
scrollHeight
)
-
2
0
that
.
scrollTop
=
top
>
0
?
top
:
0
}).
exec
();
},
...
...
@@ -720,8 +718,8 @@
}
.section
>
.item
>
.day
>
.day-list
{
margin-top
:
3
0
upx
;
margin-bottom
:
3
0
upx
;
margin-top
:
0
upx
;
margin-bottom
:
0
upx
;
min-height
:
100
upx
;
max-height
:
180
upx
;
display
:
flex
;
...
...
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