Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
萌新之路
uni-starter
提交
3cd131b5
U
uni-starter
项目概览
萌新之路
/
uni-starter
与 Fork 源项目一致
Fork自
DCloud / uni-starter
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-starter
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
3cd131b5
编写于
4月 09, 2021
作者:
L
linju
浏览文件
操作
浏览文件
下载
差异文件
123
上级
f2071bd4
e5bd50e4
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
55 addition
and
100 deletion
+55
-100
pages/ucenter/settings/settings.vue
pages/ucenter/settings/settings.vue
+9
-8
pages/ucenter/ucenter.vue
pages/ucenter/ucenter.vue
+40
-44
uni_modules/uni-id/uniCloud/cloudfunctions/common/uni-id/package-lock.json
...d/uniCloud/cloudfunctions/common/uni-id/package-lock.json
+4
-5
uni_modules/uni-quick-login/uniCloud/cloudfunctions/user-center/package-lock.json
...gin/uniCloud/cloudfunctions/user-center/package-lock.json
+2
-43
未找到文件。
pages/ucenter/settings/settings.vue
浏览文件 @
3cd131b5
...
...
@@ -30,10 +30,11 @@
{
title
:
'
修改密码
'
,
event
:
'
changePwd
'
},
{
title
:
'
注销用户
'
,
event
:
''
},
},
// {
// title: '注销用户',
// event: ''
// },
//#ifdef APP-PLUS
{
title
:
'
推送功能
'
,
...
...
@@ -42,10 +43,10 @@
isChecked
:
false
,
showSwitch
:
true
},
{
title
:
'
清理缓存
'
,
event
:
''
},
//
{
//
title: '清理缓存',
//
event: ''
//
},
//#endif
]
...
...
pages/ucenter/ucenter.vue
浏览文件 @
3cd131b5
...
...
@@ -14,14 +14,14 @@
</uni-grid-item>
</uni-grid>
<uni-list
class=
"center-list"
v-for=
"(sublist , index) in ucenterList"
>
<uni-list-item
v-for=
"item in sublist"
:title=
"item.title"
link
:rightText=
"item.rightText"
:clickable=
"true"
:to=
"item.to"
@
click=
"ucenterListClick(item)"
></uni-list-item>
</uni-list>
<uni-list-item
v-for=
"item in sublist"
:title=
"item.title"
link
:rightText=
"item.rightText"
:clickable=
"true"
:to=
"item.to"
@
click=
"ucenterListClick(item)"
></uni-list-item>
</uni-list>
</view>
</
template
>
...
...
@@ -58,11 +58,11 @@
],
ucenterList
:
[
[{
title
:
'
阅读过的文章
'
,
to
:
'
/pages/ucenter/agree-list/agree-list
'
title
:
'
阅读过的文章
'
,
to
:
''
},
{
title
:
'
我的积分
'
,
to
:
'
/pages/ucenter/agree-list/agree-list
'
title
:
'
我的积分
'
,
to
:
''
}],
[{
title
:
'
政策与协议
'
,
...
...
@@ -113,11 +113,7 @@
checkVersion
()
{
checkUpdate
();
},
goLogin
()
{
// uni.navigateTo({
// url: './edit/edit'
// })
goLogin
()
{
if
(
!
this
.
login
)
{
console
.
log
(
'
点击前往登录
'
);
uni
.
navigateTo
({
...
...
@@ -129,12 +125,12 @@
url
:
'
./edit/edit
'
})
}
},
tapGrid
(
index
){
uni
.
showToast
({
title
:
'
你点击了,第
'
+
index
+
'
个
'
,
icon
:
'
none
'
});
},
tapGrid
(
index
){
uni
.
showToast
({
title
:
'
你点击了,第
'
+
index
+
'
个
'
,
icon
:
'
none
'
});
}
}
}
...
...
@@ -171,7 +167,7 @@
.userInfo
{
width
:
750
rpx
;
padding
:
20
rpx
;
padding
:
20
rpx
;
padding-top
:
50px
;
background-color
:
#2F85FC
;
flex-direction
:
column
;
...
...
@@ -185,7 +181,7 @@
.logo-img
{
width
:
150
rpx
;
height
:
150
rpx
;
border-radius
:
150
rpx
;
border-radius
:
150
rpx
;
border
:
solid
1px
#FFFFFF
;
}
...
...
@@ -220,20 +216,20 @@
font-family
:
texticons
;
}
.center-list
{
.center-list
{
margin-bottom
:
30
rpx
;
background-color
:
#f9f9f9
;
}
.center-list-cell
{
width
:
750
rpx
;
width
:
750
rpx
;
background-color
:
#007AFF
;
height
:
40
rpx
;
}
.grid
{
background-color
:
#FFFFFF
;
margin
:
25
rpx
0
;
.grid
{
background-color
:
#FFFFFF
;
margin
:
25
rpx
0
;
}
.uni-grid
.text
{
font-size
:
26
rpx
;
...
...
@@ -243,17 +239,17 @@
.uni-grid
.item
/
deep
/
.uni-grid-item__box
{
justify-content
:
center
;
align-items
:
center
;
}
/*修改边线粗细示例*/
/* #ifndef APP-NVUE */
.center-list
/
deep
/
.uni-list--border
:after
,
.center-list
/
deep
/
.uni-list--border-top
,
.center-list
/
deep
/
.uni-list--border-bottom
{
-webkit-transform
:
scaleY
(
0.2
);
transform
:
scaleY
(
0.2
);
}
/* #endif */
}
/*修改边线粗细示例*/
/* #ifndef APP-NVUE */
.center-list
/
deep
/
.uni-list--border
:after
,
.center-list
/
deep
/
.uni-list--border-top
,
.center-list
/
deep
/
.uni-list--border-bottom
{
-webkit-transform
:
scaleY
(
0.2
);
transform
:
scaleY
(
0.2
);
}
/* #endif */
</
style
>
</
style
>
uni_modules/uni-id/uniCloud/cloudfunctions/common/uni-id/package-lock.json
浏览文件 @
3cd131b5
{
"name"
:
"uni-id"
,
"version"
:
"3.0.8"
,
"lockfileVersion"
:
2
,
"lockfileVersion"
:
1
,
"requires"
:
true
,
"packages"
:
{
""
:
{
"version"
:
"3.0.8"
,
"license"
:
"Apache-2.0"
"dependencies"
:
{
"uni-config-center"
:
{
"version"
:
"file:../../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center"
}
}
}
uni_modules/uni-quick-login/uniCloud/cloudfunctions/user-center/package-lock.json
浏览文件 @
3cd131b5
{
"name"
:
"user-center"
,
"version"
:
"1.0.0"
,
"lockfileVersion"
:
2
,
"lockfileVersion"
:
1
,
"requires"
:
true
,
"packages"
:
{
""
:
{
"version"
:
"1.0.0"
,
"license"
:
"ISC"
,
"dependencies"
:
{
"uni-captcha"
:
"file:../../../../uni-captcha/uniCloud/cloudfunctions/common/uni-captcha"
,
"uni-config-center"
:
"file:../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center"
,
"uni-id"
:
"file:../../../../uni-id/uniCloud/cloudfunctions/common/uni-id"
}
},
"../../../../uni-captcha/uniCloud/cloudfunctions/common/uni-captcha"
:
{
"version"
:
"0.1.0"
,
"license"
:
"Apache-2.0"
},
"../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center"
:
{
"version"
:
"0.0.1"
,
"license"
:
"Apache-2.0"
},
"../../../../uni-id/uniCloud/cloudfunctions/common/uni-id"
:
{
"version"
:
"3.0.8"
,
"license"
:
"Apache-2.0"
,
"dependencies"
:
{
"uni-config-center"
:
"file:../../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center"
}
},
"node_modules/uni-captcha"
:
{
"resolved"
:
"../../../../uni-captcha/uniCloud/cloudfunctions/common/uni-captcha"
,
"link"
:
true
},
"node_modules/uni-config-center"
:
{
"resolved"
:
"../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center"
,
"link"
:
true
},
"node_modules/uni-id"
:
{
"resolved"
:
"../../../../uni-id/uniCloud/cloudfunctions/common/uni-id"
,
"link"
:
true
}
},
"dependencies"
:
{
"uni-captcha"
:
{
"version"
:
"file:../../../../uni-captcha/uniCloud/cloudfunctions/common/uni-captcha"
...
...
@@ -49,10 +11,7 @@
"version"
:
"file:../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center"
},
"uni-id"
:
{
"version"
:
"file:../../../../uni-id/uniCloud/cloudfunctions/common/uni-id"
,
"requires"
:
{
"uni-config-center"
:
"file:../../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center"
}
"version"
:
"file:../../../../uni-id/uniCloud/cloudfunctions/common/uni-id"
}
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录