<!--module/diet/pages/science-info/science-info.wxml-->
<!-- <web-view src="https://mp.weixin.qq.com/"></web-view> -->

<view class="science-info-container">
  <block wx:if="{{dataset.content}}">
    <web-view src="{{dataset.content}}"></web-view>
  </block>
  <block wx:else>
    <t-navbar title="健康宣教" left-arrow />
    <scroll-view class="page-scroll__container" type="list" scroll-y style="{{containerStyle}}">
      <block wx:if="{{dataset.briefImg}}">
        <image src="{{dataset.briefImg}}" mode="widthFix" style="width: 100%;"></image>
      </block>
      <view class="title">{{dataset.title}}</view>
      <view class="description">
        <view></view>
        <block wx:if="{{dataset.readVolume}}">
          <view>{{dataset.readVolume}}人阅读</view>
        </block>
      </view>
    </scroll-view>
  </block>
</view>

<view style="height: {{container.safeBottomOffset}}px;flex: none;"></view>
<t-message id="{{$messageId}}" />