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
6e7fe225
Commit
6e7fe225
authored
Jan 03, 2024
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
细节优化
parent
1fa9916b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
index.vue
pages/index/index.vue
+5
-7
No files found.
pages/index/index.vue
View file @
6e7fe225
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
</view>
</view>
<view
class=
"flex-row list-point-box"
>
<view
class=
"flex-row list-point-box"
>
<view
v-for=
"(val,k) in list"
:key=
"k"
class=
"flex-1 flex-col"
>
<view
v-for=
"(val,k) in list"
:key=
"k"
class=
"flex-1 flex-col"
>
<view
class=
"box"
:class=
"objListDate.length
&&
objListDate[index][k].status==1?'bg-pink':'bg-gray'"
>
<view
class=
"box"
:class=
"objListDate.length
&&
objListDate[index][k].status==1?'bg-pink':'bg-gray'"
>
</view>
</view>
<text
class=
"text-gray text-sm"
>
{{
val
>=
24
?
val
-
24
:
val
}}
</text>
<text
class=
"text-gray text-sm"
>
{{
val
>=
24
?
val
-
24
:
val
}}
</text>
...
@@ -215,6 +215,7 @@
...
@@ -215,6 +215,7 @@
timer
:
null
,
timer
:
null
,
roomVoList
:[],
roomVoList
:[],
list
,
list
,
listDate
:[],
objListDate
:[]
objListDate
:[]
}
}
},
},
...
@@ -304,8 +305,6 @@
...
@@ -304,8 +305,6 @@
images
:
item
.
images
?
item
.
images
.
split
(
","
).
map
(
val
=>
this
.
hostUrl
+
val
)
:
[]
images
:
item
.
images
?
item
.
images
.
split
(
","
).
map
(
val
=>
this
.
hostUrl
+
val
)
:
[]
}
}
})
})
console
.
log
(
that
.
roomVoList
,
"that.roomVoList"
)
that
.
onGetSortDistance
(
0
);
that
.
onGetSortDistance
(
0
);
}
}
}
}
...
@@ -319,14 +318,14 @@
...
@@ -319,14 +318,14 @@
orderType
:
1
orderType
:
1
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
&&
i
<=
this
.
roomVoList
.
length
-
1
){
if
(
res
.
data
.
code
==
200
&&
i
<=
this
.
roomVoList
.
length
-
1
){
this
.
objL
istDate
[
i
]
=
res
.
data
.
data
;
this
.
l
istDate
[
i
]
=
res
.
data
.
data
;
i
+=
1
i
+=
1
if
(
i
>=
this
.
roomVoList
.
length
){
if
(
i
>=
this
.
roomVoList
.
length
){
this
.
objListDate
=
this
.
objL
istDate
.
map
(
item
=>
{
this
.
listDate
=
this
.
l
istDate
.
map
(
item
=>
{
return
this
.
list
.
map
(
val
=>
item
[
val
])
return
this
.
list
.
map
(
val
=>
item
[
val
])
})
})
console
.
log
(
this
.
objListDate
,
"this.objListDate"
)
this
.
objListDate
=
this
.
listDate
;
}
else
{
}
else
{
this
.
onGetSortDistance
(
i
)
this
.
onGetSortDistance
(
i
)
}
}
...
@@ -408,7 +407,6 @@
...
@@ -408,7 +407,6 @@
uni
.
openSetting
({
uni
.
openSetting
({
scope
:
"scope.userLocation"
,
scope
:
"scope.userLocation"
,
complete
:
(
res
)
=>
{
complete
:
(
res
)
=>
{
console
.
log
(
res
,
909090
)
if
(
res
.
authSetting
[
'scope.userLocation'
]){
if
(
res
.
authSetting
[
'scope.userLocation'
]){
this
.
onClose
();
this
.
onClose
();
this
.
onLoading
()
this
.
onLoading
()
...
...
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