Sanakey
2021-05-22 f46177f2ce3a33218e4d018b410d6eb978764d20
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!--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>