|
@@ -9,30 +9,48 @@
|
|
|
</view>
|
|
|
<!-- 内容 -->
|
|
|
<view class="annunciate_content">
|
|
|
- <swiper class="annunciate_content_swiper">
|
|
|
- <swiper-item></swiper-item>
|
|
|
- <swiper-item></swiper-item>
|
|
|
- <swiper-item></swiper-item>
|
|
|
+ <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>
|
|
|
+ </swiper-item>
|
|
|
</swiper>
|
|
|
<view class="annunciate_show">
|
|
|
- <view class="annunciate_item" wx:for="{{3}}">
|
|
|
- <view class="annunciate_item_title u-line-1">856566549465165498856566549465165498756756</view>
|
|
|
+ <view class="annunciate_item" wx:key="index" wx:for="{{annunciateList}}" data-index="{{index}}" bindtap="toAnnunciateDetails">
|
|
|
+ <view class="annunciate_item_title u-line-1">{{item.ftitle}}</view>
|
|
|
<view class="annunciate_item_count">
|
|
|
<image src="/static/icon-14.png"></image>
|
|
|
- 浏览 2375
|
|
|
+ 浏览 {{item.freadcount}}
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-<!-- 广告位 -->
|
|
|
-<view class="ad-box" style="margin-top: 40rpx;">
|
|
|
- <swiper class="ad-swiper"></swiper>
|
|
|
-</view>
|
|
|
+<!-- 广告位1 -->
|
|
|
+<My_BannerSwiper type="advertising" marTop='40' swiperBannerList="{{portal_middle_1}}" />
|
|
|
<!-- 品牌关注榜 -->
|
|
|
<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" autoplay 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>
|
|
@@ -42,28 +60,34 @@
|
|
|
<view class="new-product-title">
|
|
|
<view></view> 窗帘布新品 <view></view>
|
|
|
</view>
|
|
|
- <swiper class="new-product-swiper"></swiper>
|
|
|
- <view class="new-product-name u-line-1">花旗新品[凡尔赛系列]</view>
|
|
|
+ <swiper class="new-product-swiper" autoplay 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></view> 沙发布新品 <view></view>
|
|
|
</view>
|
|
|
- <swiper class="new-product-swiper"></swiper>
|
|
|
- <view class="new-product-name u-line-1">花旗新品[凡尔赛系列]</view>
|
|
|
+ <swiper class="new-product-swiper" autoplay circular current='{{newProductIndex2}}' indicator-dots indicator-color='rgba(216,216,216,.58)' indicator-active-color='#57C7D3' bindchange='newProduct1'>
|
|
|
+ <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>
|
|
|
</view>
|
|
|
-<!-- 广告位 -->
|
|
|
-<view class="ad-box" style="margin-top: 40rpx;">
|
|
|
- <swiper class="ad-swiper"></swiper>
|
|
|
-</view>
|
|
|
+<!-- 广告位1 -->
|
|
|
+<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 wx:for="{{sadClassify}}" title="{{item.ftype}}" />
|
|
|
+ <van-tab wx:key="index" wx:for="{{sadClassify}}" title="{{item.ftype}}" />
|
|
|
</van-tabs>
|
|
|
<!-- 列表展示区 -->
|
|
|
-<view class="ann-box" style="margin-left: 44rpx;" wx:for="{{sadList}}" data-index="{{index}}" catchtap="toDetails">
|
|
|
+<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>
|
|
@@ -95,9 +119,64 @@
|
|
|
<van-empty wx:if="{{1>sadList.length}}" description="暂无数据" />
|
|
|
<!-- 展厅照片 -->
|
|
|
<view class="exhibition-hall">
|
|
|
- <image src="/static/位图备份 2@2x.png" mode="aspectFill"></image>
|
|
|
+ <image src="{{portal_middle_3[0].attinfos[0].fobsurl}}" mode="aspectFill"></image>
|
|
|
+</view>
|
|
|
+<!-- 招商表单 -->
|
|
|
+<view class="annunciate" style="margin-top: 20rpx;">
|
|
|
+ <!-- 标题 -->
|
|
|
+ <view class="annunciate_title">
|
|
|
+ <view class="annunciate_decorate"></view>
|
|
|
+ <view class="annunciate_text">招商入口</view>
|
|
|
+ </view>
|
|
|
+ <!-- 招商表单 -->
|
|
|
+ <view class="recruit-box">
|
|
|
+ <!-- 姓名,手机 -->
|
|
|
+ <view class="recruit-row">
|
|
|
+ <label for="name" class="recruit-row-title">
|
|
|
+ 您的姓名
|
|
|
+ </label>
|
|
|
+ <view class="recruit-row-input">
|
|
|
+ <input id='name' placeholder="请输入姓名" value="{{recruitName}}" data-name="recruitName" bindinput="recruitInput" placeholder-class="placeholder-class" type="text" />
|
|
|
+ </view>
|
|
|
+ <label for="phone" class="recruit-row-title" style="margin-left: 22rpx;">
|
|
|
+ 您的手机
|
|
|
+ </label>
|
|
|
+ <view class="recruit-row-input">
|
|
|
+ <input id='phone' placeholder="请输入手机号" value="{{recruitPhone}}" bindblur="phoneNumber" placeholder-class="placeholder-class" type="number" />
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <!-- 选择地区 -->
|
|
|
+ <view class="recruit-row" style="margin-top: 20rpx;">
|
|
|
+ <view class="recruit-row-title">
|
|
|
+ 您的地址
|
|
|
+ </view>
|
|
|
+ <picker mode="region" bindchange="bindRegionChange" value="{{region}}">
|
|
|
+ <view class="recruit-row-picker">
|
|
|
+ <block wx:if="{{region.length>1}}">
|
|
|
+ <text wx:key="index" wx:for="{{region}}" style="margin-right: 8rpx;">{{item}}</text>
|
|
|
+ </block>
|
|
|
+ <block wx:else>省、市、区</block>
|
|
|
+ <van-icon name="arrow-down" />
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
+ <!-- 备注 -->
|
|
|
+ <view class="recruit-row" style="margin-top: 20rpx;">
|
|
|
+ <view class="recruit-row-title">
|
|
|
+ 备注
|
|
|
+ </view>
|
|
|
+ <view class="textarea">
|
|
|
+ <textarea maxlength='-1' value="{{recruitExplain}}" data-name="recruitExplain" bindinput="recruitInput" placeholder-style="color: rgba(0, 0, 0, 0.25);" placeholder='请输入备注'></textarea>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <!-- 提交 -->
|
|
|
+ <view class="recruit-row" style="margin-top: 110rpx;">
|
|
|
+ <view class="recruit-row-title"></view>
|
|
|
+ <van-button custom-class='submit-custom-class' bindtap="submitForm">马上提交</van-button>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
-<!-- 招商 -->
|
|
|
+<!-- 招商图片 -->
|
|
|
<view class="attract-investment">
|
|
|
- <image src="/static/位图@2x.png" mode="aspectFill"></image>
|
|
|
+ <image src="{{portal_middle_4[0].attinfos[0].fobsurl}}" mode="aspectFill"></image>
|
|
|
</view>
|