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.
 
 
 
 

68 lines
1.4 KiB

<template>
<view class="container">
<view class="top">
<!-- <u-cell-group>
<u-cell-item icon="share" title="支付宝绑定" :arrow="true" value="绑定支付宝" @click="navTo('/pages/my/zhifubao')"></u-cell-item>
<u-cell-item icon="fingerprint" title="隐私政策" :arrow="true" @click="navTo('/pages/member/mimi')"></u-cell-item>
<u-cell-item icon="order" title="用户协议" :arrow="true" @click="navTo('/pages/member/xieyi')"></u-cell-item>
<u-cell-item icon="question-circle" title="意见反馈" :arrow="true" @click="navTo('/pages/member/feedback')"></u-cell-item>
</u-cell-group> -->
</view>
<button>退出登录</button>
</view>
</template>
<script>
export default {
data() {
return {};
},
onShow() {
},
methods: {
navTo(url) {
let token = this.$queue.getData("token");
if (token) {
uni.navigateTo({
url: url
});
} else {
uni.navigateTo({
url: '/pages/public/login'
});
}
}
}
}
</script>
<style lang='scss'>
page {
background: #F6F6F6;
}
.top {
margin: 0 16px;
background: #FFFFFF;
opacity: 1;
border-radius: 6px;
margin-top: 16px;
}
button {
width: 152px;
height: 32px;
background: linear-gradient(141deg, #FF4848 0%, #FF2929 100%);
border-radius: 16px;
font-size: 12px;
font-family: PingFang SC;
font-weight: 400;
color: #FFFFFF;
margin-top: 10px;
}
</style>