1002884655 3 gadus atpakaļ
vecāks
revīzija
061fed6c5b

+ 1
- 1
project.config.json Parādīt failu

@@ -27,7 +27,7 @@
27 27
 			"outputPath": ""
28 28
 		},
29 29
 		"useIsolateContext": true,
30
-		"useCompilerModule": false,
30
+		"useCompilerModule": true,
31 31
 		"userConfirmedUseCompilerModuleSwitch": false
32 32
 	},
33 33
 	"compileType": "miniprogram",

+ 3
- 3
src/components/ProjectListItem/index.jsx Parādīt failu

@@ -6,7 +6,7 @@ import { getImgURL } from '@/utils/image'
6 6
 import './index.scss'
7 7
 
8 8
 export default function ProjectListItem (props) {
9
-  const { Data = {} } = props
9
+  const { Data = {}, ShowImgIcon = true } = props
10 10
   const { uvList = [] } = Data
11 11
   return (
12 12
     <view className='components ProjectListItem flex-h' onClick={() => { Taro.navigateTo({ url: `/pages/index/buildingDetail/index?id=${Data.buildingId || Data.targetId}` }) }}>
@@ -14,11 +14,11 @@ export default function ProjectListItem (props) {
14 14
         <view>
15 15
           <Image mode='aspectFill' className='centerLabel' src={getImgURL((Data?.buildingListImg || []).length ? Data.buildingListImg[0].url : Data.activityImg || null)} />
16 16
           {
17
-            (Data?.panoramaList || []).length > 0 &&
17
+            (Data?.panoramaList || []).length > 0 && ShowImgIcon &&
18 18
             <Image mode='heightFix' className='Tips Vr' src={require('@/assets/index-icon18.png')} />
19 19
           }
20 20
           {
21
-            Data.videoUrl !== null &&
21
+            Data.videoUrl !== null && ShowImgIcon &&
22 22
             <Image mode='heightFix' className='Tips Video' src={require('@/assets/index-icon19.png')} />
23 23
           }
24 24
         </view>

+ 1
- 1
src/pages/chat/chatDetail/index.jsx Parādīt failu

@@ -231,7 +231,7 @@ export default withLayout((props) => {
231 231
       </view>
232 232
       <view className='SendContent flex-h'>
233 233
         <view className='flex-item'>
234
-          <Input placeholder='发送消息' value={text} onInput={(e) => setText(e.detail.value)} />
234
+          <Input confirm-type='send' hold-keyboard confirm-hold placeholder='发送消息' value={text} onConfirm={submitText} onInput={(e) => setText(e.detail.value)} />
235 235
         </view>
236 236
         <text className='iconfont icon-tianjia' onClick={submitImage}></text>
237 237
         <Button loading={submitting} className='Send' onClick={submitText}>发送</Button>

+ 1
- 1
src/pages/index/buildingDetail/components/PropertyConsultant/index.jsx Parādīt failu

@@ -64,7 +64,7 @@ export default function PropertyConsultant (props) {
64 64
           List.map((item, index) => (
65 65
             <view key={`PersonItem-${index}`} className='flex-h'>
66 66
               <view className='Icon' onClick={() => gotoDetail(item)}>
67
-                <Image mode='aspectFill' src={item.photo || item.avatarurl || item.avatar || item.picture}></Image>
67
+                <Image mode='aspectFill' src={item.userPhoto || item.photo || item.avatarurl || item.avatar || item.picture}></Image>
68 68
               </view>
69 69
               <view className='flex-item' onClick={() => gotoDetail(item)}>
70 70
                 <text>{item.userName}</text>

+ 1
- 1
src/pages/index/buildingPropertyConsultant/index.jsx Parādīt failu

@@ -73,7 +73,7 @@ export default withLayout((props) => {
73 73
                 <view className='flex-h'>
74 74
 
75 75
                   <view className='Icon'>
76
-                    <Image mode='scaleToFill' src={getImgURL(item.photo || item.avatar)}></Image>
76
+                    <Image mode='scaleToFill' src={getImgURL(item.userPhoto || item.photo || item.avatar)}></Image>
77 77
                   </view>
78 78
 
79 79
                   <view className='flex-item' onClick={() => gotoDetail(item)}>

+ 1
- 1
src/pages/index/specialPriceHouse/index.jsx Parādīt failu

@@ -148,7 +148,7 @@ export default withLayout((props) => {
148 148
                               const unitW = unitPrice ? `${Number(unitPrice).toFixed(0)}元/㎡` : '单价待定'
149 149
                               const currentW = it.currentPrice ? `${Number(it.currentPrice / 10000).toFixed(1)}` : '待定'
150 150
                               const originalW = it.originalPrice ? `${Number(it.originalPrice / 10000).toFixed(1)}` : '待定'
151
-                              const thriftW = it.thriftPrice ? `省${Number(it.thriftPrice / 10000).toFixed(1)}` : '待定'
151
+                              const thriftW = it.thriftPrice ? `省${Number(it.thriftPrice / 10000).toFixed(1)}` : '待定'
152 152
                               const leftTime = formateLeftTime(new Date(it.endTime) - new Date(), 'min');
153 153
 
154 154
                               return (

+ 1
- 1
src/pages/mine/myShare/index.jsx Parādīt failu

@@ -66,7 +66,7 @@ export default withLayout(() => {
66 66
           <view className='List'>
67 67
             {
68 68
               PageList.map((item, index) => (
69
-                <ProjectListItem Data={item} key={`ProjectListItem-${index}`}></ProjectListItem>
69
+                <ProjectListItem ShowImgIcon={item.eventType === 'building'} Data={item} key={`ProjectListItem-${index}`}></ProjectListItem>
70 70
               ))
71 71
             }
72 72
           </view>

+ 1
- 1
src/subpackages/pages/consultant/myHomepage/index.jsx Parādīt failu

@@ -105,7 +105,7 @@ export default withLayout((props) => {
105 105
           <view className='Card UserInfo'>
106 106
             <view className='flex-h Top'>
107 107
               <view className='Icon'>
108
-                <Image mode='aspectFill' src={getImgURL(UserInfo.avatarurl || UserInfo.avatar || UserInfo.picture)}></Image>
108
+                <Image mode='aspectFill' src={getImgURL(UserInfo.userPhoto || UserInfo.photo || UserInfo.avatarurl || UserInfo.avatar || UserInfo.picture)}></Image>
109 109
               </view>
110 110
               <view className='flex-item'>
111 111
                 <view className='flex-h'>