<view><view class="status_bar"></view><view style="position:relative;top:40px;"><view style="position:fixed;z-index:100;"><uni-nav-bar vue-id="2d488a8e-1" left-icon="back" title="短信预警" data-event-opts="{{[['^clickLeft',[['clickLeft']]]]}}" bind:clickLeft="__e" bind:__l="__l"></uni-nav-bar></view><view class="earlywarning"><view class="kind"><view class="kind_top"><view class="kind_top_title _p">目标种类预警</view><u-switch bind:input="__e" style="margin-top:6rpx;" vue-id="2d488a8e-2" size="30" active-color="#58C876" value="{{checked1}}" data-event-opts="{{[['^input',[['__set_model',['','checked1','$event',[]]]]]]}}" bind:__l="__l"></u-switch></view><view class="kind_bot"><view class="kind_bot_title _p">害虫种类数量设置：</view><input type="number" disabled="{{!checked1}}" data-event-opts="{{[['input',[['__set_model',['$0','pestCategoryNum','$event',[]],['form']]]]]}}" value="{{form.pestCategoryNum}}" bindinput="__e"/></view><view class="hint _p">（每天害虫种类数量达到此数量时，短信预警）</view></view><view class="kind"><view class="kind_top"><view class="kind_top_title _p">指定害虫数量预警</view><u-switch bind:input="__e" style="margin-top:6rpx;" vue-id="2d488a8e-3" size="30" active-color="#58C876" value="{{checked2}}" data-event-opts="{{[['^input',[['__set_model',['','checked2','$event',[]]]]]]}}" bind:__l="__l"></u-switch></view><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{appointPestNames[index]}}"><view class="kind_box"><view class="kind_bot"><view class="kind_bot_title _p">害虫种类：</view><view data-event-opts="{{[['tap',[['pickerchange',[index]]]]]}}" class="input" bindtap="__e"><input type="text" disabled="{{!checked2}}" data-event-opts="{{[['input',[['__set_model',['$0',item.m1,'$event',[]],['selector']]]]]}}" value="{{selector[item.m2]}}" bindinput="__e"/><u-icon class="icon" vue-id="{{'2d488a8e-4-'+index}}" name="arrow-down" bind:__l="__l"></u-icon></view></view><view class="kind_bot"><view class="kind_bot_title _p">害虫数量：</view><input type="number" disabled="{{!checked2}}" data-event-opts="{{[['input',[['__set_model',['$0',index,'$event',[]],['appointPestNums']]]]]}}" value="{{appointPestNums[index]}}" bindinput="__e"/></view><block wx:if="{{index==0}}"><u-icon class="icons" vue-id="{{'2d488a8e-5-'+index}}" name="plus-circle" size="40" color="#28AE4F" data-event-opts="{{[['^click',[['addkindnum',[index]]]]]}}" bind:click="__e" bind:__l="__l"></u-icon></block><block wx:else><u-icon class="icons" vue-id="{{'2d488a8e-6-'+index}}" name="trash" size="40" color="#ff0000" data-event-opts="{{[['^click',[['jiankindnum',[index]]]]]}}" bind:click="__e" bind:__l="__l"></u-icon></block></view></block></block><u-picker vue-id="2d488a8e-7" mode="selector" default-selector="{{[$root.m3]}}" range="{{selector}}" value="{{pickertf}}" data-event-opts="{{[['^confirm',[['confirmFun2']]],['^input',[['__set_model',['','pickertf','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-picker><view class="hint _p">（每天指定害虫数量达到此数量时，短信预警）</view></view><view class="kind"><view class="kind_top"><view class="kind_top_title _p">害虫数量总和预警</view><u-switch bind:input="__e" style="margin-top:6rpx;" vue-id="2d488a8e-8" size="30" active-color="#58C876" value="{{checked3}}" data-event-opts="{{[['^input',[['__set_model',['','checked3','$event',[]]]]]]}}" bind:__l="__l"></u-switch></view><view class="kind_bot"><view class="kind_bot_title _p">害虫总和数量设置：</view><input type="number" disabled="{{!checked3}}" data-event-opts="{{[['input',[['__set_model',['$0','pestTotalNum','$event',[]],['form']]]]]}}" value="{{form.pestTotalNum}}" bindinput="__e"/></view><view class="hint _p">（每天害虫数量总和达到此数量时，短信预警）</view></view><view class="kind"><view class="kind_top"><view class="kind_top_title _p">综合预警</view><u-switch bind:input="__e" style="margin-top:6rpx;" vue-id="2d488a8e-9" size="30" active-color="#58C876" value="{{checked4}}" data-event-opts="{{[['^input',[['__set_model',['','checked4','$event',[]]]]]]}}" bind:__l="__l"></u-switch></view><view class="kind_bot"><view class="kind_bot_title _p">每天检测害虫种类及数量，短信预警</view></view></view><view class="kind"><view class="kind_top"><view class="kind_top_title _p">信息接收</view></view><view class="kind_bot"><view class="kind_bot_title _p">信息接受手机号：</view><input type="number" data-event-opts="{{[['blur',[['phonereg',['$event']]]],['input',[['__set_model',['$0','phone','$event',[]],['form']]]]]}}" value="{{form.phone}}" bindblur="__e" bindinput="__e"/></view><block wx:if="{{phonetf}}"><view class="hint _p">请输入正确的手机号</view></block></view><view data-event-opts="{{[['tap',[['btn',['$event']]]]]}}" class="tijiao" bindtap="__e">确 定</view></view></view></view>