|
|
<scroll-view wx:if='{{auth=="2"}}' style='height:{{winHeight}}px' scroll-y="true">
|
|
|
<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>
|
|
|
<scroll-view wx:if='{{auth=="2"}}' style='height:{{winHeight}}px' scroll-y="true">
|
|
|
|
|
|
<view class="none-box" hidden="{{!ifData}}">
|
|
|
<view>暂无相关咨询</view>
|
|
|
<view class="none-box" hidden="{{!ifData}}">
|
|
|
<view>暂无相关咨询</view>
|
|
|
</view>
|
|
|
<view class='box_left' wx:if="{{currentTab==0}}" >
|
|
|
<view class='mid' bindtap="jump" hidden='{{ifData}}'>
|
|
|
<view class='mid_item' wx:for='{{zixunList}}' wx:key=''>
|
|
|
<view class='mid_item_left'>
|
|
|
<image src='../../images/tishi@3x.png'></image>
|
|
|
</view>
|
|
|
<view class='mid_item_right'>
|
|
|
<view class='mid_item_right_top'>
|
|
|
{{item.question}}?
|
|
|
<view class='mid_label' hidden='{{item.show}}'>
|
|
|
<image src='../../images/huifujishi@3x.png' wx:if="{{item.state==1}}"></image>
|
|
|
<image src='../../images/huifuyiban@3x.png' wx:elif='{{item.state==2}}'></image>
|
|
|
<image src='../../images/huifuzhihuan @3x.png' wx:elif='{{item.state==3}}'></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class='mid_item_right_bottom'>
|
|
|
发布时间: {{item.create_time_text}}
|
|
|
</view>
|
|
|
<!-- 回复 -->
|
|
|
<view class='response_box' hidden='{{item.state==0}}'>
|
|
|
<!-- 回复内容 -->
|
|
|
<view class='mid_item_right_response'>
|
|
|
<text class='color_blue'>回复:</text> {{item.reply}}
|
|
|
<view class='box_left' wx:if="{{currentTab==0}}">
|
|
|
<view class='mid' bindtap="jump" hidden='{{ifData}}'>
|
|
|
<view class='mid_item' wx:for='{{zixunList}}' wx:key=''>
|
|
|
<view class='mid_item_left'>
|
|
|
<image src='../../images/tishi@3x.png'></image>
|
|
|
</view>
|
|
|
<view class='mid_item_right'>
|
|
|
<view class='mid_item_right_top'>
|
|
|
{{item.question}}?
|
|
|
<view class='mid_label' hidden='{{item.is_show_state}}'>
|
|
|
<image src='../../images/huifujishi@3x.png' wx:if="{{item.state==1}}"></image>
|
|
|
<image src='../../images/huifuyiban@3x.png' wx:elif='{{item.state==2}}'></image>
|
|
|
<image src='../../images/huifuzhihuan @3x.png' wx:elif='{{item.state==3}}'></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 回复时间 -->
|
|
|
<view class='mid_item_right_bottom'>
|
|
|
回复时间:{{item.reply_time_text}}
|
|
|
发布时间: {{item.create_time_text}}
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class='waiting_response' hidden='{{item.state!=0}}'>
|
|
|
等待回复中.....
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<!-- 提问 -->
|
|
|
<view class='bottom' hidden='{{show}}'>
|
|
|
<view class='bottom_question' bindtap='askQuestion'>
|
|
|
提问
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 企话吧 -->
|
|
|
<view class='box_right' wx:if="{{currentTab==1}}">
|
|
|
<view class='mid'>
|
|
|
<!-- 标题 -->
|
|
|
<view class='mid_title'>
|
|
|
有一条新评论 >
|
|
|
</view>
|
|
|
<!-- 条目 -->
|
|
|
<view class='mid_item'>
|
|
|
<view class='mid_item_top'>
|
|
|
<view class='mid_item_top_left'>
|
|
|
<!-- 图片 -->
|
|
|
<view class='mid_item_top_left_pic'>
|
|
|
<image src='../../images/03_nav@2x.png'></image>
|
|
|
<!-- 回复 -->
|
|
|
<view class='response_box' hidden='{{item.state==0}}'>
|
|
|
<!-- 回复内容 -->
|
|
|
<view class='mid_item_right_response'>
|
|
|
<text class='color_blue'>回复:</text> {{item.reply}}
|
|
|
</view>
|
|
|
<!-- 回复时间 -->
|
|
|
<view class='mid_item_right_bottom'>
|
|
|
回复时间:{{item.reply_time_text}}
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 文字 -->
|
|
|
<view class='mid_item_top_left_text'>
|
|
|
金沃斯英语在线教育
|
|
|
<view class='waiting_response' hidden='{{item.state!=0}}'>
|
|
|
等待回复中.....
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class='mid_item_top_right'>
|
|
|
15分钟前
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 文字内容 -->
|
|
|
<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'>
|
|
|
删除
|
|
|
</view>
|
|
|
|
|
|
<view class='mid_item_like_right'>
|
|
|
<!-- 点赞 -->
|
|
|
<view class='mid_like color_blue'>
|
|
|
<image src='../../images/thumb-up-button@3x.png'></image>
|
|
|
</view>
|
|
|
<!-- 数量 -->
|
|
|
<view class='mid_number color_blue'>
|
|
|
46
|
|
|
</view>
|
|
|
|
|
|
<!-- 点赞 -->
|
|
|
<view class='mid_like'>
|
|
|
<image src='../../images/pinglun@3x.png'></image>
|
|
|
</view>
|
|
|
<!-- 数量 -->
|
|
|
<view class='mid_number'>
|
|
|
46
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<!-- 提问 -->
|
|
|
<view class='bottom' hidden='{{show}}'>
|
|
|
<view class='bottom_question' bindtap='askQuestion'>
|
|
|
提问
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<!-- 条目 -->
|
|
|
<view class='mid_item'>
|
|
|
<view class='mid_item_top'>
|
|
|
<view class='mid_item_top_left'>
|
|
|
<!-- 图片 -->
|
|
|
<view class='mid_item_top_left_pic'>
|
|
|
<image src='../../images/03_nav@2x.png'></image>
|
|
|
</view>
|
|
|
<!-- 文字 -->
|
|
|
<view class='mid_item_top_left_text'>
|
|
|
金沃斯英语在线教育
|
|
|
<view class='icon_tm'>
|
|
|
<image src='../../images/guangfang@2x.png'></image>
|
|
|
</view>
|
|
|
<!-- 企话吧 -->
|
|
|
<view class='box_right' wx:if="{{currentTab==1}}">
|
|
|
<view class='mid'>
|
|
|
<!-- 标题 -->
|
|
|
<view class='mid_title'>
|
|
|
有一条新评论 >
|
|
|
</view>
|
|
|
<!-- 条目 -->
|
|
|
<view class='mid_item' wx:for='{{postList}}' wx:key=''>
|
|
|
<view class='mid_item_top'>
|
|
|
<view class='mid_item_top_left'>
|
|
|
<!-- 图片 -->
|
|
|
<view class='mid_item_top_left_pic'>
|
|
|
<image src='{{item.avatar||"../../images/03_nav@2x.png"}}'></image>
|
|
|
</view>
|
|
|
<!-- 文字 -->
|
|
|
<view class='mid_item_top_left_text'>
|
|
|
{{item.title}}
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class='mid_item_top_right'>
|
|
|
{{item.create_time_text}}
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class='mid_item_top_right'>
|
|
|
15分钟前
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 文字内容 -->
|
|
|
<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'>
|
|
|
删除
|
|
|
<!-- 文字内容 -->
|
|
|
<view class='mid_item_text'>
|
|
|
{{item.content}}
|
|
|
</view>
|
|
|
|
|
|
<view class='mid_item_like_right'>
|
|
|
<!-- 点赞 -->
|
|
|
<view class='mid_like color_blue'>
|
|
|
<image src='../../images/zan@3x.png'></image>
|
|
|
<!-- 图片 -->
|
|
|
<view class='mid_pic_box'>
|
|
|
<view class='mid_pic_box_item'>
|
|
|
<image src='../../images/weirenzheng@3x.png'></image>
|
|
|
</view>
|
|
|
<!-- 数量 -->
|
|
|
<view class='mid_number '>
|
|
|
46
|
|
|
<view class='mid_pic_box_item'>
|
|
|
<image src='../../images/weirenzheng@3x.png'></image>
|
|
|
</view>
|
|
|
|
|
|
<!-- 点赞 -->
|
|
|
<view class='mid_like'>
|
|
|
<image src='../../images/pinglun_fill@3x.png'></image>
|
|
|
<view class='mid_pic_box_item'>
|
|
|
<image src='../../images/weirenzheng@3x.png'></image>
|
|
|
</view>
|
|
|
<!-- 数量 -->
|
|
|
<view class='mid_number color_blue'>
|
|
|
46
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<!-- 条目 -->
|
|
|
<view class='mid_item'>
|
|
|
<view class='mid_item_top'>
|
|
|
<view class='mid_item_top_left'>
|
|
|
<!-- 图片 -->
|
|
|
<view class='mid_item_top_left_pic'>
|
|
|
<image src='../../images/03_nav@2x.png'></image>
|
|
|
</view>
|
|
|
<!-- 底部 -->
|
|
|
<view class='mid_item_like'>
|
|
|
<view class='mid_item_like_left' hidden='{{item.is_can_del=="0"}}' id='{{item.id}}' bindtap='delete'>
|
|
|
删除
|
|
|
</view>
|
|
|
<!-- 文字 -->
|
|
|
<view class='mid_item_top_left_text'>
|
|
|
金沃斯英语在线教育
|
|
|
<view class='icon_tm'>
|
|
|
<image src='../../images/guangfang@2x.png'></image>
|
|
|
<view class='mid_item_like_right'>
|
|
|
<!-- 点赞 -->
|
|
|
<view class='mid_like color_blue'>
|
|
|
<image src='../../images/thumb-up-button@3x.png'></image>
|
|
|
</view>
|
|
|
<!-- 数量 -->
|
|
|
<view class='mid_number color_blue'>
|
|
|
{{item.likes}}
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class='mid_item_top_right'>
|
|
|
15分钟前
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 文字内容 -->
|
|
|
<view class='mid_item_text'>
|
|
|
新个人所得税法近日备受关注。关于个人所得税,想必大家都十分关心,让我们通过以下问题!
|
|
|
</view>
|
|
|
<!-- 底部 -->
|
|
|
<view class='mid_item_like'>
|
|
|
<view class='mid_item_like_left'>
|
|
|
删除
|
|
|
</view>
|
|
|
|
|
|
<view class='mid_item_like_right'>
|
|
|
<!-- 点赞 -->
|
|
|
<view class='mid_like color_blue'>
|
|
|
<image src='../../images/zan@3x.png'></image>
|
|
|
</view>
|
|
|
<!-- 数量 -->
|
|
|
<view class='mid_number '>
|
|
|
46
|
|
|
<!-- 点赞 -->
|
|
|
<view class='mid_like'>
|
|
|
<image src='../../images/pinglun@3x.png'></image>
|
|
|
</view>
|
|
|
<!-- 数量 -->
|
|
|
<view class='mid_number'>
|
|
|
{{item.comment_count}}
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<!-- 点赞 -->
|
|
|
<view class='mid_like'>
|
|
|
<image src='../../images/pinglun@3x.png'></image>
|
|
|
</view>
|
|
|
<!-- 数量 -->
|
|
|
<view class='mid_number'>
|
|
|
46
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
<!-- 回复框 -->
|
|
|
<view class='mid_item_bottom'>
|
|
|
<view>
|
|
|
<span class='color_blue'>宏中科技</span>:非常实用!!!</view>
|
|
|
<view>
|
|
|
<span class='color_blue'>宏中科技</span>:非常实用!!!</view>
|
|
|
<view>
|
|
|
<span class='color_blue'>查看更多>></span>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</scroll-view>
|
|
|
</scroll-view>
|
|
|
|
|
|
|
|
|
<!-- 没有权限 -->
|
|
|
<view class='null_data_box' wx:else>
|
|
|
<view class='data_box'>
|
|
|
<image src='/images/weirenzheng@2x.png'></image>
|
|
|
<view class='list_btn' bindtap='open_btn' data-type='auth' bindtap='renzheng'>{{auth=='0'?'开通企业认证 >':auth=='1'?'企业认证中 请等待':""}}</view>
|
|
|
<view wx:if='{{auth=="0"}}'> ~~ 企业认证后开启更多服务 ~~</view>
|
|
|
</view>
|
|
|
</view> |
|
|
\ No newline at end of file |
|
|
<!-- 没有权限 -->
|
|
|
<view class='null_data_box' wx:else>
|
|
|
<view class='data_box'>
|
|
|
<image src='/images/weirenzheng@2x.png'></image>
|
|
|
<view class='list_btn' bindtap='open_btn' data-type='auth' bindtap='renzheng'>{{auth=='0'?'开通企业认证 >':auth=='1'?'企业认证中 请等待':""}}</view>
|
|
|
<view wx:if='{{auth=="0"}}'> ~~ 企业认证后开启更多服务 ~~</view>
|
|
|
</view>
|
|
|
</view> |
|
|
\ No newline at end of file |
...
|
...
|
|