|
@@ -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'>手机 </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'>地址 </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>
|