index.wxml 3.62 KB
<wxs src="./index.wxs" module="filterUtils" />
<navigation-bar bindnavbarReady="navbarReady" navStyle="{{navStyle}}">拓客户</navigation-bar>
<view class="reclaim" style="{{tabIndx == 1 ? 'background: #fff;' : ''}}">
	<!-- 头部 -->
	<view class="header-wrap" style="height:{{headerHeight}}rpx; background-image: url('{{IMG_URL}}index/head.png')">
		<view class="header">
			<tab
			     tab="{{navList}}"
			     itemWidth="{{'35%'}}"
			     index="{{tabIndx}}"
			     tabHeight
			     unreadClueCount="{{unreadClueCount}}"
			     bindclick="changeTabIndx"
			     class="tabContainer" />
			<view class="right" data-type="shop" bindtap="gotoApply">
				<image webp class="img" src="{{IMG_URL}}index/apply.png" />
				<view class="apply">申请业务</view>
			</view>
		</view>
	</view>
	<!-- 托客户内容 -->
	<indexProduct
	              wx:if="{{tabIndx == 1 }}"
	              bindselectCar="selectCar"
	              senceData="{{senceData}}"
	              actNum="{{actNum}}"
	              img_version="{{img_version}}"
	              headerHeight="{{headerHeight}}"
	              bindrefresherrefresh="refresherrefresh" />
	<!-- 看线索内容 -->
	<indexClue
	           id="indexclue"
	           wx:if="{{tabIndx == 0 }}"
	           headerHeight="{{headerHeight}}"
	           disLikeRecordFlag="{{disLikeRecordFlag}}"
	           bindshowToggleToast="showToggleToast" />
</view>
<!-- 收藏、取消提示框 -->
<vas-toast id='toast' />
<!-- 引导图 -->
<view class="guide" wx:if="{{guideShow}}" style="overflow-y:hidden;">
	<image
	       webp
	       bindtap="guideFn"
	       class="guide-img"
	       src="{{IMG_URL}}index/guide{{guideSrcIndex}}.png?v={{img_version}}" />
</view>
<!-- 在线客服 -->
<image
       webp
       class="chat"
       src="{{IMG_URL}}index/contact.png"
       bindtap="goConsult" />
<!-- 预估产值 -->
<image
       webp
       class="output-value"
       bindtap="showCalculate"
       src="{{IMG_URL}}index/valuation.png"
       wx:if="{{tabIndx == 1}}" />
<!-- 预估产值弹框 -->
<view class="dialog-wrapper" bindtap="clickDialog" hidden="{{!visible}}">
	<view class="dialog-box">
		<form bindsubmit="submit">
			<view class="dialog-header">
				<view wx:if="{{!isReset}}" class="header-btn btn-gray" bindtap="showCalculate">取消</view>
				<view wx:if="{{isReset}}" class="header-btn btn-gray" bindtap="reset">重置</view>
				<button class="header-btn btn-primary" form-type="submit">确定</button>
			</view>
			<view class="dialog-content">
				<view class="dialog-title">输入您门店的基本情况</view>
				<view class="dialog-form">
					<view class="form-item">
						<view class="form-label">门店月平均新车销量</view>
						<input
						       class="form-input"
						       bindfocus="focus"
						       maxlength="8"
						       name="sales"
						       cursor-spacing="10"
						       value="{{formData.sales}}"
						       type="number" />
						<!-- <view class="form-unit">台</view> -->
					</view>
					<view class="form-item">
						<view class="form-label">3年内售后存量用户</view>
						<input
						       class="form-input"
						       bindfocus="focus"
						       maxlength="8"
						       name="flow"
						       type="number"
						       cursor-spacing="10"
						       value="{{formData.flow}}" />
						<!-- <view class="form-unit">人</view> -->
					</view>
					<button class="dialog-btn" form-type="submit">提交测算</button>
				</view>
			</view>
		</form>
	</view>
</view>
<!--  -->
<crowdfund-poster wx:show="{{!guideShow}}" item="{{posterItem}}" />
<!-- 全屏视频组件 -->
<FullscreenVideo id="videocomp" src="{{videoSrc}}" title="{{videoTitle}}" />