From 43a0780edd2db8e841325cb73032e819716c3595 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期三, 10 八月 2022 09:27:59 +0800
Subject: [PATCH] 智能咨询模块、台账模块
---
pages/module_consult/consulthome/consulthome.wxml | 25 +++++++++++++++++++------
1 files changed, 19 insertions(+), 6 deletions(-)
diff --git a/pages/module_consult/consulthome/consulthome.wxml b/pages/module_consult/consulthome/consulthome.wxml
index 9d0ed1b..f6cb68b 100644
--- a/pages/module_consult/consulthome/consulthome.wxml
+++ b/pages/module_consult/consulthome/consulthome.wxml
@@ -8,21 +8,21 @@
</view>
<view class="page__bd">
<view class="flex-h">
- <view class="card">
+ <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">
+ <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">
+ <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>
@@ -34,11 +34,11 @@
<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>
@@ -48,6 +48,19 @@
<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">{{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>
--
Gitblit v1.9.3