yunshangxie/unpackage/dist/dev/mp-weixin/pages/index/search.wxml

1 line
8.6 KiB
Plaintext

<view style="letter-spacing:1rpx;" class="data-v-64d2b7fe"><tn-nav-bar vue-id="3584c8c8-1" isBack="{{false}}" backTitle bottomShadow="{{true}}" backgroundColor="#FFFFFF" class="data-v-64d2b7fe" bind:__l="__l" vue-slots="{{['default']}}"><view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left data-v-64d2b7fe"><view data-event-opts="{{[['tap',[['goBack']]]]}}" style="padding-left:15rpx;" bindtap="__e" class="data-v-64d2b7fe"><text class="tn-icon-left data-v-64d2b7fe" style="font-size:40rpx;"></text></view><view class="tn-margin-top data-v-64d2b7fe" style="text-shadow:1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;"><tn-tabs vue-id="{{('3584c8c8-2')+','+('3584c8c8-1')}}" list="{{[{name:'搜索'}]}}" current="{{topCurrent}}" activeColor="#000" bold="{{false}}" fontSize="{{36}}" class="data-v-64d2b7fe" bind:__l="__l"></tn-tabs></view></view></tn-nav-bar><view class="data-v-64d2b7fe"><view class="tn-flex tn-flex-row-between tn-flex-col-center tn-margin data-v-64d2b7fe" style="{{'margin-top:'+(vuex_custom_bar_height+20+'px')+';'}}"><view class="justify-content-item align-content-item data-v-64d2b7fe" style="width:100%;"><view class="tn-flex tn-flex-col-center data-v-64d2b7fe" style="border-radius:100rpx;padding:10rpx 20rpx 10rpx 20rpx;width:95%;background-color:rgba(248, 247, 248, 0.9);"><text class="tn-icon-search justify-content-item tn-padding-right-xs tn-color-gray tn-text-lg data-v-64d2b7fe"></text><input class="justify-content-item data-v-64d2b7fe" style="width:90%;" placeholder="请填写搜索内容" name="input" placeholder-style="color:#AAAAAA" data-event-opts="{{[['input',[['__set_model',['','content','$event',[]]]]]]}}" value="{{content}}" bindinput="__e"/></view></view><view class="align-content-item data-v-64d2b7fe"><view class="justify-content-item tn-text-center data-v-64d2b7fe"><tn-button vue-id="3584c8c8-3" backgroundColor="#3668fc" shape="round" padding="20rpx 20rpx" width="150rpx" data-event-opts="{{[['^tap',[['getSerach']]]]}}" bind:tap="__e" class="data-v-64d2b7fe" bind:__l="__l" vue-slots="{{['default']}}"><text class="tn-color-white data-v-64d2b7fe">搜 索</text></tn-button></view></view></view></view><block wx:if="{{is_serach}}"><view class="data-v-64d2b7fe"><block wx:if="{{$root.g0>0}}"><view class="tn-flex tn-flex-row-between tn-padding-bottom data-v-64d2b7fe" style="padding-top:20rpx;margin:30rpx 30rpx 0rpx 30rpx;"><view class="justify-content-item tn-text-bold data-v-64d2b7fe"><text class="tn-text-df tn-color-black data-v-64d2b7fe">会员搜索结果</text></view></view></block><view style="padding:0rpx 30rpx;" class="data-v-64d2b7fe"><block wx:for="{{list.member}}" wx:for-item="item" wx:for-index="index"><view data-event-opts="{{[['tap',[['tn',['/pages/index/my_card?id='+item.id]]]]]}}" class="tn-flex tn-flex-center tn-flex-col-center data-v-64d2b7fe" style="background-color:#ffffff;padding:30rpx;border-radius:15rpx;margin-bottom:20rpx;box-shadow:0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1);" bindtap="__e"><view class="data-v-64d2b7fe"><image style="width:100rpx;height:100rpx;border-radius:50%;" src="{{apiImgUrl+item.photo_image}}" class="data-v-64d2b7fe"></image></view><view style="margin-left:20rpx;" class="data-v-64d2b7fe"><view style="font-size:31rpx;font-weight:600;letter-spacing:5rpx;" class="data-v-64d2b7fe">{{item.nikename}}</view><view style="font-size:24rpx;colo r:#808080;margin-top:15rpx;" class="data-v-64d2b7fe">{{item.enterprise_name+''}}</view></view></view></block></view><block wx:if="{{$root.g1>0}}"><view class="tn-flex tn-flex-row-between tn-padding-bottom data-v-64d2b7fe" style="padding-top:20rpx;margin:30rpx 30rpx 0rpx 30rpx;"><view class="justify-content-item tn-text-bold data-v-64d2b7fe"><text class="tn-text-df tn-color-black data-v-64d2b7fe">协会搜索结果</text></view></view></block><view style="padding:0rpx 30rpx;" class="data-v-64d2b7fe"><block wx:for="{{list.association}}" wx:for-item="item" wx:for-index="index"><view data-event-opts="{{[['tap',[['tn',['/pages/index/pizz_info?id='+item.id]]]]]}}" class="tn-flex tn-flex-center tn-flex-col-center data-v-64d2b7fe" style="background-color:#ffffff;padding:30rpx;border-radius:15rpx;margin-bottom:20rpx;box-shadow:0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1);" bindtap="__e"><view class="data-v-64d2b7fe"><image style="width:100rpx;height:100rpx;border-radius:50%;" src="{{apiImgUrl+item.association_image}}" class="data-v-64d2b7fe"></image></view><view style="margin-left:20rpx;" class="data-v-64d2b7fe"><view style="font-size:31rpx;font-weight:600;letter-spacing:5rpx;" class="data-v-64d2b7fe">{{item.association_name+''}}</view><view style="font-size:24rpx;color:#808080;margin-top:15rpx;" class="data-v-64d2b7fe">{{"成立时间:"+item.createtime}}</view></view></view></block></view><block wx:if="{{$root.g2>0}}"><view class="tn-flex tn-flex-row-between tn-padding-bottom data-v-64d2b7fe" style="padding-top:20rpx;margin:30rpx 30rpx 0rpx 30rpx;"><view class="justify-content-item tn-text-bold data-v-64d2b7fe"><text class="tn-text-df tn-color-black data-v-64d2b7fe">活动搜索结果</text></view></view></block><view class="data-v-64d2b7fe"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index"><view style="background-color:#ffffff;" class="data-v-64d2b7fe"><view data-event-opts="{{[['tap',[['tn',['/pages/index/event_info?id='+item.$orig.id]]]]]}}" class="tn-flex tn-flex-row-between data-v-64d2b7fe" style="padding:20rpx;" bindtap="__e"><block wx:if="{{item.$orig.activity_image}}"><view style="margin-left:20rpx;" class="data-v-64d2b7fe"><image style="width:230rpx;height:180rpx;border-radius:8rpx;" src="{{apiImgUrl+item.$orig.activity_image}}" mode="aspectFill" class="data-v-64d2b7fe"></image></view></block><view style="position:relative;min-height:200rpx;width:100%;" class="data-v-64d2b7fe"><view class="tn-text-ellipsis-3 data-v-64d2b7fe" style="font-size:28rpx;padding-left:20rpx;">{{''+item.$orig.activity_name+''}}</view><view class="tn-flex tn-flex-row-between data-v-64d2b7fe" style="width:100%;padding:20rpx;font-size:24rpx;color:rgb(171, 171, 171);position:absolute;bottom:0rpx;overflow:hidden;"><view class="data-v-64d2b7fe">{{item.m0}}</view><view class="data-v-64d2b7fe"><block wx:if="{{item.$orig.activity_type==1}}"><text style="vertical-align:middle;" class="data-v-64d2b7fe">协会活动</text></block><block wx:if="{{item.$orig.activity_type==2}}"><text style="vertical-align:middle;" class="data-v-64d2b7fe">调查问卷</text></block><block wx:if="{{item.$orig.activity_type==3}}"><text style="vertical-align:middle;" class="data-v-64d2b7fe">公益捐赠</text></block><block wx:if="{{item.$orig.activity_type==4}}"><text style="vertical-align:middle;" class="data-v-64d2b7fe">学习培训</text></block></view></view></view></view><block wx:if="{{item.g3-1>index}}"><view style="background:rgba(217, 217, 217, 0.5);width:90%;margin:0 auto;height:2rpx;" class="data-v-64d2b7fe"></view></block></view></block></view><block wx:if="{{$root.g4>0}}"><view class="tn-flex tn-flex-row-between tn-padding-bottom data-v-64d2b7fe" style="padding-top:20rpx;margin:30rpx 30rpx 0rpx 30rpx;"><view class="justify-content-item tn-text-bold data-v-64d2b7fe"><text class="tn-text-df tn-color-black data-v-64d2b7fe">新闻搜索结果</text></view></view></block><view style="padding:0px 30rpx;" class="data-v-64d2b7fe"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index"><view style="background-color:#ffffff;" class="data-v-64d2b7fe"><view data-event-opts="{{[['tap',[['tn',['/pages/index/new_info?id='+item.$orig.id]]]]]}}" class="tn-flex tn-flex-row-between data-v-64d2b7fe" style="padding:20rpx;" bindtap="__e"><block wx:if="{{item.$orig.news_image}}"><view style="margin-left:20rpx;" class="data-v-64d2b7fe"><image style="width:230rpx;height:180rpx;border-radius:8rpx;" src="{{apiImgUrl+item.$orig.news_image}}" mode="aspectFill" class="data-v-64d2b7fe"></image></view></block><view style="position:relative;min-height:200rpx;width:100%;" class="data-v-64d2b7fe"><view class="tn-text-ellipsis-3 data-v-64d2b7fe" style="font-size:28rpx;padding-left:20rpx;">{{''+item.$orig.news_title+''}}</view><view class="tn-flex tn-flex-row-between data-v-64d2b7fe" style="width:100%;padding:20rpx;font-size:24rpx;color:rgb(171, 171, 171);position:absolute;bottom:0rpx;overflow:hidden;"><view class="data-v-64d2b7fe">{{item.m1}}</view><view class="data-v-64d2b7fe"><text class="tn-icon-eye data-v-64d2b7fe" style="vertical-align:middle;"></text><text style="vertical-align:middle;" class="data-v-64d2b7fe">{{item.$orig.news_hits}}</text></view></view></view></view><block wx:if="{{item.g5-1>index}}"><view style="background:rgba(217, 217, 217, 0.5);width:90%;margin:0 auto;height:2rpx;" class="data-v-64d2b7fe"></view></block></view></block></view></view></block></view>