| | |
| | | <!--pages/module_consult/consulthome/consulthome.wxml--> |
| | | <view class="page"> |
| | | <view class="page__hd"> |
| | | <view class="search-bar" bindtap="search"> |
| | | <view class="search-bar" bindtap="gotoSearch"> |
| | | <mp-icon icon="search" size="15" color="black"></mp-icon> |
| | | <text>{{searchTips}}</text> |
| | | </view> |
| | | </view> |
| | | <view class="page__bd"> |
| | | <view class="flex-h"> |
| | | <view class="card"> |
| | | <image src="/res/icons/con_pro_bg.png" class="card-bg" mode="scaleToFill"/> |
| | | <view class="card" bindtap="goto" data-index="0"> |
| | | <image src="/res/icons/con_pro_bg.png" class="card-bg" mode="scaleToFill" /> |
| | | <view class="card-title">常见问题</view> |
| | | <view class="card-abstract">常见企业环保问题</view> |
| | | <image src="/res/icons/con_pro.png" mode="aspectFit" class="icon"></image> |
| | | </view> |
| | | <view class="divider"></view> |
| | | <view class="card middle"> |
| | | <image src="/res/icons/con_lib_bg.png" class="card-bg" mode="scaleToFill"/> |
| | | <view class="card middle" bindtap="goto" data-index="1"> |
| | | <image src="/res/icons/con_lib_bg.png" class="card-bg" mode="scaleToFill" /> |
| | | <view class="card-title">环保知识库</view> |
| | | <view class="card-abstract">环保法律法规</view> |
| | | <image src="/res/icons/con_lib.png" mode="aspectFit" class="icon"></image> |
| | | </view> |
| | | <view class="divider"></view> |
| | | <view class="card"> |
| | | <image src="/res/icons/con_qa_bg.png" class="card-bg" mode="scaleToFill"/> |
| | | <view class="card" bindtap="goto" data-index="2"> |
| | | <image src="/res/icons/con_qa_bg.png" class="card-bg" mode="scaleToFill" /> |
| | | <view class="card-title">智能咨询</view> |
| | | <view class="card-abstract">环保专家 在线咨询</view> |
| | | <image src="/res/icons/con_qa.png" mode="aspectFit" class="icon"></image> |
| | |
| | | <view class="fyui-cell__bd">热门</view> |
| | | <view class="fyui-cell__ft">更多</view> |
| | | </view> |
| | | <view wx:for="{{hotTopics}}" wx:key="index"> |
| | | <view class="fyui-box fyui-box__text"> |
| | | <view wx:for="{{hotTopics}}" wx:key="index" data-index="{{index}}" bindtap="gotoDetail"> |
| | | <!-- <view class="fyui-box fyui-box__text"> |
| | | <view class="fyui-box__hd"> |
| | | <text class="" wx:for="{{item.tags}}" wx:key="i" data-index="i" wx:for-item="tag">{{tag}}</text> |
| | | {{item.title}} |
| | | {{item.name}} |
| | | </view> |
| | | <view class="fyui-box__bd"> |
| | | <view class="fyui-box__content">{{item.abstract}}</view> |
| | |
| | | <view>{{item.time}}</view> |
| | | <view>{{item.author}}</view> |
| | | </view> |
| | | </view> --> |
| | | <view class="fyui-box fyui-box__text"> |
| | | <view class="fyui-box__hd"> |
| | | {{item.name}} |
| | | </view> |
| | | <view class="fyui-box__bd"> |
| | | <view class="fyui-box__content tag">相关行业 -> {{item.fileIndustry}}</view> |
| | | <view class="fyui-box__content des">{{item.des}}</view> |
| | | </view> |
| | | <view class="fyui-box__ft"> |
| | | <text class="keyword">关键词:</text> |
| | | <view class="keyword-item"> |
| | | <text wx:for="{{item.keywords}}" wx:for-index="i" wx:for-item="word" wx:key="i">{{word}}</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | |