searchwords.wxml 2.0 KB
<!--pages/MemorizingWords/searchwords/searchwords.wxml-->
<view class='null_box'></view>
<view class='content_box'>
  <view class='banner_box'>
  </view>
</view>
<view class='content_item' wx:if='{{page==0}}'>
  <view class='item_content'>
    <view class='words'>{{listdata.word}}</view>
    <view class='phonetic_symbol'>
      <view class='iconfont icon-laba1' wx:if='{{f}}'></view>
      <view>{{listdata.yinbiao}}</view>
    </view>
    <view class='paraphrase'>{{listdata.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.word}}</view>
        <view class='phonetic_symbol'>
          <view class='iconfont icon-laba1' wx:if='{{f}}'></view>
          <view>{{listdata.yinbiao}}</view>
        </view>
        <view class='paraphrase'>{{listdata.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.liju.length !=0}}'></view>
            </view>
            <view><text>{{listdata.liju}}</text>
            </view>
            
          </view>
        </view>
         <view class='item_list'>
          <view class='title'>大仙点评</view>
          <view class='list_content'>
            <view>
              <view class='point' wx:if='{{listdata.dianping.length !=0}}'></view>
            </view>
            <view>{{listdata.dianping}}
            </view>
          </view>
        </view>
        <view class='item_list'>
          <view class='title'>近义词</view>
          <view class='list_content'>
            <view>{{listdata.jinyici}}</view>
          </view>
        </view>
      </view>
    </view>
  </view>
</block>