You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bocai_supplyChain/pages/friendHelper/index.wxml

32 lines
2.2 KiB
Plaintext

<!--pages/friendHelper/index.wxml-->
<view class="container" hover-class="none" hover-stop-propagation="false">
<view class="leftBar" bindtap="checkTab">
<view class="tab {{currentTab == 1 ? 'active': ''}}" data-index="1">在招列表</view>
<view class="tab {{currentTab == 2 ? 'active': ''}}" data-index="2">三合一</view>
<view class="tab {{currentTab == 3 ? 'active': ''}}" data-index="3">九宫格</view>
<view class="tab {{currentTab == 4 ? 'active': ''}}" data-index="4">热招岗位</view>
<view class="tab {{currentTab == 5 ? 'active': ''}}" data-index="5">岗位上新</view>
</view>
<scroll-view class="content" scroll-y style="height:calc(100vh - 20px)">
<!-- <view class="selectProject">+ 选择项目{{currentTab}}</view> -->
<view class="subSet" wx:for="{{templateList}}" wx:for-item="item" wx:for-index="idx" wx:key="idx">
<view class="textBox" hover-class="none" hover-stop-propagation="false">{{item.title}}</view>
<view class="imgBox" wx:if='{{currentTab != 4 && currentTab != 5 && currentTab != 1}}'>
<view wx:for="{{item.imgList}}" wx:for-item="src" wx:for-index="idx" wx:key="idx" class hover-class="none" hover-stop-propagation="false">
<image src="{{src}}" bindtap='previewImg' data-srclist='{{item.imgList}}' data-src='{{src}}' alt />
<!-- {{src}} -->
</view>
</view>
<view class="" style="text-align:center" wx:else hover-class="none" hover-stop-propagation="false">
<image class="" bindtap='previewImg' data-src='{{item.imgList[0]}}' style="width:256px; {{currentTab == 1 ? 'height:480px':''}}" src="{{item.imgList[0]}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="">
</image>
</view>
<view class="buttonBox" hover-class="none" hover-stop-propagation="false">
<span class selectable="false" space="false" decode="false" data-type='1' bindtap='navigationTo'>更换岗位</span>
<span class selectable="false" space="false" decode="false" data-type='2' bindtap='navigationTo'>更换图片</span>
<span class='ysd-base-color' selectable="false" space="false" data-item='{{item}}' decode="false" bindtap='getCopy'>一键保存</span>
</view>
</view>
</scroll-view>
</view>