<!-- 前台导入wxmlUtil.wxs -->
<wxs src='/utils/wxmlUtil.wxs' module="wxmlUtil"></wxs>
<!-- 设置金额和价格的小数位数 -->
<view style="display:none">{{wxmlUtil.setNumberOfDecimalPlacesAmount(numberOfDecimalPlacesAmount)}}</view>

<loading wx:if="{{loading}}"></loading>

<view class="dk-card-outer-class" style="border-radius: 15rpx;">
  <view class="dk-card-class">
    <van-radio-group value="{{ radioFollowUp }}" style="display:flex;background:white; padding-left: 40rpx;border-radius: 15rpx;" bind:change="onRadioFollowUp">
      <view style="flex: 1;">
        <van-radio name="1" style="margin: 5vw;font-size: 14px; font-weight: bold;" checked-color="#3E69F6">日常跟进
        </van-radio>
      </view>
      <view style="flex: 1;">
        <van-radio name="2" style="margin: 5vw;font-size: 14px; font-weight: bold;" checked-color="#3E69F6">邀约进店
        </van-radio>
      </view>
      <view style="flex: 1;">
        <van-radio name="3" style="margin: 5vw;font-size: 14px; font-weight: bold;" checked-color="#3E69F6">预约量尺
        </van-radio>
      </view>
    </van-radio-group>
  </view>
</view>


<dk-form id="{{formName}}" routeObjName="{{routeObjName}}" cardList="{{cardList}}" contentObj="{{contentObj}}" model:value="{{formData}}" bind:chooseData="chooseData">
</dk-form>
<!-- <view style="position: fixed;bottom: 230rpx;right: 30rpx;" wx:if="{{formType =='detail'}}">
  <view bind:tap="toEdit" class="btn-add-class-2">
    <van-icon name="edit" color="#FFFFFF" size="60rpx" />
  </view>
</view> -->
<!-- 编辑  -->
<view wx:if="{{formType =='detail'}}" style="position: fixed;bottom: 230rpx;right: 30rpx;z-index: 99;" bindtap="toEdit">
  <image src="{{imageUrl + 'edit.png'}} " class="edit-class"  />
</view>

<!--  保存 -->
<dk-save-button wx:if="{{formType !=='detail'}}" model:value="{{btnFormData}}" btnAutoWidthFlag="{{true}}" btnRightFlag="{{true}}" buttonList="{{buttonSaveList}}" contentList="{{contentSaveList}}" bind:open="save"></dk-save-button>

