You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
2.8 KiB
60 lines
2.8 KiB
<!--index.wxml-->
|
|
<view class="body" wx:if="{{remind}}">
|
|
<view class='zong'>
|
|
<view class="spinner" >
|
|
<view class="spinner-container container1">
|
|
<view class="circle1"></view>
|
|
<view class="circle2"></view>
|
|
<view class="circle3"></view>
|
|
<view class="circle4"></view>
|
|
</view>
|
|
<view class="spinner-container container2">
|
|
<view class="circle1"></view>
|
|
<view class="circle2"></view>
|
|
<view class="circle3"></view>
|
|
<view class="circle4"></view>
|
|
</view>
|
|
<view class="spinner-container container3">
|
|
<view class="circle1"></view>
|
|
<view class="circle2"></view>
|
|
<view class="circle3"></view>
|
|
<view class="circle4"></view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- 加载页面结束 -->
|
|
<block wx:else>
|
|
<import src="/wxSearch/wxSearch.wxml"/>
|
|
<form bindsubmit="wxSearchFn" report-submit="true" >
|
|
<view class="wxSearch-section">
|
|
<view class="wxSearch-pancel">
|
|
<input bindinput="wxSearchInput" confirmType="search" bindconfirm="search_confirmType" value="{{wxSearchData.value}}" bindtap="wxSerchFocus" class="wxSearch-input" placeholder="搜索您想要的礼品..." />
|
|
<image class="search-icon" src="/images/icon-search.png"></image>
|
|
</view>
|
|
</view>
|
|
</form>
|
|
<view class="t_container">
|
|
<view class="nav_left">
|
|
<scroll-view scrollY="true" style="height:100%;background-color: #fafafa;">
|
|
<view class="items" wx:for="{{cateItems}}">
|
|
<view class=" {{curNav==item.cate_id?'actives':''}} "></view>
|
|
<view bindtap="switchRightTab" class="nav_left_items {{curNav==item.cate_id?'active':''}}" data-id="{{item.cate_id}}" data-index="{{index}}">{{item.cate_name}}</view>
|
|
</view>
|
|
</scroll-view>
|
|
</view>
|
|
<view class="nav_right">
|
|
<scroll-view scrollY="true" style="height:100%">
|
|
<view wx:if="{{cateItems[curIndex].ishaveChild}}">
|
|
<view class="nav_right_items" wx:for="{{cateItems[curIndex].children}}">
|
|
<navigator url="../listdetail/listdetail?class={{item.child_id}}&title={{item.name}}">
|
|
<image src="{{item.picture}}"></image>
|
|
<text>{{item.name}}</text>
|
|
</navigator>
|
|
</view>
|
|
</view>
|
|
<view class="nodata_text" wx:else>该分类暂无数据</view>
|
|
</scroll-view>
|
|
</view>
|
|
</view>
|
|
</block>
|