|
@@ -0,0 +1,43 @@
|
|
1
|
+import { View, Image, ScrollView } from "@tarojs/components"
|
|
2
|
+import CustomNav from "@/components/CustomNav"
|
|
3
|
+import Jianbian from "@/components/Jianbian"
|
|
4
|
+import withLayout from '@/layouts'
|
|
5
|
+import banner1 from '@/assets/banner/1.jpg'
|
|
6
|
+import banner2 from '@/assets/banner/2.jpg'
|
|
7
|
+import clockImg from '@/assets/machinery/date.png'
|
|
8
|
+import micon from '@/assets/machinery/micon2.png'
|
|
9
|
+import './style.less'
|
|
10
|
+
|
|
11
|
+export default withLayout((props) => {
|
|
12
|
+ return (
|
|
13
|
+ <View className='page-index'>
|
|
14
|
+ <View className='index-navbar'>
|
|
15
|
+ <CustomNav title='查看详情' />
|
|
16
|
+ </View>
|
|
17
|
+ <View className='index-container'>
|
|
18
|
+ <ScrollView scrollY style={{ height: '100%' }}>
|
|
19
|
+ <Image src={banner1} mode='aspectFill' className='detailHead' />
|
|
20
|
+ <View className='detailContent'>
|
|
21
|
+ <Jianbian status='1' />
|
|
22
|
+ <View className='detialName'>收割机001--S001</View>
|
|
23
|
+ <View className='detailTime'>
|
|
24
|
+ <Image src={clockImg} className='clockImg' />
|
|
25
|
+ 距离上次使用时间为三天
|
|
26
|
+ </View>
|
|
27
|
+ <View className='title'>
|
|
28
|
+ <Image src={micon} className='detailIcon' />
|
|
29
|
+ 作业详情
|
|
30
|
+ <Image src={micon} className='detailIcon' />
|
|
31
|
+ </View>
|
|
32
|
+ <View>
|
|
33
|
+ <Image src={banner1} className='contentImg' />
|
|
34
|
+ <View className='contentText'>6666666</View>
|
|
35
|
+ <Image src={banner2} className='contentImg' />
|
|
36
|
+ <Image src={banner1} className='contentImg' />
|
|
37
|
+ </View>
|
|
38
|
+ </View>
|
|
39
|
+ </ScrollView>
|
|
40
|
+ </View>
|
|
41
|
+ </View>
|
|
42
|
+ )
|
|
43
|
+})
|