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
<template>
<div class="hasaccount" >
<div class="text">
您的看课权限已授权子账号({{userDetail.nickname}}),解除授权即可恢复本账号的看课权限
</div>
<div class="nav">
<img @click="go" :src="icon_more" alt="">
<p>去恢复本账号的看课权限</p>
</div>
<bottom-tab ref="bottomTab"></bottom-tab>
</div>
</template>
<script>
import icon_more from '../../assets/newLesson/icon_more@2x.png'
import { subAccountinfoApi } from "../../service/api";
import bottomTab from "../public/bottomTab";
export default {
name: "hasaccount",
components: {
bottomTab
},
data(){
return{
icon_more:icon_more,
userDetail:{}
}
},
mounted() {
subAccountinfoApi().then(res =>{
this.userDetail= res
})
},
methods:{
go(){
this.$router.push({
name: "subAccount",
});
}
}
}
</script>
<style scoped lang="less">
@import "../../util/public";
.hasaccount{
.text{
width: 261*@toVw;
margin-top: 70*@toVw;
text-align: center;
font-size: 17*@toVw;
font-weight: 500;
}
.nav{
text-align: center;
margin-top:30vh;
font-size: 13*@toVw;
img{
width: 82*@toVw;
}
p{color: #666666;margin-top: 13*@toVw;}
}
}
</style>