<!--pages/promotionsManage/promotionsManage.wxml-->
|
<van-tabs active="{{ active }}" sticky>
|
<van-tab title="草稿">
|
<view wx:if="{{draftList.length>0}}">
|
<van-swipe-cell wx:for="{{draftList}}" wx:key="key" class="seller-swipe" right-width="{{ 65 }}" >
|
<van-cell-group>
|
<my-entry-cell list-item="{{item}}" from="{{item.panicBuyingStatus===0?'promotionsDraft':'promotionsManage'}}">
|
<view class="right-view text-center flex-col flex-center">
|
<navigator class="relative text-center my-entry-cell-right" url="../promotionsManage/promotionsManage?doccode={{item.doccode}}&formId={{item.formId}}">
|
<text class="iconfont icon-shezhi-xianxing"></text>
|
<view class="font-size-10 desc">活动管理</view>
|
</navigator>
|
</view>
|
</my-entry-cell>
|
</van-cell-group>
|
<view slot="right" class="flex flex-center swipe-right" data-doccode="{{item.doccode}}" bind:tap="onDelete" >
|
删除
|
</view>
|
</van-swipe-cell>
|
</view>
|
<my-empty wx:else></my-empty>
|
</van-tab>
|
<van-tab title="秒杀活动">
|
<view wx:if="{{panicBuyingList.length>0}}">
|
<van-cell-group>
|
<my-entry-cell wx:for="{{panicBuyingList}}" wx:key="key" list-item="{{item}}" from="promotionsManage">
|
<view class="right-view text-center flex-col flex-center">
|
<navigator class="relative text-center my-entry-cell-right" url="../promotionsManage/promotionsManage?doccode={{item.doccode}}&formId={{item.formId}}">
|
<text class="iconfont icon-shezhi-xianxing"></text>
|
<view class="font-size-10 desc">活动管理</view>
|
</navigator>
|
</view>
|
</my-entry-cell>
|
</van-cell-group>
|
</view>
|
<my-empty wx:else></my-empty>
|
</van-tab>
|
<van-tab title="邀约报名">
|
<view wx:if="{{inviteList.length>0}}">
|
<van-cell-group>
|
<my-entry-cell wx:for="{{inviteList}}" wx:key="key" list-item="{{item}}" from="promotionsManage">
|
<view class="right-view text-center flex-col flex-center">
|
<navigator class="relative text-center my-entry-cell-right" url="../promotionsManage/promotionsManage?doccode={{item.doccode}}&formId={{item.formId}}">
|
<text class="iconfont icon-shezhi-xianxing"></text>
|
<view class="font-size-10 desc">活动管理</view>
|
</navigator>
|
</view>
|
</my-entry-cell>
|
</van-cell-group>
|
</view>
|
|
<my-empty wx:else></my-empty>
|
</van-tab>
|
<van-tab title="拼团活动">
|
<view wx:if="{{groupBuyingList.length>0}}">
|
<van-cell-group >
|
<my-entry-cell wx:for="{{groupBuyingList}}" wx:key="key" list-item="{{item}}" from="promotionsManage">
|
<view class="right-view text-center flex-col flex-center">
|
<navigator class="relative text-center my-entry-cell-right" url="../promotionsManage/promotionsManage?doccode={{item.doccode}}&formId={{item.formId}}">
|
<text class="iconfont icon-shezhi-xianxing"></text>
|
<view class="font-size-10 desc">活动管理</view>
|
</navigator>
|
</view>
|
</my-entry-cell>
|
</van-cell-group>
|
</view>
|
|
<my-empty wx:else></my-empty>
|
</van-tab>
|
</van-tabs>
|