|
@@ -222,6 +222,7 @@ import { mapState } from 'vuex';
|
|
|
import { saveBrowse } from '../utils/commont';
|
|
import { saveBrowse } from '../utils/commont';
|
|
|
import Dialog from '../native/vant/dialog/dialog';
|
|
import Dialog from '../native/vant/dialog/dialog';
|
|
|
import octoparse from 'octoparse';
|
|
import octoparse from 'octoparse';
|
|
|
|
|
+import nodeHtml from '../mixins/nodeHtml';
|
|
|
export default {
|
|
export default {
|
|
|
components: { CustomBar, Banner, Parameter },
|
|
components: { CustomBar, Banner, Parameter },
|
|
|
data() {
|
|
data() {
|
|
@@ -239,7 +240,7 @@ export default {
|
|
|
imgList: []
|
|
imgList: []
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
- mixins: [collection],
|
|
|
|
|
|
|
+ mixins: [collection, nodeHtml],
|
|
|
computed: {
|
|
computed: {
|
|
|
...mapState(['intentionList', 'barHeight']),
|
|
...mapState(['intentionList', 'barHeight']),
|
|
|
origin() {
|
|
origin() {
|
|
@@ -351,7 +352,9 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
- this.detail = octoparse.htmlParse(res.detailImg, options);
|
|
|
|
|
|
|
+ res.detailImg = this.initText(res.detailImg);
|
|
|
|
|
+ let detail = octoparse.htmlParse(res.detailImg, options);
|
|
|
|
|
+ this.detail = this.changeText(detail);
|
|
|
if (res.video) {
|
|
if (res.video) {
|
|
|
wx.setNavigationBarColor({
|
|
wx.setNavigationBarColor({
|
|
|
frontColor: '#ffffff',
|
|
frontColor: '#ffffff',
|