|
@@ -1,5 +1,59 @@
|
|
<mobile-main frameStyle="{{frameStyle}}" bind:tabPath="tabPath">
|
|
<mobile-main frameStyle="{{frameStyle}}" bind:tabPath="tabPath">
|
|
<view slot="info" class="container main">
|
|
<view slot="info" class="container main">
|
|
- 资讯
|
|
|
|
|
|
+ <view class="zero one">
|
|
|
|
+ <e-tabs tabs="{{tabs}}" bind:tabsChange="tabsChange"></e-tabs>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="zero two">
|
|
|
|
+ <view class="a" wx:if="{{tabs.active=='0'}}">
|
|
|
|
+ <view class="two_1">
|
|
|
|
+ <input type="text" value="{{searchInfo.title}}" bindconfirm="onSearch" placeholder="请输入关键词" />
|
|
|
|
+ </view>
|
|
|
|
+ <view class="two_2">
|
|
|
|
+ <scroll-view scroll-y="true" class="scroll-view">
|
|
|
|
+ <view class="list-scroll-view">
|
|
|
|
+ <view class="list" wx:for="{{list}}" wx:key="item" bindtap="toView" data-id="{{item._id}}">
|
|
|
|
+ <view class="list_1">
|
|
|
|
+ <view class="name">{{item.title}}</view>
|
|
|
|
+ <view class="brief">{{item.brief}}</view>
|
|
|
|
+ <view class="other">
|
|
|
|
+ <text>{{typeList[item.type].label||'未知'}}</text>
|
|
|
|
+ <text>来源:{{item.origin}}</text>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="list_2">
|
|
|
|
+ <!-- <image class="image" src="{{item.home_url&&item.home_url.length>0?item.home_url[0].url:''}}"></image> -->
|
|
|
|
+ <image class="image" src="/image/lingdang.png"></image>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </scroll-view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="a" wx:elif="{{tabs.active=='1'}}">
|
|
|
|
+ <view class="two_1">
|
|
|
|
+ <input type="text" value="{{searchInfo.name}}" bindconfirm="onSearch" placeholder="请输入关键词" />
|
|
|
|
+ </view>
|
|
|
|
+ <view class="two_2">
|
|
|
|
+ <scroll-view scroll-y="true" class="scroll-view">
|
|
|
|
+ <view class="list-scroll-view">
|
|
|
|
+ <view class="list" wx:for="{{list}}" wx:key="item" bindtap="toView" data-id="{{item._id}}">
|
|
|
|
+ <view class="list_1">
|
|
|
|
+ <view class="name">{{item.title}}</view>
|
|
|
|
+ <view class="brief">{{item.brief}}</view>
|
|
|
|
+ <view class="other">
|
|
|
|
+ <text>{{typeList[item.type].label||'暂无'}}</text>
|
|
|
|
+ <text>来源:{{item.origin}}</text>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="list_2">
|
|
|
|
+ <!-- <image class="image" src="{{item.home_url&&item.home_url.length>0?item.home_url[0].url:''}}"></image> -->
|
|
|
|
+ <image class="image" src="/image/lingdang.png"></image>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </scroll-view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
</mobile-main>
|
|
</mobile-main>
|