Browse Source

巡查养护查看

release_0.0.1
liujiangyong 3 years ago
parent
commit
cebfb09b6c
  1. 5
      weapp/package-lock.json
  2. 1
      weapp/package.json
  3. 1
      weapp/src/app.config.js
  4. 0
      weapp/src/packages/patrolView/index.config.js
  5. 125
      weapp/src/packages/patrolView/index.jsx
  6. 135
      weapp/src/packages/patrolView/index.scss
  7. 8
      weapp/src/pages/home/index.jsx
  8. 4
      weapp/src/pages/user/index.jsx
  9. 2
      weapp/src/pages/user/index.scss
  10. BIN
      weapp/src/static/img/patrolView/card-img.png
  11. BIN
      weapp/src/static/img/patrolView/chevron-down.png
  12. 30
      weapp/src/static/img/patrolView/conserve-active.svg
  13. 32
      weapp/src/static/img/patrolView/conserve.svg
  14. 29
      weapp/src/static/img/patrolView/patrol-active.svg
  15. 27
      weapp/src/static/img/patrolView/patrol.svg
  16. BIN
      weapp/src/static/img/patrolView/search.png

5
weapp/package-lock.json

@ -9532,6 +9532,11 @@
"resolved": "http://10.8.30.22:7000/mobile-detect/-/mobile-detect-1.4.5.tgz",
"integrity": "sha1-2jk8PEE8oam83ZztZTw4KBwPtq0="
},
"moment": {
"version": "2.29.1",
"resolved": "http://npm.anxinyun.cn/moment/-/moment-2.29.1.tgz",
"integrity": "sha1-sr52n6MZQL6e7qZGnAdeNQBvo9M="
},
"move-concurrently": {
"version": "1.0.1",
"resolved": "http://10.8.30.22:7000/move-concurrently/-/move-concurrently-1.0.1.tgz",

1
weapp/package.json

@ -46,6 +46,7 @@
"@tarojs/taro": "3.1.4",
"dayjs": "^1.9.8",
"deepmerge": "^4.0.0",
"moment": "^2.29.1",
"react": "^16.10.0",
"react-dom": "^16.10.0",
"swr": "^0.5.4",

1
weapp/src/app.config.js

@ -8,6 +8,7 @@ export default {
'root': 'packages/',
'pages': [
'patrol/index',
'patrolView/index'
]
}],
permission: {

0
weapp/src/packages/patrolView/index.config.js

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

@ -0,0 +1,125 @@
import React, { useState } from 'react'
import Taro, { useDidShow } from '@tarojs/taro'
import { View, Picker, Input, Image } from '@tarojs/components'
import moment from 'moment'
import './index.scss'
import NoData from '@/components/no-data/noData'
import chevronDown from '../../static/img/patrolView/chevron-down.png'
import searchIcon from '../../static/img/patrolView/search.png'
import cardImg from '../../static/img/patrolView/card-img.png'
import patrolIcon from '../../static/img/patrolView/patrol.svg'
import patrolActiveIcon from '../../static/img/patrolView/patrol-active.svg'
import conserveIcon from '../../static/img/patrolView/conserve.svg'
import conserveActiveIcon from '../../static/img/patrolView/conserve-active.svg'
function Index() {
const [datePicker, setDatePicker] = useState(moment().format('YYYY-MM-DD'))
const [listData, setListData] = useState([])
const [inputSite, setInputSite] = useState('')
const [page, setPage] = useState(0)
const [total, setTotal] = useState(0)
const [num, setNum] = useState(Math.random())
const [systemInfo, setSystemInfo] = useState('')
const data = [
{
place: {
name: '飞尚'
},
user: {
name: '用户1'
},
time: '2022-7-1'
}
]
useDidShow(() => {
let refresh = Taro.getStorageSync('refresh'); //
if (refresh) {
setPage(0)
setNum(Math.random())
Taro.removeStorageSync('refresh'); //
}
Taro.getSystemInfo({
success: (res) => {
// windows | macpc
// android | ios
setSystemInfo(res.platform);
}
});
})
const onDateChange = e => {
setDatePicker(e.detail.value);
}
const handleConfirm = () => {
setPage(0)
setListData([]);
setTotal(0);
setNum(Math.random())
}
const handleInput = e => {
setInputSite(e.detail.value);
if (!e.detail.value) {
setPage(0)
setListData([]);
setTotal(0);
setNum(Math.random())
}
}
return (
<View>
<View className='type-box'>
<View className='item left'>
<Image className='type-img' src={patrolIcon} />
<View>巡查</View>
</View>
<View className='line'></View>
<View className='item'>
<Image className='type-img' src={conserveIcon} />
<View>养护</View>
</View>
</View>
<View className='filter-box'>
<View className='filter-item'>
<View style={{ float: 'left', marginLeft: '20rpx', color: '#333' }}>日期</View>
<Picker className='picker' style={{ overflow: 'hidden', float: 'left' }} mode='date' end={(systemInfo == 'windows' || systemInfo == 'mac') ? moment().add(1, 'd').format('YYYY-MM-DD') : moment().format('YYYY-MM-DD')} onChange={onDateChange}>
<View className='filter-name'>{datePicker || '请选择'}</View>
<Image className='filter-img' src={chevronDown} />
</Picker>
</View>
<View class='head-search'>
<Image className='search-img' src={searchIcon} />
<Input class='heard-search-input' value={inputSite} placeholder='请输入场所名称' onConfirm={handleConfirm} onInput={handleInput} />
</View>
</View>
<View style={{ marginTop: '70px' }}>
{
data && data.length > 0 ? data && data.map((e, index) => {
return (
<View className='cardBox' key={index} onClick={() => handleDetail(index)}>
<View className='card-item' >
<Image className='card-bg' src={cardImg} />
<View className='card-position'>
<View className='card-title'>{e.place.name}</View>
<View style={{ float: 'left', width: '100%', fontSize: '28rpx', marginTop: '16rpx' }}>
<View style={{ float: 'left' }}>填报人</View>
<View style={{ float: 'left' }}>{e.user.name}</View>
</View>
<View className='card-date'>{moment(e.time).format('YYYY-MM-DD HH:mm:ss')}</View>
</View>
</View>
</View>
)
}) : <NoData top='400rpx'></NoData>
}
</View>
</View>
)
}
export default Index

135
weapp/src/packages/patrolView/index.scss

@ -0,0 +1,135 @@
page {
background-color: #f6f6f6;
.type-box {
background-color: #fff;
height: 80px;
display: flex;
justify-content: space-around;
align-items: center;
.item {
flex-grow: 1;
display: flex;
justify-content: center;
align-items: center;
.type-img {
width: 40px;
height: 40px;
margin: 0 10px;
}
}
.line {
width: 1px;
height: 30px;
background-color: #f6f6f6;
}
}
.filter-box {
position: fixed;
top: 80px;
display: flex;
width: 100%;
z-index: 100;
background: #fff;
color: #999999;
font-size: 28rpx;
border-top: 2rpx solid #f6f6f6;
.filter-item {
overflow: hidden;
height: 98rpx;
line-height: 98rpx;
flex: 1;
.filter-name {
float: left;
// margin-left: 20rpx;
}
.filter-img {
width: 14px;
height: 8px;
float: left;
margin: 46rpx 20rpx 18rpx 10rpx;
}
}
.head-search {
width: 400rpx;
display: flex;
background: #fff;
padding: 10rpx 26rpx 15rpx;
box-sizing: border-box;
border-radius: 50rpx;
box-shadow: 0 8rpx 10rpx 0rpx #00000008;
border: 2rpx solid #00000011;
height: 68rpx;
line-height: 68rpx;
margin: 14rpx 30rpx 14rpx 0;
.search-img {
width: 36rpx;
height: 36rpx;
margin-top: 5rpx;
}
.heard-search-input {
margin-left: 26rpx;
font-size: 28rpx;
width: 100%;
color: #333;
}
}
}
.cardBox {
width: 690rpx;
margin: 50rpx auto;
.card-item {
position: relative;
margin-bottom: 10rpx;
.card-bg {
width: 100%;
height: 260rpx;
display: block;
}
.card-position {
position: absolute;
top: 0;
left: 0;
width: 88%;
padding: 16rpx 0 16rpx 36rpx;
overflow: hidden;
text-align: justify;
.card-title {
font-size: 28rpx;
color: #333333;
float: left;
margin-bottom: 30rpx;
width: 470rpx;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
margin-top: 8rpx;
}
.card-date {
float: left;
font-size: 28rpx;
color: #999999;
margin-top: 30rpx;
width: 100%;
}
}
}
}
}

8
weapp/src/pages/home/index.jsx

@ -12,12 +12,18 @@ const Index = () => {
url: '/packages/patrol/index'
})
}
function toPatrolView() {
Taro.navigateTo({
url: '/packages/patrolView/index'
})
}
return (
<View className='page'>
<View className='fill'>
<View className='title'> </View>
<View className='btn' onClick={toPatrol}>填报</View>
{/* <View className='btn' onClick={toPatrol}>填报</View> */}
<View className='btn' onClick={toPatrolView}>查看</View>
</View>
</View>
);

