123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- <template>
- <view>
- <view class="line"></view>
-
- <view class="list_item">
- <view class="item" @click="repassword()">
- <view class="item_left">
- <view class="icon">
- <image src="./icon/list_1.png" mode=""></image>
- </view>
- <view class="name">修改密码</view>
- </view>
- <view class="item_right">
- <uni-icons type="arrowright" color="#BDC3C7"></uni-icons>
- </view>
- </view>
- <view class="item" @click="user_out()">
- <view class="item_left">
- <view class="icon">
- <image src="./icon/list_2.png" mode=""></image>
- </view>
- <view class="name">退出登陆</view>
- </view>
- <view class="item_right">
- <uni-icons type="arrowright" color="#BDC3C7"></uni-icons>
- </view>
- </view>
- <view class="item">
- <view class="item_left">
- <view class="icon">
- <image src="./icon/list_3.png" mode=""></image>
- </view>
- <view class="name">更新日志</view>
- </view>
- <view class="item_right">
- <uni-icons type="arrowright" color="#BDC3C7"></uni-icons>
- </view>
- </view>
- </view>
-
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
-
- };
- },
- methods:{
- user_out:function(){
- // uni.showToast({
- // icon:"none",
- // title:"退出登录"
- // })
-
- uni.removeStorage({
- key: 'Authorization',
- success: function (res) {
- console.log('success');
- }
- });
-
-
-
- // 调用全局封装的函数
- // var loginRes =
- // if(!loginRes){return false;}
- this.checkLogin();
-
- },
- repassword(){
- uni.navigateTo({
- url:"../../m-repassword/m-repassword"
- })
- }
-
- }
- }
- </script>
- <style lang="scss">
- .line{
- margin: 0 30rpx;
- height: 8rpx;
- background: #009FE8;
- }
- .list_item{
- margin-bottom: 140rpx;
- padding: 0 30rpx;
- .item{
- height: 94rpx;
- box-sizing: border-box;
- padding-left: 20rpx;
- padding-top: 24rpx;
- display: flex;
- justify-content: space-between;
-
- .item_left{
- display: flex;
- .icon{
- margin-top: 5rpx;
- height: 47rpx;
-
- image{
- width: 38rpx;
- height: 38rpx;
- }
- }
- .name{
- margin-left: 14rpx;
- height: 47rpx;
- font-size: 33rpx;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #333333;
- line-height: 47rpx;
- }
- }
- .item_right{
- // color: #BDC3C7;
- }
- }
- }
- </style>
|