import Taro, { Component } from '@tarojs/taro';
// import WxParse from '@/components/wxParse/wxParse'

export default class highLight extends Component {
    config = {
        navigationBarTitleText: '项目亮点'
    }
    state = {
    }

    render() {
        const { type, link, content } = this.$router.params
        return (
            <Block>

                {type == 'link' ? < WebView src={link} /> :

                    <ScrollView style="padding:30rpx" scrollY>

                        <richText nodes={content} ></richText>
                        {/* <import src='../../../components/wxParse/wxParse.wxml' />
                        <template is='wxParse' data='{{wxParseData:article.nodes}}' /> */}

                    </ScrollView>

                }



            </Block>
        )
    }
}