Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
yma16
yma16_miniprogram
提交
6cdb250f
Y
yma16_miniprogram
项目概览
yma16
/
yma16_miniprogram
通知
11
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Y
yma16_miniprogram
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
6cdb250f
编写于
6月 15, 2023
作者:
yma16
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix about page
上级
2cff6620
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
29 addition
and
2 deletion
+29
-2
miniprogram/pages/life/life.js
miniprogram/pages/life/life.js
+16
-1
miniprogram/pages/life/life.wxml
miniprogram/pages/life/life.wxml
+3
-0
miniprogram/pages/life/life.wxss
miniprogram/pages/life/life.wxss
+10
-1
未找到文件。
miniprogram/pages/life/life.js
浏览文件 @
6cdb250f
...
@@ -28,7 +28,10 @@ Component({
...
@@ -28,7 +28,10 @@ Component({
return
dayStr
return
dayStr
})(),
})(),
autoTimer
:
null
,
autoTimer
:
null
,
article
:
''
article
:
''
,
config
:{
title
:
'
个人信息
'
}
},
},
...
@@ -36,6 +39,18 @@ Component({
...
@@ -36,6 +39,18 @@ Component({
// 生命周期函数,可以为函数,或一个在 methods 段中定义的方法名
// 生命周期函数,可以为函数,或一个在 methods 段中定义的方法名
attached
:
function
()
{
attached
:
function
()
{
this
.
initArticle
()
this
.
initArticle
()
const
aboutPageConfig
=
app
.
wxProgramConfig
.
aboutPageConfig
if
(
aboutPageConfig
)
{
const
title
=
aboutPageConfig
.
title
this
.
setData
({
config
:{
title
:
title
}
})
}
// this.updateContent();
// this.updateContent();
},
},
moved
:
function
()
{
this
.
clearTimerFunc
()
},
moved
:
function
()
{
this
.
clearTimerFunc
()
},
...
...
miniprogram/pages/life/life.wxml
浏览文件 @
6cdb250f
<!-- pages/life/life.wxml -->
<!-- pages/life/life.wxml -->
<view class="container-life">
<view class="container-life">
<view class="container-header">
{{config.title}}
</view>
<view class="loading" wx:if="{{isLoading}}">
<view class="loading" wx:if="{{isLoading}}">
<view class="loader-child"/>
<view class="loader-child"/>
<view class="loader-child"/>
<view class="loader-child"/>
...
...
miniprogram/pages/life/life.wxss
浏览文件 @
6cdb250f
...
@@ -11,10 +11,19 @@
...
@@ -11,10 +11,19 @@
animation-iteration-count: infinite; */
animation-iteration-count: infinite; */
box-sizing: border-box;
box-sizing: border-box;
}
}
.container-header {
background: rgba(16, 116, 187);
width: 100%;
text-align: center;
color: #ffffff;
height: 40px;
line-height: 40px;
font-weight: bold;
}
.container-box{
.container-box{
position: relative;
position: relative;
width: 100vw;
width: 100vw;
height: calc(100vh -
6
0px);
height: calc(100vh -
10
0px);
overflow: auto;
overflow: auto;
user-select: text;
user-select: text;
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录