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.
42 lines
768 B
42 lines
768 B
<template>
|
|
<view id="setting">
|
|
<view class="update-btn" @click="jumpinfo">
|
|
<view class="left-item">修改资料</view>
|
|
<view class="iconfont icon-jiantou"></view>
|
|
</view>
|
|
<view class="update-btn" @click="jumplogout">
|
|
<view class="left-item">退出登陆</view>
|
|
<view class="iconfont icon-jiantou"></view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
|
|
}
|
|
},
|
|
methods: {
|
|
jumplogout(){
|
|
this.$cookieStorage.clear('user_token');
|
|
setTimeout(function(){
|
|
wx.navigateBack({})
|
|
},1500)
|
|
|
|
},
|
|
jumpinfo(){
|
|
wx.navigateTo({
|
|
url:'/pages/user/usersetting/usersetting'
|
|
})
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style rel="stylesheet/less" lang="less">
|
|
@import "setting.less";
|
|
</style>
|