姨妈管家小程序代码

switch.wxml 219B

12345
  1. <template name="switchWrapper">
  2. <view class="switch-wrapper {{switchFlag ? 'open1' : 'close1'}}" bindtap="isEnd">
  3. <view class="switch-btn {{switchFlag ? 'open2' : 'close2'}}"></view>
  4. </view>
  5. </template>