瀏覽代碼

静态页面

1002884655 3 年之前
父節點
當前提交
acfceec9b0

+ 1
- 1
src/components/ProjectListItem/index.jsx 查看文件

@@ -9,7 +9,7 @@ export default function ProjectListItem (props) {
9 9
   const { Data = {} } = props
10 10
   const { uvList = [] } = Data
11 11
   return (
12
-    <view className='components ProjectListItem flex-h' onClick={() => { Taro.navigateTo({ url: `/pages/index/buildingDetail/index?id=${Data.buildingId}` }) }}>
12
+    <view className='components ProjectListItem flex-h' onClick={() => { Taro.navigateTo({ url: `/pages/index/buildingDetail/index?id=${Data.buildingId || Data.targetId}` }) }}>
13 13
       <view className='Img'>
14 14
         <view>
15 15
           <Image mode='aspectFill' className='centerLabel' src={getImgURL((Data?.buildingListImg || []).length ? Data.buildingListImg[0].url : Data.activityImg || null)} />

+ 3
- 0
src/pages/index/buildingDynamic/index.scss 查看文件

@@ -67,6 +67,9 @@
67 67
                 font-weight: bold;
68 68
                 margin-top: 0;
69 69
               }
70
+              &.desc {
71
+                line-height: 40px;
72
+              }
70 73
             }
71 74
             >.Line {
72 75
               width: 30px;

+ 13
- 4
src/subpackages/pages/marketing/changeVisit/index.jsx 查看文件

@@ -123,10 +123,10 @@ export default withLayout((props) => {
123 123
         Taro.showToast({ title: '姓名不能为空', icon: 'none', duration: 2000 })
124 124
         return false
125 125
       }
126
-      if (FormData.realtyConsultant === '') {
127
-        Taro.showToast({ title: '请选择内场接待', icon: 'none', duration: 2000 })
128
-        return false
129
-      }
126
+      // if (FormData.realtyConsultant === '') {
127
+      //   Taro.showToast({ title: '请选择内场接待', icon: 'none', duration: 2000 })
128
+      //   return false
129
+      // }
130 130
     } else if (CurrentStatusId === 4) { // 签约
131 131
 
132 132
     }
@@ -138,6 +138,9 @@ export default withLayout((props) => {
138 138
     if (CurrentStatusId === 3) {
139 139
       fetch({ url: API_SURE_CHIP, method: 'put', payload: { customerId: id, customerPreparatory: { ...FormData, channelId: channelId === 'null' || channelId === null ? '' : channelId } } }).then(() => {
140 140
         Taro.showToast({ title: '修改成功', icon: 'none', duration: 2000 })
141
+        setTimeout(() => {
142
+          Taro.navigateBack({ delta: 1 })
143
+        }, 2000)
141 144
       })
142 145
     } else if (CurrentStatusId === 4) {
143 146
       let params = {}
@@ -149,6 +152,9 @@ export default withLayout((props) => {
149 152
       params.dividendsName = `${FormData.dividendsName}|${FormData.dividendsPer}%`
150 153
       fetch({ url: API_SURE_SIGN, method: 'put', payload: { customerId: id, customerSignatory: { ...params, channelId: channelId === 'null' || channelId === null ? '' : channelId } } }).then(() => {
151 154
         Taro.showToast({ title: '修改成功', icon: 'none', duration: 2000 })
155
+        setTimeout(() => {
156
+          Taro.navigateBack({ delta: 1 })
157
+        }, 2000)
152 158
       })
153 159
     } else if (CurrentStatusId === 5) {
154 160
       let params = {}
@@ -160,6 +166,9 @@ export default withLayout((props) => {
160 166
       params.dividendsName = `${FormData.dividendsName}|${FormData.dividendsPer}%`
161 167
       fetch({ url: API_SURE_BUY, method: 'put', payload: { customerId: id, customerSignatory: { ...params, channelId: channelId === 'null' || channelId === null ? '' : channelId } } }).then(() => {
162 168
         Taro.showToast({ title: '修改成功', icon: 'none', duration: 2000 })
169
+        setTimeout(() => {
170
+          Taro.navigateBack({ delta: 1 })
171
+        }, 2000)
163 172
       })
164 173
     }
165 174
   }