switchPopup.wxml 1.1 KB
<popup
           show="{{show}}"
           title="{{title}}"
           height="{{height}}"
           footer-mode="tips"
           tips="{{tips}}"
           bindconfirm="confirm">
	<block
	       wx:for="{{orderSettingList}}"
	       wx:key="index"
	       wx:for-item="item"
	       wx:for-index="index">
		<gl-cell
		         border
		         label="{{item.label}}"
		         valueAlign="right"
		         labelWidth="var(--fontSize240)">
			<!-- <switchBlock/> -->
			<switch-block
			              switchStatus="{{item.value}}"
			              disable="{{isYqdSuper}}"
			              bindswitchEvent="onSwitchChange"
			              data-index="{{index}}" />
			<!-- <view class="gender-box">
			<view class="block text-center {{orderObj.customer.customerSex==1?'':'right'}}" />
			<view class="male text-center {{orderObj.customer.customerSex == 1?'active':''}}" bindtap="changeGender" data-gender="1">
				男
			</view>
			<view class="woman text-center {{orderObj.customer.customerSex == 2?'active':''}}" bindtap="changeGender" data-gender="2">
				女
			</view>
		</view> -->
		</gl-cell>
	</block>
</popup>