myarticle.ttml 2.7 KB

1
  1. <view class="data-v-53fa72d2"><fa-navbar vue-id="1f0e1864-1" title="我发布的文章" class="data-v-53fa72d2" bind:__l="__l"></fa-navbar><block tt:if="{{isTab}}"><view class="u-border-top data-v-53fa72d2"><u-tabs vue-id="1f0e1864-2" list="{{tabList}}" active-color="{{theme.bgColor}}" bar-width="{{tabwidth}}" name="name" is-scroll="{{true}}" current="{{current}}" data-event-opts="{{[['^change',[['change']]]]}}" bind:change="__e" class="data-v-53fa72d2" bind:__l="__l"></u-tabs></view></block><block tt:for="{{$root.l0}}" tt:for-item="res" tt:for-index="index" tt:key="id"><u-swipe-action vue-id="{{'1f0e1864-3-'+index}}" show="{{res.$orig.show}}" index="{{index}}" options="{{options}}" data-event-opts="{{[['^click',[['click']]],['^open',[['open',[index]]]]]}}" bind:click="__e" bind:open="__e" class="data-v-53fa72d2" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['goDetail',['$0'],[[['list','id',res.$orig.id]]]]]]]}}" class="article data-v-53fa72d2" bindtap="__e"><view class="left data-v-53fa72d2"><image src="{{res.$orig.image}}" mode="aspectFill" class="data-v-53fa72d2"></image></view><view class="right data-v-53fa72d2"><view class="content u-line-2 data-v-53fa72d2"><block tt:if="{{res.$orig.status=='hidden'}}"><view class="u-m-r-10 flag data-v-53fa72d2"><u-tag vue-id="{{('1f0e1864-4-'+index)+','+('1f0e1864-3-'+index)}}" text="审核中" type="error" size="mini" class="data-v-53fa72d2" bind:__l="__l"></u-tag></view></block>{{''+res.$orig.title+''}}</view><view class="u-flex u-flex-wrap data-v-53fa72d2"><block tt:for="{{res.$orig.taglist}}" tt:for-item="item" tt:for-index="ik" tt:key="ik"><view class="u-m-r-10 data-v-53fa72d2"><u-tag vue-id="{{('1f0e1864-5-'+index+'-'+ik)+','+('1f0e1864-3-'+index)}}" text="{{item.name}}" shape="circle" bg-color="{{lightColor}}" border-color="{{faBorderColor}}" color="{{theme.bgColor}}" type="info" size="mini" mode="light" class="data-v-53fa72d2" bind:__l="__l"></u-tag></view></block></view><view class="u-p-t-10 u-tips-color data-v-53fa72d2">{{"发布时间:"+res.f0}}</view></view></view></u-swipe-action></block><block tt:if="{{list.length}}"><view class="u-p-t-30 u-p-b-30 data-v-53fa72d2"><u-loadmore vue-id="1f0e1864-6" bg-color="#ffffff" status="{{has_more?status:'nomore'}}" class="data-v-53fa72d2" bind:__l="__l"></u-loadmore></view></block><block tt:if="{{!list.length}}"><view class="fa-empty data-v-53fa72d2"><u-empty vue-id="1f0e1864-7" class="data-v-53fa72d2" bind:__l="__l"></u-empty></view></block><u-back-top vue-id="1f0e1864-8" scroll-top="{{scrollTop}}" icon-style="{{$root.a0}}" custom-style="{{({backgroundColor:lightColor})}}" class="data-v-53fa72d2" bind:__l="__l"></u-back-top><fa-tabbar vue-id="1f0e1864-9" class="data-v-53fa72d2" bind:__l="__l"></fa-tabbar></view>