V4Sstores.wxml 8.8 KB
<view class="container">
  <view class="noBinding" wx:if="{{S4Spage}}">
    <view class="banner_img">
      <image src="{{imagesUrl}}assets/static/img/4S1_img@2x.png" />
    </view>
    <view class="banner_img_title">
      <view class="text_title">您尚未关联4S店,无法获取您的保养/维修信息</view>
      <view class="text_title">请您绑定常去的4S店</view>
    </view>
    <button class="btn" bindtap="noBinding4S">绑定4S店</button>
  </view>
  <view class="store_1" wx:else>
    <view class="search">
      <searchInput></searchInput>
    </view>
    <view class="top_title">
      <navigator class="top_img">
        <image src="../../static/img/3_icon.png" mode="widthFix"></image>
        <text>品牌授权</text>
      </navigator>
      <navigator class="top_img">
        <image src="../../static/img/2_icond.png" mode="widthFix"></image>
        <text>专业服务</text>
      </navigator>
      <navigator class="top_img">
        <image src="../../static/img/1_icon@2x.png" mode="widthFix"></image>
        <text>认证商家</text>
      </navigator>
    </view>
    <view class="cart_text">
      <view class="else" catchtap="gonewpages">
        <view class="cart_title">
          <text class="txt">{{S4SList.name}}</text>
        </view>
        <view class="baoz">
          <view class="numpeson">
            <view class="hm">
              <image src="{{imagesUrl}}assets/static/img/1_icons@3x.png" />
              <text class="danbao">担保服务</text>
            </view>
          </view>
        </view>
      </view>
      <view class="txt_" wx:if="{{S4SList.phone == ''}}">
        <image src="{{imagesUrl}}assets/static/img/2phone_icon@2x.png"></image>
        <text class="phone">400-0513-066</text>
      </view>
      <view class="txt_Phone" wx:else>
        <view class="xsP ">
          <image src="{{imagesUrl}}assets/static/img/2phone_icon@2x.png"></image>
          <text class="phone_name">销售热线:</text>
          <text class="phone">{{S4SList.phone}}</text>
        </view>
        <view class="fuwuP  xsP">
          <image src="{{imagesUrl}}assets/static/img/2phone_icon@2x.png"></image>
          <text class="phone_name">服务热线:</text>
          <text class="phone">{{S4SList.phone_fw}}</text>
        </view>
      </view>
      <view class="txt_">
        <image src="{{imagesUrl}}assets/static/img/1_icon@2x (3).png"></image>
        <text class="location">{{S4SList.address_detail}}</text>
      </view>
      <view class="dashed_"></view>
      <view class="cart_content">
        <text class="homeworked" wx:if="{{content == ''}}">{{contenttext}}</text>
        <rich-text nodes="{{content}}" class="homework" wx:else></rich-text>
      </view>
    </view>
    <!-- 分类 -->
    <view class='category'>
      <view class="scro">
        <view class="category_list" bindtap="hotProducts">
          <image src="{{imagesUrl}}assets/static/img/5_icon@3x.png"></image>
          <text>热销车型</text>
        </view>
        <view class="category_list" bindtap="goAccessories">
          <image src="{{imagesUrl}}assets/static/img/4_icon@3x.png"></image>
          <text>精品配件</text>
        </view>
        <view class="category_list" bindtap="goReservation">
          <image src="{{imagesUrl}}assets/static/img/3_icon@3x.png"></image>
          <text>服务预约</text>
        </view>
        <view class="category_list" bindtap="toRecommendCar">
          <image src="{{imagesUrl}}assets/static/img/2_icon@3x.png"></image>
          <text>推荐购车</text>
        </view>
        <view class="category_list" bindtap="goPromotion">
          <image src="{{imagesUrl}}assets/static/img/1_icon@3x.png"></image>
          <text>促销活动</text>
        </view>
      </view>
    </view>
    <!-- 广告 -->
    <view class="banner_0">
      <image src="{{bannerImg.shop_image1}}"></image>
    </view>
    <view class="bigchebox">
      <!-- 热销车型 -->
      <view class="store_title">
        <view class="groom">
          <view class="red_color"></view>
          <view class="groom_title">热销车型</view>
        </view>
        <view class="more_store" bindtap="hotProducts">更多</view>
      </view>
      <!-- 列表 -->
      <view>
        <view wx:for="{{storeList}}" wx:key="index" wx:for-index="index" wx:for-item="item">
          <view wx:if="{{item.img !=''}}" class="like_list" bindtap="storeDetail" data-num="1" data-id="{{item.id}}">
            <view class="list_left listImg">
              <image src="{{item.img}}"></image>
            </view>
            <view class="list_right">
              <text class="title_content2">{{item.name}}</text>
              <view class="down_next">
                <view class="newzeng">
                  <view class="status_change">{{item.shop_type}}</view>
                  <view class="rit_text">
                    <!-- <text class="numPer">{{item.sales_initial}}</text>
                    <text class="numperson">位车友推荐</text> -->
                  </view>
                </view>
                <view class="carPrice">
                  <text class="price_bigz">{{item.qv}}</text>
                </view>
              </view>
            </view>
          </view>
          <view class="like_list_1" wx:else bindtap="storeDetail" data-id="{{item.id}}" data-num="2">
            <text class="title_content2">{{item.name}}</text>
            <view class="down_next">
              <view class="newzeng">
                <view class="status_change">{{item.shop_type}}</view>
                <view class="rit_text">
                  <!-- <text class="numPer">{{item.sales_initial}}</text>
                  <text class="numperson">位车友推荐</text> -->
                </view>
              </view>
              <view class="carPrice">
                <text class="price_bigz">{{item.qv}}</text>
              </view>
            </view>
          </view>
        </view>
      </view>
      <!-- 精品配件  parts -->
      <view class="parts">
        <view class="store_title">
          <view class="groom">
            <view class="red_color"></view>
            <view class="groom_title">精品配件</view>
          </view>
          <view class="more_store" bindtap="lookMorePartsList">更多</view>
        </view>
        <!-- 列表 -->
        <view>
          <view wx:for="{{JPList}}" wx:key="index" wx:for-index="index">
            <view wx:if="{{item.img!=''}}" class="like_list" bindtap="Toproductdetails" data-id="{{item.id}}" data-num="1">
              <view class="list_left">
                <image src="{{item.img}}"></image>
              </view>
              <view class="list_right">
                <text class="title_content2 ">{{item.name}}</text>
                <view class="down_next">
                  <view class="newzeng">
                    <view class="status_change">{{item.shop_type}}</view>
                    <view class="rit_text">
                      <text class="numPer">{{item.sales_initial}}</text>
                      <text class="numperson">位车友推荐</text>
                    </view>
                  </view>
                  <view class="list_right_box">
                    <view class="zan_price">
                      <text class="icon_name">现价:</text>
                      <text class="money_icon">¥</text>
                      <text class="price_big">{{item.price}}</text>
                    </view>
                    <view class="del">
                      <text class="money_icon_">¥</text>
                      <text class="del_price_">{{item.line_price}}</text>
                    </view>
                  </view>
                </view>
              </view>
            </view>
            <!-- 无图 -->
            <view class="like_list_1" wx:else bindtap="Toproductdetails" data-id="{{item.id}}" data-num="2">
              <text class="like_list_text  title_content2">{{item.name}}</text>
              <view class="down_next">
                <view class="newzeng">
                  <view class="status_change">{{item.shop_type}}</view>
                  <view class="rit_text">
                    <text class="numPer">{{item.sales_initial}}</text>
                    <text class="numperson">位车友推荐</text>
                  </view>
                </view>
                <view class="price_dP_">
                  <view class="zan_price_">
                    <text class="icon_name_">现价:</text>
                    <text class="money_icon_">¥</text>
                    <text class="price_big_">{{item.price}}</text>
                  </view>
                  <view class="del">
                    <text class="money_icon_">¥</text>
                    <text class="del_price_">{{item.line_price}}</text>
                  </view>
                </view>
              </view>
            </view>
          </view>
        </view>
      </view>
    </view>
  </view>
</view>