master^2
刘翔宇-旅管家 3 years ago
commit 4470b6bb11

@ -25,12 +25,16 @@
<view v-for="(item,indexkey) in itemList" :key="indexkey"> <view v-for="(item,indexkey) in itemList" :key="indexkey">
<view class="listitem u-body-item u-border-bottom u-col-between u-p-t-0"> <view class="listitem u-body-item u-border-bottom u-col-between u-p-t-0">
<view :class="current==0?'titles titles100':'titles'"> <view :class="current==0?'titles titles100':'titles'">
<view class="u-body-item-title u-line-2">{{item.title}}{{current}}</view> <view class="u-body-item-title u-line-2">{{item.title}}</view>
<view class="times">{{item.times}}</view> <view class="times">{{item.time}}</view>
</view> </view>
<image v-if="current==0" width="100%" :src="item.imgs" mode=""></image> <image v-if="current==0" width="100%" :src="item.imgs" mode=""></image>
</view> </view>
</view> </view>
<view class="more" @click="golist(current)">
查看更多
<u-icon name="more-circle"></u-icon>
</view>
</view> </view>
</scroll-view> </scroll-view>
</swiper-item> </swiper-item>
@ -114,6 +118,13 @@
this.$refs.uTabs.setFinishCurrent(current); this.$refs.uTabs.setFinishCurrent(current);
}, },
golist(index){
let url = "/pages/list/list?index="+index
uni.redirectTo({
url:url
})
},
// scroll-view // scroll-view
onreachBottom() { onreachBottom() {
@ -172,4 +183,9 @@
color:#808080; color:#808080;
font-size: 26rpx; font-size: 26rpx;
} }
.more{
text-align: center;
padding: 20px 0;
font-size: 20px;
}
</style> </style>

