This commit is contained in:
pplok 2020-01-19 11:26:32 +08:00
parent 3ab6b2ec4d
commit 861e48a6d0
6 changed files with 49 additions and 26 deletions

View File

@ -21,9 +21,11 @@
></indexfindall>
</div>
<div style="width:100%;height:0.5rem;text-align:center;line-height:0.3rem">
<img :src="login" style="width:0.5rem" alt v-if="text == '加载中'" />
<span>{{text}}</span>
<div
style="width:100%;height:0.5rem;text-align:center;line-height:0.5rem;display:flex; flex-direction: column; align-items: center;font-size:0.2rem;"
>
<img :src="login" style="width:0.5rem" alt v-if="text == '加载中' " />
{{text}}
</div>
<!-- <div class="all1">
<indexfindall title="学法律后,对你最大的影响或改变是什么?" num="1532" :right="pics"></indexfindall>
@ -40,9 +42,11 @@
></indedfinduser>
</div>
<div style="width:100%;height:0.5rem;text-align:center;line-height:0.3rem;color:red">
<img :src="login" style="width:0.5rem" alt v-if="text == '加载中'"/>
<span>{{text}}</span>
<div
style="width:100%;height:0.5rem;text-align:center;line-height:0.5rem;display:flex; flex-direction: column; align-items: center;font-size:0.2rem;"
>
<img :src="login" style="width:0.5rem" alt v-if="text == '加载中' " />
{{text}}
</div>
<!-- <div class="user1">
<indedfinduser></indedfinduser>
@ -66,10 +70,11 @@
></indedfinduser>
</div>
<div style="width:100%;height:0.5rem;text-align:center;line-height:0.3rem">
<div
style="width:100%;height:0.5rem;text-align:center;line-height:0.5rem;display:flex; flex-direction: column; align-items: center;font-size:0.2rem;"
>
<img :src="login" style="width:0.5rem" alt v-if="text == '加载中' " />
<span>{{text}}</span>
{{text}}
</div>
<!-- <div class="user1">
<indedfinduser></indedfinduser>

View File

@ -238,7 +238,9 @@ export default {
status: 1
}).then((res)=>{
if(res.data.code != 200){
return ;
this.$router.push({
path:"/login"
})
}
if(this.islike){
this.like = parseInt(this.like) - 1
@ -256,7 +258,9 @@ export default {
id:this.id
}).then((res)=>{
if(res.data.code != 200){
return ;
this.$router.push({
path:"/login"
})
}
if(this.iscllect){
this.collect = parseInt(this.collect) - 1

View File

@ -130,7 +130,7 @@
}
}
> div:last-child {
margin-left: 300px;
margin-left: 150px;
margin-right: 0;
}
}
@ -206,7 +206,9 @@ export default {
status: 1
}).then((res)=>{
if(res.data.code != 200){
return ;
this.$router.push({
path:"/login"
})
}
if(this.islike){
this.like = parseInt(this.like) - 1
@ -224,7 +226,9 @@ export default {
id:this.sid
}).then((res)=>{
if(res.data.code != 200){
return ;
this.$router.push({
path:"/login"
})
}
if(this.iscllect){
this.collect = parseInt(this.collect) - 1

View File

@ -264,7 +264,9 @@ export default {
status: 1
}).then((res)=>{
if(res.data.code != 200){
return ;
this.$router.push({
path:"/login"
})
}
if(this.islike){
this.like = parseInt(this.like) - 1
@ -282,7 +284,9 @@ export default {
id:this.$route.query.id
}).then((res)=>{
if(res.data.code != 200){
return ;
this.$router.push({
path:"/login"
})
}
if(this.iscllect){
this.collect = parseInt(this.collect) - 1

View File

@ -73,8 +73,10 @@ export default {
status: 1
}).then((res)=>{
if(res.data.code != 200){
return ;
}
this.$router.push({
path:"/login"
})
}
if(this.islike){
this.like = parseInt(this.like) - 1
}else{
@ -91,7 +93,9 @@ export default {
id:this.id
}).then((res)=>{
if(res.data.code != 200){
return ;
this.$router.push({
path:"/login"
})
}
if(this.iscllect){
this.collect = parseInt(this.collect) - 1

View File

@ -21,8 +21,10 @@
></list>
</div>
<div style="width:100%;height:0.5rem;text-align:center;line-height:0.3rem">
<img :src="login" style="width:0.5rem" alt="" v-if="text == '加载中' ">
<div
style="width:100%;height:0.5rem;text-align:center;line-height:0.5rem;display:flex; flex-direction: column; align-items: center;font-size:0.2rem;"
>
<img :src="login" style="width:0.5rem" alt v-if="text == '加载中' " />
{{text}}
</div>
<!-- <list></list>