You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hezhiying/pages/AccountSecurity/AccountSecurity.vue

99 lines
1.8 KiB

1 year ago
<template>
<view class="page">
<!-- 安全设置列表 -->
<view class="security-list">
<!-- <view class="list">
<view class="content">
<view class="title">
<text>实名认证</text>
</view>
<view class="describe">
<text>完成实名认证尊享更多服务</text>
</view>
</view>
<view class="more">
<text class="iconfont icon-more"></text>
</view>
</view> -->
1 year ago
1 year ago
<view class="list" @click="onSecurity('password')">
<view class="content">
<view class="title">
1 year ago
1 year ago
<text>修改登录密码</text>
</view>
1 year ago
1 year ago
</view>
<view class="more">
<text class="iconfont icon-more"></text>
</view>
</view>
<view class="list">
<view class="title">
<text>注销服务</text>
</view>
<view class="more">
<text class="iconfont icon-more"></text>
</view>
</view>
1 year ago
1 year ago
</view>
1 year ago
1 year ago
</view>
</template>
<script>
export default {
data() {
return {
};
},
methods:{
/**
* 账户安全点击
* @param {String} type
*/
onSecurity(type){
switch(type) {
case 'relevance':
uni.navigateTo({
url: '/pages/AccountAssociated/AccountAssociated',
})
break;
case 'password':
uni.navigateTo({
url: '/pages/ChangePassword/ChangePassword',
})
break;
case 'phone':
uni.navigateTo({
url: '/pages/ModifyPhone/ModifyPhone',
})
break;
case 'mailbox':
uni.navigateTo({
url: '/pages/AssociatedmMailbox/AssociatedmMailbox',
})
break;
}
},
/**
* 申诉列表点击
* @param {String} tyep
*/
onAppeal(tyep){
switch (type){
case 'appeal':
break;
}
}
}
}
</script>
<style lang="scss" scoped>
@import 'AccountSecurity.scss';
</style>