myarticle.swan 2.6 KB

1
  1. <view class="data-v-53fa72d2"><fa-navbar vue-id="1f0dadd6-1" title="我发布的文章" class="data-v-53fa72d2"></fa-navbar><block s-if="{{isTab}}"><view class="u-border-top data-v-53fa72d2"><fa-u-tabs vue-id="1f0dadd6-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"></fa-u-tabs></view></block><block s-for="$root.l0 trackBy res.$orig.id" s-for-item="res" s-for-index="index"><u-swipe-action vue-id="{{'1f0dadd6-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" 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 s-if="{{res.$orig.status=='hidden'}}"><view class="u-m-r-10 flag data-v-53fa72d2"><u-tag vue-id="{{('1f0dadd6-4-'+index)+','+('1f0dadd6-3-'+index)}}" text="审核中" type="error" size="mini" class="data-v-53fa72d2"></u-tag></view></block>{{''+res.$orig.title+''}}</view><view class="u-flex u-flex-wrap data-v-53fa72d2"><block s-for="res.$orig.taglist trackBy ik" s-for-item="item" s-for-index="ik"><view class="u-m-r-10 data-v-53fa72d2"><u-tag vue-id="{{('1f0dadd6-5-'+index+'-'+ik)+','+('1f0dadd6-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"></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 s-if="{{list.length}}"><view class="u-p-t-30 u-p-b-30 data-v-53fa72d2"><u-loadmore vue-id="1f0dadd6-6" bg-color="#ffffff" status="{{has_more?status:'nomore'}}" class="data-v-53fa72d2"></u-loadmore></view></block><block s-if="{{!list.length}}"><view class="fa-empty data-v-53fa72d2"><u-empty vue-id="1f0dadd6-7" class="data-v-53fa72d2"></u-empty></view></block><u-back-top vue-id="1f0dadd6-8" scroll-top="{{scrollTop}}" icon-style="{{$root.a0}}" custom-style="{{({backgroundColor:lightColor})}}" class="data-v-53fa72d2"></u-back-top><fa-tabbar vue-id="1f0dadd6-9" class="data-v-53fa72d2"></fa-tabbar></view>