删除验证

This commit is contained in:
luyuan 2020-08-15 17:52:55 +08:00
parent 5fc375e589
commit 4bf837d53e
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3
2 changed files with 30 additions and 28 deletions

View File

@ -34,6 +34,9 @@ export default {
toDetailsPage() { toDetailsPage() {
let type =0 let type =0
let info = this.info let info = this.info
if(info.is_delete == 1){
return ;
}
if(info.goods_try_order_status==0){ if(info.goods_try_order_status==0){
type=1 type=1
}else if(info.goods_try_order_status==20){ }else if(info.goods_try_order_status==20){

View File

@ -89,33 +89,33 @@ export default {
}, },
// //
navto(url) { navto(url) {
// // //
if(url=="release/tosign"){ // if(url=="release/tosign"){
this.$u.api.canlive({}).then(res => { // this.$u.api.canlive({}).then(res => {
console.log(res); // console.log(JSON.stringify(res));
if (res.errCode != 0) { // if (res.errCode != 0) {
this.$refs.uToast.show({ // this.$refs.uToast.show({
title: res.message, // title: res.message,
type: 'error' // type: 'error'
}); // });
} else { // } else {
if(res.data.live_stataes==0){ // if(res.data.live_stataes==0){
// this.$u.route({
// url: `/pages/${url}`
// });
// }else{
// this.$refs.uToast.show({
// title: "",
// type: 'error'
// });
// }
// }
// });
// }else{
this.$u.route({ this.$u.route({
url: `/pages/${url}` url: `/pages/${url}`
}); });
}else{ // }
this.$refs.uToast.show({
title: "当前用户没有直播权限",
type: 'error'
});
}
}
});
}else{
this.$u.route({
url: `/pages/${url}`
});
}
} }
@ -201,7 +201,6 @@ export default {
width: 110rpx; width: 110rpx;
height: 110rpx; height: 110rpx;
border-radius: 50%; border-radius: 50%;
background-color: #0f0;
} }
.name{ .name{
font-size: 24rpx; font-size: 24rpx;