Browse Source

去除特殊字符

许静 5 years ago
parent
commit
f70f09622c
2 changed files with 8 additions and 8 deletions
  1. 3
    3
      src/pages/agent/client/index.js
  2. 5
    5
      src/pages/card/index.js

+ 3
- 3
src/pages/agent/client/index.js View File

@@ -125,15 +125,15 @@ export default class Index extends Component {
125 125
                         </View>
126 126
                         <View className='client__top'>
127 127
                           <View className='client__infor'>
128
-                            <Text className='client__name'>{item.name}  &emsp;</Text>
128
+                            <Text className='client__name'>{item.name} </Text>
129 129
                             <Image className='sex' src={item.sex == 1 ? require('@assets/person/guest/man.png') : require('@assets/person/guest/women.png')} mode='widthFix'></Image>
130 130
                           </View>
131 131
 
132 132
 
133 133
                         </View>
134 134
 
135
-                        <View className='phone'>手机:&emsp;{item.phone}</View>
136
-                        <View className='phone'>意向楼盘:&emsp;{item.intention ? item.intention : '暂无'}</View>
135
+                        <View className='phone'>手机: {item.phone}</View>
136
+                        <View className='phone'>意向楼盘: {item.intention ? item.intention : '暂无'}</View>
137 137
 
138 138
                       </View>
139 139
                       <View className='time'>{dayjs(item.createDate).format('YYYY-MM-DD HH:mm:ss')}</View>

+ 5
- 5
src/pages/card/index.js View File

@@ -25,7 +25,7 @@ import { dispatchProjectDetail } from '@actions/project'
25 25
 
26 26
 export default class Index extends Component {
27 27
   config = {
28
-    navigationBarTitleText: '个人主页' 
28
+    navigationBarTitleText: '个人主页'
29 29
   }
30 30
   state = {
31 31
     cardId: null,
@@ -43,12 +43,12 @@ export default class Index extends Component {
43 43
       const router = Taro.getStorageSync('router')
44 44
       const id = this.$router.params.id || router.query.id || '4604a792d575eb8187711625bd88832c'
45 45
 
46
-      if(router.query.id){
46
+      if (router.query.id) {
47 47
         this.setState({
48 48
           cardId: id,
49 49
           modalStatus: true
50 50
         }, this.loadCardDetail)
51
-      }else{
51
+      } else {
52 52
         this.setState({
53 53
           cardId: id,
54 54
           modalStatus: false
@@ -510,13 +510,13 @@ export default class Index extends Component {
510 510
                 <View className='detailed__main'>
511 511
                   <View className='detailed__tel' onClick={this.makePhoneCall}>
512 512
                     <View className='detailed__tel__txt'>
513
-                      <Text className='tel__txt' space='ensp'>手机&emsp;</Text> {cardInfo.phone}
513
+                      <Text className='tel__txt' space='ensp'>手机 </Text> {cardInfo.phone}
514 514
                     </View>
515 515
                     <Text className='iconfont icon-dianhua tel__img'></Text>
516 516
                   </View>
517 517
                   <View className='detailed__add' onClick={this.getLocation}>
518 518
                     <View className='detailed__add__txt'>
519
-                      <Text className='add__txt' space='ensp'>地址&emsp;</Text> {cardInfo.address}
519
+                      <Text className='add__txt' space='ensp'>地址 </Text> {cardInfo.address}
520 520
                     </View>
521 521
                     <Text className='iconfont icon-daohangdizhi add__img'></Text>
522 522
                   </View>