Files
huangjingfen/pro_v3.5.1/public/statics/mp_view/pages/discoverIndex/index.wxml

1 line
16 KiB
Plaintext
Raw Normal View History

<view style="{{(colorStyle)}}" class="data-v-1fff7f35"><view class="{{['plant-grass','guodu','data-v-1fff7f35',pageTheme]}}"><view class="header_box guodu fixed-lt w-full z-999 data-v-1fff7f35" style="{{'padding-top:'+(sysHeight+'px')+';'}}"><view class="h-80 pl-30 pr-20 flex-between-center data-v-1fff7f35" style="{{$root.s0}}"><text data-event-opts="{{[['tap',[['bubbleTo',['/pages/discover/discoverUser/index?id='+uid]]]]]}}" class="iconfont icon-a-ic_user1 fs-40 data-v-1fff7f35" bindtap="__e"></text><view class="flex-y-center fs-32 data-v-1fff7f35"><text data-event-opts="{{[['tap',[['changeTab',[0]]]]]}}" class="{{['tab-item','data-v-1fff7f35',(tabActive==0)?'active-tab':'']}}" bindtap="__e">关注</text><text data-event-opts="{{[['tap',[['changeTab',[1]]]]]}}" class="{{['tab-item','pl-52','data-v-1fff7f35',(tabActive==1)?'active-tab':'']}}" bindtap="__e">发现</text><text data-event-opts="{{[['tap',[['changeTab',[2]]]]]}}" class="{{['tab-item','pl-52','data-v-1fff7f35',(tabActive==2)?'active-tab':'']}}" bindtap="__e">精选</text><text data-event-opts="{{[['tap',[['authTo',['/pages/discover/discoverSearch/index']]]]]}}" class="iconfont icon-ic_search block pl-32 fs-36 data-v-1fff7f35" bindtap="__e"></text></view></view></view><block wx:if="{{tabActive==0}}"><view style="{{'padding-top:'+(marTop)+';'}}" class="data-v-1fff7f35"><block wx:if="{{$root.g0}}"><view class="guanzhu bg--w111-fff w-full data-v-1fff7f35"><scroll-view class="white-nowrap vertical-middle w-full data-v-1fff7f35" scroll-x="true" show-scrollbar="false"><block wx:for="{{followList}}" wx:for-item="user" wx:for-index="i" wx:key="i"><view class="inline-block mr-40 data-v-1fff7f35"><view class="w-110 flex-col flex-center relative data-v-1fff7f35"><image class="w-100 h-100 rd-50-p111- data-v-1fff7f35" src="{{user.author_image}}" data-event-opts="{{[['tap',[['authTo',['/pages/discover/discoverUser/index?id='+user.relation_id]]]]]}}" bindtap="__e"></image><view class="w-110 fs-22 pt-16 text-center line1 data-v-1fff7f35">{{user.author}}</view><block wx:if="{{user.is_new}}"><view class="new-dot data-v-1fff7f35"></view></block></view></view></block><block wx:if="{{$root.g1}}"><view class="inline-block mr-40 data-v-1fff7f35"><view data-event-opts="{{[['tap',[['authTo',['/pages/discover/discoverFollow/index?type=0']]]]]}}" class="flex-y-center relative bottom-40 data-v-1fff7f35" bindtap="__e"><view class="flex-col flex-center fs-22 text--w111-666 lh-30rpx pr-20 data-v-1fff7f35"><text class="data-v-1fff7f35">全部</text><text class="data-v-1fff7f35">关注</text></view><text class="iconfont icon-ic_right21 fs-24 text--w111-ccc data-v-1fff7f35"></text></view></view></block></scroll-view></view></block><block wx:if="{{$root.g2}}"><view class="bg--w111-f5f5f5 pl-20 pr-20 pt-20 data-v-1fff7f35"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['guanzhu',['$0'],[[['contentList','',index]]]]]]]}}" class="bg--w111-fff rd-24rpx p-30rpx pro-card data-v-1fff7f35" bindtap="__e"><view class="flex-between-center data-v-1fff7f35"><view data-event-opts="{{[['tap',[['authTo',['/pages/discover/discoverUser/index?id='+item.$orig.relation_id]]]]]}}" class="flex-y-center data-v-1fff7f35" catchtap="__e"><image class="w-52 h-52 rd-50-p111- data-v-1fff7f35" src="{{item.$orig.author_image}}"></image><view class="fs-26 fw-500 pl-16 data-v-1fff7f35">{{item.$orig.author}}</view></view><text class="fs-24 text--w111-999 data-v-1fff7f35">{{item.$orig.time_text}}</text></view><view class="mt-20 data-v-1fff7f35"><block wx:if="{{item.$orig.content_type==1}}"><view class="data-v-1fff7f35"><swiper class="guanzhu-swiper data-v-1fff7f35" circular="{{true}}" indicator-dots="{{true}}" indicator-color="rgba(255, 255, 255, 0.4)" indicator-active-color="#f5f5f5" autoplay="{{true}}" interval="{{4000}}" duration="{{500}}"><block wx:for="{{item.$orig.slider_image}}" wx:for-item="pic" wx:for-index="i" wx:key="i"><swiper-item class="data-v-1fff7f35"><view class="swiper-item flex-center data-v-1fff7f35"><easy-loadimage vue-id="{{'c34b8eba-1-