1 line
2.9 KiB
Plaintext
1 line
2.9 KiB
Plaintext
<view><view class="w-750 h-450 absolute" style="top:0;z-index:1;background-image:linear-gradient(#bef0ad,85%,#f7f6fa);"></view><image class="w-120 h-120 fixed zi-3" style="right:50rpx;bottom:300rpx;" src="/static/fabu.png" data-event-opts="{{[['tap',[['goNext',['/pages/qushi/pushQuShi']]]]]}}" bindtap="__e"></image><view class="relative zi-2"><uni-nav-bar vue-id="1a389d1e-1" title="趣事" fw="{{true}}" backgroundColor="rgba(0,0,0,0)" border="{{false}}" data-event-opts="{{[['^clickLeft',[['goBack']]]]}}" bind:clickLeft="__e" bind:__l="__l"></uni-nav-bar><v-tabs vue-id="1a389d1e-2" value="{{current}}" lineColor="#578446" height="80rpx" lineScale="{{0.2}}" scroll="{{false}}" tabs="{{tabs}}" activeColor="#000" activeFontSize="36rpx" bgColor="rgba(0,0,0,0)" data-event-opts="{{[['^change',[['getQuList']]],['^input',[['__set_model',['','current','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></v-tabs><view class="w-710 ml-20 rowsb rowsm h-76 bgff br-60 pl-20 pr-6 mt-20"><view class="rows"><input class="fs-26 col999 pl-10" placeholder="输入搜索的内容" data-event-opts="{{[['confirm',[['search',['$event']]]],['input',[['__set_model',['','keyword','$event',[]]]]]]}}" value="{{keyword}}" bindconfirm="__e" bindinput="__e"/></view><view data-event-opts="{{[['tap',[['search',['$event']]]]]}}" class="w-116 h-64 br-60 fs-28 lh-64 tct colfff" style="background:#86b376;" bindtap="__e">搜索</view></view><block wx:if="{{quList&&quList[0]}}"><view class="w-710 ml-20 pt-20"><block wx:for="{{quList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goNext',['quDet?id='+item.id]]]]]}}" class="bgff pt-32 br-20 mb-20" bindtap="__e"><view class="rowsb rowsm pl-20 pr-20"><view class="rows rowsm"><image class="w-80 h-80 br-40" src="{{URL+item.avatar}}" mode="aspectFill"></image><view class="fs-30 col333 pl-12">{{item.username}}</view></view><view class="fs-24 col999">{{item.createtime}}</view></view><view style="border-bottom:2rpx solid #f1f1f1;"><view class="fs-30 col000 pt-20 pl-20 pr-20">{{item.content}}</view><view class="rows rowsm pt-20 pb-20 pl-14 pr-14"><block wx:for="{{item.images}}" wx:for-item="src" wx:for-index="index"><image class="br-10 w-208 h-204 ml-10 mr-10" src="{{URL+src}}" mode="aspectFill"></image></block></view></view><view class="rowse h-80 rowsm pr-20"><view data-event-opts="{{[['tap',[['dianZan',['$0',index],[[['quList','',index,'id']]]]]]]}}" class="rows rowsm" bindtap="__e"><image class="w-40 h-40" src="/static/dianzan.png"></image><text class="fs-28 col333 ml-8">{{"("+item.fabulous_num+")"}}</text></view><view class="rows rowsm ml-60"><image class="w-40 h-40" src="/static/pingl.png"></image><text class="fs-28 col333 ml-8">{{"("+item.comment_num+")"}}</text></view></view></view></block></view></block><block wx:else><view class="tct fs-26 pt-150 pb-30"><image class="w-400 h-400" src="/static/icon_20.png"></image><view class="col888 mt-50">暂无相关趣事</view></view></block></view></view> |