张延森 3 年之前
父節點
當前提交
d891241400
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. 3
    3
      src/hotel/components/HouseManage/houseManage.jsx

+ 3
- 3
src/hotel/components/HouseManage/houseManage.jsx 查看文件

118
         <SearchBar placeholder='请输入房源名搜索' onBlur={onSearch} />
118
         <SearchBar placeholder='请输入房源名搜索' onBlur={onSearch} />
119
         <ShareRoom showCutover={showCutover} onClose={onClose} room={room} onFinish={handleFinish} />
119
         <ShareRoom showCutover={showCutover} onClose={onClose} room={room} onFinish={handleFinish} />
120
         <ShareCard showCutover={showCard} onClose={onClose2} />
120
         <ShareCard showCutover={showCard} onClose={onClose2} />
121
-        <scroll-view scroll-y="true" scroll-view='true' bindscrolltoupper="upper" bindscrolltolower="lower" bindscroll="scroll" style={{ height: 'calc(100vh - 244px)' }}>
121
+        <scroll-view scrollY style={{ height: 'calc(100vh - 244px)' }}>
122
           {
122
           {
123
-            (detail || []).map((item) =>
124
-              <view className='houseCard'>
123
+            (detail || []).map((item, inx) =>
124
+              <view className='houseCard' key={inx}>
125
                 <view className='houseName' onClick={() => { handelDetail(item) }} >{item.roomName || ''}</view>
125
                 <view className='houseName' onClick={() => { handelDetail(item) }} >{item.roomName || ''}</view>
126
                 <view className='operation'>
126
                 <view className='operation'>
127
                   <view onClick={() => handelOrder(item)}><image src={see} />查看入住人</view>
127
                   <view onClick={() => handelOrder(item)}><image src={see} />查看入住人</view>