|
@@ -2,13 +2,12 @@ import { View, Image, ScrollView } from '@tarojs/components'
|
2
|
2
|
import './style.less'
|
3
|
3
|
|
4
|
4
|
export default (props) => {
|
5
|
|
- const status=2;
|
|
5
|
+ const status = 2;
|
6
|
6
|
return (
|
7
|
7
|
<ScrollView scrollY style={{ height: '100vh' }}>
|
8
|
8
|
<View className='dogCardDetail'>
|
9
|
9
|
<View className='card'>
|
10
|
10
|
<View className='title'>电 子 版 犬 证</View>
|
11
|
|
-
|
12
|
11
|
<View className='body'>
|
13
|
12
|
<View className='cardLeft'>
|
14
|
13
|
<View className='cell'>
|
|
@@ -31,9 +30,9 @@ export default (props) => {
|
31
|
30
|
></Image>
|
32
|
31
|
</View>
|
33
|
32
|
</View>
|
34
|
|
- <View className='cell' style={{marginTop:'-8px'}}>
|
|
33
|
+ <View className='cell' style={{ marginTop: '0' }}>
|
35
|
34
|
<View className='lable'>状态</View>:
|
36
|
|
- <View className={['state','color'+status]}>{status==1?'正常':status==2?'过期':'挂失'}</View>
|
|
35
|
+ <View className={['state', 'color' + status]}>{status == 1 ? '正常' : status == 2 ? '过期' : '挂失'}</View>
|
37
|
36
|
{/* 挂失 续期 */}
|
38
|
37
|
</View>
|
39
|
38
|
<View className='cell'>
|