| | |
| | | <!-- <view class="search-bar" :style="{background:background.top}">
|
| | | <u-search placeholder="请输入关键字" v-model="keyword" :showAction="true" actionText="搜索" :animation="true"
|
| | | :actionStyle="{color:'#fff'}" bgColor="#fff" @change="changeKeyword"></u-search>
|
| | | <view class="mask"></view>
|
| | | <view class="search-content bgc-ff">
|
| | | <view class="mask" v-if="searchList.length"></view>
|
| | | <view class="search-content bgc-ff" v-if="searchList.length">
|
| | | <scroll-view class="search-scroll" :scroll-y="true">
|
| | | <view class="search-content-row flex j-c-s-b a-i-c" v-for="i in 5">
|
| | | <text class="f-28">万达华府</text>
|
| | | <view class="search-tag f-26 c-main">房屋</view>
|
| | | <view class="search-content-row flex j-c-s-b a-i-c" v-for="(i,k) in searchList" :key="k"
|
| | | @click="searchLink(i)">
|
| | | <text class="search-content-text f-28">{{i.title}}</text>
|
| | | <view class="search-tag f-26 c-main">{{i.typeName}}</view>
|
| | | </view>
|
| | | </scroll-view>
|
| | | </view>
|
| | |
| | | <u-grid-item @click="navigatorPage('/subPackage/label/form')"
|
| | | v-if="curSelectSite.isFront == 1">
|
| | | <view class="nav-item flex f-d-c a-i-c">
|
| | | <u-icon name="/static/icon/nav-11.png" width="80rpx" height="80rpx"></u-icon>
|
| | | <u-icon name="/static/icon/nav-25.png" width="80rpx" height="80rpx"></u-icon>
|
| | | <text class="nav-item-text f-26 mt-10">二手交易</text>
|
| | | </view>
|
| | | </u-grid-item>
|
| | | <u-grid-item @click="navigatorPage('/subPackage/label/check')"
|
| | | v-if="curSelectSite.isNine == 1">
|
| | | <view class="nav-item flex f-d-c a-i-c">
|
| | | <u-icon name="/static/icon/nav-11.png" width="80rpx" height="80rpx"></u-icon>
|
| | | <u-icon name="/static/icon/nav-23.png" width="80rpx" height="80rpx"></u-icon>
|
| | | <text class="nav-item-text f-26 mt-10">消防自查</text>
|
| | | </view>
|
| | | </u-grid-item>
|
| | | <u-grid-item @click="navigatorPage('/subPackage/counterfraud/addReport')"
|
| | | v-if="curSelectSite.noExplosionCategory">
|
| | | <view class="nav-item flex f-d-c a-i-c">
|
| | | <u-icon name="/static/icon/nav-11.png" width="80rpx" height="80rpx"></u-icon>
|
| | | <u-icon name="/static/icon/nav-27.png" width="80rpx" height="80rpx"></u-icon>
|
| | | <text class="nav-item-text f-26 mt-10">无诈上报</text>
|
| | | </view>
|
| | | </u-grid-item>
|
| | |
| | | time: 0,
|
| | | userGPS: false,
|
| | | location: {},
|
| | | roleType: 2, // 1网格员/系统管理员 、 2居民 3民警
|
| | | roleType: 2, // 1网格员/系统管理员 、 2居民 3民警 4无诈
|
| | | roleTypeName: "街道社区网格",
|
| | | selectBoxShow: false,
|
| | | siteColumns: [],
|
| | |
| | | // path: '/subPackage/bs/views/repair'
|
| | | // },
|
| | | {
|
| | | icon: "/static/icon/nav-02.png",
|
| | | icon: "/static/icon/nav-20.png",
|
| | | text: "公共维修",
|
| | | path: "/subPackage/bs/views/addRepair?title=公共维修&type=1"
|
| | | },
|
| | | {
|
| | | icon: "/static/icon/nav-02.png",
|
| | | icon: "/static/icon/nav-21.png",
|
| | | text: "居家维修",
|
| | | path: "/subPackage/bs/views/addRepair?title=居家维修&type=2"
|
| | | },
|
| | | {
|
| | | icon: "/static/icon/nav-04.png",
|
| | | icon: "/static/icon/nav-19.png",
|
| | | text: "矛盾纠纷",
|
| | | path: "/subPackage/bs/views/addRepair?title=矛盾纠纷&type=3"
|
| | | },
|
| | | {
|
| | | icon: "/static/icon/nav-11.png",
|
| | | icon: "/static/icon/nav-22.png",
|
| | | text: "投诉举报",
|
| | | path: "/subPackage/bs/views/addRepair?title=投诉举报&type=4"
|
| | | },
|
| | |
| | | }
|
| | | ]
|
| | | },
|
| | |
|
| | | {
|
| | | name: '社区服务',
|
| | | list: [{
|
| | |
| | | tabs2: [{
|
| | | name: '公众服务',
|
| | | list: [{
|
| | | icon: "/static/icon/nav-02.png",
|
| | | icon: "/static/icon/nav-20.png",
|
| | | text: "公共维修",
|
| | | path: "/subPackage/bs/views/addRepair?title=公共维修&type=1"
|
| | | },
|
| | | {
|
| | | icon: "/static/icon/nav-02.png",
|
| | | icon: "/static/icon/nav-21.png",
|
| | | text: "居家维修",
|
| | | path: "/subPackage/bs/views/addRepair?title=居家维修&type=2"
|
| | | },
|
| | | {
|
| | | icon: "/static/icon/nav-04.png",
|
| | | icon: "/static/icon/nav-19.png",
|
| | | text: "矛盾纠纷",
|
| | | path: "/subPackage/bs/views/addRepair?title=矛盾纠纷&type=3"
|
| | | },
|
| | | {
|
| | | icon: "/static/icon/nav-11.png",
|
| | | icon: "/static/icon/nav-22.png",
|
| | | text: "投诉举报",
|
| | | path: "/subPackage/bs/views/addRepair?title=投诉举报&type=4"
|
| | | },
|
| | |
| | | tabs3: [{
|
| | | name: '公众服务',
|
| | | list: [{
|
| | | icon: "/static/icon/nav-02.png",
|
| | | icon: "/static/icon/nav-20.png",
|
| | | text: "公共维修",
|
| | | path: "/subPackage/bs/views/addRepair?title=公共维修&type=1"
|
| | | },
|
| | | {
|
| | | icon: "/static/icon/nav-02.png",
|
| | | icon: "/static/icon/nav-21.png",
|
| | | text: "居家维修",
|
| | | path: "/subPackage/bs/views/addRepair?title=居家维修&type=2"
|
| | | },
|
| | | {
|
| | | icon: "/static/icon/nav-04.png",
|
| | | icon: "/static/icon/nav-19.png",
|
| | | text: "矛盾纠纷",
|
| | | path: "/subPackage/bs/views/addRepair?title=矛盾纠纷&type=3"
|
| | | },
|
| | | {
|
| | | icon: "/static/icon/nav-11.png",
|
| | | icon: "/static/icon/nav-22.png",
|
| | | text: "投诉举报",
|
| | | path: "/subPackage/bs/views/addRepair?title=投诉举报&type=4"
|
| | | },
|
| | |
| | | banner: "linear-gradient(180deg, #017BFC 0%, rgba(1, 123, 252, 0) 100%)"
|
| | | },
|
| | | tabList: [],
|
| | | keyword: ""
|
| | | keyword: "",
|
| | | searchList: []
|
| | | }
|
| | | },
|
| | |
|
| | |
| | | this.tabs.splice(1, 0, {
|
| | | name: '警务服务',
|
| | | list: [{
|
| | | icon: "/static/icon/nav-11.png",
|
| | | text: "取保候审",
|
| | | icon: "/static/icon/nav-26.png",
|
| | | text: "取保监居",
|
| | | path: '/subPackage/label/bail'
|
| | | }]
|
| | | })
|
| | |
| | | // },
|
| | |
|
| | | changeKeyword(val) {
|
| | |
|
| | | console.log(val);
|
| | | searchContent({
|
| | | searchKey: val
|
| | | searchKey: val,
|
| | | current: 1,
|
| | | size: 90,
|
| | | indexName: "jczz"
|
| | | }).then(res => {
|
| | | console.log(res)
|
| | | this.searchList = res.data.records;
|
| | | })
|
| | | },
|
| | |
|
| | |
|
| | | searchLink(item) {
|
| | | //通知公告,经营场所,房屋,住户
|
| | | switch (item.typeName) {
|
| | | case "通知公告":
|
| | | uni.navigateTo({
|
| | | url: "/subPackage/article/detail?id=${item.tableId}&type=${item.type}"
|
| | | })
|
| | |
|
| | | break;
|
| | | case "经营场所":
|
| | | break;
|
| | | case "房屋":
|
| | | break;
|
| | | default:
|
| | | break;
|
| | | }
|
| | | },
|
| | |
|
| | |
|
| | |
| | | this.$set(this.background, "banner",
|
| | | "linear-gradient(180deg, #017BFC 0%, rgba(1, 123, 252, 0) 99%)");
|
| | |
|
| | | } else if (roleName == '无诈') {
|
| | | this.tabList = getTabbarList(1);
|
| | | type = 2
|
| | | this.roleType = 4
|
| | | this.roleTypeName = "居民"
|
| | | this.$set(this.background, "top", "#017BFC");
|
| | | this.$set(this.background, "banner",
|
| | | "linear-gradient(180deg, #017BFC 0%, rgba(1, 123, 252, 0) 99%)");
|
| | | } else if (roleName == '民警') {
|
| | | this.tabList = getTabbarList(2);
|
| | | type = 1
|
| | |
| | | } else {
|
| | | this.isBailer = false;
|
| | | let itemIndex = this.tabs.findIndex(item => item.name.trim() == "警务服务")
|
| | | if (itemIndex != -1) {
|
| | | this.tabs.splice(itemIndex, 1);
|
| | | }
|
| | | // if (itemIndex != -1) {
|
| | | // this.tabs.splice(itemIndex, 1);
|
| | | // }
|
| | |
|
| | | }
|
| | | return;
|