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
79
80
81
82
83
<template>
  <view class="content">
    <view class="title">注销账户:{{userInfo.phone}}</view>
    <view v-html="content"></view>
    <view class="buttons">
      <button class="button handle" @click="$navTo('/pages/user/setup/logout2')">申请注销</button>
      <button class="button" @click="$navBack()">我在想想</button>
    </view>
  </view>
</template>
 
<script>
  import {
    mapState
  } from 'vuex'
  export default {
    data() {
      return {
        content:''
      }
    },
    onLoad() {
      this.getHtml()
    },
    computed:{
      ...mapState({
        userInfo: state=>state.userInfo,
      })
    },
    methods: {
      getHtml(){
        this.$apis.app.protocol({type:20,portType:1}).then(res=>{
          this.loading = false
          this.content = res.data.content1
        })
      }
    }
  }
</script>
 
<style lang="scss" scoped>
.content{
  padding: 0 26rpx;
  padding-bottom: 224rpx;
  .title{
    margin-top: 76rpx;
    font-weight: 700;
    font-size: 31rpx;
    color: rgba(0, 0, 0, .8);
    line-height: 42rpx;
    text-align: center;
    margin-bottom: 36rpx;
  }
  .buttons{
    padding: 0 26rpx;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    padding-bottom: 84rpx;
    padding-top: 24rpx;
    .button{
      width: 320rpx;
      height: 96rpx;
      background: rgba(0, 0, 0, .1);
      border-radius: 48rpx;
      font-family: PingFangSC, PingFang SC;
      font-size: 31rpx;
      color: rgba(0, 0, 0, .4);
      line-height: 35rpx;
      &.handle{
        border-radius: 48rpx;
        border: 2rpx solid rgba(0,0,0,0.3);
        background: #FFFFFF;
      }
    }
  }
}
</style>