Compare commits

..

5 Commits

7 changed files with 127 additions and 208 deletions

View File

@ -103,4 +103,9 @@
@font-face { @font-face {
font-family: 'Alibaba PuHuiTi'; font-family: 'Alibaba PuHuiTi';
src: url('~@/assets/home/font/Alibaba-PuHuiTi-Light.otf'); src: url('~@/assets/home/font/Alibaba-PuHuiTi-Light.otf');
}
/* 气泡提示框按钮居中 */
.ant-popover-inner-content .ant-popover-buttons {
text-align: center;
} }

View File

@ -507,3 +507,12 @@ export function getMaxApplyNum(number) {
method: 'get', method: 'get',
}) })
} }
// -广-广GIS广
export function getGisByArea(data) {
return request({
url: '/resource/getSquareList',
method: 'post',
data
})
}

View File

@ -9,10 +9,10 @@
</div> </div>
<div class="bottom" v-show="selectFlag"> <div class="bottom" v-show="selectFlag">
<span class="light"></span> <span class="light"></span>
<div @click="getList('全市')">全市</div> <div @click="changeDeptType('全市')">全市</div>
<div @click="getList('市级')">市级</div> <div @click="changeDeptType('市级')">市级</div>
<div @click="getList('区级')">区级</div> <div @click="changeDeptType('区级')">区级</div>
<div @click="getList('企业')">企业</div> <div @click="changeDeptType('企业')">企业</div>
</div> </div>
</div> </div>
<div class="select"> <div class="select">
@ -22,7 +22,7 @@
</div> </div>
<div class="bottom" v-show="selectFlag2"> <div class="bottom" v-show="selectFlag2">
<span class="light"></span> <span class="light"></span>
<div v-for="val in dictList" :key="val" @click="getList2(val)"> <div v-for="val in dictList" :key="val" @click="changeAreaFunction(val)">
{{ val }} {{ val }}
</div> </div>
</div> </div>
@ -47,11 +47,11 @@
</template> </template>
<script setup> <script setup>
import { getCategoryTreePage } from '@/api/personalCenter' import { getCategoryTreePage } from '@/api/personalCenter'
import { pageWithAttrs } from '@/api/abilityStatistics' import { getGisByArea } from '@/api/home'
import { ref, onMounted, onBeforeUnmount } from 'vue' import { ref, onMounted, onBeforeUnmount, nextTick } from 'vue'
const type = ref(null) const deptType = ref(null)
const typeName = ref('全市') const typeName = ref('全市')
const typeName2 = ref('全部') const typeName2 = ref('全部')
const dictList = ref([]) const dictList = ref([])
@ -71,25 +71,16 @@ getCategoryTreePage({
}) })
}) })
const params = { const params = {
deptIds: [],
districtId: '',
infoList: [{ attrType: '组件类型', attrValue: '智能算法' }],
orderField: 'pin_top',
orderType: 'DESC',
pageNum: 1, pageNum: 1,
pageSize: 9, type: '智能算法',
type: '组件服务', area: typeName2.value == '全部' ? '' : typeName2.value,
pageSize: 9 // 9
} }
const getList2 = (val) => {
//
const changeAreaFunction = (val) => {
typeName2.value = val typeName2.value = val
if (val == '全部') { params.area = typeName2.value == '全部' ? '' : typeName2.value;
params.infoList = [{ attrType: '组件类型', attrValue: '智能算法' }]
} else {
params.infoList = [
{ attrType: '组件类型', attrValue: '智能算法' },
{ attrType: '应用领域', attrValue: val },
]
}
selectFlag2.value = false selectFlag2.value = false
pageWithAttrsFunction() pageWithAttrsFunction()
} }
@ -99,24 +90,20 @@ const dataLength = ref(true)
const isNoMore = ref(false) const isNoMore = ref(false)
let url = ref('') let url = ref('')
const pageWithAttrsFunction = () => { const pageWithAttrsFunction = () => {
pageWithAttrs(params).then((res) => { getGisByArea(params).then((res) => {
dataList.value = res.data.data.records dataList.value = res.data.data.list
if (res.data.data.records.length < 9) { if (res.data.data.list.length < 9) {
dataLength.value = false dataLength.value = false
} }
}) })
} }
pageWithAttrsFunction() pageWithAttrsFunction()
// //
const algorithmCardPhoto = (List, item) => { const algorithmCardPhoto = (List, item) => {
let obj = List.filter((item) => item.attrType === '应用场景')[0] let _arr = List && item && List.filter((item) => item.attrType === '应用场景') || []
let obj = _arr[0]
if (obj && obj.attrValue != '') { if (obj && obj.attrValue != '') {
console.log(
item.name,
item.id,
obj.attrValue,
'----------------------------'
)
obj = JSON.parse(obj.attrValue)[0].img obj = JSON.parse(obj.attrValue)[0].img
} }
return obj || '' return obj || ''
@ -137,9 +124,9 @@ const algorithmFunction = (e) => {
// //
isNoMore.value = true isNoMore.value = true
params.pageNum++ params.pageNum++
pageWithAttrs(params).then((res) => { getGisByArea(params).then((res) => {
dataList.value.push(...res.data.data.records) dataList.value.push(...res.data.data.list)
if (res.data.data.records.length < 9) { if (res.data.data.list.length < 9) {
dataLength.value = false dataLength.value = false
} }
}) })
@ -148,32 +135,52 @@ const algorithmFunction = (e) => {
} }
} }
const getList = (str) => { //
const changeDeptType = (str) => {
if (str) { if (str) {
algorithmclassDom.scrollTop = 0 if (algorithmclassDom) {
algorithmclassDom.scrollTop = 0;
}
switch (str) { switch (str) {
case '全市': case '全市':
type.value = null deptType.value = null
typeName.value = '全 市' typeName.value = '全 市'
break break
case '市级': case '市级':
type.value = 2 deptType.value = 2
typeName.value = '市 级' typeName.value = '市 级'
break break
case '区级': case '区级':
type.value = 3 deptType.value = 3
typeName.value = '区 级' typeName.value = '区 级'
break break
case '企业': case '企业':
type.value = 4 deptType.value = 4
typeName.value = '企 业' typeName.value = '企 业'
break break
} }
params.pageNum = 1 params.pageNum = 1;
params.deptType = deptType.value;
} }
selectFlag.value = false selectFlag.value = false
alert('调取接口') getData(str)
// getData(str) }
const getData = (str) => {
getGisByArea(params).then((res) => {
const resData = res.data.data || {}
if (resData.list.length > 0 && resData.list.length < 9) {
algorithmclassDom.removeEventListener('scroll', algorithmFunction, true)
}
dataList.value = resData.list || []
nextTick(() => {
algorithmclassDom = document.querySelector('.algorithm-box')
if (str && algorithmclassDom) {
algorithmclassDom.removeEventListener('scroll', algorithmFunction, true)
algorithmclassDom.addEventListener('scroll', algorithmFunction, true)
}
})
})
} }
onMounted(() => { onMounted(() => {

View File

@ -121,16 +121,19 @@
type: type.value, type: type.value,
area: area.value, area: area.value,
}).then((res) => { }).then((res) => {
if (res.data.data.length < 9) { console.log('res---应用广场--------->', res);
if (res.data.data.total.length < 9) {
dom.removeEventListener('scroll', viewMonitor, true) dom.removeEventListener('scroll', viewMonitor, true)
} }
res.data.data.map((val) => { // appList
res.data.data.appList.map((val) => {
if (!val.pic) { if (!val.pic) {
val.pic = require('@/assets/capacitySquare/yyzy.jpg') val.pic = require('@/assets/capacitySquare/yyzy.jpg')
} }
val.pic2 = require('@/assets/capacitySquare/yyzy.jpg') val.pic2 = require('@/assets/capacitySquare/yyzy.jpg')
}) })
data.list.push(...res.data.data) data.list.push(...res.data.data.appList)
selectFlag.value = false selectFlag.value = false
nextTick(() => { nextTick(() => {
dom = document.querySelector('.item-box') dom = document.querySelector('.item-box')

View File

@ -9,10 +9,10 @@
</div> </div>
<div class="bottom" v-show="selectFlag"> <div class="bottom" v-show="selectFlag">
<span class="light"></span> <span class="light"></span>
<div @click="getList('全市')">全市</div> <div @click="changeDeptType('全市')">全市</div>
<div @click="getList('市级')">市级</div> <div @click="changeDeptType('市级')">市级</div>
<div @click="getList('区级')">区级</div> <div @click="changeDeptType('区级')">区级</div>
<div @click="getList('企业')">企业</div> <div @click="changeDeptType('企业')">企业</div>
</div> </div>
</div> </div>
<div class="select"> <div class="select">
@ -22,7 +22,7 @@
</div> </div>
<div class="bottom" v-show="selectFlag2"> <div class="bottom" v-show="selectFlag2">
<span class="light"></span> <span class="light"></span>
<div v-for="val in dictList" :key="val" @click="getList2(val)"> <div v-for="val in dictList" :key="val" @click="changeAreaFunction(val)">
{{ val }} {{ val }}
</div> </div>
</div> </div>
@ -46,10 +46,10 @@
</template> </template>
<script setup> <script setup>
import { getCategoryTreePage } from '@/api/personalCenter' import { getCategoryTreePage } from '@/api/personalCenter'
import { pageWithAttrs } from '@/api/abilityStatistics' import { getGisByArea } from '@/api/home'
import { ref, onMounted, onBeforeUnmount } from 'vue' import { ref, onMounted, onBeforeUnmount, nextTick } from 'vue'
const type = ref(null) const deptType = ref(null)
const typeName = ref('全市') const typeName = ref('全市')
const typeName2 = ref('全部') const typeName2 = ref('全部')
const dictList = ref([]) const dictList = ref([])
@ -69,43 +69,35 @@ getCategoryTreePage({
}) })
}) })
const params = { const params = {
deptIds: [],
districtId: '',
infoList: [{ attrType: '组件类型', attrValue: '图层服务' }],
orderField: 'deptSort',
orderType: 'DESC',
pageNum: 1, pageNum: 1,
pageSize: 9, type: '图层服务',
type: '组件服务', area: typeName2.value == '全部' ? '' : typeName2.value,
pageSize: 9 // 9
} }
const getList2 = (val) => {
//
const changeAreaFunction = (val) => {
typeName2.value = val typeName2.value = val
if (val == '全部') { params.area = typeName2.value == '全部' ? '' : typeName2.value;
params.infoList = [{ attrType: '组件类型', attrValue: '图层服务' }]
} else {
params.infoList = [
{ attrType: '组件类型', attrValue: '图层服务' },
{ attrType: '应用领域', attrValue: val },
]
}
selectFlag2.value = false selectFlag2.value = false
pageWithAttrsFunction() pageWithAttrsFunction()
} }
let algorithmclassDom = null let algorithmclassDom = null
const imgSrc = ref(require('@/assets/capacitySquare/algorithm-photo2.jpg')) const imgSrc = ref(require('@/assets/capacitySquare/algorithm-photo2.jpg'))
const dataLength = ref(true) const dataLength = ref(true)
const isNoMore = ref(false) const isNoMore = ref(false)
const pageWithAttrsFunction = () => { const pageWithAttrsFunction = () => {
pageWithAttrs(params).then((res) => { getGisByArea(params).then((res) => {
dataList.value = res.data.data.records dataList.value = res.data.data.list
if (res.data.data.records.length < 9) { if (res.data.data.list.length < 9) {
dataLength.value = false dataLength.value = false
} }
}) })
} }
pageWithAttrsFunction() pageWithAttrsFunction()
// //
const algorithmCardPhoto = (List) => { const algorithmCardPhoto = (List = []) => {
let url = '' let url = ''
List.map((item) => { List.map((item) => {
if (item.attrType === '图层缩略图') { if (item.attrType === '图层缩略图') {
@ -119,32 +111,51 @@ const detailFunction = (id) => {
window.open(window.SITE_CONFIG.previewUrl + `#/details?id=${id}`) window.open(window.SITE_CONFIG.previewUrl + `#/details?id=${id}`)
} }
const getList = (str) => { const changeDeptType = (str) => {
if (str) { if (str) {
algorithmclassDom.scrollTop = 0 if(algorithmclassDom) {
algorithmclassDom.scrollTop = 0
}
switch (str) { switch (str) {
case '全市': case '全市':
type.value = null deptType.value = null
typeName.value = '全 市' typeName.value = '全 市'
break break
case '市级': case '市级':
type.value = 2 deptType.value = 2
typeName.value = '市 级' typeName.value = '市 级'
break break
case '区级': case '区级':
type.value = 3 deptType.value = 3
typeName.value = '区 级' typeName.value = '区 级'
break break
case '企业': case '企业':
type.value = 4 deptType.value = 4
typeName.value = '企 业' typeName.value = '企 业'
break break
} }
params.pageNum = 1 params.pageNum = 1;
params.deptType = deptType.value;
} }
selectFlag.value = false selectFlag.value = false
alert('调取接口') getData(str)
// getData(str) }
const getData = (str) => {
getGisByArea(params).then((res) => {
const resData = res.data.data || {}
if (resData.list.length > 0 && resData.list.length < 9) {
algorithmclassDom.removeEventListener('scroll', algorithmFunction, true)
}
dataList.value = resData.list || []
nextTick(() => {
algorithmclassDom = document.querySelector('.algorithm-box')
if (str && algorithmclassDom) {
algorithmclassDom.removeEventListener('scroll', algorithmFunction, true)
algorithmclassDom.addEventListener('scroll', algorithmFunction, true)
}
})
})
} }
const layerFunction = (e) => { const layerFunction = (e) => {
@ -159,9 +170,9 @@ const layerFunction = (e) => {
// //
isNoMore.value = true isNoMore.value = true
params.pageNum++ params.pageNum++
pageWithAttrs(params).then((res) => { getGisByArea(params).then((res) => {
dataList.value.push(...res.data.data.records) dataList.value.push(...res.data.data.list)
if (res.data.data.records.length < 9) { if (res.data.data.list.length < 9) {
dataLength.value = false dataLength.value = false
} }
}) })

View File

@ -752,7 +752,6 @@
keyongziyuanqingkaungArray, keyongziyuanqingkaungArray,
shujuziyuanqingkuangArray, shujuziyuanqingkuangArray,
} from './constantData/showData.js' } from './constantData/showData.js'
export default defineComponent({ export default defineComponent({
beforeRouteLeave(to, from, next) { beforeRouteLeave(to, from, next) {
console.log('to---DetailsPageconetent--beforeRouteLeave------->', to) console.log('to---DetailsPageconetent--beforeRouteLeave------->', to)
@ -771,14 +770,12 @@
flag.value = value flag.value = value
} }
const titleName = ref(titleNameArray) const titleName = ref(titleNameArray)
const openMonitor = () => { const openMonitor = () => {
window.open('http://www.qingdao.gov.cn:8083/ghwd/znwdqd/index.html') window.open('http://www.qingdao.gov.cn:8083/ghwd/znwdqd/index.html')
} }
// //
const keyongziyuanqingkaung = ref(keyongziyuanqingkaungArray) const keyongziyuanqingkaung = ref(keyongziyuanqingkaungArray)
const shujuziyuanqingkuang = ref(shujuziyuanqingkuangArray) const shujuziyuanqingkuang = ref(shujuziyuanqingkuangArray)
// //
const whoShow1 = ref(whoShow) const whoShow1 = ref(whoShow)
// //
@ -821,16 +818,13 @@
orderField: '', // total visits 访 applyCount score collectCount orderField: '', // total visits 访 applyCount score collectCount
orderType: 'DESC', // ASC DESC orderType: 'DESC', // ASC DESC
} }
const store = useStore() const store = useStore()
// //
const user = ref({ const user = ref({
username: store.getters['user/username'], username: store.getters['user/username'],
realName: store.getters['user/realName'], realName: store.getters['user/realName'],
}) })
const searchResultListDom = ref(null) const searchResultListDom = ref(null)
// //
let storageSearchInfo = null let storageSearchInfo = null
const handleSetSearchData = () => { const handleSetSearchData = () => {
@ -855,7 +849,6 @@
paramsGetResources.pageSize = storageSearchInfo.pageSize paramsGetResources.pageSize = storageSearchInfo.pageSize
paramsGetResources.deptIds = storageSearchInfo.deptIds paramsGetResources.deptIds = storageSearchInfo.deptIds
paramsGetResources.districtId = storageSearchInfo.districtId paramsGetResources.districtId = storageSearchInfo.districtId
// 使 // 使
nextTick(() => { nextTick(() => {
searchResultListDom.value.changeCondition( searchResultListDom.value.changeCondition(
@ -868,7 +861,6 @@
}) })
} }
} }
//西 //西
let paramsGetResources2 = ref({ let paramsGetResources2 = ref({
regionId: '70be8c5b664f4bcf869d82f2e8335051', regionId: '70be8c5b664f4bcf869d82f2e8335051',
@ -903,7 +895,6 @@
paramsGetResources paramsGetResources
) )
} }
// //
const chongzhi = (flag) => { const chongzhi = (flag) => {
loading.value = true loading.value = true
@ -944,7 +935,6 @@
) )
getAppResources() getAppResources()
} }
// //
function dianjitiaozhaun(name) { function dianjitiaozhaun(name) {
switch (name) { switch (name) {
@ -958,14 +948,12 @@
break break
} }
} }
// //
const handleChange = (tag, checked, name) => { const handleChange = (tag, checked, name) => {
loading.value = true loading.value = true
paramsGetResources.pageNum = 1 paramsGetResources.pageNum = 1
currentPage.value = 1 currentPage.value = 1
console.log('点击筛选条件=================>', tag, checked, name) console.log('点击筛选条件=================>', tag, checked, name)
// 西- // 西-
if (whoShow1.value.itShowXiHaiAn) { if (whoShow1.value.itShowXiHaiAn) {
if (tag.dict_label == '智能算法' && checked) { if (tag.dict_label == '智能算法' && checked) {
@ -981,7 +969,6 @@
} }
} }
} }
ListContent.records.forEach((val) => { ListContent.records.forEach((val) => {
if (!val) { if (!val) {
return return
@ -990,7 +977,6 @@
paramsGetResources.infoList = paramsGetResources.infoList.filter( paramsGetResources.infoList = paramsGetResources.infoList.filter(
(item) => item.attrType !== name (item) => item.attrType !== name
) )
if ( if (
val.selectedTags && val.selectedTags &&
val.selectedTags.indexOf(tag.dict_label) == -1 val.selectedTags.indexOf(tag.dict_label) == -1
@ -1007,7 +993,6 @@
1 1
) )
} }
// 西- // 西-
if (whoShow1.value.itShowXiHaiAn) { if (whoShow1.value.itShowXiHaiAn) {
if ( if (
@ -1055,7 +1040,6 @@
if (searchValue.value) { if (searchValue.value) {
paramsGetResources.name = searchValue.value paramsGetResources.name = searchValue.value
} }
pageWithAttrs(paramsGetResources).then((res) => { pageWithAttrs(paramsGetResources).then((res) => {
resourceList.data = [] resourceList.data = []
resourceList.data = res.data.data.records || [] resourceList.data = res.data.data.records || []
@ -1086,7 +1070,6 @@
val.showShrink = true val.showShrink = true
val.shrinkFlag = true val.shrinkFlag = true
} }
if (storageSearchInfo) { if (storageSearchInfo) {
let obj = (storageSearchInfo.infoList || []).find( let obj = (storageSearchInfo.infoList || []).find(
(x) => x.attrType === val.name (x) => x.attrType === val.name
@ -1118,7 +1101,7 @@
val.selectedTags.indexOf(selectSubType) == -1 val.selectedTags.indexOf(selectSubType) == -1
) { ) {
val.selectedTags = [selectSubType] val.selectedTags = [selectSubType]
// changeShrink(queryName.value) changeShrink(queryName.value)
} else { } else {
val.selectedTags && val.selectedTags &&
val.selectedTags.splice( val.selectedTags.splice(
@ -1411,7 +1394,6 @@
} }
} }
} }
// - // -
const getQingDao = (res) => { const getQingDao = (res) => {
;((res.data && res.data.data && res.data.data.data) || []).forEach( ;((res.data && res.data.data && res.data.data.data) || []).forEach(
@ -1444,7 +1426,6 @@
resourceList.data = res.data.data.list || [] resourceList.data = res.data.data.list || []
resourceTotal.value = res.data.data.total || '' resourceTotal.value = res.data.data.total || ''
} }
let shoppingCartList = ref([]) let shoppingCartList = ref([])
// //
const getShoppingCartList = (list) => { const getShoppingCartList = (list) => {
@ -1520,7 +1501,6 @@
paramsGetResources paramsGetResources
) )
}) })
mybus.on('changeCondition', (condition) => { mybus.on('changeCondition', (condition) => {
if (!storageSearchInfo) { if (!storageSearchInfo) {
// 1 // 1
@ -1541,7 +1521,6 @@
paramsGetResources paramsGetResources
) )
}) })
const pageChange = (val) => { const pageChange = (val) => {
console.log('pageChange------------>', val) console.log('pageChange------------>', val)
loading.value = true loading.value = true
@ -1553,7 +1532,6 @@
paramsGetResources paramsGetResources
) )
} }
// -- // --
const judgeHasSubSelectType = () => { const judgeHasSubSelectType = () => {
if (selectSubType) { if (selectSubType) {
@ -1571,18 +1549,16 @@
let info = { attrType: queryName.value, attrValue: selectSubType } let info = { attrType: queryName.value, attrValue: selectSubType }
paramsGetResources.infoList.push(info) paramsGetResources.infoList.push(info)
} }
// changeShrink(queryName.value) changeShrink(queryName.value)
paramsGetResources.type = select paramsGetResources.type = select
console.log( console.log(
'paramsGetResources---onMounted--------->', 'paramsGetResources---onMounted--------->',
paramsGetResources paramsGetResources
) )
} }
onMounted(() => { onMounted(() => {
// //
handleSetSearchData() handleSetSearchData()
listKey2.value++ listKey2.value++
// //
getNewList() getNewList()
@ -1620,7 +1596,6 @@
watch(currentPageSize, () => { watch(currentPageSize, () => {
console.log('pageSize', currentPageSize.value) console.log('pageSize', currentPageSize.value)
}) })
const changeShrink = (name) => { const changeShrink = (name) => {
console.log('name---changeShrink--------->', name) console.log('name---changeShrink--------->', name)
ListContent.records.forEach((val) => { ListContent.records.forEach((val) => {
@ -1701,7 +1676,6 @@
visibleAbilitySquare.value = false visibleAbilitySquare.value = false
abilitySquareFunctionData.value = '智能算法' abilitySquareFunctionData.value = '智能算法'
} }
// todo // todo
const saveSearchCodition = () => { const saveSearchCodition = () => {
console.log('存储查询条件到本地---DetailsPageconetent----->', 1111) console.log('存储查询条件到本地---DetailsPageconetent----->', 1111)
@ -1710,7 +1684,6 @@
JSON.stringify(paramsGetResources) JSON.stringify(paramsGetResources)
) )
} }
return { return {
listKey, listKey,
ListContent, ListContent,
@ -1790,15 +1763,12 @@
font-family: 'webfont'; font-family: 'webfont';
src: url('~@/assets/capacitySquare/webfont.ttf'); src: url('~@/assets/capacitySquare/webfont.ttf');
} }
.resultListSearchInput-father { .resultListSearchInput-father {
background: #f3f5f9; background: #f3f5f9;
padding: 0.2rem; padding: 0.2rem;
.resultListSearchInput-son { .resultListSearchInput-son {
background: #fff; background: #fff;
padding: 0.2rem 0.2rem 0rem 0.3rem; padding: 0.2rem 0.2rem 0rem 0.3rem;
.hengxian { .hengxian {
width: 100%; width: 100%;
height: 0.01rem; height: 0.01rem;
@ -1807,17 +1777,14 @@
} }
} }
} }
.resultListSearchInput { .resultListSearchInput {
margin-left: 0.1rem; margin-left: 0.1rem;
:deep(.ant-input) { :deep(.ant-input) {
width: 4rem; width: 4rem;
height: 0.36rem; height: 0.36rem;
background: #fff; background: #fff;
border-radius: 0.04rem; border-radius: 0.04rem;
} }
:deep(.ant-input-search-button) { :deep(.ant-input-search-button) {
width: 0.8rem; width: 0.8rem;
height: 0.36rem; height: 0.36rem;
@ -1829,12 +1796,10 @@
line-height: 0.34rem; line-height: 0.34rem;
margin-left: 0.1rem; margin-left: 0.1rem;
} }
:deep(.ant-input-group-addon) { :deep(.ant-input-group-addon) {
left: 0 !important; left: 0 !important;
} }
} }
.button-reset { .button-reset {
border: 0; border: 0;
outline: none; outline: none;
@ -1849,7 +1814,6 @@
margin-left: 2.5rem; margin-left: 2.5rem;
cursor: pointer; cursor: pointer;
} }
.details-pageconetent { .details-pageconetent {
height: 100%; height: 100%;
width: 100%; width: 100%;
@ -1859,7 +1823,6 @@
margin-top: 0.67rem; margin-top: 0.67rem;
position: relative; position: relative;
background: rgba(245, 243, 243, 0.3); background: rgba(245, 243, 243, 0.3);
.details-pageconetent-left { .details-pageconetent-left {
max-height: 6.9rem; max-height: 6.9rem;
position: absolute; position: absolute;
@ -1869,7 +1832,6 @@
margin-right: 0.17rem; margin-right: 0.17rem;
overflow: auto; overflow: auto;
} }
.top { .top {
min-height: 7.2rem; min-height: 7.2rem;
position: relative; position: relative;
@ -1881,33 +1843,26 @@
justify-content: left; justify-content: left;
margin-left: 2.5rem; margin-left: 2.5rem;
background: #f3f5f9; background: #f3f5f9;
.pagination { .pagination {
background: #f3f5f9; background: #f3f5f9;
padding-bottom: 0.6rem; padding-bottom: 0.6rem;
} }
.jichusheshi { .jichusheshi {
height: 4.45rem; height: 4.45rem;
.yunziyuan { .yunziyuan {
width: 100%; width: 100%;
position: relative; position: relative;
.shuoming { .shuoming {
position: absolute; position: absolute;
right: 0.2rem; right: 0.2rem;
top: 0.15rem; top: 0.15rem;
font-size: 0.12rem; font-size: 0.12rem;
} }
.yunziyuan-title { .yunziyuan-title {
display: flex; display: flex;
align-items: center; align-items: center;
.tupian { .tupian {
} }
.title { .title {
margin-left: 0.1rem; margin-left: 0.1rem;
font-weight: 600; font-weight: 600;
@ -1915,44 +1870,35 @@
cursor: pointer; cursor: pointer;
} }
} }
.fenlei { .fenlei {
display: flex; display: flex;
margin-left: 0.2rem; margin-left: 0.2rem;
margin-right: 0.3rem; margin-right: 0.3rem;
justify-content: space-between; justify-content: space-between;
} }
.keyongziyuan { .keyongziyuan {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
margin-left: 0.3rem; margin-left: 0.3rem;
margin-right: 0.3rem; margin-right: 0.3rem;
div { div {
display: flex; display: flex;
div:last-child { div:last-child {
font-weight: 600; font-weight: 600;
} }
} }
} }
} }
.yunziyuan > div { .yunziyuan > div {
margin-bottom: 0.1rem; margin-bottom: 0.1rem;
} }
.shipin { .shipin {
width: 100%; width: 100%;
.shipin-title { .shipin-title {
display: flex; display: flex;
align-items: center; align-items: center;
.tupian { .tupian {
} }
.title { .title {
margin-left: 0.1rem; margin-left: 0.1rem;
font-weight: 600; font-weight: 600;
@ -1960,58 +1906,47 @@
cursor: pointer; cursor: pointer;
} }
} }
.fenlei { .fenlei {
display: flex; display: flex;
margin-left: 0.2rem; margin-left: 0.2rem;
div { div {
margin-right: 0.6rem; margin-right: 0.6rem;
} }
.shuzi { .shuzi {
font-weight: 600; font-weight: 600;
} }
} }
} }
.shipin > div { .shipin > div {
margin-bottom: 0.1rem; margin-bottom: 0.1rem;
} }
} }
.jichusheshi > div { .jichusheshi > div {
padding-top: 0.1rem; padding-top: 0.1rem;
border-radius: 0.04rem; border-radius: 0.04rem;
margin-bottom: 0.2rem; margin-bottom: 0.2rem;
padding-bottom: 0.4rem; padding-bottom: 0.4rem;
} }
.shujuziyuan { .shujuziyuan {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
padding-top: 0.4rem; padding-top: 0.4rem;
.yunziyuan { .yunziyuan {
width: 100%; width: 100%;
position: relative; position: relative;
.shuoming { .shuoming {
position: absolute; position: absolute;
right: 0.2rem; right: 0.2rem;
top: 0.15rem; top: 0.15rem;
font-size: 0.12rem; font-size: 0.12rem;
} }
.yunziyuan-title { .yunziyuan-title {
display: flex; display: flex;
align-items: center; align-items: center;
margin-left: 0.2rem; margin-left: 0.2rem;
.tupian { .tupian {
} }
.title { .title {
margin-left: 0.1rem; margin-left: 0.1rem;
font-weight: 600; font-weight: 600;
@ -2019,35 +1954,29 @@
cursor: pointer; cursor: pointer;
} }
} }
.fenlei { .fenlei {
display: flex; display: flex;
margin-left: 0.2rem; margin-left: 0.2rem;
margin-right: 0.3rem; margin-right: 0.3rem;
justify-content: space-between; justify-content: space-between;
} }
.keyongziyuan { .keyongziyuan {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
margin-left: 0.3rem; margin-left: 0.3rem;
margin-right: 0.3rem; margin-right: 0.3rem;
div { div {
display: flex; display: flex;
div:last-child { div:last-child {
font-weight: 600; font-weight: 600;
} }
} }
} }
} }
.yunziyuan > div { .yunziyuan > div {
margin-bottom: 0.1rem; margin-bottom: 0.1rem;
} }
} }
.shujuziyuan > div { .shujuziyuan > div {
background: #eaf4ff; background: #eaf4ff;
padding-top: 0.1rem; padding-top: 0.1rem;
@ -2055,7 +1984,6 @@
margin-bottom: 0.2rem; margin-bottom: 0.2rem;
padding-bottom: 0.4rem; padding-bottom: 0.4rem;
} }
.top-title { .top-title {
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
@ -2065,47 +1993,39 @@
color: #000000; color: #000000;
line-height: 0.34rem; line-height: 0.34rem;
margin-bottom: 0.2rem; margin-bottom: 0.2rem;
.photo { .photo {
display: inline-block; display: inline-block;
height: 0.44rem; height: 0.44rem;
width: 0.44rem; width: 0.44rem;
margin-right: 0.1rem; margin-right: 0.1rem;
} }
div { div {
padding: 0 0.1rem; padding: 0 0.1rem;
cursor: pointer; cursor: pointer;
display: flex; display: flex;
align-items: center; align-items: center;
} }
div:hover { div:hover {
color: #0087ff; color: #0087ff;
} }
.sel { .sel {
font-weight: 600; font-weight: 600;
color: #0087ff; color: #0087ff;
border-bottom: 0.02rem solid #0087ff; border-bottom: 0.02rem solid #0087ff;
} }
} }
.top-content-father { .top-content-father {
width: 100%; width: 100%;
padding: 0 0.2rem 0.2rem 0.2rem; padding: 0 0.2rem 0.2rem 0.2rem;
background: #f3f5f9; background: #f3f5f9;
margin-bottom: 0.2rem; margin-bottom: 0.2rem;
.top-content-son { .top-content-son {
background: #fff; background: #fff;
padding: 0.2rem 0; padding: 0.2rem 0;
} }
.top-content { .top-content {
display: flex; display: flex;
margin-top: 0rem; margin-top: 0rem;
span:nth-child(1) { span:nth-child(1) {
display: inline-block; display: inline-block;
position: relative; position: relative;
@ -2114,24 +2034,20 @@
text-align: center; text-align: center;
vertical-align: middle; vertical-align: middle;
} }
.leixingsumfather { .leixingsumfather {
width: 8.1rem; width: 8.1rem;
display: inline-block; display: inline-block;
height: 0.3014rem; height: 0.3014rem;
overflow: hidden; overflow: hidden;
} }
.leixingsumfather2 { .leixingsumfather2 {
width: 9.2rem; width: 9.2rem;
} }
.leixingsum { .leixingsum {
display: inline-block; display: inline-block;
cursor: pointer; cursor: pointer;
text-align: center; text-align: center;
margin-top: 0.05rem; margin-top: 0.05rem;
.ant-tag-checkable { .ant-tag-checkable {
width: 1rem; width: 1rem;
height: 0.25rem; height: 0.25rem;
@ -2149,13 +2065,11 @@
text-align: center; text-align: center;
line-height: 0.14rem; line-height: 0.14rem;
} }
:deep(.ant-tag-checkable-checked) { :deep(.ant-tag-checkable-checked) {
margin-left: 0.15rem; margin-left: 0.15rem;
margin-right: 0.15rem; margin-right: 0.15rem;
text-align: center; text-align: center;
} }
.ant-tag-checkable:active, .ant-tag-checkable:active,
.ant-tag-checkable-checked { .ant-tag-checkable-checked {
// width: 0.85rem; // width: 0.85rem;
@ -2167,7 +2081,6 @@
border-radius: 0.16rem; border-radius: 0.16rem;
} }
} }
.active { .active {
font-family: Alibaba PuHuiTi; font-family: Alibaba PuHuiTi;
font-weight: 500; font-weight: 500;
@ -2175,38 +2088,32 @@
color: #ffffff; color: #ffffff;
} }
} }
.top-content:nth-child(1) { .top-content:nth-child(1) {
margin-top: 0rem !important; margin-top: 0rem !important;
} }
} }
} }
} }
.shrinkTag { .shrinkTag {
width: 0.5rem; width: 0.5rem;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: flex-end; align-items: flex-end;
margin-bottom: 0.05rem; margin-bottom: 0.05rem;
span { span {
cursor: pointer; cursor: pointer;
} }
} }
.shrink { .shrink {
height: unset !important; height: unset !important;
overflow: unset !important; overflow: unset !important;
} }
.talk-monitor { .talk-monitor {
position: fixed; position: fixed;
bottom: 0.5rem; bottom: 0.5rem;
right: 0.1rem; right: 0.1rem;
z-index: 9999; z-index: 9999;
cursor: pointer; cursor: pointer;
i { i {
width: 0.64rem; width: 0.64rem;
height: 0.64rem; height: 0.64rem;
@ -2215,7 +2122,6 @@
background-size: cover; background-size: cover;
} }
} }
.abilitySquare { .abilitySquare {
width: 0.7rem; width: 0.7rem;
height: 0.7rem; height: 0.7rem;
@ -2231,11 +2137,9 @@
right: 0.1rem; right: 0.1rem;
cursor: pointer; cursor: pointer;
background: #e3edfc; background: #e3edfc;
p { p {
margin: 0; margin: 0;
} }
p:nth-child(1) { p:nth-child(1) {
height: 0.35rem; height: 0.35rem;
width: 0.36rem; width: 0.36rem;
@ -2243,7 +2147,6 @@
background-size: 100% 100%; background-size: 100% 100%;
background-position: center; background-position: center;
} }
ul { ul {
background: #ffffff; background: #ffffff;
font-family: webfont; font-family: webfont;
@ -2256,7 +2159,6 @@
left: -0.62rem; left: -0.62rem;
padding: 0; padding: 0;
margin: 0; margin: 0;
li { li {
list-style: none; list-style: none;
color: #0061ec; color: #0061ec;
@ -2265,24 +2167,20 @@
padding-left: 0.4rem; padding-left: 0.4rem;
border-bottom: 0.01rem solid #dfd9d9; border-bottom: 0.01rem solid #dfd9d9;
} }
li:nth-of-type(1) { li:nth-of-type(1) {
background: url('~@/assets/home/appIcon.png') no-repeat; background: url('~@/assets/home/appIcon.png') no-repeat;
background-position: 0.18rem center; background-position: 0.18rem center;
} }
li:nth-of-type(2) { li:nth-of-type(2) {
background: url('~@/assets/home/AiIcon.png') no-repeat; background: url('~@/assets/home/AiIcon.png') no-repeat;
background-position: 0.18rem center; background-position: 0.18rem center;
} }
li:nth-of-type(3) { li:nth-of-type(3) {
border-bottom: none; border-bottom: none;
background: url('~@/assets/home/GisIcon.png') no-repeat; background: url('~@/assets/home/GisIcon.png') no-repeat;
background-position: 0.18rem center; background-position: 0.18rem center;
} }
} }
ul::after { ul::after {
content: ''; content: '';
position: absolute; position: absolute;
@ -2293,7 +2191,6 @@
border: 0.13rem solid; border: 0.13rem solid;
border-color: #fff transparent transparent transparent; border-color: #fff transparent transparent transparent;
} }
ul::before { ul::before {
content: ''; content: '';
position: absolute; position: absolute;
@ -2304,26 +2201,21 @@
border: 0.13rem solid; border: 0.13rem solid;
border-color: #dfd9d9 transparent transparent transparent; border-color: #dfd9d9 transparent transparent transparent;
} }
@keyframes ulShowTime { @keyframes ulShowTime {
0% { 0% {
transform: scale(0); transform: scale(0);
} }
100% { 100% {
transform: scale(0); transform: scale(0);
} }
} }
} }
.top-content-father { .top-content-father {
width: 10.87rem; width: 10.87rem;
padding-left: 0.2rem; padding-left: 0.2rem;
.top-content { .top-content {
display: flex; display: flex;
margin-top: 0.23rem; margin-top: 0.23rem;
span:nth-child(1) { span:nth-child(1) {
display: inline-block; display: inline-block;
position: relative; position: relative;
@ -2335,21 +2227,18 @@
font-size: 0.16rem; font-size: 0.16rem;
margin-left: 0.3rem; margin-left: 0.3rem;
} }
.leixingsumfather { .leixingsumfather {
width: 7.7rem; width: 7.7rem;
display: inline-block; display: inline-block;
height: 0.3014rem; height: 0.3014rem;
overflow: hidden; overflow: hidden;
} }
.leixingsum { .leixingsum {
// width: 1rem; // width: 1rem;
display: inline-block; display: inline-block;
cursor: pointer; cursor: pointer;
text-align: center; text-align: center;
margin-top: 0.05rem; margin-top: 0.05rem;
.ant-tag-checkable { .ant-tag-checkable {
width: 1rem; width: 1rem;
height: 0.25rem; height: 0.25rem;
@ -2367,13 +2256,11 @@
text-align: center; text-align: center;
line-height: 0.14rem; line-height: 0.14rem;
} }
:deep(.ant-tag-checkable-checked) { :deep(.ant-tag-checkable-checked) {
margin-left: 0.15rem; margin-left: 0.15rem;
margin-right: 0.15rem; margin-right: 0.15rem;
text-align: center; text-align: center;
} }
.ant-tag-checkable:active, .ant-tag-checkable:active,
.ant-tag-checkable-checked { .ant-tag-checkable-checked {
width: 0.85rem; width: 0.85rem;
@ -2384,7 +2271,6 @@
border-radius: 0.16rem; border-radius: 0.16rem;
} }
} }
.active { .active {
font-family: Alibaba PuHuiTi; font-family: Alibaba PuHuiTi;
font-weight: 500; font-weight: 500;
@ -2392,12 +2278,10 @@
color: #ffffff; color: #ffffff;
} }
} }
.top-content:nth-child(1) { .top-content:nth-child(1) {
margin-top: 0.41rem !important; margin-top: 0.41rem !important;
} }
} }
:deep(.ant-card-grid) { :deep(.ant-card-grid) {
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;

View File

@ -142,7 +142,7 @@
" @click.stop="downloadFile(item, '附件下载')" class="DownloadAttachment"> " @click.stop="downloadFile(item, '附件下载')" class="DownloadAttachment">
附件下载 附件下载
</a-button> </a-button>
<a-button v-if="item.approveStatus === '通过'" @click.stop="switchFunction(item)"> <a-button type="primary" v-if="item.approveStatus === '通过'" @click.stop="switchFunction(item)">
查看详情 查看详情
</a-button> </a-button>
</div> </div>