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

View File

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

View File

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

View File

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

View File

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

View File

@ -21,8 +21,10 @@
></list> ></list>
</div> </div>
<div style="width:100%;height:0.5rem;text-align:center;line-height:0.3rem"> <div
<img :src="login" style="width:0.5rem" alt="" v-if="text == '加载中' "> 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}} {{text}}
</div> </div>
<!-- <list></list> <!-- <list></list>