|
@@ -1,6 +1,7 @@
|
|
|
<template>
|
|
|
<view class='app-container'>
|
|
|
<rich-text :nodes="form.content" />
|
|
|
+ <!-- <u-parse id="content" ref="content" :content="form.content" :endHandler="get" /> -->
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -25,7 +26,18 @@ export default {
|
|
|
this.form = res.data.data
|
|
|
}
|
|
|
})
|
|
|
- }
|
|
|
+ },
|
|
|
+ // get(e) {
|
|
|
+ // if (e.attr.class === 'ql-audio') {
|
|
|
+ // e.attr.src = 'https://music-play.oss-cn-shenzhen.aliyuncs.com/backOss/file/a7e2c01610f64b49881556767f90ca63.mp3'
|
|
|
+ // }
|
|
|
+ // }
|
|
|
}
|
|
|
}
|
|
|
-</script>
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="scss" scoped>
|
|
|
+p {
|
|
|
+ white-space: pre-wrap;
|
|
|
+}
|
|
|
+</style>
|