|
|
|
|
@ -24,6 +24,7 @@ |
|
|
|
|
<script> |
|
|
|
|
|
|
|
|
|
import { getWeiBoViewOriginalText } from '../../../api/picture/network-market/networkMarket' |
|
|
|
|
import { getVideo } from '../../../api/douyunconfig/config' |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
name: "network-article", |
|
|
|
|
@ -41,7 +42,12 @@ export default { |
|
|
|
|
methods:{ |
|
|
|
|
showUrl(val){ |
|
|
|
|
if (val.url==null){ |
|
|
|
|
getWeiBoViewOriginalText(val.id).then(response=>{ |
|
|
|
|
// getWeiBoViewOriginalText(val.id).then(response=>{ |
|
|
|
|
// console.log(response) |
|
|
|
|
// window.open(response.msg, '_blank') |
|
|
|
|
// }) |
|
|
|
|
// |
|
|
|
|
getVideo(val.id,val.openId).then(response=>{ |
|
|
|
|
console.log(response) |
|
|
|
|
window.open(response.msg, '_blank') |
|
|
|
|
}) |
|
|
|
|
|