|
@@ -1,7 +1,7 @@
|
1
|
1
|
import { useState } from 'react';
|
2
|
2
|
import Taro from '@tarojs/taro';
|
3
|
3
|
import Popup from '@/components/Popup'
|
4
|
|
-import { View, Image, Textarea, Label, Button } from '@tarojs/components';
|
|
4
|
+import { View, Image, Textarea, Label, Button, Video } from '@tarojs/components';
|
5
|
5
|
import { update, deleteExtend } from '@/services/landlord'
|
6
|
6
|
import SlideView from '@/components/SlideView';
|
7
|
7
|
import './style.less'
|
|
@@ -106,7 +106,13 @@ export default (props) => {
|
106
|
106
|
<View className='storezn' onClick={showText}>{content}</View>
|
107
|
107
|
</SlideView>
|
108
|
108
|
</View>
|
109
|
|
- : null
|
|
109
|
+ : item.contentType == 'video' ?
|
|
110
|
+ <View>
|
|
111
|
+ <SlideView del onDelete={handelDelete}>
|
|
112
|
+ <Video className='storezn' style={{ width: '100%', display: 'block' }} src={eimg} />
|
|
113
|
+ </SlideView>
|
|
114
|
+ </View>
|
|
115
|
+ : null
|
110
|
116
|
}
|
111
|
117
|
</View>
|
112
|
118
|
)
|