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.

1 line
5.8 KiB

3 years ago
<view class="dmandhall-page"><view class="top-box acea-row row-between-wrapper"><view class="top-l-box acea-row"><view class="{{['tab-item '+(active==1?'tab-item-a':'')]}}" data-i="1" data-event-opts="{{[['tap',[['topTabClick',['$event']]]]]}}" bindtap="__e">资源供应</view><view class="{{['tab-item '+(active==2?'tab-item-a':'')]}}" data-i="2" data-event-opts="{{[['tap',[['topTabClick',['$event']]]]]}}" bindtap="__e">需求广场</view></view><view class="top-r-box acea-row"></view><view class="resource-tabs acea-row row-around"><view class="{{['tab '+(tabActive==1?'tab-a':'')]}}" data-i="1" data-event-opts="{{[['tap',[['tabClick',['$event']]]]]}}" bindtap="__e">资源列表</view><view class="{{['tab '+(tabActive==2?'tab-a':'')]}}" data-i="2" data-event-opts="{{[['tap',[['tabClick',['$event']]]]]}}" bindtap="__e">企业列表</view></view><view class="screen-box acea-row row-between-wrapper"><view class="screen-result">{{''+choseCagetory+''}}<block wx:if="{{choseCagetory!=''&&choseBusiness!=''}}"><text>-</text></block>{{''+choseBusiness+''}}</view><view data-event-opts="{{[['tap',[['showDialog',['$event']]]]]}}" class="screen acea-row row-middle" bindtap="__e"><text>筛选</text><image src="/static/images/home/screen.png"></image></view></view></view><block wx:if="{{active==1}}"><view class="resource-box"><view class="resource-list"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{tabActive==1}}"><view class="resource-item acea-row-nowrap" data-id="{{item.id}}" data-event-opts="{{[['tap',[['toResourceDetail',['$event']]]]]}}" bindtap="__e"><view class="logo-box"><image src="{{item.resourceImgs[0]}}" mode="aspectFill"></image></view><view class="resource-info"><view class="title">{{item.title}}</view><view class="tags-box"><view class="tag-item">{{item.cname}}</view></view><view class="desc line1">{{item.detailedDescription}}</view><view class="price">{{"¥"+item.capital}}</view><view class="company-info"><text class="line1">{{item.enterpriseName}}</text></view><view class="toMore-btn">了解详情</view></view></view></block></block><block wx:for="{{companyList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{tabActive==2}}"><view class="resource-item acea-row-nowrap" data-id="{{item.id}}" data-event-opts="{{[['tap',[['toCompanyDetail',['$event']]]]]}}" bindtap="__e"><view class="logo-box"><view class="{{['tips-item '+(item.enterpriseType==2?'bg2':'')]}}">{{item.enterpriseType==1?'企业':'个人'}}</view><image src="{{item.enterpriseLogo}}" mode="aspectFill"></image></view><view class="resource-info"><view class="title line1">{{item.enterpriseName}}</view><view class="tags-box"><view class="tag-item">{{item.cname}}</view></view><block wx:if="{{item.enterpriseType==1}}"><view class="desc line2">{{item.enterpriseTitle}}</view></block><view class="anli-list acea-row row-between"><view class="anli-item acea-row"><block wx:for="{{item.imgPaths}}" wx:for-item="item" wx:for-index="index2" wx:key="index2"><block wx:if="{{index2<2}}"><image mode="aspectFill" src="{{item}}"></image></block></block></view></view></view></view></block></block></view><view class="no-more">{{''+(loading?'加载更多...':'没有更多啦...')+''}}</view></view></block><block wx:if="{{active==2}}"><view class="company-list-box"><view class="screen-box acea-row row-between-wrapper"><view class="screen-result"></view><view data-event-opts="{{[['tap',[['showDialog',['$event']]]]]}}" class="screen acea-row row-middle" bindtap="__e"><text>筛选</text><image src="/static/images/home/screen.png"></image></view></view><view class="company-list"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="company-item" data-id="{{item.id}}" data-event-opts="{{[['tap',[['toNeedsDetail',['$event']]]]]}}" bindtap="__e"><view class="title-box acea-row row-between"><view class="title line1">{{item.title}}</view><view class="price">{{item.capital}}</view></view><view class="tags-box"><view class="tag-item">{{item.cname}}</view></view><view class="desc line2"