兰代清没头发

This commit is contained in:
2023-12-24 17:09:55 +08:00
parent 72fae3f385
commit f63aac52cb
2 changed files with 94 additions and 35 deletions

View File

@@ -11,7 +11,7 @@
<span v-if="nav.desc" class="content-desc">{{ nav.desc.substr(0, 8) + '...' }}</span>
</el-tooltip>
</div>
<el-tooltip class="item" effect="dark" content="详情" placement="right">
<el-tooltip class="item" effect="dark" content="详情" placement="right" @click="goToNavDetail()">
<i style="margin-left: 3px" class="card-icon el-icon-d-arrow-right"></i>
</el-tooltip>
</div>
@@ -57,37 +57,38 @@ export default {
},
computed: {},
methods: {
getQR(url_id,icon_url) {
let _this=this;
axios({
method: 'post',
url: '/api/qrcode/qrc_return',
params:{
url_id:url_id,
icon_url:icon_url
}
}).then(function (res) {
console.log(res);
// if(res.data){
// _this.navList=res.data;
// }
}).catch((error)=>{
Vue.prototype.$notify.error({
title: '错误',
message: error===null?'':error,
offset: 0
});
})
},
// getQR(url_id,icon_url) {
// let _this=this;
// axios({
// method: 'post',
// url: '/api/qrcode/qrc_return',
// params:{
// url_id:url_id,
// icon_url:icon_url
// }
// }).then(function (res) {
// if(res.data){
// _this.navList=res.data;
// }
// }).catch((error)=>{
// Vue.prototype.$notify.error({
// title: '错误',
// message: error===null?'':error,
// offset: 0
// });
// })
//
// },
goToNavDetail(){
if(this.nav.urlId){
this.$router.push({
path:'/nav',
query: {
id: this.nav.urlId,
refresh: true
}})
let pathInfo = this.$router.resolve({
path: '/nav',
query:{
uid:this.nav.urlId,
refresh:true,
}
})
window.open(pathInfo.href, '_self');
}else{
return false;
}