forked from nsjcy/frontEnd/nsjcy

liuwh
2020-03-10 800ffe29f328c84d4de46e8867ad3ca5cbae0d4f
SunshineLnsMinApp/pages/flcx/flcx.wxml
@@ -1,44 +1,30 @@
<!--pages/flcx/flcx.wxml-->
<view class="cu-bar bg-white search solid-top" style="top:{{CustomBar}}px">
<!-- <view class="cu-bar bg-white search solid-top fixed" style="top:{{CustomBar}}px">
  <view class="search-form round">
    <text class="cuIcon-search"></text>
    <input type="text" placeholder="搜索" confirm-type="search" bindinput="searchIcon"></input>
  </view>
</view>
<!-- <view class="flex1">
  <view class="cu-bar bg-white margin-top">
    <view class="action">
      <text class="cuIcon-title text-blue"></text>热门搜索
    </view>
  </view>
  <view class="padding-sm flex flex-wrap">
    <view class="padding-xs" wx:for="{{wordList}}" wx:key  >
      <view class="cu-tag bg-white">{{item}}</view>
    </view>
  </view>
   <view class="cu-bar bg-white margin-top">
    <view class="action">
      <text class="cuIcon-title text-blue"></text>历史搜索
    </view>
  </view>
  <view class="padding-sm flex flex-wrap">
    <view class="padding-xs" wx:for="{{wordList}}" wx:key  >
      <view class="cu-tag bg-white">{{item}}</view>
    </view>
    <wux-search-bar clear value="{{ value }}" controlled placeholder="Search" bind:change="onChange" bind:focus="onFocus" bind:blur="onBlur" bind:confirm="onConfirm" bind:clear="onClear" bind:cancel="onCancel"/>
  </view>
</view> -->
      <wux-search-bar class="zscqdxal-top" clear value="{{ value }}" controlled placeholder="搜索" bind:change="onChange" bind:focus="onFocus" bind:blur="onBlur" bind:confirm="onConfirm" bind:clear="onClear" bind:cancel="onCancel"/>
      <!-- <wux-search-bar clear show-cancel value="{{ value }}" controlled placeholder="Search" bind:change="onChange" bind:focus="onFocus" bind:blur="onBlur" bind:confirm="onConfirm" bind:clear="onClear" bind:cancel="onCancel" /> -->
<view class="flex1 bg-white margin-top">
<wux-refresher id="wux-refresher" bind:pulling="onPulling" bind:refresh="onRefresh" bind:loadmore="onLoadmore" scrollTop="{{scrollTop}}">
  <view class="weui-panel weui-panel_access">
    <view class="weui-panel__bd">
      <view class="weui-media-box weui-media-box_text" wx:for="{{ items }}" wx:key="">
        <view class="weui-media-box__title weui-media-box__title_in-text">{{ item.title }}</view>
        <view class="weui-media-box__desc">{{ item.content }}</view>
        <!-- <view class="weui-media-box__title weui-media-box__title_in-text">{{ item.title }}</view>
                <view class="weui-media-box__desc">{{ item.content }}</view> -->
        <view class="zhwj-b-main" data-str="flcxInfo" data-id="{{item.code_id}}" bindtap='linkFunction'>
          <view class="zhwj-b-head-l">
            <view class="zhwj-b-head-l-title text-black"><rich-text nodes="{{item.code_name}}"></rich-text></view>
            <view class="text-grey">{{item.law_type}} {{item.issuing_agency}} {{item.release}} {{item.implement_date}}</view>
          </view>
          <!-- <view class="zhwj-b-head-r">
            <image mode='widthFix' src="{{dongtai1_1}}"></image>
          </view> -->
        </view>
      </view>
    </view>
  </view>
</view>
</wux-refresher>