wordsDetail.wxml 2.8 KB
<!--pages/MemorizingWords/wordsDetail/wordsDetail.wxml-->
<view class='null_box'></view>
<view class='content_box'>
  <view class='banner_box'>
    <view class='label_box'>
      <view class='label_item'>
        <text>新学</text>
        <text>{{listdata.new_study}}</text>
      </view>
      <view class='label_item'>
        <text>需复习</text>
        <text>{{listdata.review}}</text>
      </view>
    </view>
    <view class='label_box info' data-status='4' bindtap='{{ifclick?"handleWords":""}}'>
      <view class='iconfont icon-xuanzhong'></view>
      <view>熟识</view>
    </view>
  </view>
</view>
<view class='content_item' wx:if='{{page==0}}'>
  <view class='item_content'>
    <view class='words'>{{listdata.info.word}}</view>
    <view class='phonetic_symbol' catchtap='audioPlay' >
      <view class='iconfont icon-laba1' wx:if='{{f}}'></view>
      <view>{{listdata.info.yinbiao}}</view>
    </view>
    <view class='paraphrase'>{{listdata.info.explain}}</view>
  </view>
  <view class='mask_box' bindtap='showParaphrase'>
    <view class='iconfont icon-dianji'></view>
    <view>点击屏幕显示释义</view>
  </view>
</view>

<block wx:if='{{page==1}}'>
  <view class='content_item content_item2'>
  <view class='content_itembox'>
   <view class='item_content'>
      <view class='words'>{{listdata.info.word}}</view>
      <view class='phonetic_symbol'>
        <view class='iconfont icon-laba1' wx:if='{{f}}'></view>
        <view>{{listdata.info.yinbiao}}</view>
      </view>
      <view class='paraphrase'>{{listdata.info.explain}}</view>
    </view>
    <view class='item_box'>
      <view class='item_list'>
        <view class='title'>例句</view>
        <view class='list_content'>
          <view>
            <view class='point' wx:if='{{listdata.info.liju.length !=0}}'></view>
          </view>
          <view><text> {{listdata.info.liju}}</text>
          </view>
        </view>
      </view>
       <view class='item_list'>
        <view class='title'>大仙点评</view>
        <view class='list_content'>
          <view>
            <view class='point' wx:if='{{listdata.info.dianping.length !=0}}'></view>
          </view>
          <view>{{listdata.info.dianping}}
          </view>
        </view>
      </view>
      <view class='item_list'>
        <view class='title'>近义词</view>
        <view class='list_content'>
          <view>{{listdata.info.jinyici?listdata.info.jinyici:'暂无'}}</view>
        </view>
      </view>
    </view> 
  </view>
   
  </view>
</block>
 <view class='bottom_btn'>
  <view class='btn' data-status='1'  bindtap='{{ifclick?"handleWords":""}}'>认识</view>
  <view class='btn' data-status='2'  bindtap='{{ifclick?"handleWords":""}}'>不认识</view>
  <view class='btn' data-status='3'  bindtap='{{ifclick?"handleWords":""}}'>模糊</view>
  <view class='btn' wx:if=''>忘记</view>
</view>