|
@@ -1,9 +1,10 @@
|
1
|
1
|
import withLayout from '@/layouts'
|
2
|
2
|
import Taro from '@tarojs/taro'
|
3
|
3
|
import CustomNav from '@/components/CustomNav'
|
4
|
|
-import { View, Input, Button, Label, Textarea, Text } from '@tarojs/components';
|
|
4
|
+import { View, Input, Button, Label, Textarea, Text,Image } from '@tarojs/components';
|
5
|
5
|
import { useEffect, useState } from "react"
|
6
|
6
|
import { saveRoom, getRoomDetail, updateRoom } from '@/services/landlord'
|
|
7
|
+import GPS from '@/assets/icons/GuideCheck/GPS.png'
|
7
|
8
|
import { getExtendContent } from "@/services/home";
|
8
|
9
|
import { saveExtend } from '@/services/landlord'
|
9
|
10
|
//export default是导出模块的 export也是导出模块的 如果引用时不加{}就是引用默认模块加了就是引用相应的模块
|
|
@@ -190,6 +191,7 @@ export default withLayout((props) => {
|
190
|
191
|
<mp-cell>
|
191
|
192
|
<Input style={{ color: '#000', fontWeight: 'bold', marginBottom: '13px' }} onInput={(e) => setRoomModel({ ...roomModel, address: e.detail.value })} value={roomModel.address} placeholder='请输入房屋位置(必填)' />
|
192
|
193
|
<Label style={{ color: '#666' }} onClick={onRoomMap}>{isError(roomModel.location) ? '房间定位(必填)' : roomModel.location}</Label>
|
|
194
|
+ <Image className='location' src={GPS} onClick={onRoomMap} />
|
193
|
195
|
</mp-cell>
|
194
|
196
|
</mp-cells>
|
195
|
197
|
{
|