|
|
@@ -5,7 +5,7 @@
|
|
|
<!-- 轮播图 -->
|
|
|
<My_BannerSwiper swiperBannerList="{{swiperBannerList}}"></My_BannerSwiper>
|
|
|
<!-- 最新通告 -->
|
|
|
-<view class="annunciate">
|
|
|
+<view class="annunciate" wx:if="{{annunciateList.length!=0}}">
|
|
|
<!-- 标题 -->
|
|
|
<view class="annunciate_title">
|
|
|
<view class="annunciate_decorate"></view>
|
|
|
@@ -15,7 +15,8 @@
|
|
|
<view class="annunciate_content">
|
|
|
<swiper class="annunciate_content_swiper" autoplay circular indicator-dots indicator-color='rgba(216,216,216,.58)' indicator-active-color='#57C7D3'>
|
|
|
<swiper-item wx:key="index" wx:for="{{annunciateList}}">
|
|
|
- <image src="{{item.attinfos[0].fobsurl}}"></image>
|
|
|
+ <image wx:if="{{item.attinfos[0]}}" src="{{item.attinfos[0].fobsurl}}"></image>
|
|
|
+ <image src="/static/annunciate/cover.png"></image>
|
|
|
</swiper-item>
|
|
|
</swiper>
|
|
|
<view class="annunciate_show">
|
|
|
@@ -30,7 +31,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 广告位1 -->
|
|
|
-<My_BannerSwiper type="advertising" marTop='40' swiperBannerList="{{portal_middle_1}}" />
|
|
|
+<!-- <My_BannerSwiper type="advertising" marTop='40' swiperBannerList="{{portal_middle_1}}" /> -->
|
|
|
<!-- 品牌关注榜 -->
|
|
|
<view class="annunciate" style="padding-top: 40rpx;">
|
|
|
<!-- 标题 -->
|
|
|
@@ -59,81 +60,38 @@
|
|
|
</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}}">
|
|
|
- <text>{{item.queryrow<10?'0'+item.queryrow:item.queryrow}} </text>{{item.fname}}
|
|
|
- </view>
|
|
|
- </swiper-item>
|
|
|
- <swiper-item>
|
|
|
- <view class="brand-item u-line-1" wx:key="index" wx:for="{{brandList1}}">
|
|
|
- <text>{{item.queryrow<10?'0'+item.queryrow:item.queryrow}} </text>{{item.fname}}
|
|
|
- </view>
|
|
|
- </swiper-item>
|
|
|
- </swiper>
|
|
|
- </view>
|
|
|
- <image class="concerns-bg" src="/static/portal/bg.png"></image>
|
|
|
-</view> -->
|
|
|
-<!-- 新品推荐 -->
|
|
|
-<view class="new-product">
|
|
|
- <view>
|
|
|
- <view class="new-product-title">
|
|
|
- <view></view> 窗帘布新品 <view></view>
|
|
|
- </view>
|
|
|
- <swiper class="new-product-swiper" circular current='{{newProductIndex1}}' indicator-dots indicator-color='rgba(216,216,216,.58)' indicator-active-color='#57C7D3' bindchange='newProduct1'>
|
|
|
- <swiper-item wx:key="index" wx:for="{{newProduct1}}">
|
|
|
- <image src="{{item.attinfos[0].fobsurl}}" mode="aspectFill"></image>
|
|
|
- </swiper-item>
|
|
|
- </swiper>
|
|
|
- <view class="new-product-name u-line-1">{{newProduct1[newProductIndex1].fname}}[{{newProduct1[newProductIndex1].ftype}}]</view>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- <view class="new-product-title">
|
|
|
- <view></view> 沙发布新品 <view></view>
|
|
|
- </view>
|
|
|
- <swiper class="new-product-swiper" circular current='{{newProductIndex2}}' indicator-dots indicator-color='rgba(216,216,216,.58)' indicator-active-color='#57C7D3' bindchange='newProduct2'>
|
|
|
- <swiper-item wx:key="index" wx:for="{{newProduct2}}">
|
|
|
- <image src="{{item.attinfos[0].fobsurl}}" mode="aspectFill"></image>
|
|
|
- </swiper-item>
|
|
|
- </swiper>
|
|
|
- <view class="new-product-name u-line-1">{{newProduct2[newProductIndex2].fname}}[{{newProduct2[newProductIndex2].ftype}}]</view>
|
|
|
+<!-- 直播列表 -->
|
|
|
+<view class="annunciate" style="padding-top: 40rpx;">
|
|
|
+ <!-- 标题 -->
|
|
|
+ <view class="annunciate_title">
|
|
|
+ <view class="annunciate_decorate"></view>
|
|
|
+ <view class="annunciate_text">正在直播</view>
|
|
|
</view>
|
|
|
+ <portalLice list='{{tiveList}}' />
|
|
|
+ <van-empty wx:if="{{tiveList.length==0}}" description="暂无直播" />
|
|
|
</view>
|
|
|
+
|
|
|
<!-- 广告位1 -->
|
|
|
-<My_BannerSwiper type="advertising" marTop='40' swiperBannerList="{{portal_middle_2}}" />
|
|
|
+<!-- <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="私域直播">
|
|
|
- <portalLice list='{{tiveList}}' />
|
|
|
- <van-empty wx:if="{{tiveList.length==0}}" description="暂无直播" />
|
|
|
- </van-tab>
|
|
|
<van-tab wx:key="index" wx:for="{{sadClassify}}" title="{{item.ftype}}" />
|
|
|
</van-tabs>
|
|
|
<!-- 列表展示区 -->
|
|
|
-<block wx:if="{{tabsActive!=0}}">
|
|
|
+<block>
|
|
|
<supplyanddemandList list='{{sadList}}'></supplyanddemandList>
|
|
|
<van-empty wx:if="{{1>sadList.length}}" description="暂无数据" />
|
|
|
</block>
|
|
|
<!-- 展厅照片 -->
|
|
|
-<view class="exhibition-hall">
|
|
|
+<!-- <view class="exhibition-hall">
|
|
|
<image src="{{portal_middle_3[0].attinfos[0].fobsurl}}" mode="aspectFill"></image>
|
|
|
-</view>
|
|
|
+</view> -->
|
|
|
<!-- 招商表单 -->
|
|
|
<view class="annunciate" style="margin-top: 20rpx;">
|
|
|
<!-- 标题 -->
|
|
|
<view class="annunciate_title">
|
|
|
<view class="annunciate_decorate"></view>
|
|
|
- <view class="annunciate_text">招商入口</view>
|
|
|
+ <view class="annunciate_text">我要咨询</view>
|
|
|
</view>
|
|
|
<!-- 招商表单 -->
|
|
|
<view class="recruit-box">
|
|
|
@@ -183,10 +141,37 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+<!-- 新品推荐 -->
|
|
|
+<view class="new-product">
|
|
|
+ <view>
|
|
|
+ <view class="new-product-title">
|
|
|
+ <view></view> 窗帘布新品 <view></view>
|
|
|
+ </view>
|
|
|
+ <swiper class="new-product-swiper" circular current='{{newProductIndex1}}' indicator-dots indicator-color='rgba(216,216,216,.58)' indicator-active-color='#57C7D3' bindchange='newProduct1'>
|
|
|
+ <swiper-item wx:key="index" wx:for="{{newProduct1}}">
|
|
|
+ <image wx:if="{{item.attinfos[0]}}" src="{{item.attinfos[0].fobsurl}}" mode="aspectFill"></image>
|
|
|
+ <image wx:else src="/static/annunciate/cover.png" mode="aspectFill"></image>
|
|
|
+ </swiper-item>
|
|
|
+ </swiper>
|
|
|
+ <view class="new-product-name u-line-1">{{newProduct1[newProductIndex1].fname}}[{{newProduct1[newProductIndex1].ftype}}]</view>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ <view class="new-product-title">
|
|
|
+ <view></view> 沙发布新品 <view></view>
|
|
|
+ </view>
|
|
|
+ <swiper class="new-product-swiper" circular current='{{newProductIndex2}}' indicator-dots indicator-color='rgba(216,216,216,.58)' indicator-active-color='#57C7D3' bindchange='newProduct2'>
|
|
|
+ <swiper-item wx:key="index" wx:for="{{newProduct2}}">
|
|
|
+ <image wx:if="{{item.attinfos[0]}}" src="{{item.attinfos[0].fobsurl}}" mode="aspectFill"></image>
|
|
|
+ <image wx:else src="/static/annunciate/cover.png" mode="aspectFill"></image>
|
|
|
+ </swiper-item>
|
|
|
+ </swiper>
|
|
|
+ <view class="new-product-name u-line-1">{{newProduct2[newProductIndex2].fname}}[{{newProduct2[newProductIndex2].ftype}}]</view>
|
|
|
+ </view>
|
|
|
+</view>
|
|
|
<!-- 招商图片 -->
|
|
|
-<view class="attract-investment">
|
|
|
+<!-- <view class="attract-investment">
|
|
|
<image src="{{portal_middle_4[0].attinfos[0].fobsurl}}" mode="aspectFill"></image>
|
|
|
-</view>
|
|
|
+</view> -->
|
|
|
<view style="height: 50px;"></view>
|
|
|
<!-- 吸底 -->
|
|
|
<view class="footer">
|