@ -34,7 +34,7 @@
path: "/pages/list/tpxw", path: "/pages/list/tpxw",
icon: "/static/tab/tpxw.png", icon: "/static/tab/tpxw.png",
selectIcon: "/static/tab/tpxwcur.png", selectIcon: "/static/tab/tpxwcur.png",
text: "图片新闻", text: "新闻资讯",
centerItem: false, centerItem: false,
imgclass:"tpxw item-top" imgclass:"tpxw item-top"
},{ },{

@ -1,3 +1,4 @@
{ {
"name": "常州公安-手机端", "name": "常州公安-手机端",
"appid": "__UNI__EDB3F98", "appid": "__UNI__EDB3F98",

@ -16,6 +16,13 @@
} }
}, { }, {
"path": "pages/list/list",
"style": {
"navigationBarTitleText": "常安门户",
"enablePullDownRefresh": false
}
},{
"path": "pages/list/zhxw", "path": "pages/list/zhxw",
"style": { "style": {
"navigationBarTitleText": "综合新闻", "navigationBarTitleText": "综合新闻",
@ -25,7 +32,7 @@
},{ },{
"path": "pages/list/tpxw", "path": "pages/list/tpxw",
"style": { "style": {
"navigationBarTitleText": "图片新闻", "navigationBarTitleText": "新闻资讯",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
@ -60,7 +67,7 @@
},{ },{
"path": "pages/content/content", "path": "pages/content/content",
"style": { "style": {
"navigationBarTitleText": "", "navigationBarTitleText": "常安门户",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }

@ -20,7 +20,7 @@
<subtab-bar :currentPage="3"></subtab-bar> <tab-bar :currentPage="0"></tab-bar>
</view> </view>
</template> </template>
@ -29,24 +29,56 @@
export default { export default {
data() { data() {
return { return {
title:"图片新闻", titleindex:0,
titlelist:[{
name: '图片新闻'
}, {
name: '综合新闻'
}, {
name: '市局通知'
},{
name: '市局文件'
},{
name: '各地警讯'
}, {
name: '机关动态'
}, {
name: '好警纪实'
}, {
name: '警营文化'
}],
title:"",
list:{ list:{
title:"于贵平到金坛督导检查党的二十大安保调研指", title:"于贵平到金坛督导检查党的二十大安保调研指",
times:"2022-06-29", times:"2022-06-29",
from:"常州公安", from:"常州公安",
view:"456", view:"456",
content:"6月28日下午副市长、公安局长于贵平到金坛调研传达李耀光厅长来常视察时的重要指示精神督导检查党的二十大安保“常安行动”推进情况调研指导全区公安工作看望慰问一线民警辅警。于贵平勉励金坛公安机关以李耀光厅长对常州公安工作的肯定和鼓励为新的动力认真贯彻落实省公安厅、市公安局和区委、区政府部署要求传承发扬“自强不息、勇攀高峰”的华罗庚精神全面加快发展步伐全面提振发展动能全面提升整体水平争当“常州公安品牌和工作绩效的最强增长极”。金坛区委书记陆秋明、代理区长胥亚伟市公安局党委副书记、常务副局长张强市公安局副局长金继英参加调研。金坛区委书记陆秋明、代理区长胥亚伟市公安局党委副书记、常务副局长张强市公安局副局长金继英参加调研参加调研参。" content:"<p style='text-indent:2em'>7月7日下午副市长、公安局长于贵平到高新区调研传达李耀光厅长来常视察时的指示精神,督导检查党的二十大安保“常安行动”推进情况,调研指导全区公安工作,看望慰问一线民警辅警,勉励高新区公安机关以李耀光厅长对常州公安工作的肯定和鼓励为新动力。</p>"
} }
} }
}, },
onLoad() { onLoad() {
},
onShow(options) {
this.titleindex = this.util.RQ("index")?this.util.RQ("index"):0
this.title=this.titlelist[this.titleindex].name
// var that = this
// console.log('before',that.menuIndex)
// that.menuIndex = uni.getStorageSync('menuIndex')?uni.getStorageSync('menuIndex'):0
// console.log('after',that.menuIndex)
// uni.removeStorageSync('menuIndex')
}, },
methods: { methods: {
goback(){ goback(){
uni.navigateBack({ console.log("aa")
delta:1,//2
}) // uni.switchTab({
// url:'/pages/index/index'
// })
// uni.navigateBack({
// delta:1,//2
// })
} }
} }
} }

@ -34,6 +34,10 @@
<view class="times">{{item.time}}</view> <view class="times">{{item.time}}</view>
</view> </view>
</view> </view>
<view class="more" @click="changeItem({index:1})">
查看更多
<u-icon name="more-circle"></u-icon>
</view>
</view> </view>
</u-card> </u-card>
</view> </view>
@ -113,27 +117,27 @@
index:7, index:7,
}], }],
list:[{ list:[{
title:"釉色渲染仕女图韵味被私藏,而你嫣然的一笑如含苞待放", title:"于贵平到高新区督导检查党的二十大安保调研指导公安工作",
imgs:"https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg", imgs:"http://czga.langye.net/d/file/p/2022/08-24/3b37b135aad8a23ca8b8d698400dad62.jpg",
url:"", url:"",
time:"2022-08-21" time:"2022-08-24"
},{ },{
title:"釉色渲染仕女图韵味被私藏,而你嫣然的一笑如含苞待放", title:"陈志良到市公安局调研指导全国文明典范城市创建工作",
imgs:"https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg", imgs:"https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg",
url:"", url:"",
time:"2022-08-21" time:"2022-08-21"
},{ },{
title:"釉色渲染仕女图韵味被私藏,而你嫣然的一笑如含苞待放", title:"于贵平到经开区督导检查党的二十大安保调研指导公安工作",
imgs:"https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg", imgs:"https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg",
url:"", url:"",
time:"2022-08-21" time:"2022-08-21"
},{ },{
title:"釉色渲染仕女图韵味被私藏,而你嫣然的一笑如含苞待放", title:"市公安局召开半年度全市公安工作推进会暨“一月一观摩”活动",
imgs:"https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg", imgs:"https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg",
url:"", url:"",
time:"2022-08-21" time:"2022-08-21"
},{ },{
title:"釉色渲染仕女图韵味被私藏,而你嫣然的一笑如含苞待放", title:"全市公安系统功模代表座谈会召开",
imgs:"https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg", imgs:"https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg",
url:"", url:"",
time:"2022-08-21" time:"2022-08-21"
@ -146,13 +150,13 @@
}, },
methods: { methods: {
changeItem(item) { changeItem(item) {
// uni.redirectTo({ uni.redirectTo({
// url: '/pages/list/tpxw?menuindex='+item.index, url: '/pages/list/list?index='+item.index,
// });
// uni.setStorageSync("menuIndex", item.index);
uni.switchTab({
url: '/pages/list/tpxw',
}); });
// uni.setStorageSync("menuIndex", item.index);
// uni.switchTab({
// url: '/pages/list/tpxw',
// });
}, },
gocontent(){ gocontent(){
uni.redirectTo({ uni.redirectTo({
@ -227,7 +231,7 @@
padding-top:0 padding-top:0
} }
.mb100{ .mb100{
margin-bottom: 200rpx; margin-bottom: 130rpx;
} }
.list .u-card__body{ .list .u-card__body{
margin-bottom:160rpx margin-bottom:160rpx
@ -251,4 +255,9 @@
color:#808080; color:#808080;
font-size: 26rpx; font-size: 26rpx;
} }
.more{
text-align: center;
padding: 20px 0;
font-size: 20px;
}
</style> </style>

@ -0,0 +1,189 @@
<template>
<view slot="content" class="content">
<view class="index">
<view class="back">
<u-icon @click="goback" name="arrow-left"></u-icon>
<text>{{title}}</text>
</view>
</view>
<view class="contentwrap">
<scroll-view class="list" scroll-y @scrolltolower="onreachBottom">
<view style="height: 1000rpx;" v-if="itemList.length==0" class="">
<u-empty text="暂无数据" mode="list"></u-empty>
</view>
<view v-else>
<view @click="gocontent" v-for="(item,indexkey) in itemList" :key="indexkey">
<view class="listitem u-body-item u-border-bottom u-col-between u-p-t-0">
<view :class="current==0?'titles titles100':'titles'">
<view class="u-body-item-title u-line-2">{{item.title}}</view>
<view class="times">{{item.time}}</view>
</view>
</view>
</view>
</view>
</scroll-view>
</view>
<tab-bar :currentPage="2"></tab-bar>
</view>
</template>
<script>
export default {
onload(options){
// console.log(options)
// this.titleindex = options.index
// this.title=this.titlelist[this.titleindex]
},
onShow() {
this.titleindex = this.util.RQ("index")
this.title=this.titlelist[this.titleindex].name
// var that = this
// console.log('before',that.menuIndex)
// that.menuIndex = uni.getStorageSync('menuIndex')?uni.getStorageSync('menuIndex'):0
// console.log('after',that.menuIndex)
// uni.removeStorageSync('menuIndex')
},
created() {
},
data() {
return {
menuIndex:0,
titleindex:0,
titlelist:[{
name: '图片新闻'
}, {
name: '综合新闻'
}, {
name: '市局通知'
},{
name: '市局文件'
},{
name: '各地警讯'
}, {
name: '机关动态'
}, {
name: '好警纪实'
}, {
name: '警营文化'
}],
title:"",
itemList:[{
title:"于贵平到高新区督导检查党的二十大安保调研指导公安工作",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/3b37b135aad8a23ca8b8d698400dad62.jpg",
url:"",
time:"2022-08-24"
},{
title:"陈志良到市公安局调研指导全国文明典范城市创建工作",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/8add932b25cae61e29dba1dcc57702b0.jpg",
url:"",
time:"2022-08-21"
},{
title:"于贵平到经开区督导检查党的二十大安保调研指导公安工作",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/332b29eb92aebd076756b63aeefb8dce.jpg",
url:"",
time:"2022-08-21"
},{
title:"市公安局召开半年度全市公安工作推进会暨“一月一观摩”活动",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/88de79255eb9003cc81be1f085fe6597.jpg",
url:"",
time:"2022-08-21"
},{
title:"全市公安系统功模代表座谈会召开",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/31eb5aaea4cf6702f699a2f17e8eee88.jpg",
url:"",
time:"2022-08-21"
}],
}
},
methods: {
goback(){
uni.switchTab({
url:'/pages/list/tpxw'
})
},
gocontent(){
uni.redirectTo({
url:'/pages/content/content'
})
}
}
}
</script>
<style scoped>
.index {
/* background: url(@/static/images/homebg.png) no-repeat; */
background: linear-gradient(90deg, #D81B28 0%, #F96767 100%);
background-color: #fff;
background-size: 100%;
width: 100%;
min-height: 435rpx;
/* position: fixed; */
}
.back{
font-size: 46rpx;
color:#fff;
padding:40rpx 40rpx;
position: relative;
top:0;
left:0
}
.back text{
position: absolute;
left:50%;
top:50%;
transform: translate(-50%,-50%);
}
.content{
background-color: #fff;
}
.contentwrap{
background: #fff;
padding:180rpx 10rpx;
padding-top:0;
margin-top:-300rpx
}
.list{
width:100%;
height:1000rpx;
/* padding:40rpx */
}
.list .listitem{
font-size:0;
padding-bottom:30rpx;
margin: 30rpx 20rpx;
}
.titles{
width:100%;
display: inline-block;
vertical-align: top;
}
.titles100{
width:70%;
}
/deep/ .titles .u-body-item-title{
height:96rpx;
}
.list .listitem view{
font-size: 32rpx;
font-family: SourceHanSansCN-Normal, SourceHanSansCN;
font-weight: 400;
color: #333333;
}
.list .listitem image{
width:30%;
height:133rpx;
display: inline-block;
}
.list .listitem .times{
color:#808080;
font-size: 26rpx;
}
</style>

@ -12,7 +12,6 @@
</view> </view>
<menu-bar :tabs="list" :currentPage="menuIndex"></menu-bar> <menu-bar :tabs="list" :currentPage="menuIndex"></menu-bar>
<tab-bar :currentPage="2"></tab-bar> <tab-bar :currentPage="2"></tab-bar>
</view> </view>
</top> </top>
@ -39,73 +38,228 @@
data() { data() {
return { return {
menuIndex:0, menuIndex:0,
imglist: [ imglist: [{
], title:"于贵平到高新区督导检查党的二十大安保调研指导公安工作",
image:"http://czga.langye.net/d/file/p/2022/08-24/3b37b135aad8a23ca8b8d698400dad62.jpg",
url:"",
time:"2022-08-24"
},{
title:"陈志良到市公安局调研指导全国文明典范城市创建工作",
image:"http://czga.langye.net/d/file/p/2022/08-24/8add932b25cae61e29dba1dcc57702b0.jpg",
url:"",
time:"2022-08-21"
},{
title:"于贵平到经开区督导检查党的二十大安保调研指导公安工作",
image:"http://czga.langye.net/d/file/p/2022/08-24/332b29eb92aebd076756b63aeefb8dce.jpg",
url:"",
time:"2022-08-21"
},{
title:"市公安局召开半年度全市公安工作推进会暨“一月一观摩”活动",
image:"http://czga.langye.net/d/file/p/2022/08-24/88de79255eb9003cc81be1f085fe6597.jpg",
url:"",
time:"2022-08-21"
}],
list:[[{ list:[[{
title:"于贵平主持召开第9次周调度例会", title:"于贵平到高新区督导检查党的二十大安保调研指导公安工作",
times:"2022-08-21", imgs:"http://czga.langye.net/d/file/p/2022/08-24/3b37b135aad8a23ca8b8d698400dad62.jpg",
imgs:"https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg", url:"",
time:"2022-08-24"
},{
title:"陈志良到市公安局调研指导全国文明典范城市创建工作",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/8add932b25cae61e29dba1dcc57702b0.jpg",
url:"",
time:"2022-08-21"
},{
title:"于贵平到经开区督导检查党的二十大安保调研指导公安工作",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/332b29eb92aebd076756b63aeefb8dce.jpg",
url:"",
time:"2022-08-21"
},{
title:"市公安局召开半年度全市公安工作推进会暨“一月一观摩”活动",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/88de79255eb9003cc81be1f085fe6597.jpg",
url:"",
time:"2022-08-21"
},{
title:"全市公安系统功模代表座谈会召开",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/31eb5aaea4cf6702f699a2f17e8eee88.jpg",
url:"",
time:"2022-08-21"
}],[{
title:"于贵平到高新区督导检查党的二十大安保调研指导公安工作",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/3b37b135aad8a23ca8b8d698400dad62.jpg",
url:"",
time:"2022-08-24"
},{ },{
title:"于贵平主持召开第9次周调度例会", title:"陈志良到市公安局调研指导全国文明典范城市创建工作",
times:"2022-08-21", imgs:"http://czga.langye.net/d/file/p/2022/08-24/8add932b25cae61e29dba1dcc57702b0.jpg",
imgs:"https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg", url:"",
time:"2022-08-21"
},{ },{
title:"于贵平主持召开第9次周调度例会", title:"于贵平到经开区督导检查党的二十大安保调研指导公安工作",
times:"2022-08-21", imgs:"http://czga.langye.net/d/file/p/2022/08-24/332b29eb92aebd076756b63aeefb8dce.jpg",
imgs:"https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg", url:"",
time:"2022-08-21"
},{ },{
title:"于贵平主持召开第9次周调度例会", title:"市公安局召开半年度全市公安工作推进会暨“一月一观摩”活动",
times:"2022-08-21", imgs:"http://czga.langye.net/d/file/p/2022/08-24/88de79255eb9003cc81be1f085fe6597.jpg",
imgs:"https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg", url:"",
time:"2022-08-21"
},{ },{
title:"于贵平主持召开第9次周调度例会", title:"全市公安系统功模代表座谈会召开",
times:"2022-08-21", imgs:"http://czga.langye.net/d/file/p/2022/08-24/31eb5aaea4cf6702f699a2f17e8eee88.jpg",
imgs:"https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg", url:"",
time:"2022-08-21"
}],[{
title:"于贵平到高新区督导检查党的二十大安保调研指导公安工作",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/3b37b135aad8a23ca8b8d698400dad62.jpg",
url:"",
time:"2022-08-24"
},{
title:"陈志良到市公安局调研指导全国文明典范城市创建工作",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/8add932b25cae61e29dba1dcc57702b0.jpg",
url:"",
time:"2022-08-21"
},{ },{
title:"于贵平主持召开第9次周调度例会", title:"于贵平到经开区督导检查党的二十大安保调研指导公安工作",
times:"2022-08-21", imgs:"http://czga.langye.net/d/file/p/2022/08-24/332b29eb92aebd076756b63aeefb8dce.jpg",
imgs:"https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg", url:"",
time:"2022-08-21"
},{ },{
title:"于贵平主持召开第9次周调度例会", title:"市公安局召开半年度全市公安工作推进会暨“一月一观摩”活动",
times:"2022-08-21", imgs:"http://czga.langye.net/d/file/p/2022/08-24/88de79255eb9003cc81be1f085fe6597.jpg",
imgs:"https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg", url:"",
time:"2022-08-21"
},{ },{
title:"于贵平主持召开第9次周调度例会", title:"全市公安系统功模代表座谈会召开",
times:"2022-08-21", imgs:"http://czga.langye.net/d/file/p/2022/08-24/31eb5aaea4cf6702f699a2f17e8eee88.jpg",
imgs:"https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg", url:"",
time:"2022-08-21"
}],[{ }],[{
title:"于贵平主持召开第9次周调度例会", title:"于贵平到高新区督导检查党的二十大安保调研指导公安工作",
times:"2022-08-21", imgs:"http://czga.langye.net/d/file/p/2022/08-24/3b37b135aad8a23ca8b8d698400dad62.jpg",
imgs:"https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg", url:"",
},{ time:"2022-08-24"
title:"于贵平主持召开第9次周调度例会", },{
times:"2022-08-21", title:"陈志良到市公安局调研指导全国文明典范城市创建工作",
imgs:"https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg", imgs:"http://czga.langye.net/d/file/p/2022/08-24/8add932b25cae61e29dba1dcc57702b0.jpg",
},{ url:"",
title:"于贵平主持召开第9次周调度例会", time:"2022-08-21"
times:"2022-08-21", },{
imgs:"https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg", title:"于贵平到经开区督导检查党的二十大安保调研指导公安工作",
},{ imgs:"http://czga.langye.net/d/file/p/2022/08-24/332b29eb92aebd076756b63aeefb8dce.jpg",
title:"于贵平主持召开第9次周调度例会", url:"",
times:"2022-08-21", time:"2022-08-21"
imgs:"https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg", },{
},{ title:"市公安局召开半年度全市公安工作推进会暨“一月一观摩”活动",
title:"于贵平主持召开第9次周调度例会", imgs:"http://czga.langye.net/d/file/p/2022/08-24/88de79255eb9003cc81be1f085fe6597.jpg",
times:"2022-08-21", url:"",
imgs:"https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg", time:"2022-08-21"
},{ },{
title:"于贵平主持召开第9次周调度例会", title:"全市公安系统功模代表座谈会召开",
times:"2022-08-21", imgs:"http://czga.langye.net/d/file/p/2022/08-24/31eb5aaea4cf6702f699a2f17e8eee88.jpg",
imgs:"https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg", url:"",
},{ time:"2022-08-21"
title:"于贵平主持召开第9次周调度例会", }],[{
times:"2022-08-21", title:"于贵平到高新区督导检查党的二十大安保调研指导公安工作",
imgs:"https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg", imgs:"http://czga.langye.net/d/file/p/2022/08-24/3b37b135aad8a23ca8b8d698400dad62.jpg",
},{ url:"",
title:"于贵平主持召开第9次周调度例会", time:"2022-08-24"
times:"2022-08-21", },{
imgs:"https://img11.360buyimg.com/n7/jfs/t1/94448/29/2734/524808/5dd4cc16E990dfb6b/59c256f85a8c3757.jpg", title:"陈志良到市公安局调研指导全国文明典范城市创建工作",
}],[],[''],[''],[''],[],[]] imgs:"http://czga.langye.net/d/file/p/2022/08-24/8add932b25cae61e29dba1dcc57702b0.jpg",
url:"",
time:"2022-08-21"
},{
title:"于贵平到经开区督导检查党的二十大安保调研指导公安工作",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/332b29eb92aebd076756b63aeefb8dce.jpg",
url:"",
time:"2022-08-21"
},{
title:"市公安局召开半年度全市公安工作推进会暨“一月一观摩”活动",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/88de79255eb9003cc81be1f085fe6597.jpg",
url:"",
time:"2022-08-21"
},{
title:"全市公安系统功模代表座谈会召开",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/31eb5aaea4cf6702f699a2f17e8eee88.jpg",
url:"",
time:"2022-08-21"
}],[{
title:"于贵平到高新区督导检查党的二十大安保调研指导公安工作",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/3b37b135aad8a23ca8b8d698400dad62.jpg",
url:"",
time:"2022-08-24"
},{
title:"陈志良到市公安局调研指导全国文明典范城市创建工作",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/8add932b25cae61e29dba1dcc57702b0.jpg",
url:"",
time:"2022-08-21"
},{
title:"于贵平到经开区督导检查党的二十大安保调研指导公安工作",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/332b29eb92aebd076756b63aeefb8dce.jpg",
url:"",
time:"2022-08-21"
},{
title:"市公安局召开半年度全市公安工作推进会暨“一月一观摩”活动",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/88de79255eb9003cc81be1f085fe6597.jpg",
url:"",
time:"2022-08-21"
},{
title:"全市公安系统功模代表座谈会召开",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/31eb5aaea4cf6702f699a2f17e8eee88.jpg",
url:"",
time:"2022-08-21"
}],[{
title:"于贵平到高新区督导检查党的二十大安保调研指导公安工作",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/3b37b135aad8a23ca8b8d698400dad62.jpg",
url:"",
time:"2022-08-24"
},{
title:"陈志良到市公安局调研指导全国文明典范城市创建工作",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/8add932b25cae61e29dba1dcc57702b0.jpg",
url:"",
time:"2022-08-21"
},{
title:"于贵平到经开区督导检查党的二十大安保调研指导公安工作",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/332b29eb92aebd076756b63aeefb8dce.jpg",
url:"",
time:"2022-08-21"
},{
title:"市公安局召开半年度全市公安工作推进会暨“一月一观摩”活动",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/88de79255eb9003cc81be1f085fe6597.jpg",
url:"",
time:"2022-08-21"
},{
title:"全市公安系统功模代表座谈会召开",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/31eb5aaea4cf6702f699a2f17e8eee88.jpg",
url:"",
time:"2022-08-21"
}],[{
title:"于贵平到高新区督导检查党的二十大安保调研指导公安工作",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/3b37b135aad8a23ca8b8d698400dad62.jpg",
url:"",
time:"2022-08-24"
},{
title:"陈志良到市公安局调研指导全国文明典范城市创建工作",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/8add932b25cae61e29dba1dcc57702b0.jpg",
url:"",
time:"2022-08-21"
},{
title:"于贵平到经开区督导检查党的二十大安保调研指导公安工作",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/332b29eb92aebd076756b63aeefb8dce.jpg",
url:"",
time:"2022-08-21"
},{
title:"市公安局召开半年度全市公安工作推进会暨“一月一观摩”活动",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/88de79255eb9003cc81be1f085fe6597.jpg",
url:"",
time:"2022-08-21"
},{
title:"全市公安系统功模代表座谈会召开",
imgs:"http://czga.langye.net/d/file/p/2022/08-24/31eb5aaea4cf6702f699a2f17e8eee88.jpg",
url:"",
time:"2022-08-21"
}]]
} }
}, },
methods: { methods: {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,3 +1,5 @@
const HOSTARR = { const HOSTARR = {
'development': 'http://czga.langye.net/e/extend/api/index.php', 'development': 'http://czga.langye.net/e/extend/api/index.php',
// 'development': 'http://patrol.115.langye.net', // 'development': 'http://patrol.115.langye.net',
@ -537,6 +539,26 @@ var Base64 = {
} }
}; };
const RQ = (pVar,pURL) => {
pURL = pURL || window.location.href;
try{
pURL=decodeURIComponent(pURL)
}catch(e){
}
var paraString = pURL.substring(pURL.indexOf("?") + 1, pURL.length).split("&");
var paraObj = {} //参数组
for (i = 0; j = paraString[i]; i++) {
paraObj[j.substring(0, j.indexOf("=")).toLowerCase()] = j.substring(j.indexOf("=") + 1, j.length);
}
var returnValue = paraObj[pVar.toLowerCase()];
if (typeof (returnValue) == "undefined") {
return "";
} else {
return returnValue;
}
}
module.exports = { module.exports = {
HOST: HOST, HOST: HOST,
formatTime: formatTime, formatTime: formatTime,
@ -560,5 +582,8 @@ module.exports = {
getUserInfo: getUserInfo, getUserInfo: getUserInfo,
toast: toast, toast: toast,
isValidCardID: isValidCardID, isValidCardID: isValidCardID,
RQ:RQ
}; };

Loading…
Cancel
Save