<view><view class="status_bar"></view><view style="position:relative;top:40px;"><view style="position:fixed;z-index:100;"><uni-nav-bar vue-id="13ac3df3-1" left-icon="back" left-text="返回" title="新增基地" data-event-opts="{{[['^clickLeft',[['clickLeft']]]]}}" bind:clickLeft="__e" bind:__l="__l"></uni-nav-bar></view><view class="addimg"><view data-event-opts="{{[['tap',[['gainimg',['$event']]]]]}}" class="addimg_add" bindtap="__e"><u-icon vue-id="13ac3df3-2" name="plus" size="60rpx" color="#A5A6A8" bind:__l="__l"></u-icon><image class="addimg_img" src="{{baseinfo.base_img}}" mode></image></view></view><view class="base_text"><view class="title _p">基地信息</view><view class="base_text_item1"><u-icon class="icon" vue-id="13ac3df3-3" name="fangzi" custom-prefix="custom-icon" bind:__l="__l"></u-icon><label class="_span"><label style="color:#ff0000;margin:0;" class="_span">*</label>基地名称</label><input type="text" placeholder="请输入基地名称" data-event-opts="{{[['input',[['__set_model',['$0','base_name','$event',[]],['baseinfo']]]]]}}" value="{{baseinfo.base_name}}" bindinput="__e"/></view><view class="base_text_item1"><u-icon class="icon" vue-id="13ac3df3-4" name="ren1" custom-prefix="custom-icon" bind:__l="__l"></u-icon><label class="_span"><label style="color:#ff0000;margin:0;" class="_span">*</label>负责人</label><input type="text" placeholder="请输入基地负责人" data-event-opts="{{[['input',[['__set_model',['$0','base_charge','$event',[]],['baseinfo']]]]]}}" value="{{baseinfo.base_charge}}" bindinput="__e"/></view><view class="base_text_item1"><u-icon class="icon" vue-id="13ac3df3-5" name="lianxidianhua" custom-prefix="custom-icon" bind:__l="__l"></u-icon><label class="_span"><label style="color:#ff0000;margin:0;" class="_span">*</label>联系电话</label><input type="text" placeholder="请输入联系电话" data-event-opts="{{[['blur',[['yanzheng',['$event']]]],['input',[['__set_model',['$0','base_phone','$event',[]],['baseinfo']]]]]}}" value="{{baseinfo.base_phone}}" bindblur="__e" bindinput="__e"/></view><view class="base_text_item1"><u-icon class="icon" vue-id="13ac3df3-6" name="mianji" custom-prefix="custom-icon" bind:__l="__l"></u-icon><label class="_span"><label style="color:#ff0000;margin:0;" class="_span">*</label>面积(亩)</label><input type="number" placeholder="请输入基地面积" data-event-opts="{{[['input',[['__set_model',['$0','base_area','$event',[]],['baseinfo']]]]]}}" value="{{baseinfo.base_area}}" bindinput="__e"/></view><view class="base_text_item2"><u-icon class="icon" vue-id="13ac3df3-7" name="miaoshu" custom-prefix="custom-icon" bind:__l="__l"></u-icon><label class="_span">基地描述</label><textarea class="textarea" maxlength="80" auto-height="{{true}}" placeholder="请输入基地描述(不能大于80字)" data-event-opts="{{[['input',[['__set_model',['$0','base_describe','$event',[]],['baseinfo']]]]]}}" value="{{baseinfo.base_describe}}" bindinput="__e"></textarea></view><view data-event-opts="{{[['tap',[['map',['$event']]]]]}}" class="base_text_item1" bindtap="__e"><u-icon class="icon" vue-id="13ac3df3-8" name="Frame1" custom-prefix="custom-icon" bind:__l="__l"></u-icon><label class="_span"><label style="color:#ff0000;margin:0;" class="_span">*</label>基地定位</label><input style="position:absolute;right:60rpx;width:60%;" type="text" placeholder="请选择地址" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','city','$event',[]]]]]]}}" value="{{city}}" bindinput="__e"/><u-icon class="iconright" vue-id="13ac3df3-9" name="arrow-right" bind:__l="__l"></u-icon></view><view data-event-opts="{{[['tap',[['binding',['$event']]]]]}}" class="base_text_item1" bindtap="__e"><u-icon class="icon" vue-id="13ac3df3-10" name="bangding" custom-prefix="custom-icon" bind:__l="__l"></u-icon><label class="_span"><label style="color:#ff0000;margin:0;" class="_span">*</label>设备绑定</label><u-icon class="iconright" vue-id="13ac3df3-11" name="arrow-right" bind:__l="__l"></u-icon></view><block wx:if="{{baseobjtf}}"><view class="base_id_box"><block wx:for="{{base_id}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="base_id"><view class="base_id_item"><label class="_span">{{item.device_id}}</label><label class="_span">{{item.type_name}}</label></view></view></block></view></block><block wx:else><view class="base_id_box"><block wx:for="{{baseobj}}" wx:for-item="items" wx:for-index="indexs" wx:key="indexs"><view class="base_id"><view class="base_id_item"><label class="_span">{{items.arr}}</label><label class="_span">{{items.name}}</label></view></view></block></view></block><view data-event-opts="{{[['tap',[['tijiao',['$event']]]]]}}" class="btn" bindtap="__e">确 定</view></view></view><kps-image-cutter vue-id="13ac3df3-12" url="{{imgs}}" fixed="{{false}}" blob="{{false}}" maxWidth="{{500}}" maxHeight="{{500}}" data-event-opts="{{[['^ok',[['onok']]],['^cancel',[['oncancle']]]]}}" bind:ok="__e" bind:cancel="__e" bind:__l="__l"></kps-image-cutter></view>