k94314517
2024-07-25 a75b18a4157ab486e0b51c438ac165ab3a08e3e0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!-- 顶部nav -->
<view class="container">
  <van-nav-bar wx:if="{{ showWhiteHead }}" border="{{ topHeadBorder }}" custom-class="top-head" fixed custom-style="opacity: {{ topHeadStyle }}">
    <view slot="left" class="flex-cc search">
      <text class="home_title" style="color: {{font_color}};">志邦家选</text>
      <van-icon name="search" size="23px" color="#fff" />
      <!-- <image src="/static/icon/home_ic_search_black.png" mode="widthFix"></image> -->
      <!-- <text>搜索</text> -->
    </view>
  </van-nav-bar>
  <van-nav-bar wx:else border="{{ topHeadBorder }}" custom-class="top-head-transparent" fixed>
    <view slot="left" class="flex-cc search">
      <text class="home_title" style="color: {{font_color}};">志邦家选</text>
    </view>
  </van-nav-bar>
  <!-- banner轮播 -->
  <swiper class="banner_swiper" circular indicator-dots="{{ bannerSwiperOption.indicatorDots }}" autoplay="{{ bannerSwiperOption.autoplay }}" interval="{{ bannerSwiperOption.interval }}" style="height:{{bannerImgHeight}}rpx" duration="{{ bannerSwiperOption.duration }}">
    <block wx:for="{{ bannerList }}" wx:key="index">
      <swiper-item>
        <image data-item="{{ item }}" data-id="{{ item.id }}" bindtap="bannerClick" bindload="bannerbindload" mode="widthFix" src="{{ item.coverImage }}"></image>
      </swiper-item>
    </block>
  </swiper>
  <!--  -->
  <view class="function_wrap">
    <view class="item" data-type="0" bindtap="changePath">
      <image class="img" src="../../static/icon/home_ic_xuqiu@2x.png"></image>
      <view class="name">需求</view>
      <view class="placeholder9">分析小帮手</view>
    </view>
    <view class="item" data-type="2" bindtap="changePath">
      <image class="img" src="../../static/icon/home_ic_liangchi@2x.png"></image>
      <view class="name">免费量尺</view>
      <view class="placeholder9">分析小帮手</view>
    </view>
    <view class="item" data-type="1" bindtap="changePath">
      <image class="img" src="../../static/icon/home_ic_yusuan@2x.png"></image>
      <view class="name">预算</view>
      <view class="placeholder9">快速获取报价</view>
    </view>
  </view>
  <!--  -->
  <view class="auth">
    <authCard type="{{ member.authStatus }}" />
  </view>
  <!-- <authCard type="1" /> -->
  <!-- 产品视频  -->
  <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>
  <!-- 咨询 -->
  <view class="consult">
    <view class="com_header" bindtap="jumpProConsult">
      <view class="left">
        <view class="name">
          <image class="icon" src="../../static/icon/home_ic_zixun@2x.png"></image>
          <text>产品资讯</text>
        </view>
        <view class="desc">更适合你的,装修小贴士</view>
      </view>
      <image class="ar_right" src="../../static/icon/home_ar@2x.png"></image>
    </view>
    <swiper class="consult_swiper" circular indicator-dots="{{ bannerSwiperOption.indicatorDots }}" autoplay="{{ bannerSwiperOption.autoplay }}" interval="{{ bannerSwiperOption.interval }}" style="height:{{consultImgHeight + 100}}rpx" duration="{{ bannerSwiperOption.duration }}">
    <block wx:for="{{ consultList }}" wx:key="index">
      <swiper-item data-id="{{ item.id }}" bindtap="consultClick">
        <image bindload="consultbindload"  mode="widthFix" src="{{ item.coverImage }}"></image>
        <view class="scroll_text">{{ item.title }}</view>
      </swiper-item>
    </block>
  </swiper>
  </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/icon/home_logo@2x.png" class="logo" mode="widthFix"></image>
  </view>
  <!-- active -->
  <image class="active_baoming" data-type="2" bindtap="changePath" src="../../static/icon/ic_float_baoming@2x.png" mode="widthFix"></image>
 
</view>