You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
1.8 KiB
1 line
1.8 KiB
2 years ago
|
<view><view class="company_body"><block wx:if="{{type.data==''||!type}}"><view class="header_seach_seach"><uni-easyinput style="height:100%;flex:1;margin:0 auto;background-color:#FFFFFF;border-radius:12rpx;" vue-id="0dc1b631-1" prefixIcon="search" placeholder="公司名称" value="{{getData.params.name}}" data-event-opts="{{[['^confirm',[['seachFn']]],['^iconClick',[['onClick']]],['^input',[['__set_model',['$0','name','$event',[]],['getData.params']]]]]}}" bind:confirm="__e" bind:iconClick="__e" bind:input="__e" bind:__l="__l"></uni-easyinput></view></block></view><view class="company_list"><block wx:if="{{!type}}"><view data-event-opts="{{[['tap',[['seleFn']]]]}}" class="company_list_item" style="margin-top:0;" bindtap="__e"><image style="width:73rpx;height:73rpx;" src="../../static/selegs.png"></image><view class="company_list_item_text">所有企业</view><view style="flex-grow:1;text-align:-webkit-right;"><view class="checkboxs"><block wx:if="{{selecompany==''}}"><view class="checkboxss"></view></block></view></view></view></block><block wx:for="{{diverList}}" wx:for-item="item" wx:for-index="index"><view data-event-opts="{{[['tap',[['seleFn',['$0'],[[['diverList','',index]]]]]]]}}" class="company_list_item" bindtap="__e"><block wx:if="{{!type}}"><image style="width:73rpx;height:73rpx;" src="../../static/selegs.png"></image></block><block wx:if="{{type}}"><view class="companytip" style="{{'background:'+(item.parentMark==0?'#2866FF':'#FD9500')+';'}}">{{item.parentMark==0?'总公司':'子公司'}}</view></block><view class="company_list_item_text">{{item.name}}</view><view style="flex-grow:1;text-align:-webkit-right;"><view class="checkboxs"><block wx:if="{{item.name==selecompany.name}}"><view class="checkboxss"></view></block></view></view></view></block></view></view>
|