123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- <!--pages/searchResults/searchResults.wxml-->
- <navBar></navBar>
- <wux-gallery id="wux-gallery" />
- <van-notify id="van-notify" />
- <myFloatButton count="{{patentNoList.length}}" bind:click="clickButton"></myFloatButton>
- <myDialog isShown="{{showDialog}}" title="选择关注的类型" bindcancel="closeDialog" bindconfirm="confirm">
- <view>
- <view class="grids" bordered="{{ false }}">
- <view class="grid {{followType == 1?'checked':''}}" data-type="1" catch:tap="attention">
- <view class="iconfont myIconanquanbangzhu operate_icon"></view>
- <view class="operate_text">白名单</view>
- </view>
- <view class="line"></view>
- <view class="grid {{followType == 2?'checked':''}}" data-type="2" catch:tap="attention">
- <view class="iconfont myIcongroup43 operate_icon"></view>
- <view class="operate_text">灰名单</view>
- </view>
- <view class="line"></view>
- <view class="grid {{followType == 0?'checked':''}}" data-type="0" catch:tap="attention">
- <view class="iconfont myIconicon-test operate_icon"></view>
- <view class="operate_text">黑名单</view>
- </view>
- </view>
- <view class="isAdd">
- <van-checkbox value="{{ isAdd }}" bind:change="changeIsAdd">选择的专利是否收藏到对应产品当中</van-checkbox>
- </view>
- </view>
- </myDialog>
- <wux-fab-button
- position="bottomRight"
- theme="balanced"
- direction="vertical"
- reverse="{{false}}"
- spaceBetween="{{ 10 }}"
- sAngle="{{ 0 }}"
- eAngle="{{ 360 }}"
- buttons="{{ buttons }}"
- bind:change="onChange"
- bind:click="onClick"
- bind:contact="onContact"
- bind:getuserinfo="onGotUserInfo"
- />
- <wux-refresher
- id="wux-refresher"
- bind:pulling="onPulling"
- bind:refresh="onRefresh"
- scrollTop="{{scrollTop}}"
- >
- <scroll-view scroll-y class="searchResults">
- <view class="head">
- <view class="img">
- <image class="img" src="/static/image/logo-3.png" mode=""/>
- </view>
- <view>
- <myInput value="{{keyword}}" placeholder="请输入产品相关关键词" bindchange="changeKeyword" bindsearch="search" bindclickInnerIcon="clickInnerIcon"></myInput>
- </view>
- </view>
- <view class="product">
- <view class="product_head">
- <view class="product_text">
- <wux-ellipsis class="head_left_title" wx:if="{{product.name}}" direction="end" content="产品名称:{{ product.name }}"/>
- <!-- <text wx:if="{{product.name}}">产品名称:{{product.name}}</text> -->
- </view>
- <view wx:if="{{product.concernType == 0 || product.concernType}}" class="product_icon">
- <view class="iconfont {{concernType[product.concernType]}}" style="font-size: 50rpx;" catch:tap="cancelFollow"></view>
- <view class="iconfont myIconmonitor" data-index="{{index}}" catch:tap="control"></view>
- </view>
- <view wx:else class="product_icon">
- <view class="iconfont myIconguanzhu" data-index="{{index}}" bind:tap="open"></view>
- <view class="iconfont myIconmonitor" data-index="{{index}}" bind:tap="control"></view>
- </view>
- </view>
- <view>
- <swiper class="swiper" autoplay="{{false}}" interval="{{3000}}" duration="{{500}}" indicator-dots="{{false}}">
- <block wx:if="{{searchType == 1 && product.systemFileList && product.systemFileList.length>0}}">
- <swiper-item wx:for="{{product.systemFileList}}" wx:for-item="img" wx:key="*this">
- <!-- <image src="{{imgHttp+img.guid}}" class="slide-image" /> -->
- <!-- <view class="slide-image" style="background-image: url('{{imgHttp+img.guid}}')"></view> -->
- <image src="{{imgHttp+img.guid}}" class="slide-image" mode="aspectFit"/>
- </swiper-item>
- </block>
- <swiper-item wx:elif="{{searchType == 0 && product.filePath}}">
- <image class="slide-image" src="{{product.filePath}}" mode="aspectFit"/>
- <!-- <view class="slide-image" style="background-image: url('{{product.filePath}}')"></view> -->
- </swiper-item>
- <swiper-item wx:else>
- <image class="slide-image" src="/static/image/empty.gif" mode="aspectFit"/>
- <!-- <view class="slide-image" style="background-image: url('/static/image/empty.gif')"></view> -->
- </swiper-item>
- </swiper>
- </view>
- <view class="product_text" wx:if="{{product.key}}">
- 检索内容:{{product.key}}
- </view>
- </view>
- <van-divider customStyle=" border-color: #6b6b6b;" dashed />
- <view class="content">
- <view class="content_head">
- <view class="content_head_description">注:非会员可选择100条</view>
- <view class="content_head_result">
- <view class="content_head_result_description">以下是您的检索结果:</view>
- <!-- <view class="content_head_result_btn" bind:tap="export">
- 一键导出
- </view> -->
- </view>
- </view>
- <view class="content_result" wx:if="{{tableData.length>0}}">
- <block wx:for="{{tableData}}" wx:key="index">
- <myCard edit="{{false}}">
- <view slot="head_left">
- <van-tag round color="#3f395c">{{index+ 1}}</van-tag> 专利号:{{item.appNo}}
- </view>
- <view slot="head_right">
- <van-checkbox-group value="{{ patentNoList }}" data-item="{{item}}" data-index="{{index}}" data-appNo="{{item.appNo}}" bind:change="changePatentNoList">
- <van-checkbox name="{{item.appNo}}"></van-checkbox>
- </van-checkbox-group>
- </view>
- <view>
- <swiper indicator-dots="{{true}}"
- autoplay="{{false}}" interval="{{2000}}" duration="{{500}}">
- <block wx:if="{{item.imageList && item.imageList.length>0}}" wx:for="{{item.imageList}}" wx:for-item="img" wx:key="index">
- <swiper-item>
- <view style="background-image: url('{{imgHttp+img.guid}}')" class="slide-image" data-current="{{img}}" data-imgList="{{item.imageList}}" bind:tap="previewImage"></view>
- <!-- <image src="{{imgHttp+img.guid}}" class="slide-image" data-current="{{img}}" data-imgList="{{item.systemFileList}}" bindtap="previewImage" mode="aspectFit"/> -->
- </swiper-item>
- </block>
- </swiper>
- <view wx:if="{{item.rightHolder && item.rightHolder.length>0}}">
- 专利权人:{{item.rightHolder[0].name}}
- </view>
- </view>
- </myCard>
- </block>
- <view class="loadData" wx:if="{{total && tableData.length>0}}">
- <view wx:if="{{total>tableData.length}}" bind:tap="loadMore">加载更多</view>
- <wux-spin wux-class="spin" size="small" wx:elif="{{loading}}"/>
- <view wx:elif="{{total>10}}">没有更多了</view>
- </view>
- </view>
- <van-empty wx:else description="暂无数据" />
- </view>
- </scroll-view>
- </wux-refresher>
|