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.

55 lines
2.9 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. <!-- pagesA/facepeople/facepeople.wxml -->
  2. <view class="facepeople">
  3. <!-- 搜索框图像管理 -->
  4. <view class="facepeople-search">
  5. <van-search value="{{ value }}" placeholder="请输入搜索关键词" show-action bind:search="onSearch" bind:cancel="onCancel" />
  6. <!-- 图像管理 -->
  7. <view class="facepeople-manage">
  8. <view class="manage-title">图像管理</view>
  9. <!-- <view class="manage-create" bindtap="addFace"> -->
  10. <view class="manage-create" bindtap="changeshow2">
  11. <van-icon name="plus" class="plus" />
  12. <span class="new">新增</span>
  13. </view>
  14. </view>
  15. </view>
  16. <!-- 个人数据 -->
  17. <view class="facepeople-list" wx:for="{{faceList}}" wx:key="{{index}}">
  18. <view class="facepeople-item" bindtap="changeshow" data-item="{{item}}">
  19. <view class="facepeople-left">
  20. <van-image round width="100rpx" height="100rpx" src="{{item.facepic}}" />
  21. <span class="name">{{item.pzname}}</span>
  22. </view>
  23. <view class="facepeople-right">
  24. <span class="facepeople-date">{{ item.startTime }} - {{ item.endTime }}</span>
  25. <van-icon name="arrow" class="arrow" />
  26. </view>
  27. </view>
  28. </view>
  29. <!-- 个人数据弹出框 -->
  30. <van-popup show="{{ show }}" bind:close="onClose" round>
  31. <view class="popup-face">
  32. <view class="face-item" bindtap="gotoinfo">修改图像信息</view>
  33. <view class="face-item" bindtap="delFace">删除该图像信息</view>
  34. <view class="face-item" bindtap="onClose">取消</view>
  35. </view>
  36. </van-popup>
  37. <!-- 影响弹出框 -->
  38. <van-popup show="{{ show2 }}" bind:close="onClose" round>
  39. <view class="addfaces">
  40. <van-field value="{{ facename }}" placeholder="请输入图像名称" label="人脸" border="{{ true }}" bind:change="onChange2" maxlength="8" />
  41. <picker mode="date" value="{{starttime}}" start="{{minDate}}" end="{{ minDate1 }}" bindchange="bindDateChange">
  42. <van-field value="{{ starttime }}" placeholder="请选择开始时间" label="开始时间" border="{{ true }}" readonly />
  43. </picker>
  44. <picker mode="date" value="{{endtime}}" start="{{minDate}}" end="{{ minDate1 }}" bindchange="bindDateChange1">
  45. <van-field value="{{ endtime }}" placeholder="请选择结束时间" label="结束时间" border="{{ true }}" readonly />
  46. </picker>
  47. <view class="pic">
  48. <view class="picadd" bindtap="addFace">
  49. <van-icon name="plus" size="60" color="#E0E0E0" wx:if="{{!chooseface}}"/>
  50. <image class="faceimg" src="{{avatarPath}}" wx:else></image>
  51. </view>
  52. </view>
  53. <view class=""><button type="primary" bindtap="sendface">添加</button></view>
  54. </view>
  55. </van-popup>
  56. </view>