Files
huangjingfen/pro_v3.5.1/public/statics/mp_view/pages/discoverIndex/index.wxml
panchengyong 7acbf45ff7 new files
2026-03-07 22:29:07 +08:00

1 line
16 KiB
Plaintext

<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-'+index+'-'+i}}" mode="aspectFill" image-src="{{pic}}" width="650rpx" height="650rpx" borderRadius="24rpx" class="data-v-1fff7f35" bind:__l="__l"></easy-loadimage></view></swiper-item></block></swiper></view></block><block wx:else><view class="relative data-v-1fff7f35"><image class="w-full h-650 rd-24rpx data-v-1fff7f35" src="{{item.$orig.image}}" mode="aspectFill"></image><view class="player flex-center data-v-1fff7f35"><text class="iconfont icon-ic_right2 text--w111-fff fs-32 data-v-1fff7f35"></text></view></view></block><block wx:if="{{item.g3}}"><view class="w-full mt-32 data-v-1fff7f35"><scroll-view class="white-nowrap vertical-middle w-full data-v-1fff7f35" scroll-x="true" show-scrollbar="false"><block wx:for="{{item.$orig.product}}" wx:for-item="pro" wx:for-index="k" wx:key="k"><view class="inline-block scroll-pro data-v-1fff7f35"><view data-event-opts="{{[['tap',[['authTo',['/pages/goods_details/index?id='+pro.id]]]]]}}" class="w-414 rd-16rpx p-16 b-e flex-between-center data-v-1fff7f35" catchtap="__e"><easy-loadimage vue-id="{{'c34b8eba-2-'+index+'-'+k}}" image-src="{{pro.image}}" width="104rpx" height="104rpx" borderRadius="8rpx" class="data-v-1fff7f35" bind:__l="__l"></easy-loadimage><view class="flex-1 pl-14 data-v-1fff7f35"><view class="w-256 line1 fs-26 pb-20 data-v-1fff7f35">{{pro.store_name}}</view><base-money vue-id="{{'c34b8eba-3-'+index+'-'+k}}" money="{{pro.price}}" symbolSize="22" integerSize="32" decimalSize="24" weight="{{true}}" class="data-v-1fff7f35" bind:__l="__l"></base-money></view></view></view></block></scroll-view></view></block><block wx:else><block wx:if="{{item.g4}}"><view class="w-full mt-24 pb-40 bb-f5 data-v-1fff7f35"><view data-event-opts="{{[['tap',[['authTo',['/pages/goods_details/index?id='+item.$orig.product[0].id]]]]]}}" class="w-full rd-16rpx p-16 b-e flex-between-center data-v-1fff7f35" catchtap="__e"><image class="w-104 h-104 rd-8rpx data-v-1fff7f35" src="{{item.$orig.product[0].image}}"></image><view class="flex-1 pl-14 data-v-1fff7f35"><view class="w-464 line1 fs-26 pb-20 data-v-1fff7f35">{{item.$orig.product[0].store_name}}</view><view class="flex-between-center data-v-1fff7f35"><base-money vue-id="{{'c34b8eba-4-'+index}}" money="{{item.$orig.product[0].price}}" symbolSize="22" integerSize="32" decimalSize="24" color="#333" weight="{{true}}" class="data-v-1fff7f35" bind:__l="__l"></base-money><view class="w-96 h-40 rd-20rpx flex-center fs-22 font-num theme-border data-v-1fff7f35">购买</view></view></view></view></view></block></block><view class="fs-30 fw-500 lh-44rpx mt-32 data-v-1fff7f35">{{item.$orig.title}}</view><view class="pt-12 fs-28 lh-42rpx data-v-1fff7f35"><base-text-more vue-id="{{'c34b8eba-5-'+index}}" content="{{item.$orig.content}}" fontColor="#333" actionFontColor="#333" font-size="{{28}}" rows="{{2}}" expand-text="展开" collapse-text="收起" class="data-v-1fff7f35" bind:__l="__l"></base-text-more><block wx:for="{{item.$orig.topic}}" wx:for-item="topic" wx:for-index="__i0__"><text data-event-opts="{{[['tap',[['authTo',['/pages/discover/discoverTopic/index?id='+topic.id]]]]]}}" class="pr-20 font-num data-v-1fff7f35" catchtap="__e">{{"#"+topic.name}}</text></block></view><view class="flex-between-center mt-44 data-v-1fff7f35"><button class="flex-y-center data-v-1fff7f35" open-type="share" hover-class="none" data-event-opts="{{[['tap',[['openShare',['$0'],[[['contentList','',index]]]]]]]}}" catchtap="__e"><text class="iconfont icon-ic_share fs-44 data-v-1fff7f35"></text><text class="fs-26 pl-12 data-v-1fff7f35">{{item.$orig.share_num}}</text></button><view class="flex-y-center data-v-1fff7f35"><view data-event-opts="{{[['tap',[['contentLike',['$0'],[[['contentList','',index]]]]]]]}}" class="flex-y-center data-v-1fff7f35" catchtap="__e"><text class="{{['iconfont','fs-44','data-v-1fff7f35',item.$orig.is_like?'icon-ic_love_2':'icon-ic_love']}}"></text><text class="fs-26 pl-12 data-v-1fff7f35">{{item.$orig.like_num}}</text></view><view class="flex-y-center pl-24 data-v-1fff7f35"><text class="iconfont icon-ic_daipingjia1 fs-44 data-v-1fff7f35"></text><text class="fs-26 pl-12 data-v-1fff7f35">{{item.$orig.comment_num}}</text></view></view></view></view></view></block></view></block><block wx:else><view class="px-20 mt-20 data-v-1fff7f35"><empty-page vue-id="c34b8eba-6" title="{{isLogin?'暂无关注内容~':'登录后可查看关注用户的发布哦 '}}" isLogin="{{isLogin}}" src="{{isLogin?'/statics/images/video/no_friend.png':'/statics/images/noSearch.gif'}}" class="data-v-1fff7f35" bind:__l="__l"></empty-page></view></block><block wx:if="{{$root.g5}}"><view class="px-20 mt-40 data-v-1fff7f35"><view class="recommend data-v-1fff7f35"><view class="flex-center data-v-1fff7f35"><image class="w-42 h-36 data-v-1fff7f35" src="/static/img/recommend_zs.png"></image><text class="fs-32 fw-500 text--w111-333 lh-44rpx px-6 data-v-1fff7f35">为你推荐</text><image class="w-42 h-36 data-v-1fff7f35" src="/static/img/recommend_zs.png"></image></view><view class="mt-24 w-full data-v-1fff7f35"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="card w-full mb-20 data-v-1fff7f35"><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" bindtap="__e"><easy-loadimage vue-id="{{'c34b8eba-7-'+index}}" image-src="{{item.$orig.author_image}}" width="80rpx" height="80rpx" borderRadius="40rpx" class="data-v-1fff7f35" bind:__l="__l"></easy-loadimage><view class="pl-20 data-v-1fff7f35"><view class="fs-28 lh-44rpx data-v-1fff7f35">{{item.$orig.author}}</view><view class="flex fs-24 lh-36rpx data-v-1fff7f35"><view class="data-v-1fff7f35"><text class="text--w111-999 pr-10 data-v-1fff7f35">内容</text><text class="data-v-1fff7f35">{{item.$orig.community_num}}</text></view><text class="fs-20 pl-14 text--w111-eee data-v-1fff7f35">|</text><view class="pl-14 data-v-1fff7f35"><text class="text--w111-999 pr-10 data-v-1fff7f35">粉丝</text><text class="data-v-1fff7f35">{{item.$orig.fans_num}}</text></view></view></view></view><view data-event-opts="{{[['tap',[['followRecommendUser',['$0',index],[[['recommendList','',index]]]]]]]}}" hidden="{{!(!item.$orig.is_follow)}}" class="w-124 h-50 rd-30rpx flex-center bg-gradient text--w111-fff fs-24 data-v-1fff7f35" catchtap="__e"><text class="iconfont icon-ic_increase fs-24 data-v-1fff7f35"></text>关注 </view><view hidden="{{!(item.$orig.is_follow)}}" class="w-124 h-50 rd-30rpx b-e flex-center fs-24 text--w111-999 data-v-1fff7f35">已关注</view></view><block wx:if="{{item.g6}}"><view class="w-full mt-38 data-v-1fff7f35"><scroll-view class="white-nowrap vertical-middle w-full data-v-1fff7f35" scroll-x="true" show-scrollbar="false"><block wx:for="{{item.$orig.community}}" wx:for-item="pic" wx:for-index="i" wx:key="i"><view data-event-opts="{{[['tap',[['authTo',['/pages/discover/'+(pic.content_type==1?'discoverDetails':'discoverVideo')+'/index?id='+pic.id]]]]]}}" class="inline-block mr-20 data-v-1fff7f35" bindtap="__e"><view class="relative data-v-1fff7f35"><easy-loadimage vue-id="{{'c34b8eba-8-'+index+'-'+i}}" image-src="{{pic.image}}" width="184rpx" height="254rpx" borderRadius="16rpx" class="data-v-1fff7f35" bind:__l="__l"></easy-loadimage><block wx:if="{{pic.content_type==2}}"><view class="recommend_player flex-center data-v-1fff7f35"><text class="iconfont icon-ic_right2 fs-20 text--w111-fff data-v-1fff7f35"></text></view></block></view></view></block></scroll-view></view></block></view></block></view></view></view></block><view class="pb-safe data-v-1fff7f35"><view class="h-140 data-v-1fff7f35"></view></view></view></block><block wx:if="{{tabActive==1}}"><view style="{{'padding-top:'+(marTop)+';'}}" class="data-v-1fff7f35"><view class="topic-box w-full flex-between-center text--w111-999 relative data-v-1fff7f35"><view class="flex-1 data-v-1fff7f35"><scroll-view class="white-nowrap vertical-middle w-676 pl-30 data-v-1fff7f35" scroll-x="true" scroll-with-animation="{{true}}" scroll-into-view="{{intoindex}}" show-scrollbar="false"><view class="inline-block mr-52 data-v-1fff7f35"><view data-event-opts="{{[['tap',[['changeCate',[-1,'']]]]]}}" class="{{['lh-100','h-100','fs-30','line1','data-v-1fff7f35',(cateActive=='')?'cate-active':'']}}" bindtap="__e">全部</view></view><block wx:for="{{topicList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="inline-block mr-52 data-v-1fff7f35" id="{{'sort'+index}}"><view data-event-opts="{{[['tap',[['changeCate',[index,'$0'],[[['topicList','',index,'id']]]]]]]}}" class="{{['lh-100','h-100','fs-30','line1','data-v-1fff7f35',(cateActive==item.id)?'cate-active':'']}}" style="max-width:204rpx;" bindtap="__e">{{item.name}}</view></view></block></scroll-view></view><view data-event-opts="{{[['tap',[['toggleCateDrawer',['$event']]]]]}}" class="w-76 h-100 flex-center abs-rt topic-box data-v-1fff7f35" bindtap="__e"><text class="iconfont icon-ic_downarrow fs-36 data-v-1fff7f35"></text></view></view><block wx:if="{{$root.g7}}"><view class="px-20 data-v-1fff7f35"><waterfalls-flow vue-id="c34b8eba-9" wfList="{{contentList}}" data-event-opts="{{[['^onFlowLike',[['flowLike']]]]}}" bind:onFlowLike="__e" class="data-v-1fff7f35" bind:__l="__l"></waterfalls-flow></view></block><block wx:else><view class="px-20 bg--w111-fff data-v-1fff7f35"><empty-page vue-id="c34b8eba-10" title="暂无内容~" class="data-v-1fff7f35" bind:__l="__l"></empty-page></view></block><view class="pb-safe data-v-1fff7f35"><view class="h-140 data-v-1fff7f35"></view></view></view></block><block wx:if="{{tabActive==2}}"><view class="text--w111-fff data-v-1fff7f35"><discover-video vue-id="c34b8eba-11" swiperData="{{contentList}}" showFooter="{{showFooter}}" replyStatus="{{configData.community_comment_status}}" addReply="{{configData.community_comment_add}}" data-event-opts="{{[['^onLike',[['likeFun']]],['^followChange',[['followUser']]],['^onSwiper',[['beforeRequest']]],['^onShare',[['resShare']]]]}}" bind:onLike="__e" bind:followChange="__e" bind:onSwiper="__e" bind:onShare="__e" class="data-v-1fff7f35" bind:__l="__l"></discover-video></view></block></view><block wx:if="{{showCateDrawer}}"><view class="fixed-lt w-full bg--w111-fff rd-b-24rpx z-100 data-v-1fff7f35" style="{{'top:'+(sysHeight+38+'px')+';'}}"><view class="w-full pt-30 pr-20 pb-30 pl-30 more-topic-box data-v-1fff7f35"><view class="flex-between-center data-v-1fff7f35"><text class="fs-30 fw-500 data-v-1fff7f35">推荐话题</text><text data-event-opts="{{[['tap',[['toggleCateDrawer',['$event']]]]]}}" class="iconfont icon-ic_uparrow fs-36 text--w111-999 data-v-1fff7f35" bindtap="__e"></text></view><view class="mt-32 flex flex-wrap data-v-1fff7f35"><block wx:for="{{recommendTopic}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeCate',[index,'$0'],[[['recommendTopic','',index,'id']]]]]]]}}" class="{{['h-58','bg--w111-f5f5f5','rd-8rpx','px-24','flex-center','fs-24','mr-28','mb-28','data-v-1fff7f35',(cateActive==item.id)?'active-topic':'']}}" bindtap="__e">{{item.name}}</view></block></view><view class="flex-between-center mt-24 data-v-1fff7f35"><text class="fs-30 fw-500 data-v-1fff7f35">其他话题</text></view><view class="mt-32 flex flex-wrap data-v-1fff7f35"><block wx:for="{{topicNoRecmmend}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeCate',[index,'$0'],[[['topicNoRecmmend','',index,'id']]]]]]]}}" class="{{['h-58','rd-8rpx','px-24','flex-center','fs-24','mr-28','mb-28','b-e','data-v-1fff7f35',(cateActive==item.id)?'active-topic':'']}}" bindtap="__e">{{item.name}}</view></block></view></view></view></block><block wx:if="{{showCateDrawer}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="mask z-80 data-v-1fff7f35" bindtap="__e"></view></block><view data-event-opts="{{[['touchmove',[['setTouchMove',['$event']]]],['tap',[['bubbleTo',['/pages/discover/discoverCreate/index']]]]]}}" class="bubble_box data-v-1fff7f35" style="{{'top:'+(top+'px')+';'}}" catchtouchmove="__e" bindtap="__e"><view class="bubble flex-center rotating-db data-v-1fff7f35"><text class="iconfont icon-ic_edit data-v-1fff7f35"></text></view></view><page-footer bind:newDataStatus="__e" vue-id="c34b8eba-12" data-event-opts="{{[['^newDataStatus',[['newDataStatus']]]]}}" class="data-v-1fff7f35" bind:__l="__l"></page-footer></view>