Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_54239399
hello-uniapp
提交
910af899
H
hello-uniapp
项目概览
weixin_54239399
/
hello-uniapp
与 Fork 源项目一致
从无法访问的项目Fork
通知
4
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
H
hello-uniapp
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
910af899
编写于
11月 13, 2020
作者:
inkwalk
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
c78837c0
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
35 addition
and
37 deletion
+35
-37
pages.json
pages.json
+6
-7
windows/left-window.vue
windows/left-window.vue
+21
-19
windows/top-window.vue
windows/top-window.vue
+8
-11
未找到文件。
pages.json
浏览文件 @
910af899
...
@@ -1196,21 +1196,20 @@
...
@@ -1196,21 +1196,20 @@
"globalStyle"
:
{
"globalStyle"
:
{
"pageOrientation"
:
"portrait"
,
"pageOrientation"
:
"portrait"
,
"navigationBarTitleText"
:
"Hello uniapp"
,
"navigationBarTitleText"
:
"Hello uniapp"
,
//
#ifndef
H
5
"navigationBarTextStyle"
:
"white"
,
"navigationBarTextStyle"
:
"white"
,
"navigationBarBackgroundColor"
:
"#007AFF"
,
"navigationBarBackgroundColor"
:
"#007AFF"
,
//
#endif
//
#ifdef
H
5
"navigationBarTextStyle"
:
"black"
,
"navigationBarBackgroundColor"
:
"#F1F1F1"
,
//
#endif
"backgroundColor"
:
"#F8F8F8"
,
"backgroundColor"
:
"#F8F8F8"
,
"backgroundColorTop"
:
"#F4F5F6"
,
"backgroundColorTop"
:
"#F4F5F6"
,
"backgroundColorBottom"
:
"#F4F5F6"
,
"backgroundColorBottom"
:
"#F4F5F6"
,
"mp-360"
:
{
"mp-360"
:
{
"navigationStyle"
:
"custom"
"navigationStyle"
:
"custom"
},
},
"maxWidth"
:
1190
"h5"
:
{
"maxWidth"
:
1190
,
"navigationBarTextStyle"
:
"black"
,
"navigationBarBackgroundColor"
:
"#F1F1F1"
}
},
},
"tabBar"
:
{
"tabBar"
:
{
"color"
:
"#7A7E83"
,
"color"
:
"#7A7E83"
,
...
...
windows/left-window.vue
浏览文件 @
910af899
...
@@ -51,26 +51,28 @@
...
@@ -51,26 +51,28 @@
},
},
$route
:
{
$route
:
{
immediate
:
true
,
immediate
:
true
,
handler
(
newRoute
)
{
handler
(
newRoute
)
{
if
(
newRoute
.
path
===
'
/
'
)
{
if
(
this
.
matchLeftWindow
)
{
uni
.
redirectTo
({
if
(
newRoute
.
path
===
'
/
'
)
{
url
:
'
pages/component/view/view
'
uni
.
redirectTo
({
})
url
:
'
pages/component/view/view
'
}
else
if
(
!
newRoute
.
matched
.
length
)
{
})
uni
.
redirectTo
({
}
else
if
(
!
newRoute
.
matched
.
length
)
{
url
:
'
pages/error/404
'
uni
.
redirectTo
({
})
url
:
'
pages/error/404
'
}
else
{
})
let
active
=
newRoute
.
path
.
split
(
'
/
'
)[
2
]
}
else
{
if
(
this
.
nav
.
includes
(
active
))
{
let
active
=
newRoute
.
path
.
split
(
'
/
'
)[
2
]
if
(
active
===
'
component
'
)
{
if
(
this
.
nav
.
includes
(
active
))
{
active
=
'
componentPage
'
if
(
active
===
'
component
'
)
{
active
=
'
componentPage
'
}
if
(
active
===
'
template
'
)
{
active
=
'
templatePage
'
}
this
.
setActive
(
active
)
}
}
if
(
active
===
'
template
'
)
{
}
active
=
'
templatePage
'
}
this
.
setActive
(
active
)
}
}
}
}
}
}
}
...
...
windows/top-window.vue
浏览文件 @
910af899
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
>
.top-window-header
{
.top-window-header
{
height
:
60px
;
height
:
60px
;
padding
:
0
15px
;
padding
:
0
15px
;
...
@@ -104,15 +104,13 @@
...
@@ -104,15 +104,13 @@
flex-direction
:
row
;
flex-direction
:
row
;
align-items
:
center
;
align-items
:
center
;
flex
:
1
;
flex
:
1
;
}
image
{
.logo
image
{
height
:
30px
;
height
:
30px
;
width
:
30px
;
width
:
30px
;
}
}
.logo
text
{
text
{
margin-left
:
8px
;
margin-left
:
8px
;
}
}
}
.right-header
{
.right-header
{
display
:
flex
;
display
:
flex
;
...
@@ -130,7 +128,6 @@
...
@@ -130,7 +128,6 @@
border-bottom
:
2px
solid
;
border-bottom
:
2px
solid
;
}
}
.tab-bar-flex
{
.tab-bar-flex
{
// flex: 1;
width
:
360px
;
width
:
360px
;
}
}
.phone-link
{
.phone-link
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录