You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<wxs src="../../utils/subutil.wxs" module="spl"></wxs>
|
|
|
|
<view class="home-page"><view data-event-opts="{{[['tap',[['toGuidePage',['$event']]]]]}}" class="top-bg-box" bindtap="__e"><image src="https://download.cyjyyjy.com/index-top-bg2.png"></image></view><view class="investment-box"><view class="investment-title-box acea-row row-between-wrapper"><view class="acea-row"><text class="fz32">热门活动</text><view class="hot">热</view></view></view><view class="investement-list"><scroll-view class="scroll-view_H" scroll-x="true"><block wx:for="{{recommendActivity}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{index<3}}"><view class="investment-item" data-id="{{item.id}}" data-event-opts="{{[['tap',[['toActiveDetail',['$event']]]]]}}" bindtap="__e"><image class="item-bg" src="{{item.images}}" mode="aspectFill"></image><view class="tips-box acea-row row-right"><block wx:for="{{spl.spl(item.flag)}}" wx:for-item="flag" wx:for-index="index2" wx:key="index2"><block wx:if="{{index2<3}}"><view class="{{['tips-item '+(index2%2==0?'bg2':'')]}}">{{flag}}</view></block></block></view><view class="item-info-box acea-row row-column row-center"><view class="address-box line1"><image src="/static/images/home/localtion.png"></image><text>{{item.address}}</text></view><view class="time-box"><image src="/static/images/home/time.png"></image><text>{{item.activityStartTime}}</text></view></view></view></block></block></scroll-view></view></view><view class="demandhall-box"><view class="tabs-box acea-row row-around"><view class="{{['tab-item '+(active==1?'tab-item-a':'')]}}" data-i="1" data-event-opts="{{[['tap',[['tabClick',['$event']]]]]}}" bindtap="__e">最新供应</view><view class="{{['tab-item '+(active==2?'tab-item-a':'')]}}" data-i="2" data-event-opts="{{[['tap',[['tabClick',['$event']]]]]}}" bindtap="__e">需求广场</view></view><block wx:if="{{active==1}}"><view class="list-box"><block wx:for="{{resourcesList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item"><view class="item-top"><view class="project-name line1">{{item.title}}</view><view class="tag">{{item.cname}}</view><view class="desc line2">{{item.detailedDescription}}</view><view class="buy-btn" data-id="{{item.id}}" data-event-opts="{{[['tap',[['toResourcesDetail',['$event']]]]]}}" bindtap="__e">了解详情</view></view><view class="company-box acea-row"><image class="logo" src="{{item.enterpriseDto.enterpriseLogo}}"></image><view class="company-info acea-row row-column row-between"><view class="company-name line1 fz28">{{item.enterpriseDto.enterpriseName}}</view><view class="company-name line2 fz24">{{item.enterpriseDto.enterpriseTitle}}</view><view class="tags-box acea-row"><view class="tag-item fz20 bgG">{{item.cname}}</view></view></view><view class="into-btn acea-row row-center-wrapper" data-id="{{item.enterpriseId}}" data-event-opts="{{[['tap',[['toCompanyDetail',['$event']]]]]}}" bindtap="__e"><image src="/static/images/home/company-icon.png"></image><text>进入企业</text></view></view></view></block></view></block><block wx:if="{{active==2}}"><view class="list-box"><block wx:for="{{demandList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item" data-id="{{item.id}}" data-event-opts="{{[['tap',[['toNeedDetail',['$event']]]]]}}" bindtap="__e"><view class="item-top"><view class="project-name">{{item.title}}</view><view class="desc line2">{{item.detailedDescription}}</view><view class="tags-box tags-box2 acea-row"><view class="tag-item fz20">{{item.enterpriseDto.cname}}</view></view><view class="price">{{item.capital}}</view></view></view></block></view></block></view><view data-event-opts="{{[['tap',[['toTab2',['$event']]]]]}}" class="to-demandhall acea-row row-center row-middle" bindtap="__e"><text>更多内容去供需大厅</text><image src="/static/images/home/arrow-r.png"></image></view><tabbar vue-id="6b3d36ea-1" current="{{currentTabIndex}}" data-event-opts="{{[['^click',[['tabBarClick']]]]}}" bind:click="__e" bind:__l="__l"></tabbar></view>
|