<view class="box">
    <view class="label"><text>*</text>选择日期</view>

    <picker mode="date" value="{{date1}}" bindchange="bindDateChange">
        <view class="picker">
            <view class="selector">
                <view>{{date1}}</view>
                <van-icon name="arrow-down" />
            </view>
        </view>
    </picker>
    <view class="label"><text>*</text>选择时间</view>

    <picker mode="time" value="{{time}}" bindchange="bindTimeChange">
        <view class="picker">
            <view class="selector">
                <view>{{time}}</view>
                <van-icon name="arrow-down" />
            </view>
        </view>
    </picker>

    <view class="label"><text>*</text>本次跟进方式：</view>
    <view class="selector" bindtap="selectWay">
        <view>{{content.followupmode?content.followupmode:'请选择'}}</view>
        <van-icon name="arrow-down" />
    </view>
    <!-- <view class="label"><text>*</text>本次跟进结果：</view> -->
    <!-- <view class="results" bindtap="changeType">
        <view class="{{content.logtype=='继续跟进'?'op':''}}" data-name="继续跟进">继续跟进</view>
        <view class="{{content.logtype=='预约到店'?'op':''}}" data-name="预约到店">预约到店</view>
        <view class="{{content.logtype=='互加微信'?'op':''}}" data-name="互加微信">互加微信</view>
    </view> -->

    <view class="label"><text>*</text>本次跟进内容
        <Yl_VoiceInput class="Yl_VoiceInput" bindcallback="onVoiceInput" />
    </view>
    <textarea value='{{content.content}}' class="textarea selector" bind:input="inputChange" placeholder="请描述跟进情况及内容" />
    <view style="display: flex;justify-content: space-between;align-items: center;width: 690rpx; margin: 20rpx auto 0;">
        <view class="label" style="margin: 0;">附件:</view>
        <view>
            <My_upload accept='media' binduploadCallback="insertImgEdit">
                <navigator url="#" class="but">
                    <van-icon name="photo-o" />
                </navigator>
            </My_upload>
            <My_upload accept='file' binduploadCallback="insertImgEdit">
                <navigator url="#" class="but">
                    <van-icon name="description" />
                </navigator>
            </My_upload>
        </view>
    </view>
    <Yl_Files delete id="Yl_Files" />
</view>
<view style="height: 140rpx;" />

<view class="footer-but">
    <van-button custom-class='button' disabled='{{disabled}}' bindclick="submit" loading='{{loading}}' loading-text="保存中...">确定</van-button>
</view>

<van-action-sheet show="{{ actionShow }}" actions="{{ actions }}" cancel-text="取消" bind:close="selectWay" bind:cancel='selectWay' bind:select="onSelect" />