浏览代码

静态页面

1002884655 3 年前
父节点
当前提交
c2ed8d75d5

+ 1
- 1
src/pages/index/buildingList/index.scss 查看文件

82
       z-index: 1;
82
       z-index: 1;
83
       > scroll-view {
83
       > scroll-view {
84
         width: 100%;
84
         width: 100%;
85
-        height: 100%;
85
+        height: calc(100vh - 192px);
86
         .PageContent {
86
         .PageContent {
87
           position: relative;
87
           position: relative;
88
           overflow: hidden;
88
           overflow: hidden;

+ 3
- 3
src/subpackages/pages/marketing/components/ResidentListItem/index.jsx 查看文件

12
   const [Status, setStatus] = useState(null)
12
   const [Status, setStatus] = useState(null)
13
 
13
 
14
   useEffect(() => {
14
   useEffect(() => {
15
-    setStatus(data.status)
15
+    setStatus(data.channelStatus)
16
   }, [])
16
   }, [])
17
 
17
 
18
   const ToUnVisable = () => {
18
   const ToUnVisable = () => {
107
       </view>
107
       </view>
108
       <view className='Opt'>
108
       <view className='Opt'>
109
         {
109
         {
110
-          !(data.type === 'report' && data.channelStatus - 0 === 3) && Status - 0 !== 3 &&
110
+          data.visitStatus && 
111
           <text className='active' onClick={() => { Taro.navigateTo({ url: `/subpackages/pages/marketing/changeVisit/index?id=${data.id}&name=${data.name}&buildingId=${data.buildingId}&type=${data.type}&channelId=${data.channelId}` }) }}>更新交易</text>
111
           <text className='active' onClick={() => { Taro.navigateTo({ url: `/subpackages/pages/marketing/changeVisit/index?id=${data.id}&name=${data.name}&buildingId=${data.buildingId}&type=${data.type}&channelId=${data.channelId}` }) }}>更新交易</text>
112
         }
112
         }
113
         {
113
         {
114
-          data.type === 'report' && data.channelStatus - 0 === 1 && Status - 0 !== 3 &&
114
+          data.type === 'report' && Status - 0 === 1 &&
115
           <text onClick={ToUnVisable}>无效</text>
115
           <text onClick={ToUnVisable}>无效</text>
116
         }
116
         }
117
         {/* {
117
         {/* {