@@ -1,9 +1,9 @@
{
"pages": [
+ "pages/index/index",
"pages/ZCWDK/index/index",
"pages/ZCWDK/add/add",
"pages/nais/nais",
- "pages/index/index",
"pages/dataCenterZWTJ/dataCenterZWTJ",
"pages/login/login",
"pages/ourCanteen/ourCanteen",
@@ -17,7 +17,6 @@
"pages/publics/publics",
"pages/dataCenter/dataCenter",
"pages/dataCenterXXTJ/dataCenterXXTJ",
-
"pages/ZCWDK/info/info",
"pages/yxnaJfq/yxnaJfq",
"pages/yxnaJfh/yxnaJfh",
@@ -9,13 +9,13 @@ Page({
* 页面的初始数据
*/
data: {
- imgUrl: imgUrl,
- defaultSearch:{
- name:"全部",
- id:""
- },
- searchItems:[{name:"全部",id:""},{name:"区教委",id:""},{name:"区科技局",id:""},{name:"区经济信息委",id:""},{name:"区民政局",id:""}],
- showModal: false,
+ imgUrl: imgUrl,
+ defaultSearch:{
+ name:"全部",
+ id:""
+ },
+ searchItems:[{name:"全部",id:""},{name:"区教委",id:""},{name:"区科技局",id:""},{name:"区经济信息委",id:""},{name:"区民政局",id:""}],
+ showModal: false,
},
/**
@@ -88,5 +88,15 @@ Page({
wx.navigateTo({
url: "/pages/ZCWDK/info/info",
})
- }
+ back(){
+ wx.navigateBack({
+ delta: 1
+ });
+ askQuestion(){
+ wx.navigateTo({
+ url: '/pages/ZCWDK/add/add',
+ })
+ }
@@ -1,6 +1,6 @@
"navigationStyle": "custom",
"usingComponents": {
+ "t-icon": "tdesign-miniprogram/icon/icon"
}
@@ -1,9 +1,18 @@
<!--pages/ZCWDK/index/index.wxml-->
<view>
<!-- <image src="{{imgUrl}}/wdkbg.png"></image> -->
+
<view class="head" style="background-image: url({{imgUrl}}/wdkbg.png);">
- <view class="navTitle"></view>
+ <view class="navTitle">
+ <t-icon name="chevron-left" size="68rpx" data-name="chevron-left" bind:click="back" />
+ <view class="title" style="float: left;">政策问答库</view>
+ </view>
+ <view class="ttp">
+ <view class="tw" bindtap="askQuestion">
+ <text>我要</text>
+ <text>提问</text>
<view class="logo">
<image src="{{imgUrl}}/wdklogo.png"></image>
<text>共计问答数:6526</text>
@@ -13,10 +22,7 @@
<input class="inputText"/>
<image src="{{imgUrl}}/wdksearchIcon.png" class="serachIcon"></image>
</view>
- <view class="tw">
- <text>我要</text>
- <text>提问</text>
- </view>
<view class="body">
<view class="title">
@@ -8,7 +8,27 @@ page{
.navTitle{
width: 100%;
height: 130rpx;
- margin-bottom: 70rpx;
+ margin-bottom: 20rpx;
+}
+.navTitle t-icon{
+ width: 48rpx;
+ float: left;
+ margin-top: 50rpx;
+ margin-left: 20rpx;
+ height: 130rpx;
+ line-height: 130rpx;
+ text-align: center;
+ color: #fff;
+.navTitle .title{
+ width: 600rpx;
+ font-size: 36rpx;
+ font-family: PingFang SC;
+ font-weight: 400;
+ color: #FFFFFF;
.head{
@@ -20,13 +40,13 @@ page{
.logo{
margin: 0 auto;
- width: 80%;
- height: 70rpx;
+ width: 60%;
+ height: 50rpx;
.logo image{
.logo text{
font-size: 30rpx;
@@ -81,10 +101,12 @@ page{
.serachItems{
height: 700rpx;
- margin-top: -60rpx;
+ margin-top: 460rpx;
background: #fff;
padding-top: 20rpx;
position: fixed;
+ top: 0;
+ left: 0;
z-index: 9999;
@@ -194,12 +216,26 @@ page{
transform: translateX(3rpx);
+.ttp{
+ width: 100%;
+ height: 80rpx;
.tw{
width: 138rpx;
height: 80rpx;
background: #CCA65E;
color: #fff;
+ border-radius: 80rpx 0 0 80rpx;
+ padding-top: 10rpx;
+ float: right;
+.tw text{
+ display: block;
+ margin-left: 40rpx;
+ font-size: 24rpx;
@@ -7,7 +7,15 @@ Page({
+ searchItems:[
+ {name:"全部",id:""},
+ {name:"区教委",id:""},{name:"区科技局",id:""},{name:"区经济信息委",id:""},{name:"区民政局",id:""}],
@@ -64,5 +72,26 @@ Page({
onShareAppMessage() {
+ selectType(){
+ this.setData({
+ showModal: !this.data.showModal
+ closedlg(){
+ showModal: false
@@ -2,6 +2,7 @@
"t-tabs": "tdesign-miniprogram/tabs/tabs",
- "t-tab-panel": "tdesign-miniprogram/tabs/tab-panel"
+ "t-tab-panel": "tdesign-miniprogram/tabs/tab-panel",
-}
@@ -1,7 +1,16 @@
<!--pages/ZCWDK/info/info.wxml-->
@@ -4,10 +4,30 @@ page{
background: #F5F5F5 ;
- width: 100%;
- height: 130rpx;
+ .navTitle t-icon{
+ .navTitle .title{
@@ -15,27 +35,32 @@ page{
background-repeat: no-repeat;
background-size: 100% 100%;
+.title{
+ height: 73rpx;
+ margin-top: 20rpx;
+ margin-bottom: 12rpx;
- margin: 0 auto;
-.logo image{
-.logo text{
- font-size: 30rpx;
- font-family: PingFang SC;
- font-weight: 400;
- color: #FFFFFF;
- opacity: 0.6;
- display: block;
- text-align: center;
+ margin: 0 auto;
+ .logo image{
+ .logo text{
+ font-size: 30rpx;
+ opacity: 0.6;
.searchBox{
width: 90%;
@@ -66,25 +91,27 @@ page{
/* 遮罩层 */
.mask {
- height: 100%;
- position: fixed;
- top: 0;
- left: 0;
- background: #000;
- z-index: 9000;
- opacity: 0.5;
-.serachItems{
- height: 700rpx;
- background: #fff;
- padding-top: 20rpx;
- z-index: 9999;
+ height: 100%;
+ position: fixed;
+ background: #000;
+ z-index: 9000;
+ opacity: 0.5;
+ .serachItems{
+ height: 700rpx;
+ background: #fff;
+ padding-top: 20rpx;
+ z-index: 9999;
.serachItems scroll-view{
@@ -254,4 +281,27 @@ page{
margin-top: 70rpx;
margin-left: 30rpx;
+.tw{
+ width: 138rpx;
+ background: #CCA65E;
@@ -508,5 +508,15 @@ Page({
+ gotoZWTJ(){
+ url: '/pages/dataCenterZWTJ/dataCenterZWTJ',
+ gotoXXTJ(){
+ url: '/pages/dataCenterXXTJ/dataCenterXXTJ',
@@ -27,7 +27,7 @@
<!-- 政务服务数据统计分析 -->
- <view style="background-color: #FFFFFF;margin-top: 30rpx;">
+ <view style="background-color: #FFFFFF;margin-top: 30rpx;" bindtap="gotoZWTJ">
<view style="border-bottom: 1px solid #C5C5C5;">
<image src="{{imgUrl}}riseData.png"></image>
@@ -196,7 +196,7 @@
<!-- 本年度公开信息办理情况 -->
+ <view style="background-color: #FFFFFF;margin-top: 30rpx;" bindtap="gotoXXTJ">
<image src="{{imgUrl}}processing.png"></image>
@@ -584,5 +584,15 @@ mediaBindChange: function( e ) {
url: '/pages/yxnaQxn/yxnaQxn',
+ gotoSjzx(){
+ url: '/pages/dataCenter/dataCenter',
@@ -138,7 +138,7 @@
<!-- 数据中心 -->
<view class="data-center-contain">
<!-- 标题 -->
- <view class="data-center-title">
+ <view class="data-center-title" bindtap="gotoSjzx">
<view style="display:flex;align-items:center;justify-content:center;">
<image src="{{imgUrl}}index-data-center.png" style="height: 50rpx;width: 56rpx"></image>
@@ -149,7 +149,7 @@
<view class="center-analysis" style="height:272rpx;width:100%;position:relative;">
<!-- 分析header -->
<view
- style="margin-top:15rpx;height: 129rpx;width:100%;display:flex;align-items:center;justify-content:center;">
+ style="margin-top:15rpx;height: 129rpx;width:100%;display:flex;align-items:center;justify-content:center;" bindtap="gotoZWTJ">
<image src="{{ imgUrl }}index-center-analysis-header.png" style="height: 129rpx;width:650rpx"></image>
<!-- 分析入口 -->
@@ -1,4 +1,5 @@
+ "navigationStyle":"custom",
@@ -69,7 +69,7 @@
<view class="list cont-width">
<view class="list-nav">
- <view class="list-item" bindtap="navto">
+ <view class="list-item" bindtap="toCanteen">
<view class="left">
<image src="../images/l-grzl.png" alt=""></image>
<text>我们的食堂</text>
@@ -9,7 +9,7 @@
.head-bg {
- height: 300rpx;
+ height: 400rpx;
background-image:url(https://s1.ax1x.com/2022/10/13/xaoji9.png);
display: flex;
@@ -136,5 +136,10 @@ Page({
+ gotoZXWDK(){
+ url: '/pages/ZCWDK/index/index',
@@ -98,7 +98,7 @@
<swiper display-multiple-items="2" autoplay="{{false}}" style="padding: 0 10px;height: 400rpx;;">
<block wx:for="{{topics}}" wx:key="*this">
<swiper-item>
- <image src="{{imgUrl}}{{item}}" style="width: 327rpx;height: 227rpx;"></image>
+ <image src="{{imgUrl}}{{item}}" bindtap="gotoZXWDK" style="width: 327rpx;height: 227rpx;"></image>
</swiper-item>
</block>
</swiper>