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
e30975ac
Commit
e30975ac
authored
Nov 23, 2023
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页和订单页面修改
parent
823765af
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
37 deletions
+24
-37
index.vue
pages/index/index.vue
+24
-37
order.vue
pages/order/order.vue
+0
-0
No files found.
pages/index/index.vue
View file @
e30975ac
...
...
@@ -33,8 +33,8 @@
</view>
</view>
<view
class=
"flex-row part-right"
>
<image
:src=
"assetsPath +'/map_icon.png'"
mode=
"
heightFix
"
@
tap=
"onNavToMap"
></image>
<image
:src=
"assetsPath +'/phone_icon.png'"
mode=
"
heightFix
"
@
tap=
"onOpenTelphone"
>
<image
:src=
"assetsPath +'/map_icon.png'"
mode=
"
scaleToFill
"
@
tap=
"onNavToMap"
></image>
<image
:src=
"assetsPath +'/phone_icon.png'"
mode=
"
scaleToFill
"
@
tap=
"onOpenTelphone"
>
</image>
</view>
</view>
...
...
@@ -269,18 +269,17 @@
},
onGetDicts
()
{
let
dicts
=
[]
if
(
uni
.
getStorageSync
(
'dicts'
))
{
dicts
=
JSON
.
parse
(
uni
.
getStorageSync
(
'dicts'
))
this
.
facilitieList
=
getDictItem
(
dicts
,
"indoor_facilities"
);
this
.
onLoading
()
}
else
{
//
if (uni.getStorageSync('dicts')) {
//
dicts = JSON.parse(uni.getStorageSync('dicts'))
//
this.facilitieList = getDictItem(dicts, "indoor_facilities");
//
this.onLoading()
//
} else {
dictList
().
then
(
res
=>
{
dicts
=
res
.
data
.
data
;
uni
.
setStorageSync
(
'dicts'
,
JSON
.
stringify
(
res
.
data
.
data
))
this
.
facilitieList
=
getDictItem
(
dicts
,
"indoor_facilities"
);
this
.
onLoading
()
})
}
//
}
},
onCheckUserLogin
(){
wx
.
login
({
...
...
@@ -318,7 +317,6 @@
uni
.
getLocation
({
type
:
"gcj02"
,
complete
:
(
res
)
=>
{
console
.
log
(
res
,
909090
)
if
(
res
.
errMsg
==
'getLocation:ok'
){
this
.
latitude
=
res
.
latitude
;
this
.
longitude
=
res
.
longitude
;
...
...
@@ -345,6 +343,7 @@
nowLongitude
:
this
.
longitude
||
''
}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
&&
res
.
data
.
data
.
length
)
{
uni
.
hideLoading
()
this
.
storeList
=
res
.
data
.
data
;
let
obj
=
{}
obj
=
res
.
data
.
data
[
0
];
...
...
@@ -360,7 +359,6 @@
}
})
}
uni
.
hideLoading
()
}
})
},
...
...
@@ -617,10 +615,10 @@
margin-right
:
12
upx
;
height
:
100%
;
image
{
height
:
70%
;
margin
:
0
12
upx
;
max-width
:
100
upx
;
width
:
38px
;
height
:
38px
;
border-radius
:
50%
;
margin
:
0
15
upx
;
}
}
}
...
...
@@ -683,18 +681,6 @@
border
:
2
upx
solid
#DBA556
;
.part-top
{
position
:
relative
;
width
:
620
upx
;
height
:
300
upx
;
z-index
:
10
;
background-color
:
#FFFFFF
;
border-radius
:
36
upx
36
upx
36
upx
36
upx
;
box-shadow
:
0
0
4
upx
rgba
(
0
,
0
,
0
,
0.3
);
overflow
:
hidden
;
.room-img
{
height
:
100%
;
border-radius
:
36
upx
36
upx
36
upx
36
upx
;
}
.part-top-content
{
.flex-between
{
padding
:
12
upx
4
upx
;
...
...
@@ -855,17 +841,17 @@
padding
:
20
upx
0
;
//
容器
.part-top{
position
:
initial
;
width
:
260
rpx
!important
;
height
:
220
rpx
!important
;
z-index
:
10
;
background-color
:
#FFFFFF
;
border-radius
:
12
rpx
!important
;
box-shadow
:
0
!important
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
width
:
260
rpx
;
height
:
280
upx
;
overflow
:
hidden
;
.room-img{
height
:
100%
;
border-radius
:
0
!important
;
max-height
:
240
upx
;
border-radius
:
12
rpx
!important
;
}
}
.part-bottom
{
...
...
@@ -890,10 +876,11 @@
}
//
标签
.facilitie-box
{
padding
:
20
rpx
0
16
rpx
0
!important
;
padding
:
8
rpx
0
;
.bg-brown{
color
:
#c98d35
;
background-color
:
#f8eddd
;
margin
:
8
upx
;
}
}
//
价格
...
...
@@ -972,7 +959,7 @@
justify-content
:
center
;
align-items
:
center
;
height
:
100%
;
padding
:
10
upx
;
padding
:
8
upx
;
background
:
#fc3f21
;
text{
color
:
#ffffff
;
...
...
@@ -983,7 +970,7 @@
justify-content
:
center
;
align-items
:
center
;
height
:
100%
;
padding
:
10
upx
;
padding
:
8
upx
;
border-right
:
2
upx
solid
#fc3f21
;
}
.part-3
{
...
...
@@ -991,7 +978,7 @@
justify-content
:
center
;
align-items
:
center
;
height
:
100%
;
padding
:
10
upx
;
padding
:
8
upx
;
}
text
{
font-size
:
25
upx
;
...
...
pages/order/order.vue
View file @
e30975ac
This diff is collapsed.
Click to expand it.
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