<view class="container">
|
<view style="height: {{clientTop - 2}}px;"></view>
|
<view class="search_wrap">
|
<image class="icon" src="../../static/home_ic_search@2x.png" mode="widthFix"></image>
|
<input model:value="{{ searchValue }}" placeholder="搜索" type="text" />
|
</view>
|
<view class="everyday">
|
<view class="header" bindtap="promotionClick">
|
<view class="title">每日上新</view>
|
<view class="more">
|
<text class="placeholder9">查看更多</text>
|
<image class="ar_new" src="../../static/ar_new@2x.png" mode="widthFix"></image>
|
</view>
|
</view>
|
<view class="desc">
|
<view class="left">
|
<text>今日上新:</text>
|
<text class="num">{{ DailyUpdates.dailyUpdateNum }}</text>
|
<text>条</text>
|
</view>
|
<view class="right">1w+已转发</view>
|
</view>
|
<view class="imgs">
|
<view wx:for="{{ DailyUpdates.newsList}}" class="img_wrap">
|
<image class="img" src="{{ item.fileList[0].fileurlFull }}" mode="aspectFill"></image>
|
<image class="icon" src="{{everydayTop[index]}}" mode="widthFix"></image>
|
</view>
|
</view>
|
</view>
|
<!-- -->
|
<view class="func_lsit">
|
<view data-i="0" bindtap="funClick" class="item">
|
<image src="../../static/icon/home_ic_chanpin@2x 2.png"></image>
|
<view class="text">产品</view>
|
</view>
|
<view data-i="1" bindtap="funClick" class="item">
|
<image src="../../static/icon/home_ic_anli@2x 2.png"></image>
|
<view class="text">案例</view>
|
</view>
|
<view data-i="2" bindtap="funClick" class="item">
|
<image src="../../static/icon/home_ic_shijing@2x 2.png"></image>
|
<view class="text">实景</view>
|
</view>
|
<view data-i="3" bindtap="funClick" class="item">
|
<image src="../../static/icon/home_ic_zixun.png"></image>
|
<view class="text">资讯</view>
|
</view>
|
|
</view>
|
<!-- -->
|
<!-- 产品视频 -->
|
<view class="product_video">
|
<view bindtap="jumpProVideo" class="com_header">
|
<view class="left">
|
<view class="name">
|
<image class="icon" src="../../static/icon/home_ic_zhutihuodong.png"></image>
|
<text>产品视频</text>
|
</view>
|
<view class="desc">优选活动,抢先一步</view>
|
</view>
|
<image class="ar_right" src="../../static/icon/home_ar@2x.png"></image>
|
</view>
|
<view class="video_wrap">
|
<image class="img" src="{{ productVideo[0].coverImage }}" mode="widthFix"></image>
|
<image bindtap="videoClick" data-videourl="{{ productVideo[0].videoUrl }}" class="play" src="../../static/icon/ic_play.png" mode="widthFix"></image>
|
</view>
|
</view>
|
<!-- 攻略 -->
|
<view class="strategy">
|
<view class="com_header">
|
<view class="left">
|
<view class="name">
|
<image class="icon" src="../../static/icon/home_ic_zhuangxiu@2x.png"></image>
|
<view>志说装修</view>
|
</view>
|
<view class="desc">最全的装修攻略来了,快来get起来</view>
|
</view>
|
</view>
|
<view class="line">
|
<view class="line_left item" data-item="{{ ZSZXCata.qwsj }}" bindtap="changeStrategy">
|
<image src="{{HOME_CLASS_A}}"></image>
|
<!-- <text>{{ ZSZXCata.qwsj.name }}</text> -->
|
</view>
|
<view class="line_right">
|
<view class="item" data-item="{{ ZSZXCata.cfsj }}" bindtap="changeStrategy">
|
<image src="{{ HOME_CLASS_B }}"></image>
|
<!-- <text>{{ ZSZXCata.cfsj.name }}</text> -->
|
</view>
|
<view class="item" data-item="{{ ZSZXCata.snsj }}" bindtap="changeStrategy">
|
<image src="{{ HOME_CLASS_B2 }}"></image>
|
<!-- <text>{{ ZSZXCata.snsj.name }}</text> -->
|
</view>
|
</view>
|
</view>
|
<view data-item="{{ ZSZXCata.jdId }}" bindtap="changeStrategy" class="home_id item">
|
<image src="{{HOME_CLASS_C}}"></image>
|
<!-- <text>{{ ZSZXCata.jdId.name }}</text> -->
|
</view>
|
</view>
|
<!-- service -->
|
<view class="consult">
|
<view class="com_header">
|
<view class="left">
|
<view class="name">
|
<image class="icon" src="../../static/icon/home_ic_fuwu@2x.png"></image>
|
<view>定制服务</view>
|
</view>
|
<view class="desc">设身处地为你思虑更多,陪伴你的美好生活</view>
|
</view>
|
</view>
|
<swiper class="consult_swiper" circular indicator-dots="{{ bannerSwiperOption.indicatorDots }}" autoplay="{{ bannerSwiperOption.autoplay }}" interval="{{ bannerSwiperOption.interval }}" style="height:{{serviceHeight}}rpx" duration="{{ bannerSwiperOption.duration }}">
|
<block wx:for="{{ serviceList }}" wx:key="index">
|
<swiper-item>
|
<image bindload='goserHeight' data-id="{{ item.id }}" data-title="{{item.title}}" bindtap="seriveClick" mode="widthFix" src="{{ item.fileList[0].fileurlFull }}"></image>
|
</swiper-item>
|
</block>
|
</swiper>
|
</view>
|
<!-- logo -->
|
<view class="logo_wrap">
|
<image src="../../static/home_logo@2x.png" class="logo" mode="widthFix"></image>
|
</view>
|
</view>
|