提交 3cd131b5 编写于 作者: L linju

123

......@@ -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
]
......
......@@ -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: 750rpx;
padding: 20rpx;
padding: 20rpx;
padding-top:50px;
background-color: #2F85FC;
flex-direction: column;
......@@ -185,7 +181,7 @@
.logo-img {
width: 150rpx;
height: 150rpx;
border-radius: 150rpx;
border-radius: 150rpx;
border: solid 1px #FFFFFF;
}
......@@ -220,20 +216,20 @@
font-family: texticons;
}
.center-list {
.center-list {
margin-bottom: 30rpx;
background-color: #f9f9f9;
}
.center-list-cell {
width: 750rpx;
width: 750rpx;
background-color: #007AFF;
height: 40rpx;
}
.grid{
background-color: #FFFFFF;
margin:25rpx 0;
.grid{
background-color: #FFFFFF;
margin:25rpx 0;
}
.uni-grid .text {
font-size: 26rpx;
......@@ -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>
{
"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"
}
}
}
{
"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.
先完成此消息的编辑!
想要评论请 注册