index.wxml 1.2 KB

1234567891011121314151617181920212223
  1. <view class="add">
  2. <navigator class="box" url="#" bindtap="handleCallBack">
  3. <view class="content">
  4. <image style="height: 48rpx; width: 48rpx; background: aqua; margin-right: 30rpx;" />
  5. <view class="text">添加联系人{{types}}</view>
  6. <van-icon size='14' color='#D2D2D2' style="margin-right: 30rpx;" name="arrow" />
  7. </view>
  8. </navigator>
  9. <navigator wx:if="{{isGroup}}" class="box" url="#" bindtap="addGroup">
  10. <view class="content">
  11. <image style="height: 48rpx; width: 48rpx; background: aqua; margin-right: 30rpx;" />
  12. <view class="text">添加群组</view>
  13. <van-icon size='14' color='#D2D2D2' style="margin-right: 30rpx;" name="arrow" />
  14. </view>
  15. </navigator>
  16. </view>
  17. <van-dialog use-slot title="添加群组" show="{{ show }}" showCancelButton confirmButtonText='确定' confirm-button-color='var(--assist)' bind:confirm='handleAddGroup' bind:cancel='onClose'>
  18. <view class="group-box">
  19. <input type="text" placeholder="请输入群组名称" bindinput="inputName" value="{{groupName}}" class="group-name" />
  20. </view>
  21. </van-dialog>
  22. <wxs src='../../utils/wxmlQueryPer.wxs' module="per" />