init
This commit is contained in:
32
pages/tabpages/org/org.wxml
Normal file
32
pages/tabpages/org/org.wxml
Normal file
@@ -0,0 +1,32 @@
|
||||
<van-sticky>
|
||||
<!-- 搜索框 -->
|
||||
<van-search
|
||||
model:value="{{searchKey}}"
|
||||
input-align="center"
|
||||
use-action-slot
|
||||
placeholder="请输入搜索关键词"
|
||||
bind:search="onSearch"
|
||||
>
|
||||
<view slot="action" bind:tap="onSearch" style="margin: 0 10px;">搜索</view>
|
||||
</van-search>
|
||||
</van-sticky>
|
||||
|
||||
|
||||
<view class="card-blank hot_title">
|
||||
<view>
|
||||
<van-icon name="fire" color="#DD001B" size="18px" />
|
||||
<text style="margin-left: 10px;">源码资源库</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<scroll-view scroll-y="true" scroll-x="false" bindscrolltolower="onReachBottom">
|
||||
<view class="card info-list" wx:for="{{hotArticles}}" wx:key="{{index}}">
|
||||
<view class="info-name">{{item.projectName1 || item.projectName}}</view>
|
||||
<text bindtap="copyUrl" data-name="{{item.projectName1 || item.projectName}}" data-url="{{ item.projectVurl}}" class="info-copy">复制链接</text>
|
||||
</view>
|
||||
|
||||
<view hidden="{{!hasMore}}" class="loading-more">加载中...</view>
|
||||
<view hidden="{{!loading}}" class="loading-icon">loading...</view>
|
||||
</scroll-view>
|
||||
|
||||
<van-empty wx:if="{{hotArticles.length==0}}" description="没有更多文章了~" />
|
||||
Reference in New Issue
Block a user