作者 乔爽

更新

{
"pages": [
"pages/myInform/myInform",
"pages/my/approveInfo/approveInfo",
"pages/myInform/myInform",
"pages/my/approve/approve",
"pages/matrix/article/article",
"pages/myComments/myComments",
... ... @@ -16,7 +17,6 @@
"pages/interact/interact",
"pages/my/myAttention/myAttention",
"pages/my/my",
"pages/matrix/article/article",
"pages/matrix/company/company",
"pages/attract/attract",
"pages/attract/detail/detail"
... ... @@ -36,13 +36,13 @@
"selectedIconPath": "images/02_nav_fill@2x.png"
},
{
"pagePath": "pages/matrix/matrix",
"pagePath": "pages/enterprise_q&a/enterprise_q&a",
"text": "政企互动",
"iconPath": "/images/03_nav@2x.png",
"selectedIconPath": "images/03_nav_fill@2x.png"
},
{
"pagePath": "pages/matrix/matrix",
"pagePath": "pages/my/my",
"text": "政企服务",
"iconPath": "/images/04_nav@2x.png",
"selectedIconPath": "images/04_nav_fill@2x.png"
... ...
... ... @@ -14,6 +14,11 @@ Page({
onLoad: function (options) {
},
btn_matrix(){
wx.navigateTo({
url: '/pages/matrix/article/article',
})
},
chooseLocation(){
wx.chooseLocation({
success: function(res) {},
... ...
... ... @@ -21,7 +21,7 @@
<!-- 新闻 -->
<view class='news_detail_container'>
<view class='news_detail_items'>
<view class='news_detail_item'>
<view class='news_detail_item ' bindtap='btn_matrix'>
<view class='new_info'>
<view class='new_title'>市国土管局关于同意西青李七庄街天骄北道侧工业地块农用地转用土地征收实施方案的函</view>
... ...
... ... @@ -4,7 +4,16 @@ Page({
* 页面的初始数据
*/
data: {
navbar: [{
name: '企业问答'
},
{
name: '企话吧'
}
],
currentTab: 0,
},
/**
... ... @@ -13,6 +22,22 @@ Page({
onLoad: function (options) {
},
navbarTap: function (e) {
console.log(88)
let that = this;
this.setData({
currentTab: e.currentTarget.dataset.idx,
})
},
jump(){
wx.navigateTo({
url: '',
})
wx.switchTab({
url: '',
})
},
/**
* 生命周期函数--监听页面初次渲染完成
... ...
... ... @@ -2,13 +2,19 @@
<view class='container'>
<view class='top'>
<!-- <view class='top'>
<view class='top_left'>企业问答</view>
<view class='top_right'>企话吧</view>
</view> -->
<view class="nav mainindex_nav top">
<view wx:for="{{navbar}}" data-idx="{{index}}" class="nav_item {{currentTab==index ? 'active' : ''}}" wx:key="unique" bindtap="navbarTap" data-categoryid="{{item.id}}">{{item.name}}
</view>
</view>
<!-- 企业问答 -->
<view class='box_left' style='display:block'>
<view class='mid'>
<view class='box_left' wx:if="{{currentTab==0}}">
<view class='mid' bindtap="jump">
<view class='mid_item'>
<!-- 左边感叹号 -->
<view class='mid_item_left'>
... ... @@ -109,7 +115,7 @@
</view>
<!-- 企话吧 -->
<view class='box_right' style='display:none'>
<view class='box_right' wx:if="{{currentTab==1}}">
<view class='mid'>
<!-- 标题 -->
<view class='mid_title'>
... ... @@ -136,6 +142,19 @@
<view class='mid_item_text'>
新个人所得税法近日备受关注。关于个人所得税,想必大家都十分关心,让我们通过以下问题!
</view>
<!-- 图片 -->
<view class='mid_pic_box'>
<view class='mid_pic_box_item'>
<image src='../../images/weirenzheng@3x.png'></image>
</view>
<view class='mid_pic_box_item'>
<image src='../../images/weirenzheng@3x.png'></image>
</view>
<view class='mid_pic_box_item'>
<image src='../../images/weirenzheng@3x.png'></image>
</view>
</view>
<!-- 底部 -->
<view class='mid_item_like'>
<view class='mid_item_like_left'>
... ... @@ -190,6 +209,19 @@
<view class='mid_item_text'>
新个人所得税法近日备受关注。关于个人所得税,想必大家都十分关心,让我们通过以下问题!
</view>
<!-- 图片 -->
<view class='mid_pic_box'>
<view class='mid_pic_box_item'>
<image src='../../images/weirenzheng@3x.png'></image>
</view>
<view class='mid_pic_box_item'>
<image src='../../images/weirenzheng@3x.png'></image>
</view>
<view class='mid_pic_box_item'>
<image src='../../images/weirenzheng@3x.png'></image>
</view>
</view>
<!-- 底部 -->
<view class='mid_item_like'>
<view class='mid_item_like_left'>
... ...
... ... @@ -7,12 +7,33 @@ page{
flex-flow: column;
}
.nav_item{
width: 169rpx;
text-align: center
}
.active{
color: #169BD5;
position: relative;
}
.active:before{
content: "";
width: 169rpx;
height: 2px;
background: #169BD5;
position: absolute;
bottom: 0;
left:0;
right:0;
}
.top{
width: 100%;
height: 80rpx;
line-height: 80rpx;
display: flex;
justify-content: space-around;
justify-content: space-between;
font-size:26rpx;
font-family:PingFang SC;
... ... @@ -20,6 +41,10 @@ page{
color: #999999;
background: #fff;
opacity:1;
box-sizing: border-box;
padding: 0 150rpx;
position: fixed;
z-index: 999;
}
.top_left{
width: 169rpx;
... ... @@ -28,7 +53,6 @@ page{
text-align: center;
}
.mid{
margin-top: 16rpx;
width: 100%;
display: flex;
align-items: center;
... ... @@ -286,3 +310,25 @@ page{
.mid_item_bottom view:last-child{
margin-top: 10rpx;
}
.box_left{
margin-top: 96rpx;
}
.box_right{
margin-top: 96rpx;
}
.mid_pic_box{
display: flex;
flex-wrap: wrap;
}
.mid_pic_box_item{
width:218rpx;
height:218rpx;
margin-right: 10rpx;
background:rgba(0,0,0,0);
opacity:1;
display: flex;
}
.mid_pic_box_item image{
width: 100%;
height: 100%;
}
\ No newline at end of file
... ...
... ... @@ -14,6 +14,11 @@ Page({
onLoad: function (options) {
},
btn_approve() {
wx.navigateTo({
url: '/pages/my/approveInfo/approveInfo',
})
},
/**
* 生命周期函数--监听页面初次渲染完成
... ...
... ... @@ -50,4 +50,4 @@
</view>
</view>
<view class='bottom_btn'>认证</view>
\ No newline at end of file
<view class='bottom_btn' bindtap='btn_approve'>认证</view>
\ No newline at end of file
... ...
... ... @@ -14,6 +14,13 @@ Page({
onLoad: function (options) {
},
post_btn() {
wx.navigateTo({
url: '/pages/interact/interactPost/interactPost',
})
},
/**
* 生命周期函数--监听页面初次渲染完成
... ...
... ... @@ -9,7 +9,7 @@
<view class='list_content'>
<view class='list_info'>提交成功!</view>
<view>您已成功提交企业资料,待平台审核...</view>
<view class='list_btn list_active' bindtap='myInfo'>发表帖子</view>
<view class='list_btn list_active' bindtap='post_btn'>发表帖子</view>
<view class='list_btn ' bindtap='goHome'>返回首页</view>
</view>
</view>
\ No newline at end of file
... ...
... ... @@ -5,7 +5,7 @@ Page({
* 页面的初始数据
*/
data: {
status:false
},
/**
... ... @@ -14,7 +14,44 @@ Page({
onLoad: function (options) {
},
open_btn() {
wx.navigateTo({
url: '/pages/my/approve/approve',
})
this.setData({
status:true
})
},
btn_post() {
wx.navigateTo({
url: '../myPost/myPost',
})
},
btn_attention() {
wx.navigateTo({
url: '/pages/my/myAttention/myAttention',
})
},
btn_like() {
wx.navigateTo({
url: '/pages/myLike/myLike',
})
},
btn_comment() {
wx.navigateTo({
url: '/pages/myComments/myComments',
})
},
btn_inform() {
wx.navigateTo({
url: '/pages/myInform/myInform',
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
... ...
... ... @@ -15,17 +15,17 @@
</view>
</view>
<!-- -->
<view class='content_box' wx:if=''>
<view class='item_list' bindtap='TB'>
<view class='content_box' wx:if='{{status}}'>
<view class='item_list' bindtap='TB' bindtap="btn_post">
<view class='list_icon'>
<text class='iconfont icon-wodetiezi'></text>
</view>
<view class='list_item_box'>
<view>我的帖子</view>
<view >我的帖子</view>
<view class='iconfont icon-go'></view>
</view>
</view>
<view class='item_list' bindtap='vipCharge'>
<view class='item_list' bindtap='vipCharge' bindtap="btn_attention">
<view class='list_icon'>
<text class='iconfont icon-xing'></text>
</view>
... ... @@ -34,7 +34,7 @@
<text class='iconfont icon-go'></text>
</view>
</view>
<view class='item_list' bindtap='reportList'>
<view class='item_list' bindtap='reportList' bindtap='btn_like'>
<view class='list_icon'>
<text class='iconfont icon-zan21'></text>
</view>
... ... @@ -43,7 +43,7 @@
<view class='iconfont icon-go'></view>
</view>
</view>
<view class='item_list' bindtap='reportList'>
<view class='item_list' bindtap='reportList' bindtap='btn_comment'>
<view class='list_icon'>
<text class='iconfont icon-pinglun1'></text>
</view>
... ... @@ -52,7 +52,7 @@
<view class='iconfont icon-go'></view>
</view>
</view>
<view class='item_list' bindtap='articlList'>
<view class='item_list' bindtap='articlList' bindtap='btn_inform'>
<view class='list_icon'>
<text class='iconfont icon-tongzhi'></text>
</view>
... ... @@ -65,10 +65,10 @@
</view>
</view>
</view>
<view class='null_data_box'>
<view class='null_data_box' wx:else>
<view class='data_box'>
<image src='/images/weirenzheng@2x.png'></image>
<view class='list_btn'>开通企业认证 ></view>
<view class='list_btn' bindtap='open_btn'>开通企业认证 ></view>
<view> ~~ 企业认证后开启更多服务 ~~</view>
</view>
</view>
\ No newline at end of file
... ...
... ... @@ -3,107 +3,7 @@
<!-- 企业问答 -->
<view class='box_left' style='display:none'>
<view class='mid'>
<view class='mid_item'>
<!-- 左边感叹号 -->
<view class='mid_item_left'>
<image src='../../images/tishi@3x.png'></image>
</view>
<!-- 右边标题 -->
<view class='mid_item_right'>
<view class='mid_item_right_top'>
校区门口停车难,镇政府是否可协调交管局规划车位,方便学生家长停车?
<view class='mid_label'>
<image src='../../images/huifujishi@3x.png'></image>
</view>
</view>
<view class='mid_item_right_bottom'>
发布时间: 07-21 21:00
</view>
<!-- 回复 -->
<view class='response_box'>
<!-- 回复内容 -->
<view class='mid_item_right_response'>
<text class='color_blue'>回复:</text>
贵单位的问题已反应到相关单位,具体实施方案将在7个工作日内反馈
</view>
<!-- 回复时间 -->
<view class='mid_item_right_bottom'>
回复时间:07-21 21:00
</view>
</view>
</view>
</view>
<view class='mid_item'>
<!-- 左边感叹号 -->
<view class='mid_item_left'>
<image src='../../images/tishi@3x.png'></image>
</view>
<!-- 右边标题 -->
<view class='mid_item_right'>
<view class='mid_item_right_top'>
校区门口停车难,镇政府是否可协调交管局规划车位,方便学生家长停车?
<view class='mid_label'>
<image src='../../images/huifuyiban@3x.png'></image>
</view>
</view>
<view class='mid_item_right_bottom'>
发布时间:07-21 21:00
</view>
<!-- 回复 -->
<view class='response_box'>
<!-- 回复内容 -->
<view class='mid_item_right_response'>
<text class='color_blue'>回复:</text>
贵单位的问题已反应到相关单位,具体实施方案将在7个工作日内反馈
</view>
<!-- 回复时间 -->
<view class='mid_item_right_bottom'>
回复时间:07-21 21:00
</view>
</view>
</view>
</view>
<view class='mid_item'>
<!-- 左边感叹号 -->
<view class='mid_item_left'>
<image src='../../images/tishi@3x.png'></image>
</view>
<!-- 右边标题 -->
<view class='mid_item_right'>
<view class='mid_item_right_top'>
校区门口停车难,镇政府是否可协调交管局规划车位,方便学生家长停车?
<view class='mid_label'>
<image src='../../images/huifuzhihuan @3x.png'></image>
</view>
</view>
<view class='mid_item_right_bottom'>
发布时间:07-21 21:00
</view>
<!-- 等待回复 -->
<view class='waiting_response'>
等待回复中.....
</view>
</view>
</view>
</view>
<!-- 提问 -->
<view class='bottom'>
<view class='bottom_question'>
提问
</view>
</view>
</view>
<!-- 企话吧 -->
<view class='box_right'>
... ... @@ -178,20 +78,20 @@
<view class='mid_item_like_right'>
<!-- 点赞 -->
<view class='mid_like color_blue'>
<image src='../../images/thumb-up-button@3x.png'></image>
<view class='mid_like '>
<image src='../../images/zan@3x.png'></image>
</view>
<!-- 数量 -->
<view class='mid_number color_blue'>
<view class='mid_number '>
46
</view>
<!-- 点赞 -->
<!-- 消息 -->
<view class='mid_like'>
<image src='../../images/pinglun@3x.png'></image>
<image src='../../images/pinglun_fill@3x.png'></image>
</view>
<!-- 数量 -->
<view class='mid_number'>
<view class='mid_number color_blue'>
46
</view>
</view>
... ...