knowDetail.wxml 1.7 KB
<import src="../../wxParse/wxParse.wxml"/>

<!-- 知识库详情页面 -->
<view class='know_page'>
  <view class='know_title'>{{knowdetail.title}}</view>
  <view class='know_con'>{{knowdetail.describe}}</view>
</view>
<view class='know_line'>专家解读</view>

<block wx:if="{{sonlist.length==0}}"><view class='list_none'>暂无数据</view></block>
<view wx:else>
  <!-- begin:切换标题 -->
  <view class='know_tab'>
    <block wx:for="{{sonlist}}" wx:key="">
      <view class="know_name {{currTab==index?'active':''}}" data-current='{{index}}' bindtap='clickTab'>
        <text></text>{{item.title}}
      </view>
    </block>
  </view>
  <!-- begin:用户提问 -->
  <view class='know_list'>
    <view class='know_person'>
      <view class='know_img'><image src='{{content.basic_pic}}'></image></view>
      <view class='know_info'>
        <view class='know_mother'>{{content.basic_name}}</view>
        <view class='know_state'>{{content.basic_status}}</view>
      </view>
    </view>
    <view class='know_content'>

     <template is="wxParse" data="{{wxParseData:article.nodes}}"/>
     <!-- {{content.basic_content}} -->
    </view>
  </view>
  <!-- begin:医生回答 -->
  <view class='know_doctor'>
    <view class='doctor_box'>
      <view class='doctor_info'>
        <view class='doctor_name'>{{content.basic_answer_name}}</view>
        <view class='doctor_post'>{{content.basic_answer_status}}</view>
      </view>
      <view class='doctor_img'><image src='{{content.basic_answer_pic}}'></image></view>
    </view>
    <view class='doctor_con'>
    <template is="wxParse" data="{{wxParseData:article1.nodes}}"/>
    <!-- {{content.basic_answer_content}} -->
    
    </view>
  </view>
</view>