1007395918@qq.com 5 年 前
コミット
d104ea703e
共有4 個のファイルを変更した7 個の追加7 個の削除を含む
  1. 2
    1
      src/pages/person/myShare/index.js
  2. 2
    1
      src/pages/project/detail/poster.js
  3. 2
    2
      src/pages/project/floor/index.js
  4. 1
    3
      src/pages/project/item/index.js

+ 2
- 1
src/pages/person/myShare/index.js ファイルの表示

@@ -118,7 +118,8 @@ export default class Person extends Taro.Component {
118 118
               <View className="share-item" key={item.targetId + 'share'} onClick={this.handleItemClick.bind(this, item)}>
119 119
                 <Image className="img" mode="aspectFill" src={transferImage(item.activityImg || emptyImg)}></Image>
120 120
                 <View className={item.eventType == 'project' ? 'building' : 'name'}>{item.activityName || ''}</View>
121
-                {item.eventType == 'project' && <View className="price"> {item.price ? <Text>约{item.price}{item.priceType == 'total' ? '万元/套' : '元/m²'}</Text> : '暂无均价'} </View>}
121
+                {/* {item.eventType == 'project' && <View className="price"> {item.price ? <Text>约{item.price}{item.priceType == 'total' ? '万元/套' : '元/m²'}</Text> : '暂无均价'} </View>} */}
122
+                {item.eventType == 'project' && <View className="price"> {item.price || '暂无均价'} </View>}
122 123
 
123 124
                 {item.eventType == 'h5' && <View className="num"> {item.drainageShareNum || '0'}人查看了分享 </View>}
124 125
                 {item.eventType == 'project' && <View className="num"> {item.buildingNum || '0'}人查看了分享 </View>}

+ 2
- 1
src/pages/project/detail/poster.js ファイルの表示

@@ -89,7 +89,8 @@ export default class Index extends Component {
89 89
       }, {
90 90
         x: 30,
91 91
         y: 746,
92
-        text: data.price ? '约' + data.price + '元/m²' : '待定',
92
+        text: data.price || '待定',
93
+        // text: data.price ? '约' + data.price + '元/m²' : '待定',
93 94
         fontSize: 36,
94 95
         color: '#FF2744',
95 96
         baseLine: 'middle',

+ 2
- 2
src/pages/project/floor/index.js ファイルの表示

@@ -48,8 +48,8 @@ export default class Index extends Component {
48 48
           </View>
49 49
           <View className='item'>
50 50
             <Text className='txt left-txt'>均价</Text>
51
-            {/* <Text className='txt right-txt'>{projectDetail.price || '待定'}</Text> */}
52
-            <Text className='txt right-txt'> {projectDetail.price ? <Text>约{projectDetail.price}{projectDetail.priceType == 'total' ? '万元/套' : '元/m²'}</Text> : '待定'} </Text>
51
+            <Text className='txt right-txt'>{projectDetail.price || '待定'}</Text>
52
+            {/* <Text className='txt right-txt'> {projectDetail.price ? <Text>约{projectDetail.price}{projectDetail.priceType == 'total' ? '万元/套' : '元/m²'}</Text> : '待定'} </Text> */}
53 53
           </View>
54 54
           <View className='item'>
55 55
             <Text className='txt left-txt'>销售状态</Text>

+ 1
- 3
src/pages/project/item/index.js ファイルの表示

@@ -31,9 +31,7 @@ export default class Index extends Component {
31 31
           <View className='item__right'>
32 32
             <View className='item__right__title'>{data.name}</View>
33 33
             <View className='item__right__price row'>
34
-              {
35
-                data.price ? <Text className='price__txt'>约{data.price}</Text> : <Text className='price__txt'>待定</Text>
36
-              }
34
+              <Text className='price__txt'>{data.price || '待定'}</Text>
37 35
               {/* {
38 36
                 data.price ? <Text className='price__txt'>约{data.price}{data.priceType == 'total' ? '万元/套' : '元/m²'}</Text> : <Text className='price__txt'>待定</Text>
39 37
               } */}