note.wxml 4.3 KB

1
  1. <view><view class="status_bar"></view><view style="position:relative;top:44px;"><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><view class="kind_bot"><view class="kind_bot_title _p">害虫种类:</view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="input" bindtap="__e"><input type="text" disabled="{{!checked2}}" data-event-opts="{{[['input',[['__set_model',['$0','$1','$event',[]],['selector','form.appointPestName']]]]]}}" value="{{selector[form.appointPestName]}}" bindinput="__e"/><u-icon class="icon" vue-id="2d488a8e-4" name="arrow-down" bind:__l="__l"></u-icon><u-picker vue-id="2d488a8e-5" mode="selector" default-selector="{{[form.appointPestName]}}" 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></view><view class="kind_bot"><view class="kind_bot_title _p">害虫数量:</view><input type="number" disabled="{{!checked2}}" data-event-opts="{{[['input',[['__set_model',['$0','appointPestNum','$event',[]],['form']]]]]}}" value="{{form.appointPestNum}}" 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-6" 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-7" 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>