|
@@ -0,0 +1,62 @@
|
|
1
|
+import { View, Image, ScrollView } from '@tarojs/components'
|
|
2
|
+import './style.less'
|
|
3
|
+
|
|
4
|
+export default (props) => {
|
|
5
|
+ const status = 2;
|
|
6
|
+ return (
|
|
7
|
+ <ScrollView scrollY style={{ height: '100vh' }}>
|
|
8
|
+ <View className='dogCardDetail'>
|
|
9
|
+ <View className='card'>
|
|
10
|
+ <View className='title'>电 子 版 犬 证</View>
|
|
11
|
+ <View className='body'>
|
|
12
|
+ <View className='cardLeft'>
|
|
13
|
+ <View className='cell'>
|
|
14
|
+ <View className='lable'>犬主</View>:
|
|
15
|
+ <View className='content'>六花</View>
|
|
16
|
+ </View>
|
|
17
|
+ <View className='cell'>
|
|
18
|
+ <View className='lable'>电话</View>:
|
|
19
|
+ <View className='content'>18544446868</View>
|
|
20
|
+ </View>
|
|
21
|
+ <View className='cell'>
|
|
22
|
+ <View className='lable'>犬名</View>:
|
|
23
|
+ <View className='content'>噬嗥</View>
|
|
24
|
+ </View>
|
|
25
|
+ </View>
|
|
26
|
+ <View className='cardRight'>
|
|
27
|
+ <Image
|
|
28
|
+ className='thumb'
|
|
29
|
+ src='https://gimg2.baidu.com/image_search/src=http%3A%2F%2F5b0988e595225.cdn.sohucs.com%2Fq_70%2Cc_zoom%2Cw_640%2Fimages%2F20181228%2Ff22539cd34044f5f821e9893f508765d.jpeg&refer=http%3A%2F%2F5b0988e595225.cdn.sohucs.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1656163682&t=bec14da4c530bf5f0ae04ff8488a9ebd'
|
|
30
|
+ ></Image>
|
|
31
|
+ </View>
|
|
32
|
+ </View>
|
|
33
|
+ <View className='cell' style={{ marginTop: '0' }}>
|
|
34
|
+ <View className='lable'>状态</View>:
|
|
35
|
+ <View className={['state', 'color' + status]}>{status == 1 ? '正常' : status == 2 ? '过期' : '挂失'}</View>
|
|
36
|
+ {/* 挂失 续期 */}
|
|
37
|
+ </View>
|
|
38
|
+ <View className='cell'>
|
|
39
|
+ <View className='lable'>犬种</View>:
|
|
40
|
+ <View className='content'>银月狼神一族</View>
|
|
41
|
+ </View>
|
|
42
|
+ <View className='cell'>
|
|
43
|
+ <View className='lable'>毛色</View>:
|
|
44
|
+ <View className='content'>米白</View>
|
|
45
|
+ </View>
|
|
46
|
+ <View className='cell'>
|
|
47
|
+ <View className='lable'>证件号</View>:
|
|
48
|
+ <View className='content'>36559948485522</View>
|
|
49
|
+ </View>
|
|
50
|
+ <View className='cell'>
|
|
51
|
+ <View className='lable'>有效期</View>:
|
|
52
|
+ <View className='content'>2021-12-20~2022-12-20</View>
|
|
53
|
+ </View>
|
|
54
|
+ <View className='cell'>
|
|
55
|
+ <View className='lable'>住址</View>:
|
|
56
|
+ <View className='content'>江苏省南京市江宁区南京南站城际空间站旁边第一个小区的一期的219栋3304房最里面那间</View>
|
|
57
|
+ </View>
|
|
58
|
+ </View>
|
|
59
|
+ </View>
|
|
60
|
+ </ScrollView>
|
|
61
|
+ )
|
|
62
|
+}
|