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 lines
5.6 KiB

<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><block wx:if="{{active==1}}"><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></block><block wx:if="{{active==1}}"><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></block></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="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">{{item.detailedDescription}}</view><view class="btn-box acea-row row-between row-middle"><view class="end-time">{{item.resourceEndTime+"截止报名"}}</view><view class="toMore-btn">了解详情</view></view></view></block></view></view></block><block wx:if="{{showScreenDialog}}"><view class="mask-box"><view class="{{['screen-dialog-box '+(showScreenDialog?'move':'')]}}"><view class="screen-list"><view class="screen-item"><view class="screen-title">所有服务</view><view class="acea-row"><block wx:for="{{cagetoryList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['item '+(cagetoryActive==index?'item-active':'')]}}" data-i="{{index}}" data-item="{{item}}" data-event-opts="{{[['tap',[['cagetoryClick',['$event']]]]]}}" bindtap="__e">{{item.cagetoryName}}</view></block></view></view><view class="screen-item"><view class="screen-title">商家身份<text class="fz20">(所有商家均实名认证)</text></view><view class="acea-row"><view class="{{['item '+(enterpriseType==2?'item-active':'')]}}" data-name="个人认证" data-type="2" data-event-opts="{{[['tap',[['businessChange',['$event']]]]]}}" bindtap="__e">个人认证</view><view class="{{['item '+(enterpriseType==1?'item-active':'')]}}" data-name="企业认证" data-type="1" data-event-opts="{{[['tap',[['businessChange',['$event']]]]]}}" bindtap="__e">企业认证</view></view></view><view class="submit-box acea-row"><view data-event-opts="{{[['tap',[['resetClick',['$event']]]]]}}" class="btn reset" bindtap="__e">重置</view><view data-event-opts="{{[['tap',[['finishClick',['$event']]]]]}}" class="btn finish" bindtap="__e">完成</view></view></view></view></view></block><tabbar vue-id="4f4de034-1" current="{{currentTabIndex}}" data-event-opts="{{[['^click',[['tabBarClick']]]]}}" bind:click="__e" bind:__l="__l"></tabbar></view>