巴林闲侠 2 years ago
parent
commit
32987961fd
  1. 6
      weapp/src/packages/patrol/index.jsx
  2. 4
      weapp/src/packages/patrolView/index.jsx

6
weapp/src/packages/patrol/index.jsx

@ -173,7 +173,6 @@ const Index = () => {
Taro.request({ Taro.request({
url: `https://apis.map.qq.com/ws/geocoder/v1/?location=${res.latitude},${res.longitude}&key=${key}`, url: `https://apis.map.qq.com/ws/geocoder/v1/?location=${res.latitude},${res.longitude}&key=${key}`,
success: function (res) { success: function (res) {
console.log('地址:::', res);
// res // res
let addresscity = '' let addresscity = ''
// addresscity = // addresscity =
@ -618,7 +617,6 @@ const Index = () => {
} }
}) })
} }
return ( return (
<View className='patrol'> <View className='patrol'>
{/* { {/* {
@ -915,7 +913,7 @@ const Index = () => {
} }
</View> </View>
} }
{ {/* {
videoShow ? '' : videoShow ? '' :
<view> <view>
{ {
@ -940,7 +938,7 @@ const Index = () => {
} }
</view> </view>
} } */}
{ {
isView ? isView ?
isSuperAdmin && isSuperAdmin &&

4
weapp/src/packages/patrolView/index.jsx

@ -187,7 +187,7 @@ function Index() {
<Image className='filter-img' src={chevronDown} /> <Image className='filter-img' src={chevronDown} />
</Picker> </Picker>
</View> </View>
{ {/* {
kind == 'anomaly' ? <View style={{ display: 'flex', lineHeight: '98rpx', marginRight: '20rpx' }}> kind == 'anomaly' ? <View style={{ display: 'flex', lineHeight: '98rpx', marginRight: '20rpx' }}>
<View style={{ color: '#333' }}>状态</View> <View style={{ color: '#333' }}>状态</View>
<Picker range={typeSearchList} onChange={setType}> <Picker range={typeSearchList} onChange={setType}>
@ -195,7 +195,7 @@ function Index() {
<Image style={{ display: 'block', width: '14rpx', height: '8rpx', float: 'left', marginTop: '44rpx', marginLeft: '10rpx' }} src={chevronDown} /> <Image style={{ display: 'block', width: '14rpx', height: '8rpx', float: 'left', marginTop: '44rpx', marginLeft: '10rpx' }} src={chevronDown} />
</Picker> </Picker>
</View> : '' </View> : ''
} } */}
<View class='head-search'> <View class='head-search'>
<Image className='search-img' src={searchIcon} /> <Image className='search-img' src={searchIcon} />
<Input class='heard-search-input' value={filterText} placeholder={ <Input class='heard-search-input' value={filterText} placeholder={

Loading…
Cancel
Save