Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
H
h5
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
iuav
h5
Commits
52a22ce6
提交
52a22ce6
authored
7月 18, 2023
作者:
ZhangLingKun
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复:地图样式问题修复
上级
1049158e
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
145 行增加
和
139 行删除
+145
-139
index.vue
src/pages/index/comp/network-list/index.vue
+3
-1
index.vue
src/pages/index/comp/network-select/index.vue
+3
-1
index.vue
src/pages/index/index.vue
+139
-137
没有找到文件。
src/pages/index/comp/network-list/index.vue
浏览文件 @
52a22ce6
...
@@ -75,7 +75,9 @@ onMounted(() => {
...
@@ -75,7 +75,9 @@ onMounted(() => {
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.network-list
{
.network-list
{
.list-view
{
.list-view
{
position
:
relative
;
position
:
fixed
;
top
:
calc
(
100vh
-
704
rpx
+
110
rpx
);
left
:
0
;
width
:
100%
;
width
:
100%
;
//
height
:
calc
(
100vh
-
156
rpx
-
110
rpx
-
(
100vh
-
504
rpx
));
//
height
:
calc
(
100vh
-
156
rpx
-
110
rpx
-
(
100vh
-
504
rpx
));
height
:
calc
(
100vh
-
156
rpx
-
110
rpx
-
(
100vh
-
704
rpx
));
height
:
calc
(
100vh
-
156
rpx
-
110
rpx
-
(
100vh
-
704
rpx
));
...
...
src/pages/index/comp/network-select/index.vue
浏览文件 @
52a22ce6
...
@@ -29,7 +29,9 @@ onMounted(() => {
...
@@ -29,7 +29,9 @@ onMounted(() => {
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.network-select
{
.network-select
{
position
:
relative
;
position
:
fixed
;
top
:
calc
(
100vh
-
704
rpx
);
left
:
0
;
width
:
100%
;
width
:
100%
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
...
src/pages/index/index.vue
浏览文件 @
52a22ce6
...
@@ -36,10 +36,10 @@
...
@@ -36,10 +36,10 @@
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
CommonAPI
}
from
'@/api'
import
NetworkSelect
from
'./comp/network-select/index.vue'
import
NetworkSelect
from
'./comp/network-select/index.vue'
import
NetworkList
from
'./comp/network-list/index.vue'
import
NetworkList
from
'./comp/network-list/index.vue'
import
NetworkFooter
from
'./comp/network-footer/index.vue'
import
NetworkFooter
from
'./comp/network-footer/index.vue'
import
{
CommonAPI
}
from
'@/api'
export
default
{
export
default
{
components
:
{
components
:
{
...
@@ -108,142 +108,6 @@ export default {
...
@@ -108,142 +108,6 @@ export default {
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
.network-map-warp
{
height
:
100%
;
position
:
relative
;
.map-content
{
//
height
:
calc
(
100vh
-
504
rpx
);
height
:
calc
(
100vh
-
704
rpx
);
width
:
100%
;
position
:
relative
;
z-index
:
10
;
}
.network-total
{
z-index
:
20
;
position
:
fixed
;
top
:
20
rpx
;
left
:
16
rpx
;
//
width
:
244
rpx
;
width
:
204
rpx
;
height
:
46
rpx
;
background
:
#ffffff
;
border-radius
:
23
rpx
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
font-size
:
22
rpx
;
font-weight
:
400
;
color
:
#474747
;
line-height
:
46
rpx
;
box-shadow
:
4
rpx
8
rpx
12
rpx
0
rgba
(
135
,
135
,
135
,
0.17
);
.icon
{
width
:
20
rpx
;
height
:
20
rpx
;
margin-right
:
6
rpx
;
}
}
.network-location
{
position
:
fixed
;
bottom
:
804
rpx
;
left
:
24
rpx
;
width
:
60
rpx
;
height
:
60
rpx
;
background
:
#ffffff
;
border-radius
:
8
rpx
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
z-index
:
20
;
box-shadow
:
4
rpx
8
rpx
12
rpx
0
rgba
(
135
,
135
,
135
,
0.17
);
}
.network-location
:active
{
filter
:
brightness
(
0.86
);
}
.network-type
{
position
:
fixed
;
bottom
:
730
rpx
;
left
:
0
;
width
:
100%
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-around
;
z-index
:
20
;
.type-item
{
width
:
160
rpx
;
height
:
48
rpx
;
background
:
#ffffff
;
border-radius
:
16
rpx
;
text-align
:
center
;
line-height
:
48
rpx
;
font-size
:
24
rpx
;
font-weight
:
400
;
color
:
#ff5b2d
;
box-shadow
:
4
rpx
8
rpx
12
rpx
0
rgba
(
135
,
135
,
135
,
0.17
);
}
.item-active
{
background
:
#ff5b2d
;
color
:
#ffffff
;
}
.type-item
:active
{
filter
:
brightness
(
0.86
);
}
}
.network-none
{
font-size
:
22
rpx
;
font-weight
:
400
;
color
:
#28292b
;
opacity
:
0.68
;
text-align
:
center
;
margin
:
150
rpx
auto
;
}
}
::v-deep
{
//高德地图-logo隐藏
.amap-logo
{
display
:
none
;
opacity
:
0
!important
;
}
//
高德地图
-
版权隐藏
.amap-copyright
{
opacity
:
0
;
}
.map-open-info
{
width
:
60vw
;
position
:
relative
;
.park-name
{
font-size
:
30
rpx
;
font-weight
:
bold
;
}
.content
,
.position
,
.person
,
.phone
{
font-size
:
28
rpx
;
line-height
:
44
rpx
;
}
.button
{
font-size
:
26
rpx
;
font-weight
:
500
;
color
:
#1980ff
;
padding
:
15
rpx
15
rpx
;
background
:
#f3faff
;
border-radius
:
8
rpx
;
position
:
absolute
;
right
:
-15
rpx
;
bottom
:
0
rpx
;
cursor
:
pointer
;
}
}
}
</
style
>
<
script
module=
"ModuleInstance"
lang=
"renderjs"
>
<
script
module=
"ModuleInstance"
lang=
"renderjs"
>
/* eslint-disable */
/* eslint-disable */
export
default
{
export
default
{
...
@@ -391,3 +255,141 @@ export default {
...
@@ -391,3 +255,141 @@ export default {
},
},
};
};
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
.network-map-warp
{
height
:
100%
;
position
:
relative
;
.map-content
{
//
height
:
calc
(
100vh
-
504
rpx
);
height
:
calc
(
100vh
-
704
rpx
);
width
:
100%
;
z-index
:
10
;
position
:
fixed
;
top
:
0
;
left
:
0
;
}
.network-total
{
z-index
:
20
;
position
:
fixed
;
top
:
20
rpx
;
left
:
16
rpx
;
//
width
:
244
rpx
;
width
:
204
rpx
;
height
:
46
rpx
;
background
:
#ffffff
;
border-radius
:
23
rpx
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
font-size
:
22
rpx
;
font-weight
:
400
;
color
:
#474747
;
line-height
:
46
rpx
;
box-shadow
:
4
rpx
8
rpx
12
rpx
0
rgba
(
135
,
135
,
135
,
0.17
);
.icon
{
width
:
20
rpx
;
height
:
20
rpx
;
margin-right
:
6
rpx
;
}
}
.network-location
{
position
:
fixed
;
bottom
:
804
rpx
;
left
:
24
rpx
;
width
:
60
rpx
;
height
:
60
rpx
;
background
:
#ffffff
;
border-radius
:
8
rpx
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
z-index
:
20
;
box-shadow
:
4
rpx
8
rpx
12
rpx
0
rgba
(
135
,
135
,
135
,
0.17
);
}
.network-location
:active
{
filter
:
brightness
(
0.86
);
}
.network-type
{
position
:
fixed
;
bottom
:
730
rpx
;
left
:
0
;
width
:
100%
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-around
;
z-index
:
20
;
.type-item
{
width
:
160
rpx
;
height
:
48
rpx
;
background
:
#ffffff
;
border-radius
:
16
rpx
;
text-align
:
center
;
line-height
:
48
rpx
;
font-size
:
24
rpx
;
font-weight
:
400
;
color
:
#ff5b2d
;
box-shadow
:
4
rpx
8
rpx
12
rpx
0
rgba
(
135
,
135
,
135
,
0.17
);
}
.item-active
{
background
:
#ff5b2d
;
color
:
#ffffff
;
}
.type-item
:active
{
filter
:
brightness
(
0.86
);
}
}
.network-none
{
font-size
:
22
rpx
;
font-weight
:
400
;
color
:
#28292b
;
opacity
:
0.68
;
text-align
:
center
;
margin
:
150
rpx
auto
;
}
}
::v-deep
{
//高德地图-logo隐藏
.amap-logo
{
display
:
none
;
opacity
:
0
!important
;
}
//
高德地图
-
版权隐藏
.amap-copyright
{
opacity
:
0
;
}
.map-open-info
{
width
:
60vw
;
position
:
relative
;
.park-name
{
font-size
:
30
rpx
;
font-weight
:
bold
;
}
.content
,
.position
,
.person
,
.phone
{
font-size
:
28
rpx
;
line-height
:
44
rpx
;
}
.button
{
font-size
:
26
rpx
;
font-weight
:
500
;
color
:
#1980ff
;
padding
:
15
rpx
15
rpx
;
background
:
#f3faff
;
border-radius
:
8
rpx
;
position
:
absolute
;
right
:
-15
rpx
;
bottom
:
0
rpx
;
cursor
:
pointer
;
}
}
}
</
style
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论