fix
13404089107
8 天以前 2e90f57e7d28d6a949247ef39b487d3e75b56683
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<template>
  <view class="content">
    <view class="cell">
      <view class="cell-item" @click="$navTo('/pages/user/setup/userSetup')">
        <view class="cell-item-text">账号绑定设置</view>
        <image class="cell-item-icon" src="/static/icon/icon_arraw.png" mode="widthFix"></image>
      </view>
      <view class="cell-item" @click="$navTo('/pages/user/setup/documentDisplay?t=5&title=商务合作')">
        <view class="cell-item-text">商务合作</view>
        <image class="cell-item-icon" src="/static/icon/icon_arraw.png" mode="widthFix"></image>
      </view>
      <view class="cell-item" @click="$navTo('/pages/user/setup/documentDisplay?t=1&title=关于我们')">
        <view class="cell-item-text">关于我们</view>
        <image class="cell-item-icon" src="/static/icon/icon_arraw.png" mode="widthFix"></image>
      </view>
      <view class="cell-item" @click="$navTo('/pages/user/setup/termsPrivacy')">
        <view class="cell-item-text">用户协议及隐私条款</view>
        <image class="cell-item-icon" src="/static/icon/icon_arraw.png" mode="widthFix"></image>
      </view>
      <view class="cell-item" @click="loginOutHandle">
        <view class="cell-item-text">退出登录</view>
        <image class="cell-item-icon" src="/static/icon/icon_arraw.png" mode="widthFix"></image>
      </view>
    </view>
  </view>
</template>
 
<script>
  import {
    mapState,
    mapMutations
  } from 'vuex'
  export default {
    data() {
      return {
        
      };
    },
    methods:{
      ...mapMutations(['loginOut']),
      loginOutHandle(){
        this.loginOut()
        // uni.showModal({
        //   content:"确定退出登录吗?",
        //   success:ev=>{
        //     if(ev.confirm){
        //       this.loginOut()
        //     }
        //   }
        // })
      }
    }
  }
</script>
 
<style lang="scss">
.content{
  padding: 0 28rpx;
  .cell{
    .cell-item{
      height: 100rpx;
      display: flex;
      align-items: center;
      border-bottom: 2rpx solid rgba(217, 217, 217, 0.4);
      .cell-item-text{
        flex: 1;
        font-size: 32rpx;
        color: #000000;
        line-height: 32rpx;
      }
      .cell-item-icon{
        width: 14rpx;
        height: 24rpx;
      }
    }
  }
}
</style>