init version kelfy-mini for new gitea
This commit is contained in:
27
pages/department/department.wxml
Normal file
27
pages/department/department.wxml
Normal file
@@ -0,0 +1,27 @@
|
||||
<!--pages/department/department.wxml科室列表-->
|
||||
<view class="list">
|
||||
<scroll-view class='menu' scroll-y="true">
|
||||
<view class="cd {{curNav==item.id?'active' :''}}"
|
||||
bindtap="changeTab" wx:for="{{classifyList}}"
|
||||
wx:key="id" data-id="{{item.id}}"
|
||||
data-index="{{index}}">
|
||||
{{item.name}}
|
||||
</view>
|
||||
</scroll-view>
|
||||
|
||||
<scroll-view class="content" scroll-y="true" scroll-top="{{scrollTop}}">
|
||||
<view class="goods_con" wx:if="{{classifyList[curIndex].children}}">
|
||||
<block wx:for="{{classifyList[curIndex].children}}" wx:key="id">
|
||||
<view class="goodslist"
|
||||
bindtap="toDetail"
|
||||
id="{{item.id}}"
|
||||
data-title="{{item.title}}"
|
||||
>
|
||||
{{item.title}}
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
|
||||
<view class='nodata' wx:else>该分类暂无数据</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user