<view class="head">
	<view class="count">
		<text wx:if="{{language['总共']}}">{{language['总共']}}：{{content.total}}</text>
		<text wx:else>总共{{content.total}}个</text>
	</view>
	<view class="expand">
		<van-search wx:if="{{showSearch}}" custom-class='custom-class' focus='{{focus}}' value="{{ condition }}" shape="round" bind:change='onChange' bind:search='onSearch' bind:clear='onSearch' placeholder="{{language['请输入搜索关键字']||'请输入搜索关键字'}}" background='#F4F5F7' />
		<navigator url="#" class="but" bindtap="toSearch">
			<van-icon name="search" />
		</navigator>
		<navigator wx:if="{{disabled}}" url="#" class="but" bindtap="toAdd">
			<van-icon name="plus" />
		</navigator>
	</view>
</view>
<van-radio-group value="{{ sa_competitor_advid }}" bind:change="changeDefault">
	<view class="global-card" wx:for="{{list}}" wx:key="sa_competitor_advid">
		<view class="advid-head">
			<view class="title">{{item.createby}}</view>
			<view class="date">{{item.createdate}}</view>
		</view>
		<view class="exp multi-line">{{language['优势信息']||'优势信息'}}：{{item.advantage||' --'}}</view>
		<view class="exp multi-line">{{language['劣势信息']||'劣势信息'}}：{{item.inferiority||' --'}}</view>

		<view class="editor">
			<van-radio icon-size='16' label-class='radio' name="{{item.sa_competitor_advid}}">{{language['设为默认']||'设为默认'}}</van-radio>
			<view class="icon-but" bindtap="handleItem">
				<navigator url="#" data-item="{{item}}" wx:if="{{disabled}}" data-name="edit" class="iconfont icon-bianji" />
				<navigator url="#" data-item="{{item}}" wx:if="{{disabled}}" data-name="delete" class="iconfont icon-shanchu" />
			</view>
		</view>
	</view>
</van-radio-group>
<My_empty wx:if="{{!list.length}}" />