|
|
@ -3,7 +3,7 @@ |
|
|
|
<!-- #ifdef H5 --> |
|
|
|
<view |
|
|
|
class="content" |
|
|
|
style="border-radius: 8px;" |
|
|
|
style="border-radius: 8px" |
|
|
|
id="project" |
|
|
|
:data-did="task.detailId" |
|
|
|
:data-param="param" |
|
|
@ -86,7 +86,7 @@ export default { |
|
|
|
if (err) { |
|
|
|
console.error('err: ', err); |
|
|
|
} else { |
|
|
|
if (!res || !res.id) return; |
|
|
|
if (!res) return; |
|
|
|
if (res.html && res.js) { |
|
|
|
this.show = true; |
|
|
|
this.$nextTick(() => { |
|
|
@ -98,6 +98,7 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
init(res) { |
|
|
|
console.log('res: ', res); |
|
|
|
const content = document.querySelector('.content'); |
|
|
|
content.innerHTML = res.html; |
|
|
|
|
|
|
@ -110,14 +111,14 @@ export default { |
|
|
|
</script> |
|
|
|
|
|
|
|
<style scoped lang="scss"> |
|
|
|
.render-box{ |
|
|
|
border-radius: 8px; |
|
|
|
background: #fff; |
|
|
|
padding: 16px; |
|
|
|
overflow: hidden; |
|
|
|
} |
|
|
|
.render-box { |
|
|
|
border-radius: 8px; |
|
|
|
background: #fff; |
|
|
|
padding: 16px; |
|
|
|
overflow: hidden; |
|
|
|
} |
|
|
|
|
|
|
|
button{ |
|
|
|
border: none!important; |
|
|
|
} |
|
|
|
button { |
|
|
|
border: none !important; |
|
|
|
} |
|
|
|
</style> |
|
|
|