|
|
@@ -1,3 +1,7 @@
|
|
|
+<!-- 搜索 -->
|
|
|
+<view class="search" bindtap="toSearch">
|
|
|
+ <image src="/static/icon-09.png" />搜索关键字
|
|
|
+</view>
|
|
|
<!-- 轮播图 -->
|
|
|
<My_BannerSwiper swiperBannerList="{{swiperBannerList}}"></My_BannerSwiper>
|
|
|
<!-- 最新通告 -->
|
|
|
@@ -28,17 +32,43 @@
|
|
|
<!-- 广告位1 -->
|
|
|
<My_BannerSwiper type="advertising" marTop='40' swiperBannerList="{{portal_middle_1}}" />
|
|
|
<!-- 品牌关注榜 -->
|
|
|
-<view class="concerns-box">
|
|
|
+<view class="annunciate" style="padding-top: 40rpx;">
|
|
|
+ <!-- 标题 -->
|
|
|
+ <view class="annunciate_title">
|
|
|
+ <view class="annunciate_decorate"></view>
|
|
|
+ <view class="annunciate_text">品牌关注榜</view>
|
|
|
+ </view>
|
|
|
+ <view class="concerns-box">
|
|
|
+ <view class="concerns-head" bindtap="concernsChange">
|
|
|
+ <view class="label {{brandSelect==0?'active':''}}" data-index="0">窗帘布</view>
|
|
|
+ <view class="label {{brandSelect==1?'active':''}}" data-index="1">沙发布</view>
|
|
|
+ </view>
|
|
|
+ <view class="concerns-content" hidden="{{brandSelect!=0}}">
|
|
|
+ <view class="concerns-content-item u-line-1" wx:for="{{brandList0}}" wx:if="{{index<10}}">
|
|
|
+ <view class="img">
|
|
|
+ <image src="/static/icon-02.png" mode="heightFix"></image>
|
|
|
+ </view>{{item.fname}}
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="concerns-content" hidden="{{brandSelect!=1}}">
|
|
|
+ <view class="concerns-content-item u-line-1" wx:for="{{brandList1}}" wx:if="{{index<10}}">
|
|
|
+ <view class="img">
|
|
|
+ <image src="/static/icon-02.png" mode="heightFix"></image>
|
|
|
+ </view>{{item.fname}}
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+</view>
|
|
|
+<!-- 老 品牌关注榜 -->
|
|
|
+<!-- <view class="concerns-box">
|
|
|
<view class="concerns-con">
|
|
|
<view class="concerns-title">品牌关注榜</view>
|
|
|
- <!-- 分类 -->
|
|
|
<view class="option-box" bindtap="selectOption">
|
|
|
<view class="brand-type type-top {{brandSelect=='0'?'typeavtion':''}}">沙发布</view>
|
|
|
<view class="brand-type type-bot {{brandSelect=='1'?'typeavtion':''}}">窗帘布</view>
|
|
|
<view class="option op-top {{brandSelect=='0'?'opavtion':''}}" data-index="0"></view>
|
|
|
<view class="option op-bot {{brandSelect=='1'?'opavtion':''}}" data-index="1"></view>
|
|
|
</view>
|
|
|
- <!-- 轮播图 -->
|
|
|
<swiper class="option-swiper" current='{{brandSelect}}' circular vertical bindchange='selectOption'>
|
|
|
<swiper-item>
|
|
|
<view class="brand-item u-line-1" wx:key="index" wx:for="{{brandList0}}">
|
|
|
@@ -53,7 +83,7 @@
|
|
|
</swiper>
|
|
|
</view>
|
|
|
<image class="concerns-bg" src="/static/portal/bg.png"></image>
|
|
|
-</view>
|
|
|
+</view> -->
|
|
|
<!-- 新品推荐 -->
|
|
|
<view class="new-product">
|
|
|
<view>
|
|
|
@@ -83,40 +113,16 @@
|
|
|
<My_BannerSwiper type="advertising" marTop='40' swiperBannerList="{{portal_middle_2}}" />
|
|
|
<!-- 供需 -->
|
|
|
<van-tabs active="{{ tabsActive }}" color='#00C1D2' line-width='15' line-height='3' custom-class='tabs-custom-class' tab-class='tabs-tab-class' tab-active-class='tabs-tab-active-class' bind:change="tabsOnChange">
|
|
|
- <van-tab title="全部供需" />
|
|
|
+ <van-tab title="私域直播">
|
|
|
+ <portalLice list='{{tiveList}}'></portalLice>
|
|
|
+ </van-tab>
|
|
|
<van-tab wx:key="index" wx:for="{{sadClassify}}" title="{{item.ftype}}" />
|
|
|
</van-tabs>
|
|
|
<!-- 列表展示区 -->
|
|
|
-<view class="ann-box" style="margin-left: 44rpx;" wx:key="index" wx:for="{{sadList}}" data-index="{{index}}" catchtap="toDetails">
|
|
|
- <view class="ann-img" wx:if="{{item.attinfos[0].fobsurl}}">
|
|
|
- <image src="{{item.attinfos[0].fobsurl}}" mode="aspectFill"></image>
|
|
|
- </view>
|
|
|
- <view class="ann-img" wx:else>
|
|
|
- <image wx:if="{{item.ftype=='摄影摄像'}}" src="https://bwj.obs.cn-east-2.myhuaweicloud.com/resources/WeChat/supplyAndDemand/icon-01.png" mode="aspectFit"></image>
|
|
|
- <image wx:elif="{{item.ftype=='产品策划'}}" src="https://bwj.obs.cn-east-2.myhuaweicloud.com/resources/WeChat/supplyAndDemand/icon-02.png" mode="aspectFit"></image>
|
|
|
- <image wx:elif="{{item.ftype=='平面设计'}}" src="https://bwj.obs.cn-east-2.myhuaweicloud.com/resources/WeChat/supplyAndDemand/icon-03.png" mode="aspectFit"></image>
|
|
|
- <image wx:elif="{{item.ftype=='寻找面料'}}" src="https://bwj.obs.cn-east-2.myhuaweicloud.com/resources/WeChat/supplyAndDemand/icon-04.png" mode="aspectFit"></image>
|
|
|
- <image wx:elif="{{item.ftype=='商业培训'}}" src="https://bwj.obs.cn-east-2.myhuaweicloud.com/resources/WeChat/supplyAndDemand/icon-05.png" mode="aspectFit"></image>
|
|
|
- <image wx:elif="{{item.ftype=='寻找主播'}}" src="https://bwj.obs.cn-east-2.myhuaweicloud.com/resources/WeChat/supplyAndDemand/icon-06.png" mode="aspectFit"></image>
|
|
|
- <image wx:elif="{{item.ftype=='面料设计'}}" src="https://bwj.obs.cn-east-2.myhuaweicloud.com/resources/WeChat/supplyAndDemand/icon-07.png" mode="aspectFit"></image>
|
|
|
- <image wx:else src="https://bwj.obs.cn-east-2.myhuaweicloud.com/resources/WeChat/tacitly-approve/MRproduct.png" mode="aspectFit"></image>
|
|
|
- </view>
|
|
|
- <view class="ann-text">
|
|
|
- <view class="ann-text-title u-line-1">[{{item.ftype}}]{{item.ftitle}}</view>
|
|
|
- <view class="ann-text-center u-line-2">{{item.fcontent}}</view>
|
|
|
- <view class="ann-text-bottom u-line-1" style="margin-top: 22rpx;">
|
|
|
- <view class="userMsg">
|
|
|
- <view class="img">
|
|
|
- <image wx:if="{{item.headportraiturl}}" src="{{item.headportraiturl}}"></image>
|
|
|
- <image wx:else src="https://bwj.obs.cn-east-2.myhuaweicloud.com/resources/WeChat/userCenter/userImg.png"></image>
|
|
|
- </view>
|
|
|
- <view class="u-line-1" style="max-width: 160rpx; padding-top: 3rpx;">{{item.createby}}</view>
|
|
|
- </view>
|
|
|
- <view>{{item.checkdate}}</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
-</view>
|
|
|
-<van-empty wx:if="{{1>sadList.length}}" description="暂无数据" />
|
|
|
+<block wx:if="{{tabsActive!=0}}">
|
|
|
+ <annunciateList list='{{sadList}}'></annunciateList>
|
|
|
+ <van-empty wx:if="{{1>sadList.length}}" description="暂无数据" />
|
|
|
+</block>
|
|
|
<!-- 展厅照片 -->
|
|
|
<view class="exhibition-hall">
|
|
|
<image src="{{portal_middle_3[0].attinfos[0].fobsurl}}" mode="aspectFill"></image>
|