4
weapp/src/pages/user/index.jsx

@ -10,6 +10,8 @@ import moreImg from '../../static/img/my/more.svg';
import pswdImg from '../../static/img/my/pswd.svg';
import reportImg from '../../static/img/my/report.svg';
import Common from '../../components/echartForWx/common'; //
const { webUrl } = cfg;
const Index = ({ ...props }) => {
@ -27,7 +29,7 @@ const Index = ({ ...props }) => {
});
}
console.log(userInfo)
return (
<View className='page'>
<View className='myBox'>

2
weapp/src/pages/user/index.scss

@ -1,6 +1,6 @@
.page {
height: 100vh;
background: #F0F2F5;
background: #f6f6f6;
display: flex;
flex-direction: column;

BIN
weapp/src/static/img/patrolView/card-img.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
weapp/src/static/img/patrolView/chevron-down.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

30
weapp/src/static/img/patrolView/conserve-active.svg

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>切片</title>
<defs>
<path d="M15.0846429,-3.19744231e-14 C16.379408,-3.19744231e-14 17.4311429,1.05173482 17.4311429,2.3465 L17.4311429,2.3465 L17.431,7.199 L16.09,7.199 L16.0902857,2.3465 C16.0902857,1.83095839 15.7018925,1.40574078 15.2018846,1.34762572 L15.0846429,1.34085714 L2.3465,1.34085714 C1.79130134,1.34085714 1.34085714,1.79130134 1.34085714,2.3465 L1.34085714,2.3465 L1.34085714,16.4255 C1.34085714,16.9806987 1.79130134,17.4311429 2.3465,17.4311429 L2.3465,17.4311429 L10.399,17.431 L10.399,18.771 L2.3465,18.772 C1.10568337,18.772 0.0880664962,17.8060838 0.00541928549,16.5860214 L-1.52766688e-13,16.4255 L-1.52766688e-13,2.3465 C-1.52766688e-13,1.05173482 1.05173482,-3.19744231e-14 2.3465,-3.19744231e-14 L2.3465,-3.19744231e-14 Z" id="path-1"></path>
</defs>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="首页_养护-查看(管理员)备份" transform="translate(-236.000000, -80.000000)">
<g id="编组-11" transform="translate(188.000000, 64.000000)">
<g id="编组-9" transform="translate(47.997085, 16.000000)">
<g id="编组" transform="translate(0.000000, 1.000000)">
<g id="baobiaoxinxi">
<g id="矩形">
<mask id="mask-2" fill="white">
<use xlink:href="#path-1"></use>
</mask>
<use id="形状结合" fill="#346FC2" fill-rule="nonzero" xlink:href="#path-1"></use>
</g>
<path d="M10.7268571,3.44171429 L3.35214286,3.44171429 C2.98131205,3.44171429 2.68171429,3.74131205 2.68171429,4.11214286 C2.68171429,4.48297366 2.98131205,4.78257143 3.35214286,4.78257143 L10.7268571,4.78257143 C11.0976879,4.78257143 11.3972857,4.48297366 11.3972857,4.11214286 C11.3972857,3.74131205 11.0976879,3.44171429 10.7268571,3.44171429 Z M8.71557143,6.79385714 L3.35214286,6.79385714 C2.98131205,6.79385714 2.68171429,7.09345491 2.68171429,7.46428571 C2.68171429,7.83511652 2.98131205,8.13471429 3.35214286,8.13471429 L8.71557143,8.13471429 C9.08640223,8.13471429 9.386,7.83511652 9.386,7.46428571 C9.386,7.09345491 9.08640223,6.79385714 8.71557143,6.79385714 Z M8.04514286,10.146 L3.35214286,10.146 C2.98131205,10.146 2.68171429,10.4455978 2.68171429,10.8164286 C2.68171429,11.1872594 2.98131205,11.4868571 3.35214286,11.4868571 L8.04514286,11.4868571 C8.41597366,11.4868571 8.71557143,11.1872594 8.71557143,10.8164286 C8.71557143,10.4455978 8.41597366,10.146 8.04514286,10.146 Z" id="形状" stroke="#346FC2" stroke-width="0.1" fill="#346FC2" fill-rule="nonzero"></path>
</g>
<g id="安全" transform="translate(10.400000, 8.000000)" fill-rule="nonzero">
<path d="M4.78695925,0 C4.93907576,0.00640053734 5.08980912,0.0297722448 5.23590669,0.0696107894 L6.04411885,0.208832358 L8.36786225,0.609156306 L9.05623052,0.727568957 L9.34049272,0.779838978 C9.4208346,0.810990397 9.48880882,0.864472181 9.53507221,0.932933165 C9.63249541,1.08156829 9.59139082,1.55819161 9.59139082,1.80319184 L9.59139082,5.50346339 C9.61652657,5.96040515 9.57368429,6.41838192 9.46407338,6.86446572 C8.99137069,8.33273307 7.79319884,9.18292601 6.4332778,9.82676385 C6.08530742,9.98485807 5.72897142,10.1265716 5.36562634,10.2513649 C5.20282115,10.3160622 5.03359547,10.3658437 4.86036029,10.4 C4.64335359,10.3870561 4.43113161,10.3350591 4.23551727,10.2469058 C3.73232522,10.0790571 3.24437148,9.87419842 2.77630464,9.63428136 C1.51220531,8.94337573 0.478718689,8.15338002 0.0786163109,6.65464247 C0.0100051608,6.28669909 -0.0138107298,5.91276209 0.00761749245,5.53987899 L0.00761749245,1.29857558 C-0.00280932948,1.19346977 0.00621802142,1.08748301 0.0343087764,0.985203186 C0.0694100914,0.910412579 0.128138143,0.847268253 0.202730795,0.804116045 C0.311478278,0.763156781 0.426158841,0.737361587 0.543044695,0.727568957 L1.25410057,0.605688156 L4.78695925,0 Z" id="形状" fill="#346FC2"></path>
<path d="M6.97244179,3.62966986 C7.12551092,3.62261751 7.2698436,3.69606432 7.34574703,3.81963432 C7.42165046,3.94320431 7.41622191,4.09589198 7.33170651,4.21454909 C7.23412465,4.32746529 7.12228858,4.42909934 6.99859925,4.51726931 L6.51602079,4.94905436 L5.161438,6.16018294 L4.74612158,6.53177075 C4.65113084,6.64886544 4.49426844,6.70774773 4.33827872,6.68486494 C4.12314695,6.64374256 3.91709022,6.38759468 3.77776171,6.25679577 L2.59533772,5.16036396 C2.41468782,5.0309278 2.37230178,4.79402906 2.49818143,4.61735029 C2.6328091,4.45991435 2.87451189,4.4236182 3.05576241,4.53361917 L4.41381506,5.79379734 L4.47387046,5.73805917 L5.0536052,5.21957029 L6.22108207,4.18209709 L6.60650425,3.83751131 C6.66867923,3.7766839 6.73626966,3.72083045 6.80855729,3.67054451 C6.86219988,3.65426237 6.91683481,3.64094445 6.97217488,3.63066076 L6.97244179,3.62966986 Z" id="路径" fill="#FFFFFF"></path>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.2 KiB

32
weapp/src/static/img/patrolView/conserve.svg

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>切片</title>
<defs>
<path d="M15.0846429,-3.19744231e-14 C16.379408,-3.19744231e-14 17.4311429,1.05173482 17.4311429,2.3465 L17.4311429,2.3465 L17.431,7.199 L16.09,7.199 L16.0902857,2.3465 C16.0902857,1.83095839 15.7018925,1.40574078 15.2018846,1.34762572 L15.0846429,1.34085714 L2.3465,1.34085714 C1.79130134,1.34085714 1.34085714,1.79130134 1.34085714,2.3465 L1.34085714,2.3465 L1.34085714,16.4255 C1.34085714,16.9806987 1.79130134,17.4311429 2.3465,17.4311429 L2.3465,17.4311429 L10.399,17.431 L10.399,18.771 L2.3465,18.772 C1.10568337,18.772 0.0880664962,17.8060838 0.00541928549,16.5860214 L-1.52766688e-13,16.4255 L-1.52766688e-13,2.3465 C-1.52766688e-13,1.05173482 1.05173482,-3.19744231e-14 2.3465,-3.19744231e-14 L2.3465,-3.19744231e-14 Z" id="path-1"></path>
</defs>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="首页_巡查-查看(管理员)" transform="translate(-236.000000, -80.000000)">
<g id="编组-7" transform="translate(0.000000, 64.000000)">
<g id="编组-11" transform="translate(188.000000, 0.000000)">
<g id="编组-9" transform="translate(47.997085, 16.000000)">
<g id="编组" transform="translate(0.000000, 1.000000)">
<g id="baobiaoxinxi">
<g id="矩形">
<mask id="mask-2" fill="white">
<use xlink:href="#path-1"></use>
</mask>
<use id="形状结合" fill="#999999" fill-rule="nonzero" xlink:href="#path-1"></use>
</g>
<path d="M10.7268571,3.44171429 L3.35214286,3.44171429 C2.98131205,3.44171429 2.68171429,3.74131205 2.68171429,4.11214286 C2.68171429,4.48297366 2.98131205,4.78257143 3.35214286,4.78257143 L10.7268571,4.78257143 C11.0976879,4.78257143 11.3972857,4.48297366 11.3972857,4.11214286 C11.3972857,3.74131205 11.0976879,3.44171429 10.7268571,3.44171429 Z M8.71557143,6.79385714 L3.35214286,6.79385714 C2.98131205,6.79385714 2.68171429,7.09345491 2.68171429,7.46428571 C2.68171429,7.83511652 2.98131205,8.13471429 3.35214286,8.13471429 L8.71557143,8.13471429 C9.08640223,8.13471429 9.386,7.83511652 9.386,7.46428571 C9.386,7.09345491 9.08640223,6.79385714 8.71557143,6.79385714 Z M8.04514286,10.146 L3.35214286,10.146 C2.98131205,10.146 2.68171429,10.4455978 2.68171429,10.8164286 C2.68171429,11.1872594 2.98131205,11.4868571 3.35214286,11.4868571 L8.04514286,11.4868571 C8.41597366,11.4868571 8.71557143,11.1872594 8.71557143,10.8164286 C8.71557143,10.4455978 8.41597366,10.146 8.04514286,10.146 Z" id="形状" stroke="#346FC2" stroke-width="0.1" fill="#999999" fill-rule="nonzero"></path>
</g>
<g id="安全" transform="translate(10.400000, 8.000000)" fill-rule="nonzero">
<path d="M4.78695925,0 C4.93907576,0.00640053734 5.08980912,0.0297722448 5.23590669,0.0696107894 L6.04411885,0.208832358 L8.36786225,0.609156306 L9.05623052,0.727568957 L9.34049272,0.779838978 C9.4208346,0.810990397 9.48880882,0.864472181 9.53507221,0.932933165 C9.63249541,1.08156829 9.59139082,1.55819161 9.59139082,1.80319184 L9.59139082,5.50346339 C9.61652657,5.96040515 9.57368429,6.41838192 9.46407338,6.86446572 C8.99137069,8.33273307 7.79319884,9.18292601 6.4332778,9.82676385 C6.08530742,9.98485807 5.72897142,10.1265716 5.36562634,10.2513649 C5.20282115,10.3160622 5.03359547,10.3658437 4.86036029,10.4 C4.64335359,10.3870561 4.43113161,10.3350591 4.23551727,10.2469058 C3.73232522,10.0790571 3.24437148,9.87419842 2.77630464,9.63428136 C1.51220531,8.94337573 0.478718689,8.15338002 0.0786163109,6.65464247 C0.0100051608,6.28669909 -0.0138107298,5.91276209 0.00761749245,5.53987899 L0.00761749245,1.29857558 C-0.00280932948,1.19346977 0.00621802142,1.08748301 0.0343087764,0.985203186 C0.0694100914,0.910412579 0.128138143,0.847268253 0.202730795,0.804116045 C0.311478278,0.763156781 0.426158841,0.737361587 0.543044695,0.727568957 L1.25410057,0.605688156 L4.78695925,0 Z" id="形状" fill="#999999"></path>
<path d="M6.97244179,3.62966986 C7.12551092,3.62261751 7.2698436,3.69606432 7.34574703,3.81963432 C7.42165046,3.94320431 7.41622191,4.09589198 7.33170651,4.21454909 C7.23412465,4.32746529 7.12228858,4.42909934 6.99859925,4.51726931 L6.51602079,4.94905436 L5.161438,6.16018294 L4.74612158,6.53177075 C4.65113084,6.64886544 4.49426844,6.70774773 4.33827872,6.68486494 C4.12314695,6.64374256 3.91709022,6.38759468 3.77776171,6.25679577 L2.59533772,5.16036396 C2.41468782,5.0309278 2.37230178,4.79402906 2.49818143,4.61735029 C2.6328091,4.45991435 2.87451189,4.4236182 3.05576241,4.53361917 L4.41381506,5.79379734 L4.47387046,5.73805917 L5.0536052,5.21957029 L6.22108207,4.18209709 L6.60650425,3.83751131 C6.66867923,3.7766839 6.73626966,3.72083045 6.80855729,3.67054451 C6.86219988,3.65426237 6.91683481,3.64094445 6.97217488,3.63066076 L6.97244179,3.62966986 Z" id="路径" fill="#FFFFFF"></path>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.4 KiB

29
weapp/src/static/img/patrolView/patrol-active.svg

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>切片</title>
<defs>
<path d="M14.5044643,-6.34022749e-14 C15.7494308,-6.34022749e-14 16.7607143,1.01128348 16.7607143,2.25625 L16.7607143,2.25625 L16.76,6.923 L15.471,6.923 L15.4714286,2.25625 C15.4714286,1.76053691 15.0979736,1.35167382 14.6171968,1.29579396 L14.5044643,1.28928571 L2.25625,1.28928571 C1.72240513,1.28928571 1.28928571,1.72240513 1.28928571,2.25625 L1.28928571,2.25625 L1.28928571,15.79375 C1.28928571,16.3275949 1.72240513,16.7607143 2.25625,16.7607143 L2.25625,16.7607143 L10,16.76 L10,18.049 L2.25625,18.05 C1.06315709,18.05 0.0846793232,17.1212344 0.00521085144,15.9480975 L-2.95011878e-13,15.79375 L-2.95011878e-13,2.25625 C-2.95011878e-13,1.01128348 1.01128348,-6.34022749e-14 2.25625,-6.34022749e-14 L2.25625,-6.34022749e-14 Z" id="path-1"></path>
</defs>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="首页_巡查-查看(管理员)" transform="translate(-59.000000, -81.000000)">
<g id="编组-7" transform="translate(0.000000, 64.000000)">
<g id="编组-10" transform="translate(15.000000, 0.000000)">
<g id="编组-8" transform="translate(44.000000, 17.000000)">
<g id="baobiaoxinxi" transform="translate(0.000000, 1.000000)">
<g id="矩形">
<mask id="mask-2" fill="white">
<use xlink:href="#path-1"></use>
</mask>
<use id="形状结合" fill="#346FC2" fill-rule="nonzero" xlink:href="#path-1"></use>
</g>
<path d="M10.3142857,3.30934066 L3.22321429,3.30934066 C2.86664621,3.30934066 2.57857143,3.59741544 2.57857143,3.95398352 C2.57857143,4.3105516 2.86664621,4.59862637 3.22321429,4.59862637 L10.3142857,4.59862637 C10.6708538,4.59862637 10.9589286,4.3105516 10.9589286,3.95398352 C10.9589286,3.59741544 10.6708538,3.30934066 10.3142857,3.30934066 Z M8.38035714,6.53255495 L3.22321429,6.53255495 C2.86664621,6.53255495 2.57857143,6.82062972 2.57857143,7.1771978 C2.57857143,7.53376588 2.86664621,7.82184066 3.22321429,7.82184066 L8.38035714,7.82184066 C8.73692522,7.82184066 9.025,7.53376588 9.025,7.1771978 C9.025,6.82062972 8.73692522,6.53255495 8.38035714,6.53255495 Z M7.73571429,9.75576923 L3.22321429,9.75576923 C2.86664621,9.75576923 2.57857143,10.043844 2.57857143,10.4004121 C2.57857143,10.7569802 2.86664621,11.0450549 3.22321429,11.0450549 L7.73571429,11.0450549 C8.09228237,11.0450549 8.38035714,10.7569802 8.38035714,10.4004121 C8.38035714,10.043844 8.09228237,9.75576923 7.73571429,9.75576923 Z" id="形状" stroke="#346FC2" stroke-width="0.1" fill="#346FC2" fill-rule="nonzero"></path>
<g id="定位" transform="translate(10.769231, 7.692308)" fill="#346FC2" fill-rule="nonzero">
<path d="M7.89474159,1.33198768 L7.86437425,1.30364483 C7.01416767,0.481775841 5.89068885,0 4.61538462,0 C3.34008038,0 2.21660156,0.481775841 1.36639498,1.27530198 L1.33602764,1.33198768 C0.516199669,2.12550331 0,3.23076923 0,4.44938552 C0,5.6680018 0.516188401,6.77328876 1.33602764,7.56680439 L1.36639498,7.59513672 L4.61538462,10.7692308 L7.86437425,7.62347957 L7.89474159,7.59513672 C8.71456956,6.80162109 9.23076923,5.69635517 9.23076923,4.44939603 C9.23076923,3.23076923 8.71458083,2.12550331 7.89474159,1.33198768 Z M4.61538462,5.72469802 C3.73482197,5.72469802 3.00607347,5.0161899 3.00607347,4.1659991 C3.00607347,3.79757362 3.12753155,3.48583383 3.34008038,3.23076923 C3.64371995,2.86234375 4.09918495,2.60728966 4.61538462,2.60728966 C5.49594727,2.60728966 6.22469576,3.31578726 6.22469576,4.16598858 C6.22469576,5.0161899 5.49594727,5.72469802 4.61538462,5.72469802 L4.61538462,5.72469802 Z" id="形状"></path>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.1 KiB

27
weapp/src/static/img/patrolView/patrol.svg

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>切片</title>
<defs>
<path d="M14.5044643,-3.19744231e-14 C15.7494308,-3.19744231e-14 16.7607143,1.01128348 16.7607143,2.25625 L16.7607143,2.25625 L16.76,6.923 L15.471,6.923 L15.4714286,2.25625 C15.4714286,1.76053691 15.0979736,1.35167382 14.6171968,1.29579396 L14.5044643,1.28928571 L2.25625,1.28928571 C1.72240513,1.28928571 1.28928571,1.72240513 1.28928571,2.25625 L1.28928571,2.25625 L1.28928571,15.79375 C1.28928571,16.3275949 1.72240513,16.7607143 2.25625,16.7607143 L2.25625,16.7607143 L9.999,16.76 L9.999,18.049 L2.25625,18.05 C1.06315709,18.05 0.0846793232,17.1212344 0.00521085144,15.9480975 L-1.47437618e-13,15.79375 L-1.47437618e-13,2.25625 C-1.47437618e-13,1.01128348 1.01128348,-3.19744231e-14 2.25625,-3.19744231e-14 L2.25625,-3.19744231e-14 Z" id="path-1"></path>
</defs>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="首页_养护-查看(管理员)备份" transform="translate(-59.000000, -81.000000)">
<g id="编组-10" transform="translate(15.000000, 64.000000)">
<g id="编组-8" transform="translate(44.000000, 17.000000)">
<g id="baobiaoxinxi" transform="translate(0.000000, 1.000000)">
<g id="矩形">
<mask id="mask-2" fill="white">
<use xlink:href="#path-1"></use>
</mask>
<use id="形状结合" fill="#999999" fill-rule="nonzero" xlink:href="#path-1"></use>
</g>
<path d="M10.3142857,3.30934066 L3.22321429,3.30934066 C2.86664621,3.30934066 2.57857143,3.59741544 2.57857143,3.95398352 C2.57857143,4.3105516 2.86664621,4.59862637 3.22321429,4.59862637 L10.3142857,4.59862637 C10.6708538,4.59862637 10.9589286,4.3105516 10.9589286,3.95398352 C10.9589286,3.59741544 10.6708538,3.30934066 10.3142857,3.30934066 Z M8.38035714,6.53255495 L3.22321429,6.53255495 C2.86664621,6.53255495 2.57857143,6.82062972 2.57857143,7.1771978 C2.57857143,7.53376588 2.86664621,7.82184066 3.22321429,7.82184066 L8.38035714,7.82184066 C8.73692522,7.82184066 9.025,7.53376588 9.025,7.1771978 C9.025,6.82062972 8.73692522,6.53255495 8.38035714,6.53255495 Z M7.73571429,9.75576923 L3.22321429,9.75576923 C2.86664621,9.75576923 2.57857143,10.043844 2.57857143,10.4004121 C2.57857143,10.7569802 2.86664621,11.0450549 3.22321429,11.0450549 L7.73571429,11.0450549 C8.09228237,11.0450549 8.38035714,10.7569802 8.38035714,10.4004121 C8.38035714,10.043844 8.09228237,9.75576923 7.73571429,9.75576923 Z" id="形状" stroke="#346FC2" stroke-width="0.1" fill="#999999" fill-rule="nonzero"></path>
<g id="定位" transform="translate(10.769231, 7.692308)" fill="#999999" fill-rule="nonzero">
<path d="M7.89474159,1.33198768 L7.86437425,1.30364483 C7.01416767,0.481775841 5.89068885,0 4.61538462,0 C3.34008038,0 2.21660156,0.481775841 1.36639498,1.27530198 L1.33602764,1.33198768 C0.516199669,2.12550331 0,3.23076923 0,4.44938552 C0,5.6680018 0.516188401,6.77328876 1.33602764,7.56680439 L1.36639498,7.59513672 L4.61538462,10.7692308 L7.86437425,7.62347957 L7.89474159,7.59513672 C8.71456956,6.80162109 9.23076923,5.69635517 9.23076923,4.44939603 C9.23076923,3.23076923 8.71458083,2.12550331 7.89474159,1.33198768 Z M4.61538462,5.72469802 C3.73482197,5.72469802 3.00607347,5.0161899 3.00607347,4.1659991 C3.00607347,3.79757362 3.12753155,3.48583383 3.34008038,3.23076923 C3.64371995,2.86234375 4.09918495,2.60728966 4.61538462,2.60728966 C5.49594727,2.60728966 6.22469576,3.31578726 6.22469576,4.16598858 C6.22469576,5.0161899 5.49594727,5.72469802 4.61538462,5.72469802 L4.61538462,5.72469802 Z" id="形状"></path>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.0 KiB

BIN
weapp/src/static/img/patrolView/search.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Loading…
Cancel
Save