Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
basic-uniapp-v3
概览
概览
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Basic
basic-uniapp-v3
Commits
db7ad0bf
提交
db7ad0bf
authored
8月 25, 2023
作者:
陈师旦
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
upd: 增加实况表格和bottombar内容
上级
f7872b73
全部展开
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
135 行增加
和
0 行删除
+135
-0
MinMaxBar.vue
src/components/Monitor/MinMaxBar.vue
+59
-0
MonitorTable.vue
src/components/Monitor/MonitorTable.vue
+37
-0
config.ts
src/pages/business/monitor/wind/config.ts
+37
-0
index.vue
src/pages/business/monitor/wind/index.vue
+0
-0
components.d.ts
types/components.d.ts
+2
-0
没有找到文件。
src/components/Monitor/MinMaxBar.vue
0 → 100644
浏览文件 @
db7ad0bf
<
script
setup
lang=
"ts"
>
defineProps
({
minmaxData
:
{
type
:
Array
,
default
:
()
=>
[
{
label
:
'最大'
,
value
:
'0'
},
{
label
:
'最小'
,
value
:
'0'
},
],
},
})
</
script
>
<
template
>
<view
class=
"tipgridwrap"
>
<view
v-for=
"(item, index) in minmaxData"
:key=
"index"
class=
"tipwrap"
style=
"flex-basis: 50%"
>
<view
class=
"tipflex tiptitle"
>
{{
item
.
label
}}
</view>
<view
class=
"tipflex tipcontent"
>
{{
item
.
value
}}
</view>
</view>
</view>
</
template
>
<
style
lang=
"less"
scoped
>
.tipgridwrap
{
padding
:
5px
10px
;
display
:
grid
;
grid-template-columns
:
49%
49%
;
grid-column-gap
:
10px
;
.tipwrap
{
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
height
:
30px
;
margin-top
:
5px
;
border
:
1px
solid
rgb
(
24
144
255
/
20%
);
border-radius
:
5px
;
overflow
:
hidden
;
.tipflex
{
flex-basis
:
50%
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
font-size
:
26
rpx
;
}
.tiptitle
{
height
:
100%
;
background
:
#1890ff
;
color
:
#fff
;
}
.tipcontent
{
height
:
100%
;
background
:
#fff
;
}
}
}
</
style
>
src/components/Monitor/MonitorTable.vue
0 → 100644
浏览文件 @
db7ad0bf
<
script
setup
lang=
"ts"
>
import
{
windheaderData
,
windtableData
}
from
'@/pages/business/monitor/wind/config'
defineProps
({
tableData
:
{
type
:
Array
,
default
:
()
=>
windtableData
,
},
headerData
:
{
type
:
Array
,
default
:
()
=>
windheaderData
,
},
})
</
script
>
<
template
>
<view
@
click=
"clickTest"
class=
"tablewrap"
>
<fui-table
:itemList=
"tableData"
:header=
"headerData"
size=
"24"
textSize=
"24"
color=
"#1890FF"
textColor=
"#666666"
headerBgColor=
"rgba(24,144,255,0.08)"
gap=
"30"
padding=
"14"
borderColor=
"rgba(24,144,255,0.08)"
/>
</view>
</
template
>
<
style
lang=
"less"
scoped
>
.tablewrap
{
margin-top
:
5px
;
}
</
style
>
src/pages/business/monitor/wind/config.ts
浏览文件 @
db7ad0bf
...
...
@@ -115,3 +115,40 @@ export const hourTemLegendConfig = {
],
},
}
export
const
windheaderData
=
[
{
prop
:
'0~3级'
,
label
:
'0~3级'
,
width
:
'136'
,
},
{
prop
:
'4~7级'
,
label
:
'4~7级'
,
width
:
'136'
,
},
{
prop
:
'8~10级'
,
label
:
'8~10级'
,
width
:
'136'
,
},
{
prop
:
'11~14级'
,
label
:
'11~14级'
,
width
:
'136'
,
},
{
prop
:
'15~17级'
,
label
:
'15~17级'
,
width
:
'136'
,
},
]
export
const
windtableData
=
[
{
'0~3级'
:
'0站'
,
'4~7级'
:
'0站'
,
'8~10级'
:
'0站'
,
'11~14级'
:
'0站'
,
'15~17级'
:
'0站'
,
},
]
src/pages/business/monitor/wind/index.vue
浏览文件 @
db7ad0bf
差异被折叠。
点击展开。
types/components.d.ts
浏览文件 @
db7ad0bf
...
...
@@ -141,6 +141,8 @@ declare module 'vue' {
Legend
:
typeof
import
(
'./../src/components/Map/Widgets/Legend/src/Legend.vue'
)[
'default'
]
Mapbox
:
typeof
import
(
'./../src/components/Map/Mapbox/index.vue'
)[
'default'
]
MenuHeader
:
typeof
import
(
'./../src/components/Layout/MenuHeader.vue'
)[
'default'
]
MinMaxBar
:
typeof
import
(
'./../src/components/Monitor/MinMaxBar.vue'
)[
'default'
]
MonitorTable
:
typeof
import
(
'./../src/components/Monitor/MonitorTable.vue'
)[
'default'
]
RouterLink
:
typeof
import
(
'vue-router'
)[
'RouterLink'
]
RouterView
:
typeof
import
(
'vue-router'
)[
'RouterView'
]
Switch
:
typeof
import
(
'./../src/components/Map/Widgets/Switch/src/Switch.vue'
)[
'default'
]
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论