Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
Sign in / Register
Toggle navigation
S
site-uniapp
概览
Overview
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
王柯
site-uniapp
Commits
68f9dc25
提交
68f9dc25
authored
1月 15, 2023
作者:
wk
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
兼容PC
父级
d244efa5
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
9 行增加
和
2 行删除
+9
-2
pages/index/index.vue
+5
-0
pages/mine/mine.vue
+4
-2
没有找到文件。
pages/index/index.vue
View file @
68f9dc25
...
...
@@ -162,7 +162,12 @@
},
onLoad
()
{
const
info
=
uni
.
getSystemInfoSync
()
console
.
log
(
"系统"
,
info
);
if
(
info
.
platform
==
'windows'
)
{
this
.
statusBarHeight
=
info
.
safeArea
.
top
}
else
{
this
.
statusBarHeight
=
info
.
statusBarHeight
}
let
nowDate
=
new
Date
()
this
.
nowTime
=
`
${
nowDate
.
getFullYear
()}
/
${
this
.
add0
(
nowDate
.
getMonth
()
+
1
)}
/
${
this
.
add0
(
nowDate
.
getDate
())}
`
...
...
pages/mine/mine.vue
View file @
68f9dc25
...
...
@@ -11,7 +11,7 @@
<image
src=
"../../static/avatar-def.png"
class=
"avatar"
></image>
</view>
</view>
<view
class=
"func-content"
>
<view
class=
"func-content"
:style=
"
{top:statusBarHeight+230+'px'}"
>
<view
class=
"item"
v-if=
"isShow('项目信息')"
@
click=
"linkTo('/pages/mine/projectInfo/projectInfo')"
>
<view
class=
"name"
>
项目信息
</view>
<image
src=
"../../static/right-arrow.png"
class=
"image"
></image>
...
...
@@ -232,14 +232,16 @@
.func-content
{
display
:
flex
;
position
:
absolute
;
flex-direction
:
column
;
margin
:
90px
30
rpx
0
30
rpx
;
margin
:
0
30
rpx
0
30
rpx
;
background-color
:
#fff
;
border-radius
:
30
rpx
;
.item
{
display
:
flex
;
flex-direction
:
row
;
width
:
600
rpx
;
align-items
:
center
;
padding
:
30
rpx
50
rpx
;
...
...
Write
Preview
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
Please
register
or
sign in
to comment