Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
basic-uniapp-v3
概览
概览
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Basic
basic-uniapp-v3
Commits
f7872b73
提交
f7872b73
authored
8月 25, 2023
作者:
陈师旦
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
upd: BottomBar 改为 border-box 宽高不再计算padding;首页颜色修复;
上级
a2d25102
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
17 行增加
和
10 行删除
+17
-10
.env.development
.env.development
+1
-1
.env.production
.env.production
+1
-1
Grid.vue
src/components/Layout/Grid.vue
+1
-1
BottomBar.vue
src/components/Map/Widgets/BottomBar/src/BottomBar.vue
+1
-1
Legend.vue
src/components/Map/Widgets/Legend/src/Legend.vue
+1
-1
ToolBox.vue
src/components/Map/Widgets/ToolBox/src/ToolBox.vue
+2
-1
index.vue
src/pages/business/monitor/tem/index.vue
+3
-2
header.vue
src/pages/home/modules/header.vue
+7
-2
没有找到文件。
.env.development
浏览文件 @
f7872b73
# API 接口地址
VITE_GLOB_API_URL=http://
192.168.0.156:8081
VITE_GLOB_API_URL=http://
qks.straw.yiring.com:40051/tbm/api
# API 接口地址前缀
VITE_GLOB_API_URL_PREFIX=/api
...
...
.env.production
浏览文件 @
f7872b73
# API 接口地址
VITE_GLOB_API_URL=http://
localhost:8080
VITE_GLOB_API_URL=http://
qks.straw.yiring.com:40051/tbm/api
# API 接口地址前缀
VITE_GLOB_API_URL_PREFIX=/api
...
...
src/components/Layout/Grid.vue
浏览文件 @
f7872b73
...
...
@@ -19,7 +19,7 @@
// const getColor = (type: string) => colors[type]
function
goRoute
(
item
:
NavItemType
)
{
if
(
!
item
?.
navigate
?.
url
)
{
Message
.
alert
(
'
模块开发
中,敬请期待!'
,
''
)
Message
.
alert
(
'
版块升级
中,敬请期待!'
,
''
)
return
}
...
...
src/components/Map/Widgets/BottomBar/src/BottomBar.vue
浏览文件 @
f7872b73
...
...
@@ -73,7 +73,7 @@
toggleShow
,
toggleExpand
,
// TODO: 此处高度还需考虑底部安全区
height
:
computed
(()
=>
(
data
.
show
?
`
${(
data
.
expand
?
data
.
maxHeight
:
data
.
height
)
+
6
0
}
rpx`
:
'1rpx'
)),
height
:
computed
(()
=>
(
data
.
show
?
`
${(
data
.
expand
?
data
.
maxHeight
:
data
.
height
)
+
3
0
}
rpx`
:
'1rpx'
)),
})
</
script
>
...
...
src/components/Map/Widgets/Legend/src/Legend.vue
浏览文件 @
f7872b73
...
...
@@ -38,7 +38,7 @@
// 定义复用渲染组件
const
[
DefineTemplate
,
ReuseTemplate
]
=
createReusableTemplate
<
{
item
:
Recordable
;
sub
?:
boolean
}
>
()
const
positionBottom
=
computed
(()
=>
`calc(
30rpx +
${
data
.
bottom
}
)`
)
const
positionBottom
=
computed
(()
=>
`calc(
${
data
.
bottom
}
)`
)
const
data
=
reactive
({
show
:
props
.
show
,
expand
:
props
.
expand
,
...
...
src/components/Map/Widgets/ToolBox/src/ToolBox.vue
浏览文件 @
f7872b73
...
...
@@ -48,7 +48,8 @@
const
[
DefineTemplate
,
ReuseTemplate
]
=
createReusableTemplate
<
{
items
:
ToolBoxButton
[]
}
>
()
const
positionTop
=
computed
(()
=>
`calc(125rpx +
${
data
.
top
}
)`
)
const
height
=
computed
(()
=>
`calc(30rpx +
${
data
.
bottomPadding
}
+
${
data
.
bottom
}
)`
)
// BottomBar 改为 border-box 宽高不再计算padding
const
height
=
computed
(()
=>
`calc(
${
data
.
bottomPadding
}
+
${
data
.
bottom
}
)`
)
const
data
=
reactive
({
show
:
props
.
show
,
expand
:
props
.
expand
,
...
...
src/pages/business/monitor/tem/index.vue
浏览文件 @
f7872b73
...
...
@@ -163,7 +163,8 @@
],
handle
:
()
=>
{},
},
{
// todo 初始版本先定为湖南省
/* {
name: '区域',
icon: '/static/icons/toolbox/location.png',
type: 'select',
...
...
@@ -184,7 +185,7 @@
},
],
handle: () => {},
},
},
*/
{
name
:
'站点'
,
icon
:
'/static/icons/toolbox/station.png'
,
...
...
src/pages/home/modules/header.vue
浏览文件 @
f7872b73
...
...
@@ -9,7 +9,10 @@
</
script
>
<
template
>
<view
class=
"text-c0 bg-cover h-362 pos-relative p-4 pt-13 pb-0"
:style=
"`background-image: url($
{path})`">
<view
class=
"text-c0 bg-cover h-362 pos-relative p-4 pt-13 pb-0 color-white"
:style=
"`background-image: url($
{path})`"
>
<fui-row>
<!-- 定位 -->
<fui-col
:span=
"12"
>
...
...
@@ -22,7 +25,9 @@
<fui-col
:span=
"12"
>
<view
class=
"flex flex-justify-end b-rd-0.7 text-24 lh-7 h-56"
>
<view
class=
"pl-3 pr-4 inline-block pr-2 bg-[#f6f7fb] b-rd-l-0.7 bg-[#FF9A03]"
>
暴雨
</view>
<view
class=
"pos-relative pr-1.3 pl-2 inline-block bg-[#fff] text-c2 font-650 b-rd-r-0.7 triangle"
>
<view
class=
"pos-relative pr-1.3 pl-2 inline-block bg-[#fff] text-c2 font-650 b-rd-r-0.7 triangle color-[#333333]"
>
|| 响应
</view>
</view>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论