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

123

...@@ -30,10 +30,11 @@ ...@@ -30,10 +30,11 @@
{ {
title: '修改密码', title: '修改密码',
event:'changePwd' event:'changePwd'
}, { },
title: '注销用户', // {
event: '' // title: '注销用户',
}, // event: ''
// },
//#ifdef APP-PLUS //#ifdef APP-PLUS
{ {
title: '推送功能', title: '推送功能',
...@@ -42,10 +43,10 @@ ...@@ -42,10 +43,10 @@
isChecked: false, isChecked: false,
showSwitch: true showSwitch: true
}, },
{ // {
title: '清理缓存', // title: '清理缓存',
event: '' // event: ''
}, // },
//#endif //#endif
] ]
......
...@@ -14,14 +14,14 @@ ...@@ -14,14 +14,14 @@
</uni-grid-item> </uni-grid-item>
</uni-grid> </uni-grid>
<uni-list class="center-list" v-for="(sublist , index) in ucenterList"> <uni-list class="center-list" v-for="(sublist , index) in ucenterList">
<uni-list-item v-for="item in sublist" <uni-list-item v-for="item in sublist"
:title="item.title" :title="item.title"
link :rightText="item.rightText" link :rightText="item.rightText"
:clickable="true" :clickable="true"
:to="item.to" :to="item.to"
@click="ucenterListClick(item)" @click="ucenterListClick(item)"
></uni-list-item> ></uni-list-item>
</uni-list> </uni-list>
</view> </view>
</template> </template>
...@@ -58,11 +58,11 @@ ...@@ -58,11 +58,11 @@
], ],
ucenterList: [ ucenterList: [
[{ [{
title: '阅读过的文章', title: '阅读过的文章',
to: '/pages/ucenter/agree-list/agree-list' to: ''
}, { }, {
title: '我的积分', title: '我的积分',
to: '/pages/ucenter/agree-list/agree-list' to: ''
}], }],
[{ [{
title: '政策与协议', title: '政策与协议',
...@@ -113,11 +113,7 @@ ...@@ -113,11 +113,7 @@
checkVersion() { checkVersion() {
checkUpdate(); checkUpdate();
}, },
goLogin() { goLogin() {
// uni.navigateTo({
// url: './edit/edit'
// })
if (!this.login) { if (!this.login) {
console.log('点击前往登录'); console.log('点击前往登录');
uni.navigateTo({ uni.navigateTo({
...@@ -129,12 +125,12 @@ ...@@ -129,12 +125,12 @@
url: './edit/edit' url: './edit/edit'
}) })
} }
}, },
tapGrid(index){ tapGrid(index){
uni.showToast({ uni.showToast({
title: '你点击了,第'+index+'', title: '你点击了,第'+index+'',
icon: 'none' icon: 'none'
}); });
} }
} }
} }
...@@ -171,7 +167,7 @@ ...@@ -171,7 +167,7 @@
.userInfo { .userInfo {
width: 750rpx; width: 750rpx;
padding: 20rpx; padding: 20rpx;
padding-top:50px; padding-top:50px;
background-color: #2F85FC; background-color: #2F85FC;
flex-direction: column; flex-direction: column;
...@@ -185,7 +181,7 @@ ...@@ -185,7 +181,7 @@
.logo-img { .logo-img {
width: 150rpx; width: 150rpx;
height: 150rpx; height: 150rpx;
border-radius: 150rpx; border-radius: 150rpx;
border: solid 1px #FFFFFF; border: solid 1px #FFFFFF;
} }
...@@ -220,20 +216,20 @@ ...@@ -220,20 +216,20 @@
font-family: texticons; font-family: texticons;
} }
.center-list { .center-list {
margin-bottom: 30rpx; margin-bottom: 30rpx;
background-color: #f9f9f9; background-color: #f9f9f9;
} }
.center-list-cell { .center-list-cell {
width: 750rpx; width: 750rpx;
background-color: #007AFF; background-color: #007AFF;
height: 40rpx; height: 40rpx;
} }
.grid{ .grid{
background-color: #FFFFFF; background-color: #FFFFFF;
margin:25rpx 0; margin:25rpx 0;
} }
.uni-grid .text { .uni-grid .text {
font-size: 26rpx; font-size: 26rpx;
...@@ -243,17 +239,17 @@ ...@@ -243,17 +239,17 @@
.uni-grid .item /deep/ .uni-grid-item__box { .uni-grid .item /deep/ .uni-grid-item__box {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
/*修改边线粗细示例*/ /*修改边线粗细示例*/
/* #ifndef APP-NVUE */ /* #ifndef APP-NVUE */
.center-list /deep/ .uni-list--border:after, .center-list /deep/ .uni-list--border:after,
.center-list /deep/ .uni-list--border-top , .center-list /deep/ .uni-list--border-top ,
.center-list /deep/ .uni-list--border-bottom{ .center-list /deep/ .uni-list--border-bottom{
-webkit-transform: scaleY(0.2); -webkit-transform: scaleY(0.2);
transform: scaleY(0.2); transform: scaleY(0.2);
} }
/* #endif */ /* #endif */
</style> </style>
{ {
"name": "uni-id", "name": "uni-id",
"version": "3.0.8", "version": "3.0.8",
"lockfileVersion": 2, "lockfileVersion": 1,
"requires": true, "requires": true,
"packages": { "dependencies": {
"": { "uni-config-center": {
"version": "3.0.8", "version": "file:../../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center"
"license": "Apache-2.0"
} }
} }
} }
{ {
"name": "user-center", "name": "user-center",
"version": "1.0.0", "version": "1.0.0",
"lockfileVersion": 2, "lockfileVersion": 1,
"requires": true, "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": { "dependencies": {
"uni-captcha": { "uni-captcha": {
"version": "file:../../../../uni-captcha/uniCloud/cloudfunctions/common/uni-captcha" "version": "file:../../../../uni-captcha/uniCloud/cloudfunctions/common/uni-captcha"
...@@ -49,10 +11,7 @@ ...@@ -49,10 +11,7 @@
"version": "file:../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center" "version": "file:../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center"
}, },
"uni-id": { "uni-id": {
"version": "file:../../../../uni-id/uniCloud/cloudfunctions/common/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"
}
} }
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册