roomManger.wxml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <view>
  2. <!-- <lip-sync /> -->
  3. <auth bindlogin="reloadData" />
  4. <view class="storeContent">
  5. <view class="tab-header">
  6. <view class="un-start {{fetcherData.state == 102?'active':''}}" data-type="true" bindtap="setActive">
  7. <text>待开始</text>
  8. </view>
  9. <view class="has-start {{fetcherData.state !== 102?'active':''}}" data-type="false" bindtap="setActive">
  10. <text>已开始</text>
  11. </view>
  12. </view>
  13. <view class="search-container">
  14. <view class="storeSearch">
  15. <image src="../../static/images/icon/search@2x.png"></image>
  16. <input wx:if="{{fetcherData.type==31}}" bindconfirm="search" bindinput="inputChange" type="text" placeholder="请输入VR场景名称" placeholder-class="placeholderStyle" />
  17. <input wx:else bindconfirm="search" bindinput="inputChange" type="text" placeholder="请输入场景名称" placeholder-class="placeholderStyle" />
  18. </view>
  19. <view class="searchBtn" bindtap="search">搜索</view>
  20. </view>
  21. </view>
  22. <view class="addRoom" wx:if="{{canShow}}" bindtap="addRoom">
  23. <image class="addImg" src="../../static/images/add.png"></image>
  24. </view>
  25. <view class="result" wx:if="{{roomList.length > 0}}">
  26. <view>
  27. <view class="house-list">
  28. <!--<view class="list-item {{item.businessId == activeId?'list-item-touch-active':''}}" wx:for="{{roomList}}" wx:for-item="item" wx:for-index="index" wx:key="item.businessId" bindtouchstart="touchstart" bindtouchmove="touchmove" data-id="{{item.businessId}}">
  29. <partyItem class="parent" room="{{item}}" index="{{index}}" bindgotoWV="gotoWV"></partyItem>
  30. <view catchtap="deleteItem" class="item-delete">删除</view>
  31. </view>
  32. <view style="{{'width:'+parentW+'px;overflow-x:hidden;height:'+parentH+'px;overflow-y:hidden;'}}">
  33. <movable-area class="moveArea" wx:for="{{roomList}}" wx:key bindtap="toPosiDetl" data-id="{{item.work.id}}">
  34. <movable-view class="moveView" x="{{item.x}}" direction="horizontal" bindtouchend="touchEnd" bindtouchstart="touchStart" animation="{{true}}" data-id="{{item.id}}">
  35. <partyItem class="parent" room="{{item}}" index="{{index}}" bindgotoWV="gotoWV"></partyItem>
  36. <view class="delete" catchtap="delete" data-id="{{item.work.id}}">
  37. <text>删除</text>
  38. </view>
  39. </movable-view>
  40. </movable-area>
  41. </view> <view class='slider-handle'>{{todoItem.text}}</view>-->
  42. <swider-left class="swider-item moveView " wx:for="{{roomList}}" wx:for-item="item" wx:key="item.businessId"
  43. open="{{item.isOpen}}"
  44. butText="{{fetcherData.state == 102?'删除房间':'关闭房间'}}"
  45. data-id="{{item.businessId}}"
  46. bind:sliderLeftStart="handleSliderLeftStart"
  47. bind:change="handleChange"
  48. bind:delete="handleDelete">
  49. <partyItem class="parent" room="{{item}}" index="{{index}}" bindgotoWV="gotoWV"></partyItem>
  50. </swider-left>
  51. </view>
  52. </view>
  53. </view>
  54. <view class="unbrand" wx:else>
  55. <image src="/static/images/img_nodata@2x.png"></image>
  56. <view class="text">暂无相关数据</view>
  57. </view>
  58. </view>