Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
basic-uniapp-v3
概览
概览
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Basic
basic-uniapp-v3
Commits
a2d25102
提交
a2d25102
authored
8月 23, 2023
作者:
陈师旦
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
upd: bottomBar样式修改;新增大风实况
上级
722ce2cd
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
150 行增加
和
7 行删除
+150
-7
fui-theme.css
src/components/FirstUI/fui-theme/fui-theme.css
+1
-1
BottomBar.vue
src/components/Map/Widgets/BottomBar/src/BottomBar.vue
+9
-4
pages.json
src/pages.json
+20
-0
config.ts
src/pages/business/monitor/wind/config.ts
+117
-0
index.vue
src/pages/business/monitor/wind/index.vue
+0
-0
Navigation.ts
src/utils/const/Navigation.ts
+3
-2
没有找到文件。
src/components/FirstUI/fui-theme/fui-theme.css
浏览文件 @
a2d25102
...
...
@@ -8,7 +8,7 @@
/* #ifndef APP-NVUE */
page
{
/* 行为相关颜色 */
--fui-color-primary
:
#
465CFF
;
--fui-color-primary
:
#
1890ff
;
--fui-color-success
:
#09BE4F
;
--fui-color-warning
:
#FFB703
;
--fui-color-danger
:
#FF2B2B
;
...
...
src/components/Map/Widgets/BottomBar/src/BottomBar.vue
浏览文件 @
a2d25102
...
...
@@ -116,11 +116,14 @@
position
:
fixed
;
bottom
:
0
;
left
:
0
;
padding
:
30
rpx
;
width
:
calc
(
100%
-
60
rpx
);
//
padding
:
30
rpx
12
rpx
;
padding
:
10px
12px
;
//
width
:
calc
(
100%
-
60
rpx
);
width
:
100%
;
height
:
v-bind
(
iHeight
);
max-height
:
v-bind
(
iMaxHeight
);
box-shadow
:
0
0
15
rpx
rgba
(
0
,
0
,
0
,
0.1
);
box-sizing
:
border-box
;
&.expand
{
height
:
v-bind
(
iMaxHeight
);
...
...
@@ -133,7 +136,7 @@
.action
{
width
:
100%
;
position
:
relative
;
top
:
-15
rpx
;
//
top
:
-15
rpx
;
font-size
:
24
rpx
;
color
:
#999
;
padding-bottom
:
10
rpx
;
...
...
@@ -155,8 +158,10 @@
}
.content
{
box-sizing
:
border-box
;
width
:
100%
;
height
:
calc
(
100%
-
60
rpx
-
20
rpx
);
//
height
:
calc
(
100%
-
60
rpx
-
20
rpx
);
height
:
100%
;
overflow
:
hidden
;
position
:
relative
;
}
...
...
src/pages.json
浏览文件 @
a2d25102
...
...
@@ -112,6 +112,26 @@
}
}
},
//
大风监测
{
"path"
:
"pages/business/monitor/wind/index"
,
"style"
:
{
"navigationBarTitleText"
:
"大风监测"
,
"enablePullDownRefresh"
:
false
,
"navigationBarBackgroundColor"
:
"#1890FF"
,
"app-plus"
:
{
"titleNView"
:
{
"buttons"
:
[
{
"type"
:
"share"
,
"color"
:
"white"
,
"width"
:
"50px"
}
]
}
}
}
},
//
===
Webview
===
{
"path"
:
"pages/common/webview/index"
,
...
...
src/pages/business/monitor/wind/config.ts
0 → 100644
浏览文件 @
a2d25102
/**
* TODO: 色块图例配置,实际上应该和后端的色斑图,进行动态匹配,可以考虑由后端接口返回
*/
/**
* 小时气温图例配置
*/
export
const
hourTemLegendConfig
=
{
expand
:
false
,
title
:
'单位: °C'
,
option
:
{
items
:
[
{
color
:
'#800000'
,
label
:
'<44'
,
},
{
color
:
'#960000'
,
},
{
color
:
'#AB0001'
,
label
:
'40'
,
},
{
color
:
'#C80100'
,
},
{
color
:
'#E70000'
,
label
:
'36'
,
},
{
color
:
'#FE371B'
,
},
{
color
:
'#FF4B25'
,
label
:
'32'
,
},
{
color
:
'#FF7300'
,
},
{
color
:
'#FF9A02'
,
label
:
'28'
,
},
{
color
:
'#FFC300'
,
},
{
color
:
'#FFE703'
,
label
:
'24'
,
},
{
color
:
'#FFFF04'
,
},
{
color
:
'#F5FF03'
,
label
:
'20'
,
},
{
color
:
'#DEFF00'
,
},
{
color
:
'#C5FF04'
,
label
:
'16'
,
},
{
color
:
'#B5FF00'
,
},
{
color
:
'#98FD0F'
,
label
:
'12'
,
},
{
color
:
'#8AFA2D'
,
},
{
color
:
'#72F806'
,
label
:
'8'
,
},
{
color
:
'#00FF73'
,
},
{
color
:
'#00FF94'
,
label
:
'4'
,
},
{
color
:
'#00FFB4'
,
},
{
color
:
'#00FFD6'
,
label
:
'0'
,
},
{
color
:
'#06FFF7'
,
},
{
color
:
'#00EBFF'
,
label
:
'-4'
,
},
{
color
:
'#00CBFF'
,
},
{
color
:
'#01A6FF'
,
label
:
'-8'
,
},
{
color
:
'#0085FF'
,
},
{
color
:
'#0365FF'
,
label
:
'-12'
,
},
],
},
}
src/pages/business/monitor/wind/index.vue
0 → 100644
浏览文件 @
a2d25102
差异被折叠。
点击展开。
src/utils/const/Navigation.ts
浏览文件 @
a2d25102
...
...
@@ -29,9 +29,10 @@ export const liveModules: NavItemType[] = [
{
label
:
'大风监测'
,
value
:
'wind-m'
,
type
:
'webview'
,
//
type: 'webview',
navigate
:
{
url
:
'https://www.baidu.com'
,
url
:
'/pages/business/monitor/wind/index'
,
// url: 'https://www.baidu.com',
},
},
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论