ll
liukangdong
2024-09-29 5e57deb4c7a53c3307f59b2267127b4dd7fd0b02
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
<view class="container">
  <!-- 已授权 -->
  <view wx:if="{{ type == '1' }}" class="wrap2">
    <view class="header" bindtap="jumpStore">
      <view class="left">
        <view class="name">
          <image class="icon" src="../../static/icon/home_ic_zhutihuodong@2x.png" mode="widthFix"></image>
          <text>附近门店</text>
        </view>
        <view class="desc">您身边的全屋设计专家~</view>
      </view>
      <image class="right" src="../../static/icon/arrow_right.png" mode="widthFix"></image>
    </view>
    <view class="list">
      <view class="item" wx:for="{{shopList}}" wx:key="index">
        <view class="name">
          <view class="icon">
            <image src="../../static/icon/mendian_item.png" mode="widthFix"></image>
          </view>
          <text class="text">{{ item.name }}</text>
        </view>
        <view class="addr">
          <view class="left">
            <image class="icon" src="../../static/icon/location.png" mode="widthFix"></image>
            <text wx:if="{{ item.distanceStr }}">{{ item.distanceStr }}</text>
            <text wx:else>--</text>
          </view>
          <view class="right" data-id="{{ item.id }}" bindtap="shopDetail">
            <text>进入门店</text>
            <van-icon  name="arrow" />
          </view>
        </view>
      </view>
    </view>
  </view>
  <!-- 已授权 已绑定 -->
  <view bindtap="jumpStaff" wx:elif="{{ type == '2' }}" class="wrap1 wrap3">
    <view class="ai df_ct">
      <image src="../../static/icon/home_ic_guwen@2x.png" mode="widthFix"></image>
    </view>
    <view class="content">
      <view class="name">您的专属家居顾问</view>
      <view class="desc">您身边的全屋设计专家</view>
    </view>
    <view class="btn">
      <view>去</view>
      <view>看</view>
      <view>看</view>
    </view>
  </view>
    <!-- 未授权 -->
    <view wx:else class="wrap1">
    <view class="ai df_ct">
      <image src="../../static/icon/ai_auth.png"></image>
    </view>
    <view class="content">
      <view class="name">AI找设计</view>
      <view class="desc">你身边的全屋设计专家</view>
    </view>
    <view class="btn" bindtap="jumpAuth">
      <view>去</view>
      <view>看</view>
      <view>看</view>
    </view>
  </view>
</view>